src.index.GtmPropertyArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GtmPropertyArgs private(
backupCname: besom.types.Output[scala.Option[String]],
backupIp: besom.types.Output[scala.Option[String]],
balanceByDownloadScore: besom.types.Output[scala.Option[Boolean]],
cname: besom.types.Output[scala.Option[String]],
comments: besom.types.Output[scala.Option[String]],
domain: besom.types.Output[String],
dynamicTtl: besom.types.Output[scala.Option[Int]],
failbackDelay: besom.types.Output[scala.Option[Int]],
failoverDelay: besom.types.Output[scala.Option[Int]],
ghostDemandReporting: besom.types.Output[scala.Option[Boolean]],
handoutLimit: besom.types.Output[Int],
handoutMode: besom.types.Output[String],
healthMax: besom.types.Output[scala.Option[Double]],
healthMultiplier: besom.types.Output[scala.Option[Double]],
healthThreshold: besom.types.Output[scala.Option[Double]],
ipv6: besom.types.Output[scala.Option[Boolean]],
livenessTests: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GtmPropertyLivenessTestArgs]]],
loadImbalancePercentage: besom.types.Output[scala.Option[Double]],
mapName: besom.types.Output[scala.Option[String]],
maxUnreachablePenalty: besom.types.Output[scala.Option[Int]],
minLiveFraction: besom.types.Output[scala.Option[Double]],
name: besom.types.Output[scala.Option[String]],
scoreAggregationType: besom.types.Output[String],
staticRrSets: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GtmPropertyStaticRrSetArgs]]],
staticTtl: besom.types.Output[scala.Option[Int]],
stickinessBonusConstant: besom.types.Output[scala.Option[Int]],
stickinessBonusPercentage: besom.types.Output[scala.Option[Int]],
trafficTargets: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GtmPropertyTrafficTargetArgs]]],
`type`: besom.types.Output[String],
unreachableThreshold: besom.types.Output[scala.Option[Double]],
useComputedTargets: besom.types.Output[scala.Option[Boolean]],
waitOnComplete: besom.types.Output[scala.Option[Boolean]]
)
object GtmPropertyArgs:
def apply(
backupCname: besom.types.Input.Optional[String] = scala.None,
backupIp: besom.types.Input.Optional[String] = scala.None,
balanceByDownloadScore: besom.types.Input.Optional[Boolean] = scala.None,
cname: besom.types.Input.Optional[String] = scala.None,
comments: besom.types.Input.Optional[String] = scala.None,
domain: besom.types.Input[String],
dynamicTtl: besom.types.Input.Optional[Int] = scala.None,
failbackDelay: besom.types.Input.Optional[Int] = scala.None,
failoverDelay: besom.types.Input.Optional[Int] = scala.None,
ghostDemandReporting: besom.types.Input.Optional[Boolean] = scala.None,
handoutLimit: besom.types.Input[Int],
handoutMode: besom.types.Input[String],
healthMax: besom.types.Input.Optional[Double] = scala.None,
healthMultiplier: besom.types.Input.Optional[Double] = scala.None,
healthThreshold: besom.types.Input.Optional[Double] = scala.None,
ipv6: besom.types.Input.Optional[Boolean] = scala.None,
livenessTests: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GtmPropertyLivenessTestArgs]]] = scala.None,
loadImbalancePercentage: besom.types.Input.Optional[Double] = scala.None,
mapName: besom.types.Input.Optional[String] = scala.None,
maxUnreachablePenalty: besom.types.Input.Optional[Int] = scala.None,
minLiveFraction: besom.types.Input.Optional[Double] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
scoreAggregationType: besom.types.Input[String],
staticRrSets: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GtmPropertyStaticRrSetArgs]]] = scala.None,
staticTtl: besom.types.Input.Optional[Int] = scala.None,
stickinessBonusConstant: besom.types.Input.Optional[Int] = scala.None,
stickinessBonusPercentage: besom.types.Input.Optional[Int] = scala.None,
trafficTargets: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GtmPropertyTrafficTargetArgs]]] = scala.None,
`type`: besom.types.Input[String],
unreachableThreshold: besom.types.Input.Optional[Double] = scala.None,
useComputedTargets: besom.types.Input.Optional[Boolean] = scala.None,
waitOnComplete: besom.types.Input.Optional[Boolean] = scala.None
)(using besom.types.Context): GtmPropertyArgs =
new GtmPropertyArgs(
backupCname = backupCname.asOptionOutput(isSecret = false),
backupIp = backupIp.asOptionOutput(isSecret = false),
balanceByDownloadScore = balanceByDownloadScore.asOptionOutput(isSecret = false),
cname = cname.asOptionOutput(isSecret = false),
comments = comments.asOptionOutput(isSecret = false),
domain = domain.asOutput(isSecret = false),
dynamicTtl = dynamicTtl.asOptionOutput(isSecret = false),
failbackDelay = failbackDelay.asOptionOutput(isSecret = false),
failoverDelay = failoverDelay.asOptionOutput(isSecret = false),
ghostDemandReporting = ghostDemandReporting.asOptionOutput(isSecret = false),
handoutLimit = handoutLimit.asOutput(isSecret = false),
handoutMode = handoutMode.asOutput(isSecret = false),
healthMax = healthMax.asOptionOutput(isSecret = false),
healthMultiplier = healthMultiplier.asOptionOutput(isSecret = false),
healthThreshold = healthThreshold.asOptionOutput(isSecret = false),
ipv6 = ipv6.asOptionOutput(isSecret = false),
livenessTests = livenessTests.asOptionOutput(isSecret = false),
loadImbalancePercentage = loadImbalancePercentage.asOptionOutput(isSecret = false),
mapName = mapName.asOptionOutput(isSecret = false),
maxUnreachablePenalty = maxUnreachablePenalty.asOptionOutput(isSecret = false),
minLiveFraction = minLiveFraction.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
scoreAggregationType = scoreAggregationType.asOutput(isSecret = false),
staticRrSets = staticRrSets.asOptionOutput(isSecret = false),
staticTtl = staticTtl.asOptionOutput(isSecret = false),
stickinessBonusConstant = stickinessBonusConstant.asOptionOutput(isSecret = false),
stickinessBonusPercentage = stickinessBonusPercentage.asOptionOutput(isSecret = false),
trafficTargets = trafficTargets.asOptionOutput(isSecret = false),
`type` = `type`.asOutput(isSecret = false),
unreachableThreshold = unreachableThreshold.asOptionOutput(isSecret = false),
useComputedTargets = useComputedTargets.asOptionOutput(isSecret = false),
waitOnComplete = waitOnComplete.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GtmPropertyArgs] =
besom.internal.Encoder.derived[GtmPropertyArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GtmPropertyArgs] =
besom.internal.ArgsEncoder.derived[GtmPropertyArgs]