mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 23:49:35 +00:00
gcloud: Wed Sep 25 09:51:52 UTC 2024
This commit is contained in:
parent
8ebed5b0f1
commit
0a5b6f11af
202 changed files with 9781 additions and 830 deletions
|
|
@ -135,13 +135,13 @@ OPTIONAL FLAGS
|
|||
meet its target distribution.
|
||||
|
||||
--instance-selection=name=NAME,machine-type=MACHINE_TYPE[,machine-type=MACHINE_TYPE...][,rank=RANK]
|
||||
Named selection of machine types with an optional rank. eg.
|
||||
Named selection of machine types with an optional rank. For example,
|
||||
--instance-selection="name=instance-selection-1,machine-type=e2-standard-8,machine-type=t2d-standard-8,rank=0"
|
||||
|
||||
--instance-selection-machine-types=[MACHINE_TYPE,...]
|
||||
Primary machine types to use for the Compute Engine instances that will
|
||||
be created with the managed instance group. If not provided, machine
|
||||
type specified in the instance template will be used.
|
||||
Machine types that are used to create VMs in the managed instance
|
||||
group. If not provided, the machine type specified in the instance
|
||||
template is used.
|
||||
|
||||
--list-managed-instances-results=MODE
|
||||
Pagination behavior for the group's listManagedInstances API method.
|
||||
|
|
|
|||
|
|
@ -3,11 +3,10 @@ NAME
|
|||
cancel a Compute Engine managed instance group resize request
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute instance-groups managed resize-requests cancel
|
||||
INSTANCE_GROUP_MANAGER
|
||||
gcloud alpha compute instance-groups managed resize-requests cancel NAME
|
||||
(--resize-request=RESIZE_REQUEST_NAME
|
||||
| --resize-requests=RESIZE_REQUEST_NAMES,[...]) [--zone=ZONE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
| --resize-requests=RESIZE_REQUEST_NAMES,[...])
|
||||
[--region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute instance-groups managed resize-requests cancel
|
||||
|
|
@ -23,7 +22,7 @@ EXAMPLES
|
|||
cancel my-mig --resize-requests=resize-request-1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANCE_GROUP_MANAGER
|
||||
NAME
|
||||
Name of the managed instance group to operate on.
|
||||
|
||||
REQUIRED FLAGS
|
||||
|
|
@ -36,26 +35,29 @@ REQUIRED FLAGS
|
|||
A list of comma-separated names of resize requests to cancel.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified and
|
||||
the compute/zone property isn't set, you might be prompted to select a
|
||||
zone (interactive mode only).
|
||||
At most one of these can be specified:
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/zone property:
|
||||
--region=REGION
|
||||
Region of the managed instance group to operate on. If not specified,
|
||||
you might be prompted to select a region (interactive mode only).
|
||||
|
||||
$ gcloud config set compute/zone ZONE
|
||||
A list of regions can be fetched by running:
|
||||
|
||||
A list of zones can be fetched by running:
|
||||
$ gcloud compute regions list
|
||||
|
||||
$ gcloud compute zones list
|
||||
Overrides the default compute/region property value for this command
|
||||
invocation.
|
||||
|
||||
To unset the property, run:
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified,
|
||||
you might be prompted to select a zone (interactive mode only).
|
||||
|
||||
$ gcloud config unset compute/zone
|
||||
A list of zones can be fetched by running:
|
||||
|
||||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
$ gcloud compute zones list
|
||||
|
||||
Overrides the default compute/zone property value for this command
|
||||
invocation.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ NAME
|
|||
delete a Compute Engine managed instance group resize request
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute instance-groups managed resize-requests delete
|
||||
INSTANCE_GROUP_MANAGER --resize-requests=RESIZE_REQUEST_NAMES,[...]
|
||||
[--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud alpha compute instance-groups managed resize-requests delete NAME
|
||||
--resize-requests=RESIZE_REQUEST_NAMES,[...]
|
||||
[--region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute instance-groups managed resize-requests delete
|
||||
|
|
@ -22,7 +22,7 @@ EXAMPLES
|
|||
delete my-mig --resize-requests=resize-request-1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANCE_GROUP_MANAGER
|
||||
NAME
|
||||
Name of the managed instance group to operate on.
|
||||
|
||||
REQUIRED FLAGS
|
||||
|
|
@ -30,26 +30,29 @@ REQUIRED FLAGS
|
|||
A list of comma-separated names of resize requests to delete.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified and
|
||||
the compute/zone property isn't set, you might be prompted to select a
|
||||
zone (interactive mode only).
|
||||
At most one of these can be specified:
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/zone property:
|
||||
--region=REGION
|
||||
Region of the managed instance group to operate on. If not specified,
|
||||
you might be prompted to select a region (interactive mode only).
|
||||
|
||||
$ gcloud config set compute/zone ZONE
|
||||
A list of regions can be fetched by running:
|
||||
|
||||
A list of zones can be fetched by running:
|
||||
$ gcloud compute regions list
|
||||
|
||||
$ gcloud compute zones list
|
||||
Overrides the default compute/region property value for this command
|
||||
invocation.
|
||||
|
||||
To unset the property, run:
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified,
|
||||
you might be prompted to select a zone (interactive mode only).
|
||||
|
||||
$ gcloud config unset compute/zone
|
||||
A list of zones can be fetched by running:
|
||||
|
||||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
$ gcloud compute zones list
|
||||
|
||||
Overrides the default compute/zone property value for this command
|
||||
invocation.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ NAME
|
|||
resource
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute instance-groups managed resize-requests describe
|
||||
INSTANCE_GROUP_MANAGER --resize-request=RESIZE_REQUEST_NAME
|
||||
[--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud alpha compute instance-groups managed resize-requests describe NAME
|
||||
--resize-request=RESIZE_REQUEST_NAME [--region=REGION | --zone=ZONE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute instance-groups managed resize-requests
|
||||
|
|
@ -21,7 +21,7 @@ EXAMPLES
|
|||
describe my-mig --resize-request=resize-request-1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANCE_GROUP_MANAGER
|
||||
NAME
|
||||
Name of the managed instance group to operate on.
|
||||
|
||||
REQUIRED FLAGS
|
||||
|
|
@ -29,26 +29,29 @@ REQUIRED FLAGS
|
|||
The name of the resize request to describe.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified and
|
||||
the compute/zone property isn't set, you might be prompted to select a
|
||||
zone (interactive mode only).
|
||||
At most one of these can be specified:
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/zone property:
|
||||
--region=REGION
|
||||
Region of the managed instance group to operate on. If not specified,
|
||||
you might be prompted to select a region (interactive mode only).
|
||||
|
||||
$ gcloud config set compute/zone ZONE
|
||||
A list of regions can be fetched by running:
|
||||
|
||||
A list of zones can be fetched by running:
|
||||
$ gcloud compute regions list
|
||||
|
||||
$ gcloud compute zones list
|
||||
Overrides the default compute/region property value for this command
|
||||
invocation.
|
||||
|
||||
To unset the property, run:
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified,
|
||||
you might be prompted to select a zone (interactive mode only).
|
||||
|
||||
$ gcloud config unset compute/zone
|
||||
A list of zones can be fetched by running:
|
||||
|
||||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
$ gcloud compute zones list
|
||||
|
||||
Overrides the default compute/zone property value for this command
|
||||
invocation.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ NAME
|
|||
Compute Engine managed instance group resize requests
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute instance-groups managed resize-requests list
|
||||
INSTANCE_GROUP_MANAGER [--zone=ZONE] [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
gcloud alpha compute instance-groups managed resize-requests list NAME
|
||||
[--region=REGION | --zone=ZONE] [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -22,30 +22,33 @@ EXAMPLES
|
|||
$ gcloud alpha compute instance-groups managed resize-requests \ list example-managed-instance-group --zone=us-central1-a --uri
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANCE_GROUP_MANAGER
|
||||
NAME
|
||||
Name of the managed instance group to operate on.
|
||||
|
||||
FLAGS
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified and
|
||||
the compute/zone property isn't set, you might be prompted to select a
|
||||
zone (interactive mode only).
|
||||
At most one of these can be specified:
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/zone property:
|
||||
--region=REGION
|
||||
Region of the managed instance group to operate on. If not specified,
|
||||
you might be prompted to select a region (interactive mode only).
|
||||
|
||||
$ gcloud config set compute/zone ZONE
|
||||
A list of regions can be fetched by running:
|
||||
|
||||
A list of zones can be fetched by running:
|
||||
$ gcloud compute regions list
|
||||
|
||||
$ gcloud compute zones list
|
||||
Overrides the default compute/region property value for this command
|
||||
invocation.
|
||||
|
||||
To unset the property, run:
|
||||
--zone=ZONE
|
||||
Zone of the managed instance group to operate on. If not specified,
|
||||
you might be prompted to select a zone (interactive mode only).
|
||||
|
||||
$ gcloud config unset compute/zone
|
||||
A list of zones can be fetched by running:
|
||||
|
||||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
$ gcloud compute zones list
|
||||
|
||||
Overrides the default compute/zone property value for this command
|
||||
invocation.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ SYNOPSIS
|
|||
machine-type=MACHINE_TYPE[,machine-type=MACHINE_TYPE...][,rank=RANK]]
|
||||
[--instance-selection-machine-types=[MACHINE_TYPE,...]]
|
||||
[--list-managed-instances-results=MODE]
|
||||
[--remove-instance-selections=[INSTANCE_SELECTION_NAME,...]]
|
||||
[--remove-instance-selections-all]
|
||||
[--remove-stateful-disks=DEVICE_NAME,[DEVICE_NAME,...]]
|
||||
[--remove-stateful-external-ips=INTERFACE_NAME,[...]]
|
||||
[--remove-stateful-internal-ips=INTERFACE_NAME,[...]] [--size=SIZE]
|
||||
|
|
@ -113,13 +115,13 @@ FLAGS
|
|||
meet its target distribution.
|
||||
|
||||
--instance-selection=name=NAME,machine-type=MACHINE_TYPE[,machine-type=MACHINE_TYPE...][,rank=RANK]
|
||||
Named selection of machine types with an optional rank. eg.
|
||||
Named selection of machine types with an optional rank. For example,
|
||||
--instance-selection="name=instance-selection-1,machine-type=e2-standard-8,machine-type=t2d-standard-8,rank=0"
|
||||
|
||||
--instance-selection-machine-types=[MACHINE_TYPE,...]
|
||||
Primary machine types to use for the Compute Engine instances that will
|
||||
be created with the managed instance group. If not provided, machine
|
||||
type specified in the instance template will be used.
|
||||
Machine types that are used to create VMs in the managed instance
|
||||
group. If not provided, the machine type specified in the instance
|
||||
template is used.
|
||||
|
||||
--list-managed-instances-results=MODE
|
||||
Pagination behavior for the group's listManagedInstances API method.
|
||||
|
|
@ -134,6 +136,13 @@ FLAGS
|
|||
Pagination is enabled for the group's listManagedInstances API
|
||||
method. maxResults and pageToken query parameters are respected.
|
||||
|
||||
--remove-instance-selections=[INSTANCE_SELECTION_NAME,...]
|
||||
Remove specific instance selections from the instance flexibility
|
||||
policy.
|
||||
|
||||
--remove-instance-selections-all
|
||||
Remove all instance selections from the instance flexibility policy.
|
||||
|
||||
--remove-stateful-disks=DEVICE_NAME,[DEVICE_NAME,...]
|
||||
Remove stateful configuration for the specified disks.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue