BackupVaultState class

Input properties used for looking up and filtering BackupVault resources.

Constructors

BackupVaultState({Input<String?>? backupRegion, Input<BackupVaultBackupRetentionPolicy?>? backupRetentionPolicy, Input<String?>? backupVaultType, Input<String?>? backupsCryptoKeyVersion, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? destinationBackupVault, Input<Map<String, String>?>? effectiveLabels, Input<String?>? encryptionState, Input<String?>? kmsConfig, Input<Map<String, String>?>? labels, Input<String?>? location, Input<String?>? name, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? sourceBackupVault, Input<String?>? sourceRegion, Input<String?>? state})
Creates a new BackupVaultState. backupRegion Region in which backup is stored. backupRetentionPolicy Backup retention policy defining the retention of the backups. backupVaultType Type of the backup vault to be created. Default is IN_REGION. backupsCryptoKeyVersion The crypto key version used to encrypt the backup vault. createTime Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z". deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. destinationBackupVault Name of the Backup vault created in backup region. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. encryptionState Encryption state of customer-managed encryption keys (CMEK) backups. kmsConfig Specifies the Key Management System (KMS) configuration to be used for labels Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }. location Location (region) of the backup vault. name The resource name of the backup vault. Needs to be unique per location. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource sourceBackupVault Name of the Backup vault created in source region. sourceRegion Region in which the backup vault is created. state The state of the Backup Vault.
const
BackupVaultState.fromMap(Map<String, dynamic> map)
factory

Properties

backupRegion → Input<String?>?
Region in which backup is stored.
final
backupRetentionPolicy → Input<BackupVaultBackupRetentionPolicy?>?
Backup retention policy defining the retention of the backups. Structure is documented below.
final
backupsCryptoKeyVersion → Input<String?>?
The crypto key version used to encrypt the backup vault. Format: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}/cryptoKeyVersions/{{crypto_key_version}}
final
backupVaultType → Input<String?>?
Type of the backup vault to be created. Default is IN_REGION. Possible values are: BACKUP_VAULT_TYPE_UNSPECIFIED, IN_REGION, CROSS_REGION.
final
createTime → Input<String?>?
Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
An optional description of this resource.
final
destinationBackupVault → Input<String?>?
Name of the Backup vault created in backup region.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
encryptionState → Input<String?>?
Encryption state of customer-managed encryption keys (CMEK) backups.
final
hashCode → int
The hash code for this object.
no setterinherited
kmsConfig → Input<String?>?
Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: projects/{{project}}/locations/{{location}}/kmsConfigs/{{kms_config}}
final
labels → Input<Map<String, String>?>?
Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }.
final
location → Input<String?>?
Location (region) of the backup vault.
final
name → Input<String?>?
The resource name of the backup vault. Needs to be unique per location.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceBackupVault → Input<String?>?
Name of the Backup vault created in source region.
final
sourceRegion → Input<String?>?
Region in which the backup vault is created.
final
state → Input<String?>?
The state of the Backup Vault.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited