VolumeSnapshotState class

Input properties used for looking up and filtering VolumeSnapshot resources.

Constructors

VolumeSnapshotState({Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<Map<String, String>?>? labels, Input<String?>? location, Input<String?>? name, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<int?>? usedBytes, Input<String?>? volumeName})
Creates a new VolumeSnapshotState. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description Description for the snapshot. 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 Name of the snapshot location. Snapshots are child resources of volumes and live in the same location. name The name of the snapshot. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource usedBytes Storage used to store blocks unique to this snapshot. volumeName The name of the volume to create the snapshot in.
const
VolumeSnapshotState.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?>?
Description for the snapshot.
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?>?
Name of the snapshot location. Snapshots are child resources of volumes and live in the same location.
final
name → Input<String?>?
The name of the snapshot.
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
usedBytes → Input<int?>?
Storage used to store blocks unique to this snapshot.
final
volumeName → Input<String?>?
The name of the volume to create the snapshot 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