mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Oct 23 10:01:22 UTC 2024
This commit is contained in:
parent
694f6671d0
commit
fc66f7f0ca
249 changed files with 5410 additions and 11408 deletions
|
|
@ -107,14 +107,14 @@ OPTIONAL FLAGS
|
|||
Type of commitment. memory-optimized indicates that the commitment is
|
||||
for memory-optimized VMs. TYPE must be one of: accelerator-optimized,
|
||||
accelerator-optimized-a3, accelerator-optimized-a3-mega,
|
||||
compute-optimized, compute-optimized-c2d, compute-optimized-c3,
|
||||
compute-optimized-c3d, compute-optimized-h3, general-purpose,
|
||||
general-purpose-c4, general-purpose-e2, general-purpose-n2,
|
||||
general-purpose-n2d, general-purpose-n4, general-purpose-t2d,
|
||||
graphics-optimized, memory-optimized, memory-optimized-m3,
|
||||
memory-optimized-x4, memory-optimized-x4-16tb,
|
||||
memory-optimized-x4-24tb, memory-optimized-x4-32tb,
|
||||
storage-optimized-z3.
|
||||
accelerator-optimized-a3-ultra, compute-optimized,
|
||||
compute-optimized-c2d, compute-optimized-c3, compute-optimized-c3d,
|
||||
compute-optimized-h3, general-purpose, general-purpose-c4,
|
||||
general-purpose-e2, general-purpose-n2, general-purpose-n2d,
|
||||
general-purpose-n4, general-purpose-t2d, graphics-optimized,
|
||||
memory-optimized, memory-optimized-m3, memory-optimized-x4,
|
||||
memory-optimized-x4-16tb, memory-optimized-x4-24tb,
|
||||
memory-optimized-x4-32tb, storage-optimized-z3.
|
||||
|
||||
Manage the reservations to be created with the commitment.
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute instance-groups managed create NAME --size=SIZE
|
||||
--template=TEMPLATE [--base-instance-name=BASE_INSTANCE_NAME]
|
||||
--template=TEMPLATE
|
||||
[--action-on-vm-failed-health-check=ACTION_ON_FAILED_HEALTH_CHECK]
|
||||
[--base-instance-name=BASE_INSTANCE_NAME]
|
||||
[--default-action-on-vm-failure=ACTION_ON_VM_FAILURE]
|
||||
[--description=DESCRIPTION] [--[no-]force-update-on-repair]
|
||||
[--initial-delay=INITIAL_DELAY] [--instance-redistribution-type=TYPE]
|
||||
|
|
@ -76,21 +78,36 @@ REQUIRED FLAGS
|
|||
instance template is either a global or regional resource.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--action-on-vm-failed-health-check=ACTION_ON_FAILED_HEALTH_CHECK
|
||||
Specifies the action that a MIG performs on an unhealthy VM. A VM is
|
||||
marked as unhealthy when the application running on that VM fails a
|
||||
health check. By default, the value of the flag is set to
|
||||
default-action. ACTION_ON_FAILED_HEALTH_CHECK must be one of:
|
||||
|
||||
default-action
|
||||
(Default) MIG uses the same action configured for the
|
||||
defaultActionOnFailure field.
|
||||
do-nothing
|
||||
MIG does not repair an unhealthy VM.
|
||||
repair
|
||||
MIG automatically repairs an unhealthy VM by recreating it.
|
||||
|
||||
--base-instance-name=BASE_INSTANCE_NAME
|
||||
Base name to use for the Compute Engine instances that will be created
|
||||
with the managed instance group. If not provided base instance name
|
||||
will be the prefix of instance group name.
|
||||
|
||||
--default-action-on-vm-failure=ACTION_ON_VM_FAILURE
|
||||
Specifies the action that a MIG performs on a failed or an unhealthy
|
||||
VM. A VM is marked as unhealthy when the application running on that VM
|
||||
fails a health check. By default, the value of the flag is set to
|
||||
repair. ACTION_ON_VM_FAILURE must be one of:
|
||||
Specifies the action that a MIG performs on a failed VM. If the value
|
||||
of the onFailedHealthCheck field is DEFAULT_ACTION, then the same
|
||||
action also applies to the VMs on which your application fails a health
|
||||
check. By default, the value of the flag is set to repair.
|
||||
ACTION_ON_VM_FAILURE must be one of:
|
||||
|
||||
do-nothing
|
||||
MIG does not repair a failed or an unhealthy VM.
|
||||
repair
|
||||
MIG automatically repairs a failed or an unhealthy VM.
|
||||
(Default) MIG automatically repairs a failed VM by recreating it.
|
||||
do-nothing
|
||||
MIG does not repair a failed VM.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional description for this group.
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute instance-groups managed update NAME
|
||||
[--action-on-vm-failed-health-check=ACTION_ON_FAILED_HEALTH_CHECK]
|
||||
[--default-action-on-vm-failure=ACTION_ON_VM_FAILURE]
|
||||
[--description=DESCRIPTION] [--[no-]force-update-on-repair]
|
||||
[--instance-redistribution-type=TYPE]
|
||||
|
|
@ -70,16 +71,31 @@ POSITIONAL ARGUMENTS
|
|||
Name of the managed instance group to update.
|
||||
|
||||
FLAGS
|
||||
--default-action-on-vm-failure=ACTION_ON_VM_FAILURE
|
||||
Specifies the action that a MIG performs on a failed or an unhealthy
|
||||
VM. A VM is marked as unhealthy when the application running on that VM
|
||||
fails a health check. By default, the value of the flag is set to
|
||||
repair. ACTION_ON_VM_FAILURE must be one of:
|
||||
--action-on-vm-failed-health-check=ACTION_ON_FAILED_HEALTH_CHECK
|
||||
Specifies the action that a MIG performs on an unhealthy VM. A VM is
|
||||
marked as unhealthy when the application running on that VM fails a
|
||||
health check. By default, the value of the flag is set to
|
||||
default-action. ACTION_ON_FAILED_HEALTH_CHECK must be one of:
|
||||
|
||||
default-action
|
||||
(Default) MIG uses the same action configured for the
|
||||
defaultActionOnFailure field.
|
||||
do-nothing
|
||||
MIG does not repair a failed or an unhealthy VM.
|
||||
MIG does not repair an unhealthy VM.
|
||||
repair
|
||||
MIG automatically repairs a failed or an unhealthy VM.
|
||||
MIG automatically repairs an unhealthy VM by recreating it.
|
||||
|
||||
--default-action-on-vm-failure=ACTION_ON_VM_FAILURE
|
||||
Specifies the action that a MIG performs on a failed VM. If the value
|
||||
of the onFailedHealthCheck field is DEFAULT_ACTION, then the same
|
||||
action also applies to the VMs on which your application fails a health
|
||||
check. By default, the value of the flag is set to repair.
|
||||
ACTION_ON_VM_FAILURE must be one of:
|
||||
|
||||
repair
|
||||
(Default) MIG automatically repairs a failed VM by recreating it.
|
||||
do-nothing
|
||||
MIG does not repair a failed VM.
|
||||
|
||||
--description=DESCRIPTION
|
||||
An optional description for this group. To clear the description, set
|
||||
|
|
|
|||
51
gcloud/alpha/compute/interconnects/groups/create
Normal file
51
gcloud/alpha/compute/interconnects/groups/create
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
NAME
|
||||
gcloud alpha compute interconnects groups create - create a Compute Engine
|
||||
interconnect group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute interconnects groups create NAME
|
||||
--intended-topology-capability=INTENDED_TOPOLOGY_CAPABILITY
|
||||
[--description=DESCRIPTION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute interconnects groups create is used to create
|
||||
interconnect groups. An interconnect group connects a set of redundant
|
||||
interconnects between Google and the customer.
|
||||
|
||||
For an example, refer to the EXAMPLES section below.
|
||||
|
||||
EXAMPLES
|
||||
To create an interconnect group capable of PRODUCTION_NON_CRITICAL, run:
|
||||
|
||||
$ gcloud alpha compute interconnects groups create \
|
||||
example-interconnect-group \
|
||||
--intended-topology-capability=PRODUCTION_NON_CRITICAL \
|
||||
--description="Example interconnect group"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the interconnect group to create.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--intended-topology-capability=INTENDED_TOPOLOGY_CAPABILITY
|
||||
The reliability the user intends this group to be capable of, in terms
|
||||
of the Interconnect product SLAs.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--description=DESCRIPTION
|
||||
An optional, textual description for the interconnect group.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
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.
|
||||
|
||||
30
gcloud/alpha/compute/interconnects/groups/help
Normal file
30
gcloud/alpha/compute/interconnects/groups/help
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
NAME
|
||||
gcloud alpha compute interconnects groups - create or manipulate
|
||||
interconnect groups
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute interconnects groups COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create or manipulate interconnect groups.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(ALPHA) Create a Compute Engine interconnect group.
|
||||
|
||||
update
|
||||
(ALPHA) Update a Compute Engine interconnect group.
|
||||
|
||||
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.
|
||||
|
||||
41
gcloud/alpha/compute/interconnects/groups/update
Normal file
41
gcloud/alpha/compute/interconnects/groups/update
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
NAME
|
||||
gcloud alpha compute interconnects groups update - update a Compute Engine
|
||||
interconnect group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute interconnects groups update NAME
|
||||
--intended-topology-capability=INTENDED_TOPOLOGY_CAPABILITY
|
||||
[--description=DESCRIPTION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute interconnects groups update is used to update
|
||||
interconnect groups. An interconnect group represents a set of redundant
|
||||
interconnects between Google and the customer.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the interconnect group to update.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--intended-topology-capability=INTENDED_TOPOLOGY_CAPABILITY
|
||||
The reliability the user intends this group to be capable of, in terms
|
||||
of the Interconnect product SLAs.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--description=DESCRIPTION
|
||||
An optional, textual description for the interconnect group.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -26,6 +26,9 @@ GROUPS
|
|||
attachments
|
||||
(ALPHA) Read and manipulate Compute Engine interconnect attachments.
|
||||
|
||||
groups
|
||||
(ALPHA) Create or manipulate interconnect groups.
|
||||
|
||||
locations
|
||||
(ALPHA) Read and manipulate Compute Engine interconnect locations.
|
||||
|
||||
|
|
|
|||
|
|
@ -147,6 +147,8 @@ OPTIONAL FLAGS
|
|||
Reserved for Global Envoy-based Load Balancing.
|
||||
INTERNAL_HTTPS_LOAD_BALANCER
|
||||
Reserved for Internal HTTP(S) Load Balancing.
|
||||
PEER_MIGRATION
|
||||
Reserved for subnet migration between peered VPCs.
|
||||
PRIVATE
|
||||
Regular user created or automatically created subnet.
|
||||
PRIVATE_NAT
|
||||
|
|
|
|||
|
|
@ -197,12 +197,16 @@ FLAGS
|
|||
enable-bidirectional-access, enable-outbound-vm-access.
|
||||
|
||||
--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 (only one value is supported):
|
||||
The purpose of the subnetwork can be changed in a few scenarios.
|
||||
PURPOSE must be one of:
|
||||
|
||||
PRIVATE
|
||||
The default subnet type. Only PEER_MIGRATION subnets can be
|
||||
changed to PRIVATE.
|
||||
REGIONAL_MANAGED_PROXY
|
||||
The proxy-only subnet for regional HTTP(S) load balancers.
|
||||
The proxy-only subnet for regional HTTP(S) load balancers. Only
|
||||
INTERNAL_HTTPS_LOAD_BALANCER subnets can be changed to
|
||||
REGIONAL_MANAGED_PROXY.
|
||||
|
||||
--remove-secondary-ranges=PROPERTY=VALUE,[...]
|
||||
Removes secondary ranges from the subnetwork.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ NAME
|
|||
settings
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute snapshot-settings describe [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud alpha compute snapshot-settings describe [--region=REGION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe the snapshot settings of a project.
|
||||
|
|
@ -12,7 +13,11 @@ EXAMPLES
|
|||
To display the snapshot settings of a project called my-project, run:
|
||||
|
||||
$ gcloud alpha compute snapshot-settings describe \
|
||||
--project=my-project
|
||||
--project=my-project
|
||||
|
||||
FLAGS
|
||||
--region=REGION
|
||||
region for regional snapshot settings
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
@ -23,8 +28,9 @@ GCLOUD WIDE FLAGS
|
|||
Run $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/alpha API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/compute/
|
||||
This command uses the compute/alpha or compute/beta or comptue/v1 API. The
|
||||
full documentation for this API can be found at:
|
||||
https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
|
|
|
|||
|
|
@ -2,7 +2,10 @@ NAME
|
|||
gcloud alpha compute snapshot-settings update - update snapshot settings
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute snapshot-settings update [--async]
|
||||
gcloud alpha compute snapshot-settings update
|
||||
[--add-access-locations=[ADD_ACCESS_LOCATIONS,...]] [--async]
|
||||
[--region=REGION]
|
||||
[--remove-access-locations=[REMOVE_ACCESS_LOCATIONS,...]]
|
||||
[--storage-location-names=[STORAGE_LOCATION_NAMES,...]]
|
||||
[--storage-location-policy=STORAGE_LOCATION_POLICY]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -15,26 +18,35 @@ EXAMPLES
|
|||
nearest multi-region as the source disk, run:
|
||||
|
||||
$ gcloud alpha compute snapshot-settings update \
|
||||
--storage-location-policy=nearest-multi-region
|
||||
--storage-location-policy=nearest-multi-region
|
||||
|
||||
To update the snapshot settings and set the storage location policy to the
|
||||
same region as the source disk, run:
|
||||
|
||||
$ gcloud alpha compute snapshot-settings update \
|
||||
--storage-location-policy=local-region
|
||||
--storage-location-policy=local-region
|
||||
|
||||
To update the snapshot settings and set the storage location policy to
|
||||
store snapshots in a specific location like us-west1, run:
|
||||
|
||||
$ gcloud alpha compute snapshot-settings update \
|
||||
--storage-location-policy=specific-locations \
|
||||
--storage-location-names=us-west1
|
||||
--storage-location-policy=specific-locations \
|
||||
--storage-location-names=us-west1
|
||||
|
||||
FLAGS
|
||||
--add-access-locations=[ADD_ACCESS_LOCATIONS,...]
|
||||
Access locations to add to snapshot settings
|
||||
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--region=REGION
|
||||
region for regional snapshot settings
|
||||
|
||||
--remove-access-locations=[REMOVE_ACCESS_LOCATIONS,...]
|
||||
Access locations to remove from snapshot settings
|
||||
|
||||
--storage-location-names=[STORAGE_LOCATION_NAMES,...]
|
||||
The custom storage location that you specify for the project's
|
||||
snapshots. You can specify only a single location. Use this flag only
|
||||
|
|
@ -59,8 +71,9 @@ GCLOUD WIDE FLAGS
|
|||
Run $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/alpha API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/compute/
|
||||
This command uses the compute/alpha or compute/beta or compute/v1 API. The
|
||||
full documentation for this API can be found at:
|
||||
https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue