1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Mar 1 10:23:17 UTC 2023

This commit is contained in:
Automated 2023-03-01 10:23:17 +00:00
parent 7664984b79
commit bdaa0b3cfc
230 changed files with 8963 additions and 242 deletions

View file

@ -113,9 +113,8 @@ FLAGS
16384.
--provisioned-iops=PROVISIONED_IOPS
Provisioned IOPS of pd-extreme disk to create. Only for use with disks
of type pd-extreme. If specified, the value must be in the range
between 2500 and 120000. If not specified, the default value is 100000.
Provisioned IOPS of disk to create. Only for use with disks of type
pd-extreme and hyperdisk-extreme.
--replica-zones=ZONE,ZONE
A comma-separated list of exactly 2 zones that a regional disk will be

View file

@ -3,7 +3,7 @@ NAME
SYNOPSIS
gcloud beta compute disks update DISK_NAME
[--update-labels=[KEY=VALUE,...]]
[--provisioned-iops=PROVISIONED_IOPS] [--update-labels=[KEY=VALUE,...]]
[--clear-architecture | --update-architecture=UPDATE_ARCHITECTURE]
[--clear-labels | --remove-labels=[KEY,...]]
[--clear-user-licenses | --update-user-licenses=[LICENSE,...]]
@ -38,6 +38,10 @@ POSITIONAL ARGUMENTS
Name of the disk to update.
FLAGS
--provisioned-iops=PROVISIONED_IOPS
Provisioned IOPS of disk to update. Only for use with disks of type
hyperdisk-extreme.
--update-labels=[KEY=VALUE,...]
List of label KEY=VALUE pairs to update. If a label exists, its value
is modified. Otherwise, a new label is created.

View file

@ -36,7 +36,7 @@ SYNOPSIS
[--resource-policies=[RESOURCE_POLICY,...]] [--no-restart-on-failure]
[--shielded-integrity-monitoring] [--shielded-secure-boot]
[--shielded-vtpm] [--source-instance-template=SOURCE_INSTANCE_TEMPLATE]
[--subnet=SUBNET] [--tags=TAG,[TAG,...]]
[--stack-type=STACK_TYPE] [--subnet=SUBNET] [--tags=TAG,[TAG,...]]
[--target-distribution-shape=SHAPE]
[--termination-time=TERMINATION_TIME]
[--threads-per-core=THREADS_PER_CORE]
@ -657,6 +657,15 @@ OPTIONAL FLAGS
The name of the instance template that the instance will be created
from. Users can override fields by specifying other flags.
--stack-type=STACK_TYPE
Specifies whether IPv6 is enabled on the default network interface. If
not specified, IPV4_ONLY will be used. STACK_TYPE must be one of:
IPV4_IPV6
The network interface can have both IPv4 and IPv6 addresses
IPV4_ONLY
The network interface will be assigned IPv4 addresses
--subnet=SUBNET
Specifies the subnet that the VM instances are a part of. If --network
is also specified, subnet must be a subnetwork of the network specified

View file

@ -94,20 +94,20 @@ EXAMPLES
example-instance-2 example-instance-3 --zone=us-central1-a
To create an instance called 'instance-1' from a source snapshot called
'instance-snapshot' in zone 'us-central2-a' and attached regional disk
'instance-snapshot' in zone 'us-central1-a' and attached regional disk
'disk-1', run:
$ gcloud beta compute instances create instance-1 \
--source-snapshot=https://compute.googleapis.com/compute/v1/\
projects/myproject/global/snapshots/instance-snapshot \
--zone=central2-a --disk=name=disk1,scope=regional
--zone=us-central1-a --disk=name=disk1,scope=regional
To create an instance called instance-1 as a Shielded VM instance with
Secure Boot, virtual trusted platform module (vTPM) enabled and integrity
monitoring, run:
$ gcloud beta compute instances create instance-1 \
--zone=central2-a --shielded-secure-boot --shielded-vtpm \
--zone=us-central1-a --shielded-secure-boot --shielded-vtpm \
--shielded-integrity-monitoring
To create a preemptible instance called 'instance-1', run:
@ -632,6 +632,13 @@ FLAGS
Specifies the Network Interface Controller (NIC) type for the
interface. NIC_TYPE must be one of: GVNIC, VIRTIO_NET.
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.
stack-type
Specifies whether IPv6 is enabled on the interface. STACK_TYPE must
be one of: IPV4_ONLY, IPV4_IPV6. The default value is IPV4_ONLY.

View file

@ -144,7 +144,8 @@ OPTIONAL FLAGS
GROUP must be (currently only one value is supported):
ALL_SUBNETS
Automatically advertise all available subnets.
Automatically advertise all available subnets. This excludes any
routes learned for subnets that use VPC Network Peering.
--set-advertisement-ranges=[CIDR_RANGE=DESC,...]
The list of individual IP ranges, in CIDR format, to dynamically

View file

@ -88,7 +88,8 @@ OPTIONAL FLAGS
GROUP must be (currently only one value is supported):
ALL_SUBNETS
Automatically advertise all available subnets.
Automatically advertise all available subnets. This excludes any
routes learned for subnets that use VPC Network Peering.
--set-advertisement-ranges=[CIDR_RANGE=DESC,...]
The list of individual IP ranges, in CIDR format, to dynamically

View file

@ -84,7 +84,8 @@ FLAGS
GROUP must be (currently only one value is supported):
ALL_SUBNETS
Automatically advertise all available subnets.
Automatically advertise all available subnets. This excludes any
routes learned for subnets that use VPC Network Peering.
--set-advertisement-ranges=[CIDR_RANGE=DESC,...]
The list of individual IP ranges, in CIDR format, to dynamically
@ -104,7 +105,8 @@ FLAGS
GROUP must be (currently only one value is supported):
ALL_SUBNETS
Automatically advertise all available subnets.
Automatically advertise all available subnets. This excludes any
routes learned for subnets that use VPC Network Peering.
--add-advertisement-ranges=[CIDR_RANGE=DESC,...]
A list of individual IP ranges, in CIDR format, to dynamically
@ -124,7 +126,8 @@ FLAGS
GROUP must be (currently only one value is supported):
ALL_SUBNETS
Automatically advertise all available subnets.
Automatically advertise all available subnets. This excludes any
routes learned for subnets that use VPC Network Peering.
--remove-advertisement-ranges=[CIDR_RANGE,...]
A list of individual IP ranges, in CIDR format, to remove from

View file

@ -130,7 +130,8 @@ OPTIONAL FLAGS
GROUP must be (currently only one value is supported):
ALL_SUBNETS
Automatically advertise all available subnets.
Automatically advertise all available subnets. This excludes any
routes learned for subnets that use VPC Network Peering.
--set-advertisement-ranges=[CIDR_RANGE=DESC,...]
The list of individual IP ranges, in CIDR format, to dynamically
@ -150,7 +151,8 @@ OPTIONAL FLAGS
GROUP must be (currently only one value is supported):
ALL_SUBNETS
Automatically advertise all available subnets.
Automatically advertise all available subnets. This excludes any
routes learned for subnets that use VPC Network Peering.
--add-advertisement-ranges=[CIDR_RANGE=DESC,...]
A list of individual IP ranges, in CIDR format, to dynamically
@ -170,7 +172,8 @@ OPTIONAL FLAGS
GROUP must be (currently only one value is supported):
ALL_SUBNETS
Automatically advertise all available subnets.
Automatically advertise all available subnets. This excludes any
routes learned for subnets that use VPC Network Peering.
--remove-advertisement-ranges=[CIDR_RANGE,...]
A list of individual IP ranges, in CIDR format, to remove from

View file

@ -14,7 +14,7 @@ DESCRIPTION
EXAMPLES
The following command describes the TPUs running in zone us-central1-b:
$ gcloud beta compute tpus locations describe zone=us-central1-b
$ gcloud beta compute tpus locations describe us-central1-b
POSITIONAL ARGUMENTS
Location resource - The Cloud TPU Location you want to describe. This