Schema
Required
parent_id(String) Identifier of the parent resource to which the resource belongs.source_disk_id(String) Identifier of the source disk. May become stale if the disk is deleted.
Optional
-
description(String) Arbitrary information about this snapshot provided by user. -
labels(Map of String) Labels associated with the resource. -
metadata(Attributes) :Inner value description
Common resource metadata. (see below for nested schema) -
name(String) Human readable name for the resource.
Read-Only
-
created_at(String) : Timestamp indicating when the resource was created. A string representing a timestamp in ISO 8601 format:YYYY-MM-DDTHH:MM:SSZorYYYY-MM-DDTHH:MM:SS.SSS±HH:MM -
id(String) Identifier for the resource, unique for its resource type. -
resource_version(Number) : Version of the resource for safe concurrent modifications and consistent reads. Positive and monotonically increases on each resource spec change (but not on each change of the resource’s container(s) or status). Service allows zero value or current. -
status(Attributes) (see below for nested schema) -
updated_at(String) : Timestamp indicating when the resource was last updated. A string representing a timestamp in ISO 8601 format:YYYY-MM-DDTHH:MM:SSZorYYYY-MM-DDTHH:MM:SS.SSS±HH:MM
Nested Schema for metadata
Nested Schema for status
Read-Only:
-
content_size_bytes(Number) : Logical size of the snapshot content. This is the size of a disk that would be created from this snapshot. -
lock_state(Attributes) Indicates which resources prevent the disk snapshot from being deleted. (see below for nested schema) -
source_cpu_architecture(String) : CPU architecture associated with the source disk. Not set if the architecture is unknown.Supported values
Right now UNDEFINED is an alias for AMD64, but that might change in the future Possible values:UNDEFINEDAMD64ARM64
-
state(String) :Supported values
All possible states for DiskSnapshot resource Possible values:UNSPECIFIEDCREATINGREADYDELETINGERROR
-
storage_size_bytes(Number) : Physical storage used by this snapshot in the snapshot backend. This value is used for billing and quota and may change over time as the snapshot chain evolves (e.g., when earlier snapshots are deleted and data gets re-attributed). Currently is equal to content_size_bytes, as incremental snapshots are not supported yet.
Nested Schema for status.lock_state
Read-Only:
-
disks(List of String) : The snapshot is locked for deletion while disk is being created from this snapshot. Here is the list of these disks.