BackupState class

Input properties used for looking up and filtering Backup resources.

Constructors

BackupState({Input<String?>? backupRegion, Input<String?>? backupType, Input<String?>? chainStorageBytes, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<Map<String, String>?>? labels, Input<String?>? location, Input<String?>? name, Input<BackupOntapSource?>? ontapSource, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? sourceSnapshot, Input<String?>? sourceVolume, Input<String?>? state, Input<String?>? vaultName, Input<String?>? volumeRegion, Input<String?>? volumeUsageBytes})
Creates a new BackupState. backupRegion Region in which backup is stored. backupType Type of backup, manually created or created by a backup policy. Possible Values : TYPE_UNSPECIFIED, MANUAL, SCHEDULED chainStorageBytes Backups of a volume build incrementally on top of each other. They form a "backup chain". createTime Create time of the backup. 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 A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. labels Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }. location Location of the backup. name The resource name of the backup. Needs to be unique per location. ontapSource Details of the ONTAP source volume and snapshot. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource sourceSnapshot If specified, backup will be created from the given snapshot. If not specified, sourceVolume ID of volumes this backup belongs to. Format: `projects/{{projects_id}}/locations/{{location}}/volumes/{{name}}`` state The state of the Backup Vault. Possible Values : STATE_UNSPECIFIED, CREATING, UPLOADING, READY, DELETING, ERROR, UPDATING vaultName Name of the backup vault to store the backup in. volumeRegion Region of the volume from which the backup was created. volumeUsageBytes Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
const
BackupState.fromMap(Map<String, dynamic> map)
factory

Properties

backupRegion → Input<String?>?
Region in which backup is stored.
final
backupType → Input<String?>?
Type of backup, manually created or created by a backup policy. Possible Values : TYPE_UNSPECIFIED, MANUAL, SCHEDULED
final
chainStorageBytes → Input<String?>?
Backups of a volume build incrementally on top of each other. They form a "backup chain". Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
final
createTime → Input<String?>?
Create time of the backup. 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?>?
A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
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
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }.
final
location → Input<String?>?
Location of the backup.
final
name → Input<String?>?
The resource name of the backup. Needs to be unique per location.
final
ontapSource → Input<BackupOntapSource?>?
Details of the ONTAP source volume and snapshot. Structure is documented below.
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
sourceSnapshot → Input<String?>?
If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{{projectId}}/locations/{{location}}/volumes/{{volumename}}/snapshots/{{snapshotname}}``
final
sourceVolume → Input<String?>?
ID of volumes this backup belongs to. Format: `projects/{{projects_id}}/locations/{{location}}/volumes/{{name}}``
final
state → Input<String?>?
The state of the Backup Vault. Possible Values : STATE_UNSPECIFIED, CREATING, UPLOADING, READY, DELETING, ERROR, UPDATING
final
vaultName → Input<String?>?
Name of the backup vault to store the backup in.
final
volumeRegion → Input<String?>?
Region of the volume from which the backup was created.
final
volumeUsageBytes → Input<String?>?
Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
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