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< ? effectiveLabels, Input<String, String> ?>String?> ? encryptionState, Input<String?> ? kmsConfig, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? sourceBackupVault, Input<String?> ? sourceRegion, Input<String?> ? state}) -
Creates a new BackupVaultState.
backupRegionRegion in which backup is stored.backupRetentionPolicyBackup retention policy defining the retention of the backups.backupVaultTypeType of the backup vault to be created. Default is IN_REGION.backupsCryptoKeyVersionThe crypto key version used to encrypt the backup vault.createTimeCreate time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource.destinationBackupVaultName of the Backup vault created in backup region.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.encryptionStateEncryption state of customer-managed encryption keys (CMEK) backups.kmsConfigSpecifies the Key Management System (KMS) configuration to be used forlabelsLabels as key value pairs. Example:{ "owner": "Bob", "department": "finance", "purpose": "testing" }.locationLocation (region) of the backup vault.nameThe resource name of the backup vault. Needs to be unique per location.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcesourceBackupVaultName of the Backup vault created in source region.sourceRegionRegion in which the backup vault is created.stateThe 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