mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-12 16:08:31 +00:00
73 lines
2.5 KiB
Text
73 lines
2.5 KiB
Text
NAME
|
|
gcloud vmware datastores update - update a datastore
|
|
|
|
SYNOPSIS
|
|
gcloud vmware datastores update (DATASTORE : --location=LOCATION) [--async]
|
|
[--description=DESCRIPTION] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Update a datastore.
|
|
|
|
EXAMPLES
|
|
To update a datastore named my-datastore in location us-west2-a with a new
|
|
description, run:
|
|
|
|
$ gcloud vmware datastores update my-datastore \
|
|
--location=us-west2-a --project=my-project \
|
|
--description="new description"
|
|
|
|
Or:
|
|
|
|
$ gcloud vmware datastores update my-datastore \
|
|
--description="new description"
|
|
|
|
In the second example, the project and location are taken from gcloud
|
|
properties core/project and compute/zone.
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Datastore resource - datastore. The arguments in this group can be used to
|
|
specify the attributes of this resource. (NOTE) Some attributes are not
|
|
given arguments in this group but can be set in other ways.
|
|
|
|
To set the project attribute:
|
|
◆ provide the argument datastore on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
This must be specified.
|
|
|
|
DATASTORE
|
|
ID of the datastore or fully qualified identifier for the datastore.
|
|
|
|
To set the datastore attribute:
|
|
▸ provide the argument datastore on the command line.
|
|
|
|
This positional argument must be specified if any of the other
|
|
arguments in this group are specified.
|
|
|
|
--location=LOCATION
|
|
Location of the private cloud or cluster.
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument datastore on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ set the property compute/zone.
|
|
|
|
FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete. The default is True. Enabled by default, use --no-async to
|
|
disable.
|
|
|
|
--description=DESCRIPTION
|
|
New description for the datastore.
|
|
|
|
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.
|