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

src.index.GtmProperty.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class GtmProperty private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  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.outputs.GtmPropertyLivenessTest]]],
  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[String],
  scoreAggregationType: besom.types.Output[String],
  staticRrSets: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GtmPropertyStaticRrSet]]],
  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.outputs.GtmPropertyTrafficTarget]]],
  `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]],
  weightedHashBitsForIpv4: besom.types.Output[Int],
  weightedHashBitsForIpv6: besom.types.Output[Int]
) extends besom.CustomResource

object GtmProperty extends besom.ResourceCompanion[GtmProperty]:
  /** Resource constructor for GtmProperty. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[GtmPropertyArgs]] The configuration to use to create this resource. 
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = GtmProperty(
    *          "my-resource",
    *          GtmPropertyArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: GtmPropertyArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[GtmProperty] =
    ctx.readOrRegisterResource[GtmProperty, GtmPropertyArgs]("akamai:index/gtmProperty:GtmProperty", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "akamai:index/gtmProperty:GtmProperty"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[GtmProperty] =
    besom.internal.ResourceDecoder.derived[GtmProperty]

  given decoder(using besom.types.Context): besom.types.Decoder[GtmProperty] =
    besom.internal.Decoder.customResourceDecoder[GtmProperty]


  given outputOps: {} with
    extension(output: besom.types.Output[GtmProperty])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def backupCname : besom.types.Output[scala.Option[String]] = output.flatMap(_.backupCname)
      def backupIp : besom.types.Output[scala.Option[String]] = output.flatMap(_.backupIp)
      def balanceByDownloadScore : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.balanceByDownloadScore)
      def cname : besom.types.Output[scala.Option[String]] = output.flatMap(_.cname)
      def comments : besom.types.Output[scala.Option[String]] = output.flatMap(_.comments)
      def domain : besom.types.Output[String] = output.flatMap(_.domain)
      def dynamicTtl : besom.types.Output[scala.Option[Int]] = output.flatMap(_.dynamicTtl)
      def failbackDelay : besom.types.Output[scala.Option[Int]] = output.flatMap(_.failbackDelay)
      def failoverDelay : besom.types.Output[scala.Option[Int]] = output.flatMap(_.failoverDelay)
      def ghostDemandReporting : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.ghostDemandReporting)
      def handoutLimit : besom.types.Output[Int] = output.flatMap(_.handoutLimit)
      def handoutMode : besom.types.Output[String] = output.flatMap(_.handoutMode)
      def healthMax : besom.types.Output[scala.Option[Double]] = output.flatMap(_.healthMax)
      def healthMultiplier : besom.types.Output[scala.Option[Double]] = output.flatMap(_.healthMultiplier)
      def healthThreshold : besom.types.Output[scala.Option[Double]] = output.flatMap(_.healthThreshold)
      def ipv6 : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.ipv6)
      def livenessTests : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GtmPropertyLivenessTest]]] = output.flatMap(_.livenessTests)
      def loadImbalancePercentage : besom.types.Output[scala.Option[Double]] = output.flatMap(_.loadImbalancePercentage)
      def mapName : besom.types.Output[scala.Option[String]] = output.flatMap(_.mapName)
      def maxUnreachablePenalty : besom.types.Output[scala.Option[Int]] = output.flatMap(_.maxUnreachablePenalty)
      def minLiveFraction : besom.types.Output[scala.Option[Double]] = output.flatMap(_.minLiveFraction)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def scoreAggregationType : besom.types.Output[String] = output.flatMap(_.scoreAggregationType)
      def staticRrSets : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GtmPropertyStaticRrSet]]] = output.flatMap(_.staticRrSets)
      def staticTtl : besom.types.Output[scala.Option[Int]] = output.flatMap(_.staticTtl)
      def stickinessBonusConstant : besom.types.Output[scala.Option[Int]] = output.flatMap(_.stickinessBonusConstant)
      def stickinessBonusPercentage : besom.types.Output[scala.Option[Int]] = output.flatMap(_.stickinessBonusPercentage)
      def trafficTargets : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GtmPropertyTrafficTarget]]] = output.flatMap(_.trafficTargets)
      def `type` : besom.types.Output[String] = output.flatMap(_.`type`)
      def unreachableThreshold : besom.types.Output[scala.Option[Double]] = output.flatMap(_.unreachableThreshold)
      def useComputedTargets : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.useComputedTargets)
      def waitOnComplete : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.waitOnComplete)
      def weightedHashBitsForIpv4 : besom.types.Output[Int] = output.flatMap(_.weightedHashBitsForIpv4)
      def weightedHashBitsForIpv6 : besom.types.Output[Int] = output.flatMap(_.weightedHashBitsForIpv6)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy