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< ? effectiveLabels, Input<String, String> ?>Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<BackupOntapSource?> ? ontapSource, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? sourceSnapshot, Input<String?> ? sourceVolume, Input<String?> ? state, Input<String?> ? vaultName, Input<String?> ? volumeRegion, Input<String?> ? volumeUsageBytes}) -
Creates a new BackupState.
backupRegionRegion in which backup is stored.backupTypeType of backup, manually created or created by a backup policy. Possible Values :TYPE_UNSPECIFIED, MANUAL, SCHEDULEDchainStorageBytesBackups of a volume build incrementally on top of each other. They form a "backup chain".createTimeCreate time of the backup. 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.descriptionA description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.labelsLabels as key value pairs. Example:{ "owner": "Bob", "department": "finance", "purpose": "testing" }.locationLocation of the backup.nameThe resource name of the backup. Needs to be unique per location.ontapSourceDetails of the ONTAP source volume and snapshot.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcesourceSnapshotIf specified, backup will be created from the given snapshot. If not specified,sourceVolumeID of volumes this backup belongs to. Format: `projects/{{projects_id}}/locations/{{location}}/volumes/{{name}}``stateThe state of the Backup Vault. Possible Values :STATE_UNSPECIFIED, CREATING, UPLOADING, READY, DELETING, ERROR, UPDATINGvaultNameName of the backup vault to store the backup in.volumeRegionRegion of the volume from which the backup was created.volumeUsageBytesSize 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, SCHEDULEDfinal -
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, UPDATINGfinal -
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