BillingAccountBucketConfig constructor

BillingAccountBucketConfig(
  1. String name, {
  2. BillingAccountBucketConfigArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new BillingAccountBucketConfig. name The Pulumi resource name. args Arguments used to configure this BillingAccountBucketConfig. The set of arguments for BillingAccountBucketConfig. options Resource options controlling this resource's behavior.

Implementation

BillingAccountBucketConfig(
  String name, {
  BillingAccountBucketConfigArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:logging/billingAccountBucketConfig:BillingAccountBucketConfig',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  billingAccount = registerOutput<String>('billingAccount');
  bucketId = registerOutput<String>('bucketId');
  cmekSettings = registerOutput<BillingAccountBucketConfigCmekSettings?>('cmekSettings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return BillingAccountBucketConfigCmekSettings.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String>('description');
  indexConfigs = registerOutput<List<BillingAccountBucketConfigIndexConfig>>('indexConfigs', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<BillingAccountBucketConfigIndexConfig>(guardedValue, (value) => BillingAccountBucketConfigIndexConfig.fromMap((value as Map).cast<String, dynamic>())); });
  lifecycleState = registerOutput<String>('lifecycleState');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  retentionDays = registerOutput<int?>('retentionDays');
}