All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.inputs.GetGtmDomainPropertyArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.inputs

final case class GetGtmDomainPropertyArgs private(
  backupCname: besom.types.Output[String],
  backupIp: besom.types.Output[String],
  balanceByDownloadScore: besom.types.Output[Boolean],
  cname: besom.types.Output[String],
  comments: besom.types.Output[String],
  dynamicTtl: besom.types.Output[Int],
  failbackDelay: besom.types.Output[Int],
  failoverDelay: besom.types.Output[Int],
  ghostDemandReporting: besom.types.Output[Boolean],
  handoutLimit: besom.types.Output[Int],
  handoutMode: besom.types.Output[String],
  healthMax: besom.types.Output[Double],
  healthMultiplier: besom.types.Output[Double],
  healthThreshold: besom.types.Output[Double],
  ipv6: besom.types.Output[Boolean],
  lastModified: besom.types.Output[String],
  links: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmDomainPropertyLinkArgs]]],
  livenessTests: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmDomainPropertyLivenessTestArgs]]],
  loadImbalancePercentage: besom.types.Output[Double],
  mapName: besom.types.Output[String],
  maxUnreachablePenalty: besom.types.Output[Int],
  minLiveFraction: besom.types.Output[Double],
  name: besom.types.Output[String],
  scoreAggregationType: besom.types.Output[String],
  staticRrSets: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmDomainPropertyStaticRrSetArgs]]],
  staticTtl: besom.types.Output[Int],
  sticknessBonusConstant: besom.types.Output[Int],
  sticknessBonusPercentage: besom.types.Output[Int],
  trafficTargets: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmDomainPropertyTrafficTargetArgs]]],
  `type`: besom.types.Output[String],
  unreachableThreshold: besom.types.Output[Double],
  useComputedTargets: besom.types.Output[Boolean],
  weightedHashBitsForIpv4: besom.types.Output[Int],
  weightedHashBitsForIpv6: besom.types.Output[Int]
)

object GetGtmDomainPropertyArgs:
  def apply(
    backupCname: besom.types.Input[String],
    backupIp: besom.types.Input[String],
    balanceByDownloadScore: besom.types.Input[Boolean],
    cname: besom.types.Input[String],
    comments: besom.types.Input[String],
    dynamicTtl: besom.types.Input[Int],
    failbackDelay: besom.types.Input[Int],
    failoverDelay: besom.types.Input[Int],
    ghostDemandReporting: besom.types.Input[Boolean],
    handoutLimit: besom.types.Input[Int],
    handoutMode: besom.types.Input[String],
    healthMax: besom.types.Input[Double],
    healthMultiplier: besom.types.Input[Double],
    healthThreshold: besom.types.Input[Double],
    ipv6: besom.types.Input[Boolean],
    lastModified: besom.types.Input[String],
    links: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmDomainPropertyLinkArgs]]] = scala.None,
    livenessTests: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmDomainPropertyLivenessTestArgs]]] = scala.None,
    loadImbalancePercentage: besom.types.Input[Double],
    mapName: besom.types.Input[String],
    maxUnreachablePenalty: besom.types.Input[Int],
    minLiveFraction: besom.types.Input[Double],
    name: besom.types.Input[String],
    scoreAggregationType: besom.types.Input[String],
    staticRrSets: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmDomainPropertyStaticRrSetArgs]]] = scala.None,
    staticTtl: besom.types.Input[Int],
    sticknessBonusConstant: besom.types.Input[Int],
    sticknessBonusPercentage: besom.types.Input[Int],
    trafficTargets: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmDomainPropertyTrafficTargetArgs]]] = scala.None,
    `type`: besom.types.Input[String],
    unreachableThreshold: besom.types.Input[Double],
    useComputedTargets: besom.types.Input[Boolean],
    weightedHashBitsForIpv4: besom.types.Input[Int],
    weightedHashBitsForIpv6: besom.types.Input[Int]
  )(using besom.types.Context): GetGtmDomainPropertyArgs =
    new GetGtmDomainPropertyArgs(
      backupCname = backupCname.asOutput(isSecret = false),
      backupIp = backupIp.asOutput(isSecret = false),
      balanceByDownloadScore = balanceByDownloadScore.asOutput(isSecret = false),
      cname = cname.asOutput(isSecret = false),
      comments = comments.asOutput(isSecret = false),
      dynamicTtl = dynamicTtl.asOutput(isSecret = false),
      failbackDelay = failbackDelay.asOutput(isSecret = false),
      failoverDelay = failoverDelay.asOutput(isSecret = false),
      ghostDemandReporting = ghostDemandReporting.asOutput(isSecret = false),
      handoutLimit = handoutLimit.asOutput(isSecret = false),
      handoutMode = handoutMode.asOutput(isSecret = false),
      healthMax = healthMax.asOutput(isSecret = false),
      healthMultiplier = healthMultiplier.asOutput(isSecret = false),
      healthThreshold = healthThreshold.asOutput(isSecret = false),
      ipv6 = ipv6.asOutput(isSecret = false),
      lastModified = lastModified.asOutput(isSecret = false),
      links = links.asOptionOutput(isSecret = false),
      livenessTests = livenessTests.asOptionOutput(isSecret = false),
      loadImbalancePercentage = loadImbalancePercentage.asOutput(isSecret = false),
      mapName = mapName.asOutput(isSecret = false),
      maxUnreachablePenalty = maxUnreachablePenalty.asOutput(isSecret = false),
      minLiveFraction = minLiveFraction.asOutput(isSecret = false),
      name = name.asOutput(isSecret = false),
      scoreAggregationType = scoreAggregationType.asOutput(isSecret = false),
      staticRrSets = staticRrSets.asOptionOutput(isSecret = false),
      staticTtl = staticTtl.asOutput(isSecret = false),
      sticknessBonusConstant = sticknessBonusConstant.asOutput(isSecret = false),
      sticknessBonusPercentage = sticknessBonusPercentage.asOutput(isSecret = false),
      trafficTargets = trafficTargets.asOptionOutput(isSecret = false),
      `type` = `type`.asOutput(isSecret = false),
      unreachableThreshold = unreachableThreshold.asOutput(isSecret = false),
      useComputedTargets = useComputedTargets.asOutput(isSecret = false),
      weightedHashBitsForIpv4 = weightedHashBitsForIpv4.asOutput(isSecret = false),
      weightedHashBitsForIpv6 = weightedHashBitsForIpv6.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[GetGtmDomainPropertyArgs] =
    besom.internal.Encoder.derived[GetGtmDomainPropertyArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetGtmDomainPropertyArgs] =
    besom.internal.ArgsEncoder.derived[GetGtmDomainPropertyArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy