mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Dec 18 10:57:44 UTC 2025
This commit is contained in:
parent
6d07e70b12
commit
bdd724fcf3
219 changed files with 8033 additions and 381 deletions
|
|
@ -200,7 +200,9 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. This variant is also available:
|
||||
access allowlist. These variants are also available:
|
||||
|
||||
$ gcloud compute advice calendar-mode
|
||||
|
||||
$ gcloud beta compute advice calendar-mode
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,9 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. This variant is also available:
|
||||
access allowlist. These variants are also available:
|
||||
|
||||
$ gcloud compute advice
|
||||
|
||||
$ gcloud beta compute advice
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ EXAMPLES
|
|||
--config=extension1="config1",extension2="config2" \
|
||||
--inclusion-labels=env=prod \
|
||||
--inclusion-labels=env=preprod,workload=load-test \
|
||||
--priority=1000
|
||||
--rollout-predefined-plan=slow_rollout --priority=1000
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
|
|
@ -57,7 +57,7 @@ OPTIONAL FLAGS
|
|||
--config-from-file.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional textual description for the this extension policy.
|
||||
An optional text description for the extension policy.
|
||||
|
||||
--inclusion-labels=INCLUSION_LABELS
|
||||
A list of inclusion labels to select the target VMs.
|
||||
|
|
@ -78,23 +78,27 @@ OPTIONAL FLAGS
|
|||
|
||||
--priority=PRIORITY; default=1000
|
||||
The priority of the policy. Lower the number, higher the priority. When
|
||||
two policies tries to apply the same extension, the one with the higher
|
||||
priority takes precedence. If the priority is the same, the one with
|
||||
the more recent update timestamp takes precedence. When a policy is
|
||||
deleted, the extension would remain installed on the VM if a lower
|
||||
priority policy still applies.
|
||||
two policies try to apply the same extension to a VM, the policy with
|
||||
higher priority takes precedence. If the priorities are the same, the
|
||||
policy with the more recent update timestamp takes precedence. If a
|
||||
policy is deleted, the extension remains installed on the VM if a
|
||||
lower-priority policy still applies.
|
||||
|
||||
Range from 0 to 65535. Default is 1000.
|
||||
|
||||
--rollout-conflict-behavior=ROLLOUT_CONFLICT_BEHAVIOR
|
||||
Specifies the behavior of the Rollout if a conflict is detected in a
|
||||
project during a Rollout. Default behavior is to keep the local value
|
||||
if conflict happens. Specifying 'overwrite' will overwrite the local
|
||||
value if conflict happens.
|
||||
Specifies the behavior of a rollout if a conflict is detected between a
|
||||
zonal policy and a global policy. See gcloud compute
|
||||
zone-vm-extension-policies for more details on zonal policies.
|
||||
|
||||
The default value for --rollout-conflict-behavior is ''. If you set
|
||||
this flag to overwrite and would like to go back to the default value,
|
||||
use the update command and omit the --rollout-conflict-behavior flag.
|
||||
The possible values are:
|
||||
◆ "": The zonal policy value is used in case of a conflict. This is
|
||||
the default behavior.
|
||||
◆ overwrite: The global policy overwrites the zonal policy.
|
||||
|
||||
If you set --rollout-conflict-behavior to overwrite and want to revert
|
||||
to the default behavior, use the update command and omit the
|
||||
--rollout-conflict-behavior flag.
|
||||
|
||||
--rollout-custom-plan=ROLLOUT_CUSTOM_PLAN
|
||||
Provide the name of a custom rollout plan to be used for the rollout.
|
||||
|
|
@ -109,8 +113,7 @@ OPTIONAL FLAGS
|
|||
One of either --rollout-predefined-plan or --rollout-custom-plan must
|
||||
be specified, but not both.
|
||||
|
||||
ROLLOUT_PREDEFINED_PLAN must be one of: fast_rollout,
|
||||
rollout_plan_unspecified, slow_rollout.
|
||||
ROLLOUT_PREDEFINED_PLAN must be one of: fast_rollout, slow_rollout.
|
||||
|
||||
--version=KEY=VALUE,[KEY=VALUE,...]
|
||||
A comma separated key:value list where the key is the extension name
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute global-vm-extension-policies delete NAME
|
||||
[--rollout-conflict-behavior=ROLLOUT_CONFLICT_BEHAVIOR]
|
||||
[--rollout-custom-plan=ROLLOUT_CUSTOM_PLAN]
|
||||
[--rollout-predefined-plan=ROLLOUT_PREDEFINED_PLAN]
|
||||
[--rollout-retry-uuid=ROLLOUT_RETRY_UUID] [GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -23,16 +22,6 @@ POSITIONAL ARGUMENTS
|
|||
Name of the global vm extension policy to delete.
|
||||
|
||||
FLAGS
|
||||
--rollout-conflict-behavior=ROLLOUT_CONFLICT_BEHAVIOR
|
||||
Specifies the behavior of the Rollout if a conflict is detected in a
|
||||
project during a Rollout. Default behavior is to keep the local value
|
||||
if conflict happens. Specifying 'overwrite' will overwrite the local
|
||||
value if conflict happens.
|
||||
|
||||
The default value for --rollout-conflict-behavior is ''. If you set
|
||||
this flag to overwrite and would like to go back to the default value,
|
||||
use the update command and omit the --rollout-conflict-behavior flag.
|
||||
|
||||
--rollout-custom-plan=ROLLOUT_CUSTOM_PLAN
|
||||
Provide the name of a custom rollout plan to be used for the rollout.
|
||||
|
||||
|
|
@ -46,8 +35,7 @@ FLAGS
|
|||
One of either --rollout-predefined-plan or --rollout-custom-plan must
|
||||
be specified, but not both.
|
||||
|
||||
ROLLOUT_PREDEFINED_PLAN must be one of: fast_rollout,
|
||||
rollout_plan_unspecified, slow_rollout.
|
||||
ROLLOUT_PREDEFINED_PLAN must be one of: fast_rollout, slow_rollout.
|
||||
|
||||
--rollout-retry-uuid=ROLLOUT_RETRY_UUID
|
||||
The UUID of the rollout retry action. Only set it if this is a retry
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ EXAMPLES
|
|||
--config=extension1="config1",extension2="config2" \
|
||||
--inclusion-labels=env=prod \
|
||||
--inclusion-labels=env=preprod,workload=load-test \
|
||||
--priority=1000
|
||||
--rollout-predefined-plan=slow_rollout --priority=1000
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
|
|
@ -58,7 +58,7 @@ OPTIONAL FLAGS
|
|||
--config-from-file.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional textual description for the this extension policy.
|
||||
An optional text description for the extension policy.
|
||||
|
||||
--inclusion-labels=INCLUSION_LABELS
|
||||
A list of inclusion labels to select the target VMs.
|
||||
|
|
@ -79,23 +79,27 @@ OPTIONAL FLAGS
|
|||
|
||||
--priority=PRIORITY; default=1000
|
||||
The priority of the policy. Lower the number, higher the priority. When
|
||||
two policies tries to apply the same extension, the one with the higher
|
||||
priority takes precedence. If the priority is the same, the one with
|
||||
the more recent update timestamp takes precedence. When a policy is
|
||||
deleted, the extension would remain installed on the VM if a lower
|
||||
priority policy still applies.
|
||||
two policies try to apply the same extension to a VM, the policy with
|
||||
higher priority takes precedence. If the priorities are the same, the
|
||||
policy with the more recent update timestamp takes precedence. If a
|
||||
policy is deleted, the extension remains installed on the VM if a
|
||||
lower-priority policy still applies.
|
||||
|
||||
Range from 0 to 65535. Default is 1000.
|
||||
|
||||
--rollout-conflict-behavior=ROLLOUT_CONFLICT_BEHAVIOR
|
||||
Specifies the behavior of the Rollout if a conflict is detected in a
|
||||
project during a Rollout. Default behavior is to keep the local value
|
||||
if conflict happens. Specifying 'overwrite' will overwrite the local
|
||||
value if conflict happens.
|
||||
Specifies the behavior of a rollout if a conflict is detected between a
|
||||
zonal policy and a global policy. See gcloud compute
|
||||
zone-vm-extension-policies for more details on zonal policies.
|
||||
|
||||
The default value for --rollout-conflict-behavior is ''. If you set
|
||||
this flag to overwrite and would like to go back to the default value,
|
||||
use the update command and omit the --rollout-conflict-behavior flag.
|
||||
The possible values are:
|
||||
◆ "": The zonal policy value is used in case of a conflict. This is
|
||||
the default behavior.
|
||||
◆ overwrite: The global policy overwrites the zonal policy.
|
||||
|
||||
If you set --rollout-conflict-behavior to overwrite and want to revert
|
||||
to the default behavior, use the update command and omit the
|
||||
--rollout-conflict-behavior flag.
|
||||
|
||||
--rollout-custom-plan=ROLLOUT_CUSTOM_PLAN
|
||||
Provide the name of a custom rollout plan to be used for the rollout.
|
||||
|
|
@ -110,8 +114,7 @@ OPTIONAL FLAGS
|
|||
One of either --rollout-predefined-plan or --rollout-custom-plan must
|
||||
be specified, but not both.
|
||||
|
||||
ROLLOUT_PREDEFINED_PLAN must be one of: fast_rollout,
|
||||
rollout_plan_unspecified, slow_rollout.
|
||||
ROLLOUT_PREDEFINED_PLAN must be one of: fast_rollout, slow_rollout.
|
||||
|
||||
--rollout-retry-uuid=ROLLOUT_RETRY_UUID
|
||||
The UUID of the rollout retry action. Only set it if this is a retry
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ SYNOPSIS
|
|||
[--key-exchange-key-file=[KEK_VALUE,...]] [--labels=[KEY=VALUE,...]]
|
||||
[--licenses=[LICENSES,...]] [--platform-key-file=PLATFORM_KEY_FILE]
|
||||
[--no-require-csek-key-create]
|
||||
[--resource-manager-tags=[KEY=VALUE,...]]
|
||||
[--rollout-override=[default_rollout_time=DEFAULT_ROLLOUT_TIME],
|
||||
[location_rollout_policies=LOCATION_ROLLOUT_POLICIES]]
|
||||
[--signature-database-file=[DB_VALUE,...]]
|
||||
|
|
@ -191,6 +192,9 @@ OPTIONAL FLAGS
|
|||
for more details. Enabled by default, use --no-require-csek-key-create
|
||||
to disable.
|
||||
|
||||
--resource-manager-tags=[KEY=VALUE,...]
|
||||
A comma-separated list of Resource Manager tags to apply to the image.
|
||||
|
||||
--rollout-override=[default_rollout_time=DEFAULT_ROLLOUT_TIME],[location_rollout_policies=LOCATION_ROLLOUT_POLICIES]
|
||||
A rollout policy for the image. A rollout policy is used to restrict
|
||||
the zones where this image is accessible when using a zonal image
|
||||
|
|
|
|||
|
|
@ -800,6 +800,12 @@ FLAGS
|
|||
If specified with network_attachment, DNS resolution will be
|
||||
enabled over this interface.
|
||||
|
||||
service-class-id
|
||||
The regional Service Class ID for the producer service associated
|
||||
with this network interface. Can only be used with
|
||||
network_attachment. It is not possible to use on its own; however,
|
||||
network_attachment can be used without service_class_id.
|
||||
|
||||
vlan
|
||||
VLAN ID of a Dynamic Network Interface, must be an integer in the
|
||||
range from 2 to 255 inclusively.
|
||||
|
|
|
|||
|
|
@ -1473,6 +1473,12 @@ FLAGS
|
|||
If specified with network_attachment, DNS resolution will be
|
||||
enabled over this interface.
|
||||
|
||||
service-class-id
|
||||
The regional Service Class ID for the producer service associated
|
||||
with this network interface. Can only be used with
|
||||
network_attachment. It is not possible to use on its own;
|
||||
however, network_attachment can be used without service_class_id.
|
||||
|
||||
vlan
|
||||
VLAN ID of a Dynamic Network Interface, must be an integer in the
|
||||
range from 2 to 255 inclusively.
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@ SYNOPSIS
|
|||
[--ipv6-prefix-length=IPV6_PREFIX_LENGTH] [--network=NETWORK]
|
||||
[--network-attachment=NETWORK_ATTACHMENT] [--network-tier=NETWORK_TIER]
|
||||
[--parent-nic-name=PARENT_NIC_NAME]
|
||||
[--private-network-ip=PRIVATE_NETWORK_IP] [--stack-type=STACK_TYPE]
|
||||
[--private-network-ip=PRIVATE_NETWORK_IP]
|
||||
[--service-class-id=SERVICE_CLASS_ID] [--stack-type=STACK_TYPE]
|
||||
[--subnetwork=SUBNETWORK] [--vlan=VLAN] [--zone=ZONE]
|
||||
[--address=ADDRESS | --no-address] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -131,6 +132,12 @@ FLAGS
|
|||
Specifies the RFC1918 IP to assign to the network interface. The IP
|
||||
should be in the subnet IP range.
|
||||
|
||||
--service-class-id=SERVICE_CLASS_ID
|
||||
The regional Service Class ID for the producer service associated with
|
||||
this network interface. Can only be used with network_attachment. It is
|
||||
not possible to use on its own; however, network_attachment can be used
|
||||
without service_class_id.
|
||||
|
||||
--stack-type=STACK_TYPE
|
||||
The stack type for the network interface. Determines if IPv6 is enabled
|
||||
on the network interface. STACK_TYPE must be one of:
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ OPTIONAL FLAGS
|
|||
--config-from-file.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional textual description for the this extension policy.
|
||||
An optional text description for the extension policy.
|
||||
|
||||
--inclusion-labels=INCLUSION_LABELS
|
||||
A list of inclusion labels to select the target VMs.
|
||||
|
|
@ -81,11 +81,11 @@ OPTIONAL FLAGS
|
|||
|
||||
--priority=PRIORITY; default=1000
|
||||
The priority of the policy. Lower the number, higher the priority. When
|
||||
two policies tries to apply the same extension, the one with the higher
|
||||
priority takes precedence. If the priority is the same, the one with
|
||||
the more recent update timestamp takes precedence. When a policy is
|
||||
deleted, the extension would remain installed on the VM if a lower
|
||||
priority policy still applies.
|
||||
two policies try to apply the same extension to a VM, the policy with
|
||||
higher priority takes precedence. If the priorities are the same, the
|
||||
policy with the more recent update timestamp takes precedence. If a
|
||||
policy is deleted, the extension remains installed on the VM if a
|
||||
lower-priority policy still applies.
|
||||
|
||||
Range from 0 to 65535. Default is 1000.
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ OPTIONAL FLAGS
|
|||
--config-from-file.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional textual description for the this extension policy.
|
||||
An optional text description for the extension policy.
|
||||
|
||||
--inclusion-labels=INCLUSION_LABELS
|
||||
A list of inclusion labels to select the target VMs.
|
||||
|
|
@ -76,11 +76,11 @@ OPTIONAL FLAGS
|
|||
|
||||
--priority=PRIORITY; default=1000
|
||||
The priority of the policy. Lower the number, higher the priority. When
|
||||
two policies tries to apply the same extension, the one with the higher
|
||||
priority takes precedence. If the priority is the same, the one with
|
||||
the more recent update timestamp takes precedence. When a policy is
|
||||
deleted, the extension would remain installed on the VM if a lower
|
||||
priority policy still applies.
|
||||
two policies try to apply the same extension to a VM, the policy with
|
||||
higher priority takes precedence. If the priorities are the same, the
|
||||
policy with the more recent update timestamp takes precedence. If a
|
||||
policy is deleted, the extension remains installed on the VM if a
|
||||
lower-priority policy still applies.
|
||||
|
||||
Range from 0 to 65535. Default is 1000.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue