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

src.dns.v1.ManagedZone.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.dns.v1

final case class ManagedZone private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  clientOperationId: besom.types.Output[scala.Option[String]],
  cloudLoggingConfig: besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneCloudLoggingConfigResponse],
  creationTime: besom.types.Output[String],
  description: besom.types.Output[String],
  dnsName: besom.types.Output[String],
  dnssecConfig: besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneDnsSecConfigResponse],
  forwardingConfig: besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneForwardingConfigResponse],
  kind: besom.types.Output[String],
  labels: besom.types.Output[scala.Predef.Map[String, String]],
  name: besom.types.Output[String],
  nameServerSet: besom.types.Output[String],
  nameServers: besom.types.Output[scala.collection.immutable.List[String]],
  peeringConfig: besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZonePeeringConfigResponse],
  privateVisibilityConfig: besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZonePrivateVisibilityConfigResponse],
  project: besom.types.Output[String],
  reverseLookupConfig: besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneReverseLookupConfigResponse],
  serviceDirectoryConfig: besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneServiceDirectoryConfigResponse],
  visibility: besom.types.Output[String]
) extends besom.CustomResource

object ManagedZone extends besom.ResourceCompanion[ManagedZone]:
  /** Resource constructor for ManagedZone. 
    * 
    * @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 [[ManagedZoneArgs]] The configuration to use to create this resource. This resource has a default configuration.
    *
    * @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 = ManagedZone(
    *          "my-resource",
    *          ManagedZoneArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: ManagedZoneArgs = ManagedZoneArgs(),
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[ManagedZone] =
    ctx.readOrRegisterResource[ManagedZone, ManagedZoneArgs]("google-native:dns/v1:ManagedZone", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:dns/v1:ManagedZone"

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

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


  given outputOps: {} with
    extension(output: besom.types.Output[ManagedZone])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def clientOperationId : besom.types.Output[scala.Option[String]] = output.flatMap(_.clientOperationId)
      def cloudLoggingConfig : besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneCloudLoggingConfigResponse] = output.flatMap(_.cloudLoggingConfig)
      def creationTime : besom.types.Output[String] = output.flatMap(_.creationTime)
      def description : besom.types.Output[String] = output.flatMap(_.description)
      def dnsName : besom.types.Output[String] = output.flatMap(_.dnsName)
      def dnssecConfig : besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneDnsSecConfigResponse] = output.flatMap(_.dnssecConfig)
      def forwardingConfig : besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneForwardingConfigResponse] = output.flatMap(_.forwardingConfig)
      def kind : besom.types.Output[String] = output.flatMap(_.kind)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def nameServerSet : besom.types.Output[String] = output.flatMap(_.nameServerSet)
      def nameServers : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.nameServers)
      def peeringConfig : besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZonePeeringConfigResponse] = output.flatMap(_.peeringConfig)
      def privateVisibilityConfig : besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZonePrivateVisibilityConfigResponse] = output.flatMap(_.privateVisibilityConfig)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def reverseLookupConfig : besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneReverseLookupConfigResponse] = output.flatMap(_.reverseLookupConfig)
      def serviceDirectoryConfig : besom.types.Output[besom.api.googlenative.dns.v1.outputs.ManagedZoneServiceDirectoryConfigResponse] = output.flatMap(_.serviceDirectoryConfig)
      def visibility : besom.types.Output[String] = output.flatMap(_.visibility)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy