gcloud vmware private-connections update Stay organized with collections Save and categorize content based on your preferences.
- 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-modecan be updated.
- EXAMPLES
- To update a private connection named
my-private-connectioninprojectmy-projectand regionus-west1by changing itsdescription toUpdated description for the private connectionandrouting-mode toGLOBAL, run:gcloudvmwareprivate-connectionsupdatemy-private-connection--location=us-west1--project=my-project--description="Updated description for the private connection"--routing-mode=GLOBALOr:
gcloudvmwareprivate-connectionsupdatemy-private-connection--description="Updated description for the private connection"--routing-mode=GLOBALIn the second example, the project and location are taken from gcloud propertiescore/project and compute/regions, respectively.
- POSITIONAL ARGUMENTS
- Private Connection resource - private_connection. The arguments in this groupcan be used to specify the attributes of this resource. (NOTE) Some attributesare not given arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
private_connectionon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
PRIVATE_CONNECTION- ID of the Private Connection or fully qualified identifier for the PrivateConnection.
To set the
private-connectionattribute:- provide the argument
private_connectionon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The resource name of the location.
To set the
locationattribute:- provide the argument
private_connectionon the command line with afully specified name; - provide the argument
--locationon the command line; - set the property
compute/region.
- provide the argument
- provide the argument
- Private Connection resource - private_connection. The arguments in this groupcan be used to specify the attributes of this resource. (NOTE) Some attributesare not given arguments in this group but can be set in other ways.
- FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.The default is
True. Enabled by default, use--no-asyncto disable. --description=DESCRIPTION- Updated description for this Private Connection.
--routing-mode=ROUTING_MODE- Updated routing mode for this Private Connection.
ROUTING_MODEmust 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 helpfor details.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.