SnapshotState constructor

const SnapshotState({
  1. Input<String?>? chainName,
  2. Input<String?>? creationTimestamp,
  3. Input<String?>? deletionPolicy,
  4. Input<String?>? description,
  5. Input<int?>? diskSizeGb,
  6. Input<Map<String, String>?>? effectiveLabels,
  7. Input<bool?>? guestFlush,
  8. Input<String?>? labelFingerprint,
  9. Input<Map<String, String>?>? labels,
  10. Input<List<String>?>? licenses,
  11. Input<String?>? name,
  12. Input<SnapshotParams?>? params,
  13. Input<String?>? project,
  14. Input<Map<String, String>?>? pulumiLabels,
  15. Input<String?>? selfLink,
  16. Input<SnapshotSnapshotEncryptionKey?>? snapshotEncryptionKey,
  17. Input<int?>? snapshotId,
  18. Input<String?>? snapshotType,
  19. Input<String?>? sourceDisk,
  20. Input<SnapshotSourceDiskEncryptionKey?>? sourceDiskEncryptionKey,
  21. Input<String?>? sourceInstantSnapshot,
  22. Input<int?>? storageBytes,
  23. Input<List<String>?>? storageLocations,
  24. Input<String?>? zone,
})

Creates a new SnapshotState. chainName Creates the new snapshot in the snapshot chain labeled with the creationTimestamp Creation timestamp in RFC3339 text format. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. diskSizeGb Size of the snapshot, specified in GB. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. guestFlush (Optional, Beta) labelFingerprint The fingerprint used for optimistic locking of this resource. Used labels Labels to apply to this Snapshot. licenses A list of public visible licenses that apply to this snapshot. This name Name of the resource; provided by the client when the resource is params Additional params passed with the request, but not persisted as part of resource payload project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource selfLink The URI of the created resource. snapshotEncryptionKey Encrypts the snapshot using a customer-supplied encryption key. snapshotId The unique identifier for the resource. snapshotType Indicates the type of the snapshot. sourceDisk A reference to the disk used to create this snapshot. sourceDiskEncryptionKey The customer-supplied encryption key of the source snapshot. Required sourceInstantSnapshot A reference to the instant snapshot used to create this snapshot. storageBytes A size of the storage used by the snapshot. As snapshots share storageLocations Cloud Storage bucket storage location of the snapshot (regional or multi-regional). zone A reference to the zone where the disk is hosted.

Implementation

const SnapshotState({
  this.chainName,
  this.creationTimestamp,
  this.deletionPolicy,
  this.description,
  this.diskSizeGb,
  this.effectiveLabels,
  this.guestFlush,
  this.labelFingerprint,
  this.labels,
  this.licenses,
  this.name,
  this.params,
  this.project,
  this.pulumiLabels,
  this.selfLink,
  this.snapshotEncryptionKey,
  this.snapshotId,
  this.snapshotType,
  this.sourceDisk,
  this.sourceDiskEncryptionKey,
  this.sourceInstantSnapshot,
  this.storageBytes,
  this.storageLocations,
  this.zone,
});