1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/vmware/private-connections/update
2023-06-15 10:31:27 +00:00

86 lines
3.2 KiB
Text

NAME
gcloud vmware private-connections update - update a Google Cloud Private
Connection
SYNOPSIS
gcloud vmware private-connections update
(PRIVATE_CONNECTION : --location=LOCATION) [--async]
[--description=DESCRIPTION] [--routing-mode=ROUTING_MODE]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Updates a VMware Engine private connection. Only description and
routing-mode can be updated.
EXAMPLES
To update a private connection named my-private-connection in project
my-project and region us-west1 by changing its description to Updated
description for the private connection and routing-mode to GLOBAL, run:
$ gcloud vmware private-connections update my-private-connection \
--location=us-west1 --project=my-project \
--description="Updated description for the private connection" \
--routing-mode=GLOBAL
Or:
$ gcloud vmware private-connections update my-private-connection \
--description="Updated description for the private connection" \
--routing-mode=GLOBAL
In the second example, the project and location are taken from gcloud
properties core/project and compute/regions, respectively.
POSITIONAL ARGUMENTS
Private Connection resource - private_connection. 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 private_connection on the command line with a
fully specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line.
This must be specified.
PRIVATE_CONNECTION
ID of the Private Connection or fully qualified identifier for the
Private Connection.
To set the private-connection attribute:
▸ provide the argument private_connection on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The resource name of the location.
To set the location attribute:
▸ provide the argument private_connection on the command line with
a fully specified name;
▸ provide the argument --location on the command line;
▸ set the property compute/region.
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
Updated description for this Private Connection.
--routing-mode=ROUTING_MODE
Updated routing mode for this Private Connection. ROUTING_MODE must be
one of: GLOBAL, REGIONAL.
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.