src.index.ReservedDomain.scala Maven / Gradle / Ivy
package besom.api.ngrok
final case class ReservedDomain private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
acmeChallengeCnameTarget: besom.types.Output[String],
certificateId: besom.types.Output[scala.Option[String]],
certificateManagementPolicies: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.ReservedDomainCertificateManagementPolicy]]],
cnameTarget: besom.types.Output[String],
description: besom.types.Output[scala.Option[String]],
domain: besom.types.Output[String],
httpEndpointConfigurationId: besom.types.Output[scala.Option[String]],
httpsEndpointConfigurationId: besom.types.Output[scala.Option[String]],
metadata: besom.types.Output[scala.Option[String]],
name: besom.types.Output[String],
region: besom.types.Output[scala.Option[String]]
) extends besom.CustomResource
object ReservedDomain extends besom.ResourceCompanion[ReservedDomain]:
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: ReservedDomainArgs = ReservedDomainArgs(),
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[ReservedDomain] =
ctx.readOrRegisterResource[ReservedDomain, ReservedDomainArgs]("ngrok:index/reservedDomain:ReservedDomain", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "ngrok:index/reservedDomain:ReservedDomain"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[ReservedDomain] =
besom.internal.ResourceDecoder.derived[ReservedDomain]
given decoder(using besom.types.Context): besom.types.Decoder[ReservedDomain] =
besom.internal.Decoder.customResourceDecoder[ReservedDomain]
given outputOps: {} with
extension(output: besom.types.Output[ReservedDomain])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def acmeChallengeCnameTarget : besom.types.Output[String] = output.flatMap(_.acmeChallengeCnameTarget)
def certificateId : besom.types.Output[scala.Option[String]] = output.flatMap(_.certificateId)
def certificateManagementPolicies : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.ReservedDomainCertificateManagementPolicy]]] = output.flatMap(_.certificateManagementPolicies)
def cnameTarget : besom.types.Output[String] = output.flatMap(_.cnameTarget)
def description : besom.types.Output[scala.Option[String]] = output.flatMap(_.description)
def domain : besom.types.Output[String] = output.flatMap(_.domain)
def httpEndpointConfigurationId : besom.types.Output[scala.Option[String]] = output.flatMap(_.httpEndpointConfigurationId)
def httpsEndpointConfigurationId : besom.types.Output[scala.Option[String]] = output.flatMap(_.httpsEndpointConfigurationId)
def metadata : besom.types.Output[scala.Option[String]] = output.flatMap(_.metadata)
def name : besom.types.Output[String] = output.flatMap(_.name)
def region : besom.types.Output[scala.Option[String]] = output.flatMap(_.region)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy