src.index.PropertyIncludeActivation.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class PropertyIncludeActivation private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
autoAcknowledgeRuleWarnings: besom.types.Output[scala.Option[Boolean]],
complianceRecord: besom.types.Output[scala.Option[besom.api.akamai.outputs.PropertyIncludeActivationComplianceRecord]],
contractId: besom.types.Output[String],
groupId: besom.types.Output[String],
includeId: besom.types.Output[String],
network: besom.types.Output[String],
note: besom.types.Output[scala.Option[String]],
notifyEmails: besom.types.Output[scala.collection.immutable.List[String]],
timeouts: besom.types.Output[scala.Option[besom.api.akamai.outputs.PropertyIncludeActivationTimeouts]],
validations: besom.types.Output[String],
version: besom.types.Output[Int]
) extends besom.CustomResource
object PropertyIncludeActivation extends besom.ResourceCompanion[PropertyIncludeActivation]:
/** Resource constructor for PropertyIncludeActivation.
*
* @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 [[PropertyIncludeActivationArgs]] 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 = PropertyIncludeActivation(
* "my-resource",
* PropertyIncludeActivationArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: PropertyIncludeActivationArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[PropertyIncludeActivation] =
ctx.readOrRegisterResource[PropertyIncludeActivation, PropertyIncludeActivationArgs]("akamai:index/propertyIncludeActivation:PropertyIncludeActivation", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "akamai:index/propertyIncludeActivation:PropertyIncludeActivation"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[PropertyIncludeActivation] =
besom.internal.ResourceDecoder.derived[PropertyIncludeActivation]
given decoder(using besom.types.Context): besom.types.Decoder[PropertyIncludeActivation] =
besom.internal.Decoder.customResourceDecoder[PropertyIncludeActivation]
given outputOps: {} with
extension(output: besom.types.Output[PropertyIncludeActivation])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def autoAcknowledgeRuleWarnings : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.autoAcknowledgeRuleWarnings)
def complianceRecord : besom.types.Output[scala.Option[besom.api.akamai.outputs.PropertyIncludeActivationComplianceRecord]] = output.flatMap(_.complianceRecord)
def contractId : besom.types.Output[String] = output.flatMap(_.contractId)
def groupId : besom.types.Output[String] = output.flatMap(_.groupId)
def includeId : besom.types.Output[String] = output.flatMap(_.includeId)
def network : besom.types.Output[String] = output.flatMap(_.network)
def note : besom.types.Output[scala.Option[String]] = output.flatMap(_.note)
def notifyEmails : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.notifyEmails)
def timeouts : besom.types.Output[scala.Option[besom.api.akamai.outputs.PropertyIncludeActivationTimeouts]] = output.flatMap(_.timeouts)
def validations : besom.types.Output[String] = output.flatMap(_.validations)
def version : besom.types.Output[Int] = output.flatMap(_.version)