BackupArgs class

The set of arguments for Backup. The set of arguments for Backup.

Constructors

BackupArgs({Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? name, Input<BackupOntapSource?>? ontapSource, Input<String?>? project, Input<String?>? sourceSnapshot, Input<String?>? sourceVolume, required Input<String> vaultName})
Creates a new BackupArgs. 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. 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. 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}}`` vaultName Name of the backup vault to store the backup in.
const
BackupArgs.fromMap(Map<String, dynamic> map)
factory

Properties

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
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
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
vaultName → Input<String>
Name of the backup vault to store the backup in.
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