- NAME
-
- gcloud alpha compute snapshots describe - describe a Compute Engine snapshot
- SYNOPSIS
-
-
gcloud alpha compute snapshots describe
SNAPSHOT_NAME
[--global
|--region
=REGION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
gcloud alpha 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 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)"
- POSITIONAL ARGUMENTS
-
SNAPSHOT_NAME
- Name of the snapshot to describe.
- FLAGS
-
-
At most one of these can be specified:
--global
- If set, the snapshot is global.
--region
=REGION
-
Region of the snapshot to describe. Overrides the default
compute/region
property value for this command invocation.
-
At most one of these can be specified:
- 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 alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. These variants are also available:
gcloud compute snapshots describe
gcloud beta compute snapshots describe
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.