src.index.CpsThirdPartyEnrollment.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class CpsThirdPartyEnrollment 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.CpsThirdPartyEnrollmentAdminContact],
allowDuplicateCommonName: besom.types.Output[scala.Option[Boolean]],
autoApproveWarnings: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
certificateChainType: besom.types.Output[scala.Option[String]],
changeManagement: besom.types.Output[scala.Option[Boolean]],
commonName: besom.types.Output[String],
contractId: besom.types.Output[String],
csr: besom.types.Output[besom.api.akamai.outputs.CpsThirdPartyEnrollmentCsr],
excludeSans: besom.types.Output[scala.Option[Boolean]],
networkConfiguration: besom.types.Output[besom.api.akamai.outputs.CpsThirdPartyEnrollmentNetworkConfiguration],
organization: besom.types.Output[besom.api.akamai.outputs.CpsThirdPartyEnrollmentOrganization],
sans: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
secureNetwork: besom.types.Output[String],
signatureAlgorithm: besom.types.Output[scala.Option[String]],
sniOnly: besom.types.Output[Boolean],
techContact: besom.types.Output[besom.api.akamai.outputs.CpsThirdPartyEnrollmentTechContact],
timeouts: besom.types.Output[scala.Option[besom.api.akamai.outputs.CpsThirdPartyEnrollmentTimeouts]]
) extends besom.CustomResource
object CpsThirdPartyEnrollment extends besom.ResourceCompanion[CpsThirdPartyEnrollment]:
/** Resource constructor for CpsThirdPartyEnrollment.
*
* @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 [[CpsThirdPartyEnrollmentArgs]] 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 = CpsThirdPartyEnrollment(
* "my-resource",
* CpsThirdPartyEnrollmentArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: CpsThirdPartyEnrollmentArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[CpsThirdPartyEnrollment] =
ctx.readOrRegisterResource[CpsThirdPartyEnrollment, CpsThirdPartyEnrollmentArgs]("akamai:index/cpsThirdPartyEnrollment:CpsThirdPartyEnrollment", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "akamai:index/cpsThirdPartyEnrollment:CpsThirdPartyEnrollment"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[CpsThirdPartyEnrollment] =
besom.internal.ResourceDecoder.derived[CpsThirdPartyEnrollment]
given decoder(using besom.types.Context): besom.types.Decoder[CpsThirdPartyEnrollment] =
besom.internal.Decoder.customResourceDecoder[CpsThirdPartyEnrollment]
given outputOps: {} with
extension(output: besom.types.Output[CpsThirdPartyEnrollment])
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.CpsThirdPartyEnrollmentAdminContact] = output.flatMap(_.adminContact)
def allowDuplicateCommonName : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.allowDuplicateCommonName)
def autoApproveWarnings : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.flatMap(_.autoApproveWarnings)
def certificateChainType : besom.types.Output[scala.Option[String]] = output.flatMap(_.certificateChainType)
def changeManagement : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.changeManagement)
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.CpsThirdPartyEnrollmentCsr] = output.flatMap(_.csr)
def excludeSans : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.excludeSans)
def networkConfiguration : besom.types.Output[besom.api.akamai.outputs.CpsThirdPartyEnrollmentNetworkConfiguration] = output.flatMap(_.networkConfiguration)
def organization : besom.types.Output[besom.api.akamai.outputs.CpsThirdPartyEnrollmentOrganization] = output.flatMap(_.organization)
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[scala.Option[String]] = output.flatMap(_.signatureAlgorithm)
def sniOnly : besom.types.Output[Boolean] = output.flatMap(_.sniOnly)
def techContact : besom.types.Output[besom.api.akamai.outputs.CpsThirdPartyEnrollmentTechContact] = output.flatMap(_.techContact)
def timeouts : besom.types.Output[scala.Option[besom.api.akamai.outputs.CpsThirdPartyEnrollmentTimeouts]] = output.flatMap(_.timeouts)