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

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

The newest version!
package besom.api.akamai

final case class DnsRecord private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  active: besom.types.Output[scala.Option[Boolean]],
  algorithm: besom.types.Output[scala.Option[Int]],
  answerType: besom.types.Output[String],
  certificate: besom.types.Output[scala.Option[String]],
  digest: besom.types.Output[scala.Option[String]],
  digestType: besom.types.Output[scala.Option[Int]],
  dnsName: besom.types.Output[String],
  emailAddress: besom.types.Output[scala.Option[String]],
  expiration: besom.types.Output[scala.Option[String]],
  expiry: besom.types.Output[scala.Option[Int]],
  fingerprint: besom.types.Output[scala.Option[String]],
  fingerprintType: besom.types.Output[scala.Option[Int]],
  flags: besom.types.Output[scala.Option[Int]],
  flagsnaptr: besom.types.Output[scala.Option[String]],
  hardware: besom.types.Output[scala.Option[String]],
  inception: besom.types.Output[scala.Option[String]],
  iterations: besom.types.Output[scala.Option[Int]],
  key: besom.types.Output[scala.Option[String]],
  keytag: besom.types.Output[scala.Option[Int]],
  labels: besom.types.Output[scala.Option[Int]],
  mailbox: besom.types.Output[scala.Option[String]],
  matchType: besom.types.Output[scala.Option[Int]],
  name: besom.types.Output[String],
  nameServer: besom.types.Output[scala.Option[String]],
  nextHashedOwnerName: besom.types.Output[scala.Option[String]],
  nxdomainTtl: besom.types.Output[scala.Option[Int]],
  order: besom.types.Output[scala.Option[Int]],
  originalTtl: besom.types.Output[scala.Option[Int]],
  port: besom.types.Output[scala.Option[Int]],
  preference: besom.types.Output[scala.Option[Int]],
  priority: besom.types.Output[scala.Option[Int]],
  priorityIncrement: besom.types.Output[scala.Option[Int]],
  protocol: besom.types.Output[scala.Option[Int]],
  recordSha: besom.types.Output[String],
  recordtype: besom.types.Output[String],
  refresh: besom.types.Output[scala.Option[Int]],
  regexp: besom.types.Output[scala.Option[String]],
  replacement: besom.types.Output[scala.Option[String]],
  retry: besom.types.Output[scala.Option[Int]],
  salt: besom.types.Output[scala.Option[String]],
  selector: besom.types.Output[scala.Option[Int]],
  serial: besom.types.Output[Int],
  service: besom.types.Output[scala.Option[String]],
  signature: besom.types.Output[scala.Option[String]],
  signer: besom.types.Output[scala.Option[String]],
  software: besom.types.Output[scala.Option[String]],
  subtype: besom.types.Output[scala.Option[Int]],
  svcParams: besom.types.Output[scala.Option[String]],
  svcPriority: besom.types.Output[scala.Option[Int]],
  targetName: besom.types.Output[scala.Option[String]],
  targets: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  ttl: besom.types.Output[Int],
  txt: besom.types.Output[scala.Option[String]],
  typeBitmaps: besom.types.Output[scala.Option[String]],
  typeCovered: besom.types.Output[scala.Option[String]],
  typeMnemonic: besom.types.Output[scala.Option[String]],
  typeValue: besom.types.Output[scala.Option[Int]],
  usage: besom.types.Output[scala.Option[Int]],
  weight: besom.types.Output[scala.Option[Int]],
  zone: besom.types.Output[String]
) extends besom.CustomResource

object DnsRecord extends besom.ResourceCompanion[DnsRecord]:
  /** Resource constructor for DnsRecord. 
    * 
    * @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 [[DnsRecordArgs]] 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 = DnsRecord(
    *          "my-resource",
    *          DnsRecordArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: DnsRecordArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[DnsRecord] =
    ctx.readOrRegisterResource[DnsRecord, DnsRecordArgs]("akamai:index/dnsRecord:DnsRecord", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "akamai:index/dnsRecord:DnsRecord"

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

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


  given outputOps: {} with
    extension(output: besom.types.Output[DnsRecord])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def active : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.active)
      def algorithm : besom.types.Output[scala.Option[Int]] = output.flatMap(_.algorithm)
      def answerType : besom.types.Output[String] = output.flatMap(_.answerType)
      def certificate : besom.types.Output[scala.Option[String]] = output.flatMap(_.certificate)
      def digest : besom.types.Output[scala.Option[String]] = output.flatMap(_.digest)
      def digestType : besom.types.Output[scala.Option[Int]] = output.flatMap(_.digestType)
      def dnsName : besom.types.Output[String] = output.flatMap(_.dnsName)
      def emailAddress : besom.types.Output[scala.Option[String]] = output.flatMap(_.emailAddress)
      def expiration : besom.types.Output[scala.Option[String]] = output.flatMap(_.expiration)
      def expiry : besom.types.Output[scala.Option[Int]] = output.flatMap(_.expiry)
      def fingerprint : besom.types.Output[scala.Option[String]] = output.flatMap(_.fingerprint)
      def fingerprintType : besom.types.Output[scala.Option[Int]] = output.flatMap(_.fingerprintType)
      def flags : besom.types.Output[scala.Option[Int]] = output.flatMap(_.flags)
      def flagsnaptr : besom.types.Output[scala.Option[String]] = output.flatMap(_.flagsnaptr)
      def hardware : besom.types.Output[scala.Option[String]] = output.flatMap(_.hardware)
      def inception : besom.types.Output[scala.Option[String]] = output.flatMap(_.inception)
      def iterations : besom.types.Output[scala.Option[Int]] = output.flatMap(_.iterations)
      def key : besom.types.Output[scala.Option[String]] = output.flatMap(_.key)
      def keytag : besom.types.Output[scala.Option[Int]] = output.flatMap(_.keytag)
      def labels : besom.types.Output[scala.Option[Int]] = output.flatMap(_.labels)
      def mailbox : besom.types.Output[scala.Option[String]] = output.flatMap(_.mailbox)
      def matchType : besom.types.Output[scala.Option[Int]] = output.flatMap(_.matchType)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def nameServer : besom.types.Output[scala.Option[String]] = output.flatMap(_.nameServer)
      def nextHashedOwnerName : besom.types.Output[scala.Option[String]] = output.flatMap(_.nextHashedOwnerName)
      def nxdomainTtl : besom.types.Output[scala.Option[Int]] = output.flatMap(_.nxdomainTtl)
      def order : besom.types.Output[scala.Option[Int]] = output.flatMap(_.order)
      def originalTtl : besom.types.Output[scala.Option[Int]] = output.flatMap(_.originalTtl)
      def port : besom.types.Output[scala.Option[Int]] = output.flatMap(_.port)
      def preference : besom.types.Output[scala.Option[Int]] = output.flatMap(_.preference)
      def priority : besom.types.Output[scala.Option[Int]] = output.flatMap(_.priority)
      def priorityIncrement : besom.types.Output[scala.Option[Int]] = output.flatMap(_.priorityIncrement)
      def protocol : besom.types.Output[scala.Option[Int]] = output.flatMap(_.protocol)
      def recordSha : besom.types.Output[String] = output.flatMap(_.recordSha)
      def recordtype : besom.types.Output[String] = output.flatMap(_.recordtype)
      def refresh : besom.types.Output[scala.Option[Int]] = output.flatMap(_.refresh)
      def regexp : besom.types.Output[scala.Option[String]] = output.flatMap(_.regexp)
      def replacement : besom.types.Output[scala.Option[String]] = output.flatMap(_.replacement)
      def retry : besom.types.Output[scala.Option[Int]] = output.flatMap(_.retry)
      def salt : besom.types.Output[scala.Option[String]] = output.flatMap(_.salt)
      def selector : besom.types.Output[scala.Option[Int]] = output.flatMap(_.selector)
      def serial : besom.types.Output[Int] = output.flatMap(_.serial)
      def service : besom.types.Output[scala.Option[String]] = output.flatMap(_.service)
      def signature : besom.types.Output[scala.Option[String]] = output.flatMap(_.signature)
      def signer : besom.types.Output[scala.Option[String]] = output.flatMap(_.signer)
      def software : besom.types.Output[scala.Option[String]] = output.flatMap(_.software)
      def subtype : besom.types.Output[scala.Option[Int]] = output.flatMap(_.subtype)
      def svcParams : besom.types.Output[scala.Option[String]] = output.flatMap(_.svcParams)
      def svcPriority : besom.types.Output[scala.Option[Int]] = output.flatMap(_.svcPriority)
      def targetName : besom.types.Output[scala.Option[String]] = output.flatMap(_.targetName)
      def targets : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.flatMap(_.targets)
      def ttl : besom.types.Output[Int] = output.flatMap(_.ttl)
      def txt : besom.types.Output[scala.Option[String]] = output.flatMap(_.txt)
      def typeBitmaps : besom.types.Output[scala.Option[String]] = output.flatMap(_.typeBitmaps)
      def typeCovered : besom.types.Output[scala.Option[String]] = output.flatMap(_.typeCovered)
      def typeMnemonic : besom.types.Output[scala.Option[String]] = output.flatMap(_.typeMnemonic)
      def typeValue : besom.types.Output[scala.Option[Int]] = output.flatMap(_.typeValue)
      def usage : besom.types.Output[scala.Option[Int]] = output.flatMap(_.usage)
      def weight : besom.types.Output[scala.Option[Int]] = output.flatMap(_.weight)
      def zone : besom.types.Output[String] = output.flatMap(_.zone)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy