volume_restores
Creates, updates, deletes, gets or lists a volume_restores
resource.
Overview
Name | volume_restores |
Type | Resource |
Id | google.gkebackup.volume_restores |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. Full name of the VolumeRestore resource. Format: projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/* |
completeTime | string | Output only. The timestamp when the associated underlying volume restoration completed. |
createTime | string | Output only. The timestamp when this VolumeRestore resource was created. |
etag | string | Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a volume restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform volume restore updates in order to avoid race conditions. |
state | string | Output only. The current state of this VolumeRestore. |
stateMessage | string | Output only. A human readable message explaining why the VolumeRestore is in its current state. |
targetPvc | object | A reference to a namespaced resource in Kubernetes. |
uid | string | Output only. Server generated global unique identifier of UUID format. |
updateTime | string | Output only. The timestamp when this VolumeRestore resource was last updated. |
volumeBackup | string | Output only. The full name of the VolumeBackup from which the volume will be restored. Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/* . |
volumeHandle | string | Output only. A storage system-specific opaque handler to the underlying volume created for the target PVC from the volume backup. |
volumeType | string | Output only. The type of volume provisioned |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, projectsId, restorePlansId, restoresId, volumeRestoresId | Retrieve the details of a single VolumeRestore. |
list | SELECT | locationsId, projectsId, restorePlansId, restoresId | Lists the VolumeRestores for a given Restore. |
SELECT
examples
Lists the VolumeRestores for a given Restore.
SELECT
name,
completeTime,
createTime,
etag,
state,
stateMessage,
targetPvc,
uid,
updateTime,
volumeBackup,
volumeHandle,
volumeType
FROM google.gkebackup.volume_restores
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND restorePlansId = '{{ restorePlansId }}'
AND restoresId = '{{ restoresId }}';