File: //snap/google-cloud-cli/394/help/man/man1/gcloud_vmware_private-clouds_subnets_update.1
.TH "GCLOUD_VMWARE_PRIVATE\-CLOUDS_SUBNETS_UPDATE" 1
.SH "NAME"
.HP
gcloud vmware private\-clouds subnets update \- update a subnet
.SH "SYNOPSIS"
.HP
\f5gcloud vmware private\-clouds subnets update\fR (\fISUBNET\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR\ \fB\-\-private\-cloud\fR=\fIPRIVATE_CLOUD\fR) \fB\-\-ip\-cidr\-range\fR=\fIIP_CIDR_RANGE\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Update a Subnet. Only ip\-cidr\-range can be updated. This is a synchronous
command and doesn't support \f5\-\-async\fR and \f5\-\-no\-async\fR flags.
.SH "EXAMPLES"
To update a subnet named \f5my\-subnet\fR, that belongs to the private cloud
\f5my\-private\-cloud\fR in project \f5my\-project\fR and zone
\f5us\-west1\-a\fR by changing its ip\-cidr\-range to \f510.0.0.0/24\fR, run:
.RS 2m
$ gcloud vmware private\-clouds subnets update my\-subnet \e
\-\-private\-cloud=my\-private\-cloud \-\-location=us\-west1 \e
\-\-project=my\-project \-\-ip\-cidr\-range=10.0.0.0/24
.RE
Or:
.RS 2m
$ gcloud vmware private\-clouds subnets update my\-subnet \e
\-\-private\-cloud=my\-private\-cloud \-\-ip\-cidr\-range=10.0.0.0/24
.RE
In the second example, the project and location are taken from gcloud properties
\f5core/project\fR and \f5compute/zone\fR, respectively.
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Subnet resource \- subnet. 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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5subnet\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fISUBNET\fR
ID of the subnet or fully qualified identifier for the subnet.
To set the \f5subnet\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5subnet\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
Location of the private cloud or cluster.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5subnet\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(bu" 2m
set the property \f5compute/zone\fR.
.RE
.sp
.TP 2m
\fB\-\-private\-cloud\fR=\fIPRIVATE_CLOUD\fR
VMware Engine private cloud.
To set the \f5private\-cloud\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5subnet\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-private\-cloud\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-ip\-cidr\-range\fR=\fIIP_CIDR_RANGE\fR
Updated IP CIDR range for this subnet.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.