gcloud_alpha_compute_snapshots_describe (1)
NAME
- gcloud alpha compute snapshots describe - describe a Google Compute Engine snapshot
SYNOPSIS
-
gcloud alpha compute snapshots describe SNAPSHOT_NAME [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha compute snapshots describe displays all data
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 alpha compute snapshots describe, you'll need the name of a snapshot. To list existing snapshots by name, run:
- $ gcloud alpha compute snapshots list
To display specific details of an existing Compute Engine snapshot (like its creation time, status, and storage details), run:
-
$ gcloud alpha compute snapshots describe SNAPSHOT_NAME \
--format="table(creationTimestamp, status, storageBytesStatus)"
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud compute snapshots describe $ gcloud beta compute snapshots describe