
src.logging.v2.OrganizationBucket.scala Maven / Gradle / Ivy
package besom.api.googlenative.logging.v2
final case class OrganizationBucket private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
analyticsEnabled: besom.types.Output[Boolean],
bucketId: besom.types.Output[String],
cmekSettings: besom.types.Output[besom.api.googlenative.logging.v2.outputs.CmekSettingsResponse],
createTime: besom.types.Output[String],
description: besom.types.Output[String],
indexConfigs: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.logging.v2.outputs.IndexConfigResponse]],
lifecycleState: besom.types.Output[String],
location: besom.types.Output[String],
locked: besom.types.Output[Boolean],
name: besom.types.Output[String],
organizationId: besom.types.Output[String],
restrictedFields: besom.types.Output[scala.collection.immutable.List[String]],
retentionDays: besom.types.Output[Int],
updateTime: besom.types.Output[String]
) extends besom.CustomResource
object OrganizationBucket extends besom.ResourceCompanion[OrganizationBucket]:
/** Resource constructor for OrganizationBucket.
*
* @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 [[OrganizationBucketArgs]] 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 = OrganizationBucket(
* "my-resource",
* OrganizationBucketArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: OrganizationBucketArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[OrganizationBucket] =
ctx.readOrRegisterResource[OrganizationBucket, OrganizationBucketArgs]("google-native:logging/v2:OrganizationBucket", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:logging/v2:OrganizationBucket"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[OrganizationBucket] =
besom.internal.ResourceDecoder.derived[OrganizationBucket]
given decoder(using besom.types.Context): besom.types.Decoder[OrganizationBucket] =
besom.internal.Decoder.customResourceDecoder[OrganizationBucket]
given outputOps: {} with
extension(output: besom.types.Output[OrganizationBucket])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def analyticsEnabled : besom.types.Output[Boolean] = output.flatMap(_.analyticsEnabled)
def bucketId : besom.types.Output[String] = output.flatMap(_.bucketId)
def cmekSettings : besom.types.Output[besom.api.googlenative.logging.v2.outputs.CmekSettingsResponse] = output.flatMap(_.cmekSettings)
def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
def description : besom.types.Output[String] = output.flatMap(_.description)
def indexConfigs : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.logging.v2.outputs.IndexConfigResponse]] = output.flatMap(_.indexConfigs)
def lifecycleState : besom.types.Output[String] = output.flatMap(_.lifecycleState)
def location : besom.types.Output[String] = output.flatMap(_.location)
def locked : besom.types.Output[Boolean] = output.flatMap(_.locked)
def name : besom.types.Output[String] = output.flatMap(_.name)
def organizationId : besom.types.Output[String] = output.flatMap(_.organizationId)
def restrictedFields : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.restrictedFields)
def retentionDays : besom.types.Output[Int] = output.flatMap(_.retentionDays)
def updateTime : besom.types.Output[String] = output.flatMap(_.updateTime)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy