1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-13 16:37:00 +00:00

gcloud: Wed Mar 16 08:47:18 UTC 2022

This commit is contained in:
Automated 2022-03-16 08:47:18 +00:00
parent 7d82d0fc32
commit 971306823a
187 changed files with 3248 additions and 630 deletions

View file

@ -61,8 +61,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -76,8 +76,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -83,8 +83,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -128,8 +128,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -65,8 +65,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -56,8 +56,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -91,8 +91,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -135,8 +135,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -70,8 +70,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -96,8 +96,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta1 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -87,8 +87,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -82,8 +82,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -105,8 +105,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -87,8 +87,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -90,8 +90,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -97,8 +97,8 @@ GCLOUD WIDE FLAGS
Run $ gcloud help for details.
API REFERENCE
This command uses the artifactregistry/v1beta2 API. The full documentation
for this API can be found at: https://cloud.google.com/artifacts/docs/
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
NOTES
This command is currently in beta and might change without notice. These

View file

@ -82,8 +82,9 @@ FLAGS
to be copied.
The --[no-]launch-browser flags are deprecated and will be removed in
future updates. Use --no-browser to replace --no-launch-browser.
Enabled by default, use --no-launch-browser to disable.
version 383.0.0 (04/26/2022). Use --no-browser to replace
--no-launch-browser. Enabled by default, use --no-launch-browser to
disable.
--scopes=SCOPES,[SCOPES,...]
The names of the scopes to authorize for. By default openid,

View file

@ -83,8 +83,9 @@ FLAGS
to be copied.
The --[no-]launch-browser flags are deprecated and will be removed in
future updates. Use --no-browser to replace --no-launch-browser.
Enabled by default, use --no-launch-browser to disable.
version 383.0.0 (04/26/2022). Use --no-browser to replace
--no-launch-browser. Enabled by default, use --no-launch-browser to
disable.
--update-adc
Write the obtained credentials to the well-known location for

View file

@ -71,7 +71,7 @@ FLAGS
The image version encapsulates the versions of both Cloud Composer
and Apache Airflow. Must be of the form
composer-A.B.C[-D.E]-airflow-X.Y[.Z].
composer-A[.B.C[-D.E]]-airflow-X.Y[.Z].
The Cloud Composer and Airflow versions are semantic versions. latest
can be provided instead of an explicit Cloud Composer version number

View file

@ -187,15 +187,15 @@ FLAGS
Must be of the form `X.Y[.Z]`.
The latest supported Cloud Composer version will be used within
the created environment.
The current Cloud Composer version will be used within the created
environment.
--image-version=IMAGE_VERSION
Version of the image to run in the environment.
The image version encapsulates the versions of both Cloud Composer
and Apache Airflow. Must be of the form
`composer-A.B.C[-D.E]-airflow-X.Y[.Z]`.
`composer-A[.B.C[-D.E]]-airflow-X.Y[.Z]`.
The Cloud Composer and Airflow versions are semantic versions.
`latest` can be provided instead of an explicit Cloud Composer

View file

@ -112,7 +112,7 @@ REQUIRED FLAGS
The image version encapsulates the versions of both Cloud Composer
and Apache Airflow. Must be of the form
composer-A.B.C[-D.E]-airflow-X.Y[.Z].
composer-A[.B.C[-D.E]]-airflow-X.Y[.Z].
The Cloud Composer and Airflow versions are semantic versions.
latest can be provided instead of an explicit Cloud Composer

View file

@ -70,10 +70,13 @@ REQUIRED FLAGS
--nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME],[...]
List of subnetwork primary and secondary IP ranges to be allowed to
use NAT. [SUBNETWORK]: including a subnetwork name includes only the
primary subnet range of the subnetwork. [SUBNETWORK]:[RANGE_NAME]:
specifying a subnetwork and secondary range name includes only that
secondary range.It does not include the primary range of the subnet.
use NAT.
▸ SUBNETWORK - including a subnetwork name includes only the
primary subnet range of the subnetwork.
▸ SUBNETWORK:RANGE_NAME - specifying a subnetwork and secondary
range name includes only that secondary range. It does not include
the primary range of the subnet.
--nat-primary-subnet-ip-ranges
Allow only primary IP ranges of all subnetworks in the region to use

View file

@ -242,10 +242,13 @@ OPTIONAL FLAGS
--nat-custom-subnet-ip-ranges=SUBNETWORK[:RANGE_NAME],[...]
List of subnetwork primary and secondary IP ranges to be allowed to
use NAT. [SUBNETWORK]: including a subnetwork name includes only the
primary subnet range of the subnetwork. [SUBNETWORK]:[RANGE_NAME]:
specifying a subnetwork and secondary range name includes only that
secondary range.It does not include the primary range of the subnet.
use NAT.
▸ SUBNETWORK - including a subnetwork name includes only the
primary subnet range of the subnetwork.
▸ SUBNETWORK:RANGE_NAME - specifying a subnetwork and secondary
range name includes only that secondary range. It does not include
the primary range of the subnet.
--nat-primary-subnet-ip-ranges
Allow only primary IP ranges of all subnetworks in the region to use

View file

@ -16,9 +16,9 @@ SYNOPSIS
[--create-subnetwork=[KEY=VALUE,...]]
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
[--default-max-pods-per-node=DEFAULT_MAX_PODS_PER_NODE]
[--disable-default-snat] [--disk-size=DISK_SIZE]
[--disk-type=DISK_TYPE] [--enable-autorepair] [--no-enable-autoupgrade]
[--enable-binauthz] [--enable-cloud-logging]
[--disable-default-snat] [--disable-pod-cidr-overprovision]
[--disk-size=DISK_SIZE] [--disk-type=DISK_TYPE] [--enable-autorepair]
[--no-enable-autoupgrade] [--enable-binauthz] [--enable-cloud-logging]
[--enable-cloud-monitoring] [--enable-cloud-run-alpha]
[--enable-confidential-nodes] [--enable-dataplane-v2]
[--enable-gke-oidc] [--enable-gvnic] [--enable-identity-service]
@ -301,6 +301,10 @@ FLAGS
requires that you also set --enable-ip-alias and
--enable-private-nodes.
--disable-pod-cidr-overprovision
Disables pod cidr overprovision on nodes. Pod cidr overprovisioning is
enabled by default.
--disk-size=DISK_SIZE
Size for node VM boot disks in GB. Defaults to 100GB.

View file

@ -6,10 +6,11 @@ SYNOPSIS
gcloud beta container node-pools create NAME
[--accelerator=[type=TYPE,[count=COUNT],...]]
[--boot-disk-kms-key=BOOT_DISK_KMS_KEY] [--cluster=CLUSTER]
[--disk-size=DISK_SIZE] [--disk-type=DISK_TYPE]
[--enable-autoprovisioning] [--enable-autorepair]
[--no-enable-autoupgrade] [--enable-confidential-nodes]
[--enable-gvnic] [--enable-image-streaming] [--image-type=IMAGE_TYPE]
[--disable-pod-cidr-overprovision] [--disk-size=DISK_SIZE]
[--disk-type=DISK_TYPE] [--enable-autoprovisioning]
[--enable-autorepair] [--no-enable-autoupgrade]
[--enable-confidential-nodes] [--enable-gvnic]
[--enable-image-streaming] [--image-type=IMAGE_TYPE]
[--machine-type=MACHINE_TYPE, -m MACHINE_TYPE]
[--max-pods-per-node=MAX_PODS_PER_NODE]
[--max-surge-upgrade=MAX_SURGE_UPGRADE; default=1]
@ -85,6 +86,10 @@ FLAGS
The cluster to add the node pool to. Overrides the default
container/cluster property value for this command invocation.
--disable-pod-cidr-overprovision
Disables pod cidr overprovision on nodes. Pod cidr overprovisioning is
enabled by default.
--disk-size=DISK_SIZE
Size for node VM boot disks in GB. Defaults to 100GB.

View file

@ -162,9 +162,11 @@ FLAGS
◆ go113: Go 1.13
◆ go116: Go 1.16 (preview)
◆ java11: Java 11
◆ java17: Java 17 (preview)
◆ dotnet3: .NET Framework 3
◆ ruby26: Ruby 2.6
◆ ruby27: Ruby 2.7
◆ ruby30: Ruby 3.0 (preview)
◆ nodejs6: Node.js 6 (deprecated)
◆ nodejs8: Node.js 8 (deprecated)

View file

@ -36,8 +36,10 @@ API REFERENCE
be found at: https://cloud.google.com/iam/
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
This command is currently in beta and might change without notice. These
variants are also available:
$ gcloud iam service-accounts undelete
$ gcloud alpha iam service-accounts undelete

View file

@ -26,7 +26,7 @@ EXAMPLES
$ gcloud beta privateca certificates create frontend-server-tls \
--issuer=server-tls-1 --issuer-location=us --generate-key \
--key-output-file=./key --cert-output-file=./cert.pem \
--dns-san=www.joonix.net --reusable-config=server-tls
--dns-san=www.example.com --reusable-config=server-tls
POSITIONAL ARGUMENTS
CERTIFICATE resource - The name of the certificate to issue. If the

View file

@ -25,34 +25,34 @@ EXAMPLES
To create a root CA that supports one layer of subordinates:
$ gcloud beta privateca roots create prod-root \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--subject="CN=Joonix Production Root CA, O=Google" \
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--subject="CN=Example Production Root CA, O=Google" \
--max-chain-length=1
To create a root CA and restrict what it can issue:
$ gcloud beta privateca roots create prod-root \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--subject="CN=Joonix Production Root CA, O=Google" \
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--subject="CN=Example Production Root CA, O=Google" \
--issuance-policy=policy.yaml
To create a root CA that doesn't publicly publish CA certificate and CRLs:
$ gcloud beta privateca roots create root-2 \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--subject="CN=Joonix Production Root CA, O=Google" \
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--subject="CN=Example Production Root CA, O=Google" \
--issuance-policy=policy.yaml --no-publish-ca-cert \
--no-publish-crl
To create a root CA that is based on an existing CA:
$ gcloud beta privateca roots create prod-root \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/k1/cryptoKeyVersions/1" --from-ca=source-root \
--from-ca-location=us-central1
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--from-ca=source-root --from-ca-location=us-central1
POSITIONAL ARGUMENTS
Certificate Authority resource - The name of the root CA to create. The

View file

@ -29,19 +29,19 @@ EXAMPLES
CA:
$ gcloud beta privateca subordinates create server-tls-1 \
--subject="CN=Joonix TLS CA, O=Google" --issuer=prod-root \
--subject="CN=Example TLS CA, O=Google" --issuer=prod-root \
--issuer-location=us-west1 \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
To create a subordinate CA named 'server-tls-1' whose issuer is located
elsewhere:
$ gcloud beta privateca subordinates create server-tls-1 \
--subject="CN=Joonix TLS CA, O=Google" --create-csr \
--subject="CN=Example TLS CA, O=Google" --create-csr \
--csr-output-file="./csr.pem" \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
To create a subordinate CA named 'server-tls-1' chaining up to a root CA
named 'prod-root' based on an existing CA:
@ -49,8 +49,8 @@ EXAMPLES
$ gcloud beta privateca subordinates create server-tls-1 \
--issuer=prod-root --issuer-location=us-west1 \
--from-ca=source-ca --from-ca-location=us-central1 \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
POSITIONAL ARGUMENTS
Certificate Authority resource - The name of the subordinate CA to create.