mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Fri Feb 20 11:39:38 UTC 2026
This commit is contained in:
parent
aaff695a08
commit
c0febd2be1
139 changed files with 5534 additions and 358 deletions
|
|
@ -87,12 +87,12 @@ OPTIONAL FLAGS
|
|||
--dest-region-codes=[DEST_REGION_CODES,...]
|
||||
Destination Region Code to match for this rule. Can only be specified
|
||||
if DIRECTION is egress. Cannot be specified when the source network
|
||||
type is NON_INTERNET.
|
||||
context is NON_INTERNET.
|
||||
|
||||
--dest-threat-intelligence=[DEST_THREAT_INTELLIGENCE_LISTS,...]
|
||||
Destination Threat Intelligence lists to match for this rule. Can only
|
||||
be specified if DIRECTION is egress. Cannot be specified when source
|
||||
network type is NON_INTERNET. The available lists can be found here:
|
||||
network context is NON_INTERNET. The available lists can be found here:
|
||||
https://cloud.google.com/vpc/docs/firewall-policies-rule-details#threat-intelligence-fw-policy.
|
||||
|
||||
--direction=DIRECTION
|
||||
|
|
@ -156,8 +156,8 @@ OPTIONAL FLAGS
|
|||
|
||||
--src-region-codes=[SOURCE_REGION_CODES,...]
|
||||
Source Region Code to match for this rule. Can only be specified if
|
||||
DIRECTION is ingress. Cannot be specified when the source network type
|
||||
is NON_INTERNET, VPC_NETWORK or INTRA_VPC.
|
||||
DIRECTION is ingress. Cannot be specified when the source network
|
||||
context is NON_INTERNET, VPC_NETWORK or INTRA_VPC.
|
||||
|
||||
--src-secure-tags=[SOURCE_SECURE_TAGS,...]
|
||||
A list of instance secure tags indicating the set of instances on the
|
||||
|
|
@ -172,8 +172,8 @@ OPTIONAL FLAGS
|
|||
--src-threat-intelligence=[SOURCE_THREAT_INTELLIGENCE_LISTS,...]
|
||||
Source Threat Intelligence lists to match for this rule. Can only be
|
||||
specified if DIRECTION is ingress. Cannot be specified when the source
|
||||
network type is NON_INTERNET, VPC_NETWORK or INTRA_VPC. The available
|
||||
lists can be found here:
|
||||
network context is NON_INTERNET, VPC_NETWORK or INTRA_VPC. The
|
||||
available lists can be found here:
|
||||
https://cloud.google.com/vpc/docs/firewall-policies-rule-details#threat-intelligence-fw-policy.
|
||||
|
||||
--target-resources=[TARGET_RESOURCES,...]
|
||||
|
|
|
|||
|
|
@ -85,12 +85,12 @@ OPTIONAL FLAGS
|
|||
--dest-region-codes=[DEST_REGION_CODES,...]
|
||||
Destination Region Code to match for this rule. Can only be specified
|
||||
if DIRECTION is egress. Cannot be specified when the source network
|
||||
type is NON_INTERNET.
|
||||
context is NON_INTERNET.
|
||||
|
||||
--dest-threat-intelligence=[DEST_THREAT_INTELLIGENCE_LISTS,...]
|
||||
Destination Threat Intelligence lists to match for this rule. Can only
|
||||
be specified if DIRECTION is egress. Cannot be specified when source
|
||||
network type is NON_INTERNET. The available lists can be found here:
|
||||
network context is NON_INTERNET. The available lists can be found here:
|
||||
https://cloud.google.com/vpc/docs/firewall-policies-rule-details#threat-intelligence-fw-policy.
|
||||
|
||||
--direction=DIRECTION
|
||||
|
|
@ -161,8 +161,8 @@ OPTIONAL FLAGS
|
|||
|
||||
--src-region-codes=[SOURCE_REGION_CODES,...]
|
||||
Source Region Code to match for this rule. Can only be specified if
|
||||
DIRECTION is ingress. Cannot be specified when the source network type
|
||||
is NON_INTERNET, VPC_NETWORK or INTRA_VPC.
|
||||
DIRECTION is ingress. Cannot be specified when the source network
|
||||
context is NON_INTERNET, VPC_NETWORK or INTRA_VPC.
|
||||
|
||||
--src-secure-tags=[SOURCE_SECURE_TAGS,...]
|
||||
A list of instance secure tags indicating the set of instances on the
|
||||
|
|
@ -177,8 +177,8 @@ OPTIONAL FLAGS
|
|||
--src-threat-intelligence=[SOURCE_THREAT_INTELLIGENCE_LISTS,...]
|
||||
Source Threat Intelligence lists to match for this rule. Can only be
|
||||
specified if DIRECTION is ingress. Cannot be specified when the source
|
||||
network type is NON_INTERNET, VPC_NETWORK or INTRA_VPC. The available
|
||||
lists can be found here:
|
||||
network context is NON_INTERNET, VPC_NETWORK or INTRA_VPC. The
|
||||
available lists can be found here:
|
||||
https://cloud.google.com/vpc/docs/firewall-policies-rule-details#threat-intelligence-fw-policy.
|
||||
|
||||
--target-resources=[TARGET_RESOURCES,...]
|
||||
|
|
|
|||
|
|
@ -106,6 +106,9 @@ GROUPS
|
|||
instances
|
||||
(BETA) Read and manipulate Compute Engine virtual machine instances.
|
||||
|
||||
instant-snapshot-groups
|
||||
(BETA) Create, list and delete Compute Engine instant snapshot groups.
|
||||
|
||||
instant-snapshots
|
||||
(BETA) Create, list and delete Compute Engine instant snapshots.
|
||||
|
||||
|
|
@ -178,6 +181,9 @@ GROUPS
|
|||
rollout-plans
|
||||
(BETA) Read and manipulate Compute Engine Rollout Plans.
|
||||
|
||||
rollouts
|
||||
(BETA) Read and manipulate Compute Engine Rollouts.
|
||||
|
||||
routers
|
||||
(BETA) List, create, and delete Compute Engine routers.
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,9 @@ SYNOPSIS
|
|||
[--default-action-on-vm-failure=ACTION_ON_VM_FAILURE]
|
||||
[--description=DESCRIPTION] [--[no-]force-update-on-repair]
|
||||
[--initial-delay=INITIAL_DELAY] [--instance-redistribution-type=TYPE]
|
||||
[--instance-selection=name=NAME,
|
||||
machine-type=MACHINE_TYPE[,machine-type=MACHINE_TYPE...][,rank=RANK]]
|
||||
[--instance-selection=name=NAME,machine-type=MACHINE_TYPE[,
|
||||
machine-type=MACHINE_TYPE...][,
|
||||
rank=RANK][,min-cpu-platform=MIN_CPU_PLATFORM]]
|
||||
[--instance-selection-machine-types=[MACHINE_TYPE,...]]
|
||||
[--list-managed-instances-results=MODE]
|
||||
[--on-repair-allow-changing-zone=ON_REPAIR_ALLOW_CHANGING_ZONE]
|
||||
|
|
@ -153,9 +154,10 @@ OPTIONAL FLAGS
|
|||
The managed instance group proactively redistributes instances to
|
||||
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. For example,
|
||||
--instance-selection="name=instance-selection-1,machine-type=e2-standard-8,machine-type=t2d-standard-8,rank=0"
|
||||
--instance-selection=name=NAME,machine-type=MACHINE_TYPE[,machine-type=MACHINE_TYPE...][,rank=RANK][,min-cpu-platform=MIN_CPU_PLATFORM]
|
||||
Named selection of machine types with an optional rank and minimum CPU
|
||||
platform. For example,
|
||||
--instance-selection="name=instance-selection-1,machine-type=e2-standard-8,machine-type=t2d-standard-8,rank=0,min-cpu-platform=MIN_CPU_PLATFORM"
|
||||
|
||||
--instance-selection-machine-types=[MACHINE_TYPE,...]
|
||||
Machine types that are used to create VMs. If not provided, the machine
|
||||
|
|
|
|||
|
|
@ -8,8 +8,9 @@ SYNOPSIS
|
|||
[--default-action-on-vm-failure=ACTION_ON_VM_FAILURE]
|
||||
[--description=DESCRIPTION] [--[no-]force-update-on-repair]
|
||||
[--instance-redistribution-type=TYPE]
|
||||
[--instance-selection=name=NAME,
|
||||
machine-type=MACHINE_TYPE[,machine-type=MACHINE_TYPE...][,rank=RANK]]
|
||||
[--instance-selection=name=NAME,machine-type=MACHINE_TYPE[,
|
||||
machine-type=MACHINE_TYPE...][,
|
||||
rank=RANK][,min-cpu-platform=MIN_CPU_PLATFORM]]
|
||||
[--instance-selection-machine-types=[MACHINE_TYPE,...]]
|
||||
[--list-managed-instances-results=MODE]
|
||||
[--on-repair-allow-changing-zone=ON_REPAIR_ALLOW_CHANGING_ZONE]
|
||||
|
|
@ -26,7 +27,7 @@ SYNOPSIS
|
|||
[--stateful-internal-ip=[enabled],
|
||||
[auto-delete=AUTO-DELETE],[interface-name=INTERFACE-NAME]]
|
||||
[--stopped-size=STOPPED_SIZE] [--suspended-size=SUSPENDED_SIZE]
|
||||
[--target-distribution-shape=SHAPE]
|
||||
[--target-distribution-shape=SHAPE] [--template=TEMPLATE]
|
||||
[--clear-autohealing
|
||||
| --initial-delay=INITIAL_DELAY --health-check=HEALTH_CHECK
|
||||
| --http-health-check=HTTP_HEALTH_CHECK
|
||||
|
|
@ -132,9 +133,10 @@ FLAGS
|
|||
The managed instance group proactively redistributes instances to
|
||||
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. For example,
|
||||
--instance-selection="name=instance-selection-1,machine-type=e2-standard-8,machine-type=t2d-standard-8,rank=0"
|
||||
--instance-selection=name=NAME,machine-type=MACHINE_TYPE[,machine-type=MACHINE_TYPE...][,rank=RANK][,min-cpu-platform=MIN_CPU_PLATFORM]
|
||||
Named selection of machine types with an optional rank and minimum CPU
|
||||
platform. For example,
|
||||
--instance-selection="name=instance-selection-1,machine-type=e2-standard-8,machine-type=t2d-standard-8,rank=0,min-cpu-platform=MIN_CPU_PLATFORM"
|
||||
|
||||
--instance-selection-machine-types=[MACHINE_TYPE,...]
|
||||
Machine types that are used to create VMs. If not provided, the machine
|
||||
|
|
@ -339,6 +341,13 @@ FLAGS
|
|||
instances does not differ by more than 1 between any two zones.
|
||||
Recommended for highly available serving workloads.
|
||||
|
||||
--template=TEMPLATE
|
||||
Specifies the instance template that will replace the existing template
|
||||
used by the MIG. The MIG then uses this new template to create
|
||||
instances. Specifying the new template overrides any template versions
|
||||
that you've set for the MIG. Specify either a global or a regional
|
||||
instance template.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-autohealing
|
||||
|
|
|
|||
91
gcloud/beta/compute/instant-snapshot-groups/create
Normal file
91
gcloud/beta/compute/instant-snapshot-groups/create
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
NAME
|
||||
gcloud beta compute instant-snapshot-groups create - create a Compute
|
||||
Engine instant snapshot group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute instant-snapshot-groups create
|
||||
INSTANT_SNAPSHOT_GROUP_NAME
|
||||
--source-consistency-group=SOURCE_CONSISTENCY_GROUP
|
||||
[--region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) gcloud beta compute instant-snapshot-groups create creates an
|
||||
instant snapshot group of the consistency group. An Instant Snapshot Group
|
||||
is a Point In Time view of the constituent disks of a Consistency Group,
|
||||
they are stored in-place as Instant Snapshots on the corresponding disks.
|
||||
|
||||
EXAMPLES
|
||||
To create an instant snapshot group 'my-instant-snapshot-group' in zone
|
||||
'us-east1-a' from a consistency group 'my-consistency-group' in region
|
||||
'us-east1', run: $ gcloud beta compute instant-snapshot-groups create \
|
||||
my-instant-snapshot-group --zone us-east1-a \
|
||||
--source-consistency-group=regions/us-east1/resourcePolicies/\
|
||||
policy1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANT_SNAPSHOT_GROUP_NAME
|
||||
Name of the instant snapshot group to create.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--source-consistency-group=SOURCE_CONSISTENCY_GROUP
|
||||
URL of the source consistency group resource policy. The resource
|
||||
policy is always in the same region as the source disks.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
At most one of these can be specified:
|
||||
|
||||
--region=REGION
|
||||
Region of the instant snapshot group to create. If not specified, you
|
||||
might be prompted to select a region (interactive mode only).
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/region property:
|
||||
|
||||
$ gcloud config set compute/region REGION
|
||||
|
||||
A list of regions can be fetched by running:
|
||||
|
||||
$ gcloud compute regions list
|
||||
|
||||
To unset the property, run:
|
||||
|
||||
$ gcloud config unset compute/region
|
||||
|
||||
Alternatively, the region can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_REGION.
|
||||
|
||||
--zone=ZONE
|
||||
Zone of the instant snapshot group to create. If not specified and
|
||||
the compute/zone property isn't set, you might be prompted to select
|
||||
a zone (interactive mode only).
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/zone property:
|
||||
|
||||
$ gcloud config set compute/zone ZONE
|
||||
|
||||
A list of zones can be fetched by running:
|
||||
|
||||
$ gcloud compute zones list
|
||||
|
||||
To unset the property, run:
|
||||
|
||||
$ gcloud config unset compute/zone
|
||||
|
||||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
|
||||
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 beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute instant-snapshot-groups create
|
||||
|
||||
74
gcloud/beta/compute/instant-snapshot-groups/delete
Normal file
74
gcloud/beta/compute/instant-snapshot-groups/delete
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
NAME
|
||||
gcloud beta compute instant-snapshot-groups delete - delete a Compute
|
||||
Engine instant snapshot group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute instant-snapshot-groups delete
|
||||
INSTANT_SNAPSHOT_GROUP_NAME [INSTANT_SNAPSHOT_GROUP_NAME ...]
|
||||
[--region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Delete a Compute Engine instant snapshot group.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANT_SNAPSHOT_GROUP_NAME [INSTANT_SNAPSHOT_GROUP_NAME ...]
|
||||
Names of the instant snapshot groups to delete.
|
||||
|
||||
FLAGS
|
||||
At most one of these can be specified:
|
||||
|
||||
--region=REGION
|
||||
Region of the instant snapshot groups to delete. If not specified,
|
||||
you might be prompted to select a region (interactive mode only).
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/region property:
|
||||
|
||||
$ gcloud config set compute/region REGION
|
||||
|
||||
A list of regions can be fetched by running:
|
||||
|
||||
$ gcloud compute regions list
|
||||
|
||||
To unset the property, run:
|
||||
|
||||
$ gcloud config unset compute/region
|
||||
|
||||
Alternatively, the region can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_REGION.
|
||||
|
||||
--zone=ZONE
|
||||
Zone of the instant snapshot groups to delete. If not specified and
|
||||
the compute/zone property isn't set, you might be prompted to select
|
||||
a zone (interactive mode only).
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/zone property:
|
||||
|
||||
$ gcloud config set compute/zone ZONE
|
||||
|
||||
A list of zones can be fetched by running:
|
||||
|
||||
$ gcloud compute zones list
|
||||
|
||||
To unset the property, run:
|
||||
|
||||
$ gcloud config unset compute/zone
|
||||
|
||||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
|
||||
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 beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute instant-snapshot-groups delete
|
||||
|
||||
82
gcloud/beta/compute/instant-snapshot-groups/describe
Normal file
82
gcloud/beta/compute/instant-snapshot-groups/describe
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
NAME
|
||||
gcloud beta compute instant-snapshot-groups describe - describe a Compute
|
||||
Engine instant snapshot group
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute instant-snapshot-groups describe
|
||||
INSTANT_SNAPSHOT_GROUP_NAME [--region=REGION | --zone=ZONE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) gcloud beta compute instant-snapshot-groups describe displays all
|
||||
data associated with a Compute Engine instant snapshot group in a project.
|
||||
|
||||
EXAMPLES
|
||||
To describe the instant snapshot group 'instant-snapshot-group-1' in zone
|
||||
'us-east1-a', run:
|
||||
|
||||
$ gcloud beta compute instant-snapshot-groups describe \
|
||||
instant-snapshot-group-1 --zone=us-east1-a
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANT_SNAPSHOT_GROUP_NAME
|
||||
Name of the instant snapshot group to describe.
|
||||
|
||||
FLAGS
|
||||
At most one of these can be specified:
|
||||
|
||||
--region=REGION
|
||||
Region of the instant snapshot group to describe. If not specified,
|
||||
you might be prompted to select a region (interactive mode only).
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/region property:
|
||||
|
||||
$ gcloud config set compute/region REGION
|
||||
|
||||
A list of regions can be fetched by running:
|
||||
|
||||
$ gcloud compute regions list
|
||||
|
||||
To unset the property, run:
|
||||
|
||||
$ gcloud config unset compute/region
|
||||
|
||||
Alternatively, the region can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_REGION.
|
||||
|
||||
--zone=ZONE
|
||||
Zone of the instant snapshot group to describe. If not specified and
|
||||
the compute/zone property isn't set, you might be prompted to select
|
||||
a zone (interactive mode only).
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/zone property:
|
||||
|
||||
$ gcloud config set compute/zone ZONE
|
||||
|
||||
A list of zones can be fetched by running:
|
||||
|
||||
$ gcloud compute zones list
|
||||
|
||||
To unset the property, run:
|
||||
|
||||
$ gcloud config unset compute/zone
|
||||
|
||||
Alternatively, the zone can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_ZONE.
|
||||
|
||||
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 beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute instant-snapshot-groups describe
|
||||
|
||||
36
gcloud/beta/compute/instant-snapshot-groups/help
Normal file
36
gcloud/beta/compute/instant-snapshot-groups/help
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
NAME
|
||||
gcloud beta compute instant-snapshot-groups - create, list and delete
|
||||
Compute Engine instant snapshot groups
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute instant-snapshot-groups COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Create, list and delete Compute Engine instant snapshot 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
|
||||
(BETA) Create a Compute Engine instant snapshot group.
|
||||
|
||||
delete
|
||||
(BETA) Delete a Compute Engine instant snapshot group.
|
||||
|
||||
describe
|
||||
(BETA) Describe a Compute Engine instant snapshot group.
|
||||
|
||||
list
|
||||
(BETA) List Google Compute Engine instant snapshot groups.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute instant-snapshot-groups
|
||||
|
||||
96
gcloud/beta/compute/instant-snapshot-groups/list
Normal file
96
gcloud/beta/compute/instant-snapshot-groups/list
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
NAME
|
||||
gcloud beta compute instant-snapshot-groups list - list Google Compute
|
||||
Engine instant snapshot groups
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute instant-snapshot-groups list
|
||||
[--regions=[REGION,...] | --zones=[ZONE,...]] [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) gcloud beta compute instant-snapshot-groups list displays all Google
|
||||
Compute Engine instant snapshot groups in a project.
|
||||
|
||||
By default, instant snapshot groups from all regions and instant snapshot
|
||||
groups from all zones are listed. The results can be narrowed down by
|
||||
providing the --regions or --zones flag.
|
||||
|
||||
EXAMPLES
|
||||
To list all instant snapshot groups in a project in table form, run:
|
||||
|
||||
$ gcloud beta compute instant-snapshot-groups list
|
||||
|
||||
To list the URIs of all instant snapshot groups in a project, run:
|
||||
|
||||
$ gcloud beta compute instant-snapshot-groups list --uri
|
||||
|
||||
To list all instant snapshot groups in the us-central1 and europe-west1
|
||||
regions, given they are regional resources, run:
|
||||
|
||||
$ gcloud beta compute instant-snapshot-groups list \
|
||||
--filter="region:( europe-west1 us-central1 )"
|
||||
|
||||
To list all instant snapshot groups in zones us-central1-b and
|
||||
europe-west1-d, given they are zonal resources, run:
|
||||
|
||||
$ gcloud beta compute instant-snapshot-groups list \
|
||||
--filter="zone:( europe-west1-d us-central1-b )"
|
||||
|
||||
FLAGS
|
||||
At most one of these can be specified:
|
||||
|
||||
--regions=[REGION,...]
|
||||
If provided, only regional resources are shown. If arguments are
|
||||
provided, only resources from the given regions are shown.
|
||||
|
||||
--zones=[ZONE,...]
|
||||
If provided, only zonal resources are shown. If arguments are
|
||||
provided, only resources from the given zones are shown.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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 beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute instant-snapshot-groups list
|
||||
|
||||
|
|
@ -125,8 +125,10 @@ OPTIONAL FLAGS
|
|||
interconnect.
|
||||
|
||||
--subzone=SUBZONE
|
||||
Subzone in the LOCATION specified by the --location flag. SUBZONE must
|
||||
be one of:
|
||||
(DEPRECATED) Subzone in the LOCATION specified by the --location flag.
|
||||
|
||||
The --subzone flag is deprecated and will be removed in a future
|
||||
release. SUBZONE must be one of:
|
||||
|
||||
a
|
||||
Subzone a.
|
||||
|
|
|
|||
|
|
@ -95,12 +95,12 @@ OPTIONAL FLAGS
|
|||
--dest-region-codes=[DEST_REGION_CODES,...]
|
||||
Destination Region Code to match for this rule. Can only be specified
|
||||
if DIRECTION is egress. Cannot be specified when the source network
|
||||
type is NON_INTERNET.
|
||||
context is NON_INTERNET.
|
||||
|
||||
--dest-threat-intelligence=[DEST_THREAT_INTELLIGENCE_LISTS,...]
|
||||
Destination Threat Intelligence lists to match for this rule. Can only
|
||||
be specified if DIRECTION is egress. Cannot be specified when source
|
||||
network type is NON_INTERNET. The available lists can be found here:
|
||||
network context is NON_INTERNET. The available lists can be found here:
|
||||
https://cloud.google.com/vpc/docs/firewall-policies-rule-details#threat-intelligence-fw-policy.
|
||||
|
||||
--direction=DIRECTION
|
||||
|
|
@ -161,8 +161,8 @@ OPTIONAL FLAGS
|
|||
|
||||
--src-region-codes=[SOURCE_REGION_CODES,...]
|
||||
Source Region Code to match for this rule. Can only be specified if
|
||||
DIRECTION is ingress. Cannot be specified when the source network type
|
||||
is NON_INTERNET, VPC_NETWORK or INTRA_VPC.
|
||||
DIRECTION is ingress. Cannot be specified when the source network
|
||||
context is NON_INTERNET, VPC_NETWORK or INTRA_VPC.
|
||||
|
||||
--src-secure-tags=[SOURCE_SECURE_TAGS,...]
|
||||
A list of instance secure tags indicating the set of instances on the
|
||||
|
|
@ -178,8 +178,8 @@ OPTIONAL FLAGS
|
|||
--src-threat-intelligence=[SOURCE_THREAT_INTELLIGENCE_LISTS,...]
|
||||
Source Threat Intelligence lists to match for this rule. Can only be
|
||||
specified if DIRECTION is ingress. Cannot be specified when the source
|
||||
network type is NON_INTERNET, VPC_NETWORK or INTRA_VPC. The available
|
||||
lists can be found here:
|
||||
network context is NON_INTERNET, VPC_NETWORK or INTRA_VPC. The
|
||||
available lists can be found here:
|
||||
https://cloud.google.com/vpc/docs/firewall-policies-rule-details#threat-intelligence-fw-policy.
|
||||
|
||||
--target-forwarding-rules=[TARGET_FORWARDING_RULES,...]
|
||||
|
|
|
|||
|
|
@ -85,12 +85,12 @@ OPTIONAL FLAGS
|
|||
--dest-region-codes=[DEST_REGION_CODES,...]
|
||||
Destination Region Code to match for this rule. Can only be specified
|
||||
if DIRECTION is egress. Cannot be specified when the source network
|
||||
type is NON_INTERNET.
|
||||
context is NON_INTERNET.
|
||||
|
||||
--dest-threat-intelligence=[DEST_THREAT_INTELLIGENCE_LISTS,...]
|
||||
Destination Threat Intelligence lists to match for this rule. Can only
|
||||
be specified if DIRECTION is egress. Cannot be specified when source
|
||||
network type is NON_INTERNET. The available lists can be found here:
|
||||
network context is NON_INTERNET. The available lists can be found here:
|
||||
https://cloud.google.com/vpc/docs/firewall-policies-rule-details#threat-intelligence-fw-policy.
|
||||
|
||||
--direction=DIRECTION
|
||||
|
|
@ -158,8 +158,8 @@ OPTIONAL FLAGS
|
|||
|
||||
--src-region-codes=[SOURCE_REGION_CODES,...]
|
||||
Source Region Code to match for this rule. Can only be specified if
|
||||
DIRECTION is ingress. Cannot be specified when the source network type
|
||||
is NON_INTERNET, VPC_NETWORK or INTRA_VPC.
|
||||
DIRECTION is ingress. Cannot be specified when the source network
|
||||
context is NON_INTERNET, VPC_NETWORK or INTRA_VPC.
|
||||
|
||||
--src-secure-tags=[SOURCE_SECURE_TAGS,...]
|
||||
A list of instance secure tags indicating the set of instances on the
|
||||
|
|
@ -175,8 +175,8 @@ OPTIONAL FLAGS
|
|||
--src-threat-intelligence=[SOURCE_THREAT_INTELLIGENCE_LISTS,...]
|
||||
Source Threat Intelligence lists to match for this rule. Can only be
|
||||
specified if DIRECTION is ingress. Cannot be specified when the source
|
||||
network type is NON_INTERNET, VPC_NETWORK or INTRA_VPC. The available
|
||||
lists can be found here:
|
||||
network context is NON_INTERNET, VPC_NETWORK or INTRA_VPC. The
|
||||
available lists can be found here:
|
||||
https://cloud.google.com/vpc/docs/firewall-policies-rule-details#threat-intelligence-fw-policy.
|
||||
|
||||
--target-forwarding-rules=[TARGET_FORWARDING_RULES,...]
|
||||
|
|
|
|||
|
|
@ -181,23 +181,22 @@ OPTIONAL FLAGS
|
|||
Never reboot the machine after the update completes.
|
||||
|
||||
--skip-unpatchable-vms
|
||||
If set, enables enhanced reporting for the patch job:
|
||||
Enables enhanced reporting for the patch job. If this flag is set:
|
||||
|
||||
1. Allows the patch job to skip unpatchable instances, reporting them
|
||||
as SKIPPED. An instance can be unpatchable for two reasons:
|
||||
1. The patch job skips instances that cannot be patched and reports
|
||||
them as SKIPPED. An instance cannot be patched for two reasons:
|
||||
◆ The instance runs Container-Optimized OS (COS), which cannot be
|
||||
patched.
|
||||
◆ The instance is part of a managed instance group (MIG), and
|
||||
patching MIG instances is disabled in the patch job's configuration
|
||||
(--mig-instances-allowed flag is not set).
|
||||
|
||||
a. The instance runs Container-Optimized OS (COS), which cannot be
|
||||
patched.
|
||||
2. The patch job is reported as SUCCEEDED if it completes without
|
||||
errors, even if some instances are SKIPPED.
|
||||
|
||||
b. The instance is part of a managed instance group (MIG), and
|
||||
patching MIG instances is disabled in the patch job's configuration
|
||||
(`--mig-instances-allowed` flag is not set).
|
||||
|
||||
2. Reports the patch job as SUCCEEDED if it completes without errors,
|
||||
even if some instances were SKIPPED.
|
||||
|
||||
3. Reports the patch job as COMPLETED_WITH_INACTIVE_VMS if it completes
|
||||
without errors, but some instances were INACTIVE and were not patched.
|
||||
3. The patch job is reported as COMPLETED_WITH_INACTIVE_VMS if it
|
||||
completes without errors, but does not patch instances that are
|
||||
INACTIVE.
|
||||
|
||||
Settings for machines running Apt:
|
||||
|
||||
|
|
|
|||
54
gcloud/beta/compute/rollouts/cancel
Normal file
54
gcloud/beta/compute/rollouts/cancel
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
NAME
|
||||
gcloud beta compute rollouts cancel - cancel a Google Compute Engine
|
||||
rollout
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute rollouts cancel NAME [--rollback]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Cancel a Google Compute Engine rollout.
|
||||
|
||||
EXAMPLES
|
||||
To cancel a rollout named 'my-rollout', run:
|
||||
|
||||
$ gcloud beta compute rollouts cancel my-rollout
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Rollout resource - Name of the rollout to cancel. This represents a Cloud
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument name on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NAME
|
||||
ID of the rollout or fully qualified identifier for the rollout.
|
||||
|
||||
To set the name attribute:
|
||||
▸ provide the argument name on the command line.
|
||||
|
||||
FLAGS
|
||||
--rollback
|
||||
If true, then the ongoing rollout must be rolled back. Else, just
|
||||
cancel the rollout without taking any further actions.
|
||||
|
||||
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 beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute rollouts cancel
|
||||
|
||||
48
gcloud/beta/compute/rollouts/delete
Normal file
48
gcloud/beta/compute/rollouts/delete
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
NAME
|
||||
gcloud beta compute rollouts delete - delete a Google Compute Engine
|
||||
rollout
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute rollouts delete NAME [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Delete a Google Compute Engine rollout.
|
||||
|
||||
EXAMPLES
|
||||
To delete a rollout named 'my-rollout', run:
|
||||
|
||||
$ gcloud beta compute rollouts delete my-rollout
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Rollout resource - Name of the rollout to delete. This represents a Cloud
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument name on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NAME
|
||||
ID of the rollout or fully qualified identifier for the rollout.
|
||||
|
||||
To set the name attribute:
|
||||
▸ provide the argument name on the command line.
|
||||
|
||||
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 beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute rollouts delete
|
||||
|
||||
52
gcloud/beta/compute/rollouts/describe
Normal file
52
gcloud/beta/compute/rollouts/describe
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
NAME
|
||||
gcloud beta compute rollouts describe - describe a rollout
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute rollouts describe ROLLOUT [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Describe a rollout.
|
||||
|
||||
EXAMPLES
|
||||
To retrieve a single rollout and print its properties, run the following
|
||||
command:
|
||||
|
||||
$ gcloud beta compute rollouts describe my-rollout
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Rollout resource - Name of the rollout you want to inspect. This
|
||||
represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument rollout on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
ROLLOUT
|
||||
ID of the Rollout or fully qualified identifier for the Rollout.
|
||||
|
||||
To set the rollout attribute:
|
||||
▸ provide the argument rollout on the command line.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/beta API. The full documentation for this API
|
||||
can be found at: https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute rollouts describe
|
||||
|
||||
35
gcloud/beta/compute/rollouts/help
Normal file
35
gcloud/beta/compute/rollouts/help
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
NAME
|
||||
gcloud beta compute rollouts - read and manipulate Compute Engine Rollouts
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute rollouts COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Read and manipulate Compute Engine Rollouts.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
cancel
|
||||
(BETA) Cancel a Google Compute Engine rollout.
|
||||
|
||||
delete
|
||||
(BETA) Delete a Google Compute Engine rollout.
|
||||
|
||||
describe
|
||||
(BETA) Describe a rollout.
|
||||
|
||||
list
|
||||
(BETA) List Google Compute Engine Rollouts.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute rollouts
|
||||
|
||||
66
gcloud/beta/compute/rollouts/list
Normal file
66
gcloud/beta/compute/rollouts/list
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
NAME
|
||||
gcloud beta compute rollouts list - list Google Compute Engine Rollouts
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute rollouts list [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) List Google Compute Engine Rollouts in a project.
|
||||
|
||||
EXAMPLES
|
||||
To list all rollouts in your project, run:
|
||||
|
||||
$ gcloud beta compute rollouts list
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the compute/beta API. The full documentation for this API
|
||||
can be found at: https://cloud.google.com/compute/
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute rollouts list
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue