gcloud_compute_snapshots_describe (1)
NAME
- gcloud compute snapshots describe - describe a Google Compute Engine snapshot
SYNOPSIS
-
gcloud compute snapshots describe SNAPSHOT_NAME [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud compute snapshots describe displays all data associated with a
Given an existing snapshot is queried, successful output of this command looks like the following:
- creationTimestamp: '2018-05-07T10:45:46.988-07:00' diskSizeGb: '500' id: '1234567891234567890' kind: compute#snapshot labelFingerprint: 12345abcdWW= name: zs9utdhb8r1x selfLink: www.googleapis.com/compute/v1/projects/test-project-name/global/snapshots/snapshot-number sourceDisk: www.googleapis.com/compute/v1/projects/test-project-name/zones/us-central1-c/disks/test sourceDiskId: '1234567891234567890' status: READY storageBytes: '0' storageBytesStatus: UP_TO_DATE
POSITIONAL ARGUMENTS
-
- SNAPSHOT_NAME
-
Name of the snapshot to describe.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To run gcloud compute snapshots describe, you'll need the name of a snapshot. To list existing snapshots by name, run:
- $ gcloud compute snapshots list
To display specific details of an existing Compute Engine snapshot (like its creation time, status, and storage details), run:
-
$ gcloud compute snapshots describe SNAPSHOT_NAME \
--format="table(creationTimestamp, status, storageBytesStatus)"
NOTES
These variants are also available:
- $ gcloud alpha compute snapshots describe $ gcloud beta compute snapshots describe