mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 07:29:40 +00:00
58 lines
2.1 KiB
Text
58 lines
2.1 KiB
Text
NAME
|
|
gcloud beta compute snapshots describe - describe a Compute Engine snapshot
|
|
|
|
SYNOPSIS
|
|
gcloud beta compute snapshots describe SNAPSHOT_NAME [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) gcloud beta compute snapshots describe displays all data associated
|
|
with a Compute Engine snapshot in a project.
|
|
|
|
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: https://www.googleapis.com/compute/v1/projects/test-project-name/global/snapshots/snapshot-number
|
|
sourceDisk: https://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
|
|
|
|
EXAMPLES
|
|
To run gcloud beta compute snapshots describe, you'll need the name of a
|
|
snapshot. To list existing snapshots by name, run:
|
|
|
|
$ gcloud beta compute snapshots list
|
|
|
|
To display specific details of an existing Compute Engine snapshot (like
|
|
its creation time, status, and storage details), run:
|
|
|
|
$ gcloud beta compute snapshots describe SNAPSHOT_NAME \
|
|
--format="table(creationTimestamp, status, storageBytesStatus)"
|
|
|
|
POSITIONAL ARGUMENTS
|
|
SNAPSHOT_NAME
|
|
Name of the snapshot to describe.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This command is currently in beta and might change without notice. These
|
|
variants are also available:
|
|
|
|
$ gcloud compute snapshots describe
|
|
|
|
$ gcloud alpha compute snapshots describe
|
|
|