src.index.CpsDvEnrollment.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class CpsDvEnrollment private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
acknowledgePreVerificationWarnings: besom.types.Output[scala.Option[Boolean]],
adminContact: besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentAdminContact],
allowDuplicateCommonName: besom.types.Output[scala.Option[Boolean]],
certificateChainType: besom.types.Output[scala.Option[String]],
certificateType: besom.types.Output[String],
commonName: besom.types.Output[String],
contractId: besom.types.Output[String],
csr: besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentCsr],
dnsChallenges: besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.CpsDvEnrollmentDnsChallenge]],
httpChallenges: besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.CpsDvEnrollmentHttpChallenge]],
networkConfiguration: besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentNetworkConfiguration],
organization: besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentOrganization],
registrationAuthority: besom.types.Output[String],
sans: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
secureNetwork: besom.types.Output[String],
signatureAlgorithm: besom.types.Output[String],
sniOnly: besom.types.Output[Boolean],
techContact: besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentTechContact],
timeouts: besom.types.Output[scala.Option[besom.api.akamai.outputs.CpsDvEnrollmentTimeouts]],
validationType: besom.types.Output[String]
) extends besom.CustomResource
object CpsDvEnrollment extends besom.ResourceCompanion[CpsDvEnrollment]:
/** Resource constructor for CpsDvEnrollment.
*
* @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 [[CpsDvEnrollmentArgs]] 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 = CpsDvEnrollment(
* "my-resource",
* CpsDvEnrollmentArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: CpsDvEnrollmentArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[CpsDvEnrollment] =
ctx.readOrRegisterResource[CpsDvEnrollment, CpsDvEnrollmentArgs]("akamai:index/cpsDvEnrollment:CpsDvEnrollment", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "akamai:index/cpsDvEnrollment:CpsDvEnrollment"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[CpsDvEnrollment] =
besom.internal.ResourceDecoder.derived[CpsDvEnrollment]
given decoder(using besom.types.Context): besom.types.Decoder[CpsDvEnrollment] =
besom.internal.Decoder.customResourceDecoder[CpsDvEnrollment]
given outputOps: {} with
extension(output: besom.types.Output[CpsDvEnrollment])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def acknowledgePreVerificationWarnings : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.acknowledgePreVerificationWarnings)
def adminContact : besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentAdminContact] = output.flatMap(_.adminContact)
def allowDuplicateCommonName : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.allowDuplicateCommonName)
def certificateChainType : besom.types.Output[scala.Option[String]] = output.flatMap(_.certificateChainType)
def certificateType : besom.types.Output[String] = output.flatMap(_.certificateType)
def commonName : besom.types.Output[String] = output.flatMap(_.commonName)
def contractId : besom.types.Output[String] = output.flatMap(_.contractId)
def csr : besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentCsr] = output.flatMap(_.csr)
def dnsChallenges : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.CpsDvEnrollmentDnsChallenge]] = output.flatMap(_.dnsChallenges)
def httpChallenges : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.CpsDvEnrollmentHttpChallenge]] = output.flatMap(_.httpChallenges)
def networkConfiguration : besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentNetworkConfiguration] = output.flatMap(_.networkConfiguration)
def organization : besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentOrganization] = output.flatMap(_.organization)
def registrationAuthority : besom.types.Output[String] = output.flatMap(_.registrationAuthority)
def sans : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.flatMap(_.sans)
def secureNetwork : besom.types.Output[String] = output.flatMap(_.secureNetwork)
def signatureAlgorithm : besom.types.Output[String] = output.flatMap(_.signatureAlgorithm)
def sniOnly : besom.types.Output[Boolean] = output.flatMap(_.sniOnly)
def techContact : besom.types.Output[besom.api.akamai.outputs.CpsDvEnrollmentTechContact] = output.flatMap(_.techContact)
def timeouts : besom.types.Output[scala.Option[besom.api.akamai.outputs.CpsDvEnrollmentTimeouts]] = output.flatMap(_.timeouts)
def validationType : besom.types.Output[String] = output.flatMap(_.validationType)