mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 04:58:26 +00:00
gcloud: Wed Mar 15 11:22:01 UTC 2023
This commit is contained in:
parent
29661f002c
commit
a4bd29dd06
164 changed files with 2541 additions and 844 deletions
|
|
@ -3,7 +3,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta compute commitments update COMMITMENT [--auto-renew]
|
||||
[--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
[--plan=PLAN] [--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update Compute Engine commitments.
|
||||
|
|
@ -15,6 +15,18 @@ EXAMPLES
|
|||
$ gcloud beta compute commitments update commitment-1 --auto-renew \
|
||||
--region=us-central1
|
||||
|
||||
To disable auto renewal on a commitment called commitment-1 in the
|
||||
us-central1 region, run:
|
||||
|
||||
$ gcloud beta compute commitments update commitment-1 \
|
||||
--no-auto-renew --region=us-central1
|
||||
|
||||
To upgrade the term of a commitment called commitment-1 from 12-month to
|
||||
36-month, in the us-central1 region, run:
|
||||
|
||||
$ gcloud beta compute commitments update commitment-1 \
|
||||
--plan=36-month --region=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
COMMITMENT
|
||||
Name of the commitment to update.
|
||||
|
|
@ -23,6 +35,10 @@ FLAGS
|
|||
--auto-renew
|
||||
Enable auto renewal for the commitment.
|
||||
|
||||
--plan=PLAN
|
||||
Duration of the commitment. PLAN must be (only one value is supported):
|
||||
36-month.
|
||||
|
||||
--region=REGION
|
||||
Region of the commitment to update. If not specified, you might be
|
||||
prompted to select a region (interactive mode only).
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ OPTIONAL FLAGS
|
|||
Enables one or more features for VM instances that use the image for
|
||||
their boot disks. See the descriptions of supported features at:
|
||||
https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features.
|
||||
GUEST_OS_FEATURE must be (currently only one value is supported):
|
||||
GUEST_OS_FEATURE must be (only one value is supported):
|
||||
UEFI_COMPATIBLE.
|
||||
|
||||
--log-location=LOG_LOCATION
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ SYNOPSIS
|
|||
[--external-ipv6-prefix-length=EXTERNAL_IPV6_PREFIX_LENGTH]
|
||||
[--host-error-timeout-seconds=HOST_ERROR_TIMEOUT_SECONDS]
|
||||
[--instance-termination-action=INSTANCE_TERMINATION_ACTION]
|
||||
[--internal-ipv6-address=INTERNAL_IPV6_ADDRESS]
|
||||
[--internal-ipv6-prefix-length=INTERNAL_IPV6_PREFIX_LENGTH]
|
||||
[--ipv6-network-tier=IPV6_NETWORK_TIER]
|
||||
[--key-revocation-action-type=POLICY] [--labels=[KEY=VALUE,...]]
|
||||
[--local-ssd=[device-name=DEVICE-NAME],[interface=INTERFACE]]
|
||||
|
|
@ -385,10 +387,23 @@ FLAGS
|
|||
Default. Stop the VM without preserving memory. The VM can be
|
||||
restarted later.
|
||||
|
||||
--internal-ipv6-address=INTERNAL_IPV6_ADDRESS
|
||||
Assigns the given internal IPv6 address or range to the instance that
|
||||
is created. The address must be the first IP address in the range or
|
||||
from a /96 IP address range. This option can be used only when creating
|
||||
a single instance.
|
||||
|
||||
--internal-ipv6-prefix-length=INTERNAL_IPV6_PREFIX_LENGTH
|
||||
Optional field that indicates the prefix length of the internal IPv6
|
||||
address range. It should be used together with --internal-ipv6-address.
|
||||
Only /96 IP address range is supported and the default value is 96. If
|
||||
not set, either the prefix length from --internal-ipv6-address will be
|
||||
used or the default value of 96 will be assigned.
|
||||
|
||||
--ipv6-network-tier=IPV6_NETWORK_TIER
|
||||
Specifies the IPv6 network tier that will be used to configure the
|
||||
instance network interface IPv6 access config. IPV6_NETWORK_TIER must
|
||||
be (currently only one value is supported):
|
||||
be (only one value is supported):
|
||||
|
||||
PREMIUM
|
||||
High quality, Google-grade network tier.
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ SYNOPSIS
|
|||
[--host-error-timeout-seconds=HOST_ERROR_TIMEOUT_SECONDS]
|
||||
[--hostname=HOSTNAME]
|
||||
[--instance-termination-action=INSTANCE_TERMINATION_ACTION]
|
||||
[--internal-ipv6-address=INTERNAL_IPV6_ADDRESS]
|
||||
[--internal-ipv6-prefix-length=INTERNAL_IPV6_PREFIX_LENGTH]
|
||||
[--ipv6-network-tier=IPV6_NETWORK_TIER]
|
||||
[--ipv6-public-ptr-domain=IPV6_PUBLIC_PTR_DOMAIN]
|
||||
[--key-revocation-action-type=POLICY] [--labels=[KEY=VALUE,...]]
|
||||
|
|
@ -445,10 +447,23 @@ FLAGS
|
|||
Default. Stop the VM without preserving memory. The VM can be
|
||||
restarted later.
|
||||
|
||||
--internal-ipv6-address=INTERNAL_IPV6_ADDRESS
|
||||
Assigns the given internal IPv6 address or range to the instance that
|
||||
is created. The address must be the first IP address in the range or
|
||||
from a /96 IP address range. This option can be used only when creating
|
||||
a single instance.
|
||||
|
||||
--internal-ipv6-prefix-length=INTERNAL_IPV6_PREFIX_LENGTH
|
||||
Optional field that indicates the prefix length of the internal IPv6
|
||||
address range. It should be used together with --internal-ipv6-address.
|
||||
Only /96 IP address range is supported and the default value is 96. If
|
||||
not set, either the prefix length from --internal-ipv6-address will be
|
||||
used or the default value of 96 will be assigned.
|
||||
|
||||
--ipv6-network-tier=IPV6_NETWORK_TIER
|
||||
Specifies the IPv6 network tier that will be used to configure the
|
||||
instance network interface IPv6 access config. IPV6_NETWORK_TIER must
|
||||
be (currently only one value is supported):
|
||||
be (only one value is supported):
|
||||
|
||||
PREMIUM
|
||||
High quality, Google-grade network tier.
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ OPTIONAL FLAGS
|
|||
Enables one or more features for VM instances that use the image for
|
||||
their boot disks. See the descriptions of supported features at:
|
||||
https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features.
|
||||
GUEST_OS_FEATURE must be (currently only one value is supported):
|
||||
GUEST_OS_FEATURE must be (only one value is supported):
|
||||
UEFI_COMPATIBLE.
|
||||
|
||||
--hostname=HOSTNAME
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ SYNOPSIS
|
|||
gcloud beta compute instances network-interfaces update INSTANCE_NAME
|
||||
[--aliases=ALIASES] [--external-ipv6-address=EXTERNAL_IPV6_ADDRESS]
|
||||
[--external-ipv6-prefix-length=EXTERNAL_IPV6_PREFIX_LENGTH]
|
||||
[--internal-ipv6-address=INTERNAL_IPV6_ADDRESS]
|
||||
[--internal-ipv6-prefix-length=INTERNAL_IPV6_PREFIX_LENGTH]
|
||||
[--ipv6-network-tier=IPV6_NETWORK_TIER] [--network=NETWORK]
|
||||
[--network-interface=NETWORK_INTERFACE; default="nic0"]
|
||||
[--private-network-ip=PRIVATE_NETWORK_IP] [--stack-type=STACK_TYPE]
|
||||
|
|
@ -53,10 +55,24 @@ FLAGS
|
|||
be used together with --external-ipv6-address. Currently only /96 is
|
||||
supported and the default value is 96.
|
||||
|
||||
--internal-ipv6-address=INTERNAL_IPV6_ADDRESS
|
||||
Assigns the given internal IPv6 address or range to an instance. The
|
||||
address must be the first IP address in the range or a /96 IP address
|
||||
range. This option can only be used on a dual stack instance network
|
||||
interface.
|
||||
|
||||
--internal-ipv6-prefix-length=INTERNAL_IPV6_PREFIX_LENGTH
|
||||
Optional field that indicates the prefix length of the internal IPv6
|
||||
address range, should be used together with
|
||||
--internal-ipv6-address=fd20::. Only /96 IP address range is supported
|
||||
and the default value is 96. If not set, then either the prefix length
|
||||
from --internal-ipv6-address=fd20::/96 will be used or the default
|
||||
value of 96 will be assigned.
|
||||
|
||||
--ipv6-network-tier=IPV6_NETWORK_TIER
|
||||
Specifies the IPv6 network tier that will be used to configure the
|
||||
instance network interface IPv6 access config. IPV6_NETWORK_TIER must
|
||||
be (currently only one value is supported):
|
||||
be (only one value is supported):
|
||||
|
||||
PREMIUM
|
||||
High quality, Google-grade network tier.
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ OPTIONAL FLAGS
|
|||
Enables one or more features for VM instances that use the image for
|
||||
their boot disks. See the descriptions of supported features at:
|
||||
https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features.
|
||||
GUEST_OS_FEATURE must be (currently only one value is supported):
|
||||
GUEST_OS_FEATURE must be (only one value is supported):
|
||||
UEFI_COMPATIBLE.
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ FLAGS
|
|||
--purpose=PURPOSE
|
||||
The purpose of the subnetwork is set to REGIONAL_MANAGED_PROXY to
|
||||
migrate from the INTERNAL_HTTPS_LOAD_BALANCER purpose. PURPOSE must
|
||||
be (currently only one value is supported):
|
||||
be (only one value is supported):
|
||||
|
||||
REGIONAL_MANAGED_PROXY
|
||||
The proxy-only subnet for regional HTTP(S) load balancers.
|
||||
|
|
@ -178,7 +178,7 @@ FLAGS
|
|||
This field is only valid when updating a reserved IP address range
|
||||
used for the purpose of Internal HTTP(S) Load Balancer.
|
||||
|
||||
ROLE must be (currently only one value is supported):
|
||||
ROLE must be (only one value is supported):
|
||||
|
||||
ACTIVE
|
||||
The ACTIVE subnet that is currently used.
|
||||
|
|
|
|||
|
|
@ -36,12 +36,12 @@ POSITIONAL ARGUMENTS
|
|||
|
||||
REQUIRED FLAGS
|
||||
--source-os=SOURCE_OS
|
||||
OS version of the source instance to upgrade. SOURCE_OS must be
|
||||
(currently only one value is supported): windows-2008r2.
|
||||
OS version of the source instance to upgrade. SOURCE_OS must be (only
|
||||
one value is supported): windows-2008r2.
|
||||
|
||||
--target-os=TARGET_OS
|
||||
Version of the OS after upgrade. TARGET_OS must be (currently only one
|
||||
value is supported): windows-2012r2.
|
||||
Version of the OS after upgrade. TARGET_OS must be (only one value is
|
||||
supported): windows-2012r2.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ POSITIONAL ARGUMENTS
|
|||
|
||||
REQUIRED FLAGS
|
||||
--status=STATUS
|
||||
The status of public advertised prefix. STATUS must be (currently only
|
||||
one value is supported): ptr-configured.
|
||||
The status of public advertised prefix. STATUS must be (only one value
|
||||
is supported): ptr-configured.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ SYNOPSIS
|
|||
gcloud beta compute resource-policies create group-placement NAME
|
||||
[--availability-domain-count=AVAILABILITY_DOMAIN_COUNT]
|
||||
[--collocation=COLLOCATION] [--description=DESCRIPTION]
|
||||
[--region=REGION] [--vm-count=VM_COUNT] [GCLOUD_WIDE_FLAG ...]
|
||||
[--max-distance=MAX_DISTANCE] [--region=REGION] [--vm-count=VM_COUNT]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Create a Compute Engine Group Placement Resource Policy.
|
||||
|
|
@ -38,6 +39,9 @@ FLAGS
|
|||
--description=DESCRIPTION
|
||||
An optional, textual description for the backend.
|
||||
|
||||
--max-distance=MAX_DISTANCE
|
||||
Specifies the number of max logical switches between VMs.
|
||||
|
||||
--region=REGION
|
||||
Region of the resource policy to operate on. If not specified, you
|
||||
might be prompted to select a region (interactive mode only).
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ OPTIONAL FLAGS
|
|||
this peer. This list can only be specified in custom advertisement
|
||||
mode.
|
||||
|
||||
GROUP must be (currently only one value is supported):
|
||||
GROUP must be (only one value is supported):
|
||||
|
||||
ALL_SUBNETS
|
||||
Automatically advertise all available subnets. This excludes any
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ OPTIONAL FLAGS
|
|||
this router. This list can only be specified in custom advertisement
|
||||
mode.
|
||||
|
||||
GROUP must be (currently only one value is supported):
|
||||
GROUP must be (only one value is supported):
|
||||
|
||||
ALL_SUBNETS
|
||||
Automatically advertise all available subnets. This excludes any
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ FLAGS
|
|||
this router. This list can only be specified in custom advertisement
|
||||
mode.
|
||||
|
||||
GROUP must be (currently only one value is supported):
|
||||
GROUP must be (only one value is supported):
|
||||
|
||||
ALL_SUBNETS
|
||||
Automatically advertise all available subnets. This excludes any
|
||||
|
|
@ -102,7 +102,7 @@ FLAGS
|
|||
this router. This list is appended to any existing advertisements.
|
||||
This field can only be specified in custom advertisement mode.
|
||||
|
||||
GROUP must be (currently only one value is supported):
|
||||
GROUP must be (only one value is supported):
|
||||
|
||||
ALL_SUBNETS
|
||||
Automatically advertise all available subnets. This excludes any
|
||||
|
|
@ -123,7 +123,7 @@ FLAGS
|
|||
the current set of custom advertisements. This field can only be
|
||||
specified in custom advertisement mode.
|
||||
|
||||
GROUP must be (currently only one value is supported):
|
||||
GROUP must be (only one value is supported):
|
||||
|
||||
ALL_SUBNETS
|
||||
Automatically advertise all available subnets. This excludes any
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ OPTIONAL FLAGS
|
|||
this peer. This list can only be specified in custom advertisement
|
||||
mode.
|
||||
|
||||
GROUP must be (currently only one value is supported):
|
||||
GROUP must be (only one value is supported):
|
||||
|
||||
ALL_SUBNETS
|
||||
Automatically advertise all available subnets. This excludes any
|
||||
|
|
@ -148,7 +148,7 @@ OPTIONAL FLAGS
|
|||
this peer. This list is appended to any existing advertisements. This
|
||||
field can only be specified in custom advertisement mode.
|
||||
|
||||
GROUP must be (currently only one value is supported):
|
||||
GROUP must be (only one value is supported):
|
||||
|
||||
ALL_SUBNETS
|
||||
Automatically advertise all available subnets. This excludes any
|
||||
|
|
@ -169,7 +169,7 @@ OPTIONAL FLAGS
|
|||
current set of custom advertisements. This field can only be
|
||||
specified in custom advertisement mode.
|
||||
|
||||
GROUP must be (currently only one value is supported):
|
||||
GROUP must be (only one value is supported):
|
||||
|
||||
ALL_SUBNETS
|
||||
Automatically advertise all available subnets. This excludes any
|
||||
|
|
|
|||
|
|
@ -136,8 +136,10 @@ GCLOUD WIDE FLAGS
|
|||
Run $ gcloud help for details.
|
||||
|
||||
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 compute security-policies rules add-preconfig-waf-exclusion
|
||||
|
||||
$ gcloud alpha compute security-policies rules \
|
||||
add-preconfig-waf-exclusion
|
||||
|
|
|
|||
|
|
@ -105,8 +105,8 @@ OPTIONAL FLAGS
|
|||
--conform-action=CONFORM_ACTION
|
||||
Action to take when requests are under the given threshold. When
|
||||
requests are throttled, this is also the action for all requests which
|
||||
are not dropped. CONFORM_ACTION must be (currently only one value is
|
||||
supported): allow.
|
||||
are not dropped. CONFORM_ACTION must be (only one value is supported):
|
||||
allow.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional, textual description for the rule.
|
||||
|
|
|
|||
|
|
@ -154,8 +154,11 @@ GCLOUD WIDE FLAGS
|
|||
Run $ gcloud help for details.
|
||||
|
||||
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 compute security-policies rules \
|
||||
remove-preconfig-waf-exclusion
|
||||
|
||||
$ gcloud alpha compute security-policies rules \
|
||||
remove-preconfig-waf-exclusion
|
||||
|
|
|
|||
|
|
@ -94,8 +94,8 @@ FLAGS
|
|||
--conform-action=CONFORM_ACTION
|
||||
Action to take when requests are under the given threshold. When
|
||||
requests are throttled, this is also the action for all requests which
|
||||
are not dropped. CONFORM_ACTION must be (currently only one value is
|
||||
supported): allow.
|
||||
are not dropped. CONFORM_ACTION must be (only one value is supported):
|
||||
allow.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional, textual description for the rule.
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ FLAGS
|
|||
--network-ddos-protection=NETWORK_DDOS_PROTECTION
|
||||
The DDoS protection level for network load balancing and instances with
|
||||
external IPs. NETWORK_DDOS_PROTECTION must be one of: STANDARD,
|
||||
ADVANCED.
|
||||
ADVANCED, ADVANCED_PREVIEW.
|
||||
|
||||
--recaptcha-redirect-site-key=RECAPTCHA_REDIRECT_SITE_KEY
|
||||
The reCAPTCHA site key to be used for rules using the redirect action
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue