mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Thu Nov 9 11:45:52 UTC 2023
This commit is contained in:
parent
f2c5d1d45f
commit
03f0979970
300 changed files with 8569 additions and 1319 deletions
33
gcloud/compute/snapshot-settings/describe
Normal file
33
gcloud/compute/snapshot-settings/describe
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
NAME
|
||||
gcloud compute snapshot-settings describe - describe snapshot settings
|
||||
|
||||
SYNOPSIS
|
||||
gcloud compute snapshot-settings describe [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Describe the snapshot settings of a project.
|
||||
|
||||
EXAMPLES
|
||||
To display the snapshot settings of a project called my-project, run:
|
||||
|
||||
$ gcloud compute snapshot-settings describe --project=my-project
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/v1 API. The full documentation for this API
|
||||
can be found at: https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha compute snapshot-settings describe
|
||||
|
||||
$ gcloud beta compute snapshot-settings describe
|
||||
|
||||
31
gcloud/compute/snapshot-settings/help
Normal file
31
gcloud/compute/snapshot-settings/help
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
NAME
|
||||
gcloud compute snapshot-settings - describe and update Compute Engine
|
||||
snapshot settings
|
||||
|
||||
SYNOPSIS
|
||||
gcloud compute snapshot-settings COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Describe and update Compute Engine snapshot settings.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
describe
|
||||
Describe snapshot settings.
|
||||
|
||||
update
|
||||
Update snapshot settings.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha compute snapshot-settings
|
||||
|
||||
$ gcloud beta compute snapshot-settings
|
||||
|
||||
69
gcloud/compute/snapshot-settings/update
Normal file
69
gcloud/compute/snapshot-settings/update
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
NAME
|
||||
gcloud compute snapshot-settings update - update snapshot settings
|
||||
|
||||
SYNOPSIS
|
||||
gcloud compute snapshot-settings update [--async]
|
||||
[--storage-location-names=[STORAGE_LOCATION_NAMES,...]]
|
||||
[--storage-location-policy=STORAGE_LOCATION_POLICY]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Update the snapshot settings of a project.
|
||||
|
||||
EXAMPLES
|
||||
To update the snapshot settings and set the storage location policy to the
|
||||
nearest multi-region as the source disk, run:
|
||||
|
||||
$ gcloud compute snapshot-settings update \
|
||||
--storage-location-policy=nearest-multi-region
|
||||
|
||||
To update the snapshot settings and set the storage location policy to the
|
||||
same region as the source disk, run:
|
||||
|
||||
$ gcloud alpha compute snapshot-settings update \ --storage-location-policy=local-region
|
||||
|
||||
To update the snapshot settings and set the storage location policy to
|
||||
store snapshots in a specific location like us-west1, run:
|
||||
|
||||
$ gcloud compute snapshot-settings update \
|
||||
--storage-location-policy=specific-locations \
|
||||
--storage-location-names=us-west1
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--storage-location-names=[STORAGE_LOCATION_NAMES,...]
|
||||
The custom storage locations that you specify for the project's
|
||||
snapshots. Use this flag only when you use the SPECIFIC_LOCATIONS value
|
||||
for the --storage-location-policy flag. For more information, refer to
|
||||
the snapshot settings documentation at
|
||||
https://cloud.google.com/compute/docs/disks/snapshot-settings.
|
||||
|
||||
--storage-location-policy=STORAGE_LOCATION_POLICY
|
||||
The storage location policy. For more information, refer to the
|
||||
snapshot settings documentation at
|
||||
https://cloud.google.com/compute/docs/disks/snapshot-settings.
|
||||
STORAGE_LOCATION_POLICY must be one of: local-region,
|
||||
nearest-multi-region, specific-locations.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/v1 API. The full documentation for this API
|
||||
can be found at: https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha compute snapshot-settings update
|
||||
|
||||
$ gcloud beta compute snapshot-settings update
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue