mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Jan 10 10:17:49 UTC 2024
This commit is contained in:
parent
08ad88258a
commit
5fec13c692
262 changed files with 3211 additions and 4501 deletions
|
|
@ -579,9 +579,9 @@ OPTIONAL FLAGS
|
|||
queue-count
|
||||
Specifies the networking queue count for this interface. Both Rx
|
||||
and Tx queues will be set to this number. If it's not specified, a
|
||||
default queue count will be assigned. For Virtio-net, each
|
||||
interface will get min(floor(#vCPU / #vNIC), 32) queues. For gVNIC,
|
||||
each interface will get min(floor(#vCPU / #vNIC / 2), 16) qeueus.
|
||||
default queue count will be assigned. See
|
||||
https://cloud.google.com/compute/docs/network-bandwidth#rx-tx for
|
||||
more details.
|
||||
|
||||
--network-performance-configs=[PROPERTY=VALUE,...]
|
||||
Configures network performance settings for the instance. If this flag
|
||||
|
|
|
|||
|
|
@ -684,18 +684,18 @@ FLAGS
|
|||
|
||||
--aliases="10.128.1.0/24;range1:/32"
|
||||
|
||||
Each IP alias range consists of a range name and an IP range
|
||||
separated by a colon, or just the IP range.
|
||||
The range name is the name of the range within the network
|
||||
interface's subnet from which to allocate an IP alias range. If
|
||||
unspecified, it defaults to the primary IP range of the subnet.
|
||||
The IP range can be a CIDR range (e.g. `192.168.100.0/24`), a single
|
||||
IP address (e.g. `192.168.100.1`), or a netmask in CIDR format (e.g.
|
||||
`/24`). If the IP range is specified by CIDR range or single IP
|
||||
address, it must belong to the CIDR range specified by the range
|
||||
name on the subnet. If the IP range is specified by netmask, the
|
||||
IP allocator will pick an available range with the specified netmask
|
||||
and allocate it to this network interface.
|
||||
Each IP alias range consists of a range name and an IP range
|
||||
separated by a colon, or just the IP range. The range name is the
|
||||
name of the range within the network interface's subnet from which
|
||||
to allocate an IP alias range. If unspecified, it defaults to the
|
||||
primary IP range of the subnet. The IP range can be a CIDR range
|
||||
(e.g. 192.168.100.0/24), a single IP address (e.g. 192.168.100.1),
|
||||
or a netmask in CIDR format (e.g. /24). If the IP range is
|
||||
specified by CIDR range or single IP address, it must belong to the
|
||||
CIDR range specified by the range name on the subnet. If the IP
|
||||
range is specified by netmask, the IP allocator will pick an
|
||||
available range with the specified netmask and allocate it to this
|
||||
network interface.
|
||||
|
||||
--network-performance-configs=[PROPERTY=VALUE,...]
|
||||
Configures network performance settings for the instance. If this flag
|
||||
|
|
|
|||
|
|
@ -577,18 +577,18 @@ FLAGS
|
|||
|
||||
--aliases="10.128.1.0/24;range1:/32"
|
||||
|
||||
Each IP alias range consists of a range name and an IP range
|
||||
separated by a colon, or just the IP range.
|
||||
The range name is the name of the range within the network
|
||||
interface's subnet from which to allocate an IP alias range. If
|
||||
unspecified, it defaults to the primary IP range of the subnet.
|
||||
The IP range can be a CIDR range (e.g. `192.168.100.0/24`), a single
|
||||
IP address (e.g. `192.168.100.1`), or a netmask in CIDR format (e.g.
|
||||
`/24`). If the IP range is specified by CIDR range or single IP
|
||||
address, it must belong to the CIDR range specified by the range
|
||||
name on the subnet. If the IP range is specified by netmask, the
|
||||
IP allocator will pick an available range with the specified netmask
|
||||
and allocate it to this network interface.
|
||||
Each IP alias range consists of a range name and an IP range
|
||||
separated by a colon, or just the IP range. The range name is the
|
||||
name of the range within the network interface's subnet from which
|
||||
to allocate an IP alias range. If unspecified, it defaults to the
|
||||
primary IP range of the subnet. The IP range can be a CIDR range
|
||||
(e.g. 192.168.100.0/24), a single IP address (e.g. 192.168.100.1),
|
||||
or a netmask in CIDR format (e.g. /24). If the IP range is
|
||||
specified by CIDR range or single IP address, it must belong to the
|
||||
CIDR range specified by the range name on the subnet. If the IP
|
||||
range is specified by netmask, the IP allocator will pick an
|
||||
available range with the specified netmask and allocate it to this
|
||||
network interface.
|
||||
|
||||
--network-performance-configs=[PROPERTY=VALUE,...]
|
||||
Configures network performance settings for the instance. If this flag
|
||||
|
|
|
|||
|
|
@ -25,15 +25,15 @@ EXAMPLES
|
|||
--zone=us-central1-a --update-labels=k0=value1,k1=value2 \
|
||||
--remove-labels=k3
|
||||
|
||||
Labels can be used to identify the disk. To list disks with the 'k1:value2'
|
||||
label, run:
|
||||
Labels can be used to identify the instance. To list instances with the
|
||||
'k1:value2' label, run:
|
||||
|
||||
$ gcloud compute instances list --filter='labels.k1:value2'
|
||||
|
||||
To list only the labels when describing a resource, use --format to filter
|
||||
the result:
|
||||
|
||||
$ gcloud compute instances describe example-disk \
|
||||
$ gcloud compute instances describe example-instance \
|
||||
--format="default(labels)"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue