1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00

gcloud: Wed Apr 23 10:54:24 UTC 2025

This commit is contained in:
Automated 2025-04-23 10:54:24 +00:00
parent b589c4c4ad
commit 4d8dd33b3e
138 changed files with 4506 additions and 597 deletions

View file

@ -10,11 +10,11 @@ DESCRIPTION
(ALPHA) Describe a Compute Engine reservation block.
EXAMPLES
To describe a reservation block in reservation exr1 in my-zone with block
name block1, run:
To describe a reservation block in reservation my-reservation in my-zone
with block name my-reservation-block-0001, run:
$ gcloud alpha compute reservations blocks describe exr1 \
--zone=my-zone --block-name=block1
$ gcloud alpha compute reservations blocks describe my-reservation \
--zone=my-zone --block-name=my-reservation-block-0001
POSITIONAL ARGUMENTS
RESERVATION
@ -58,7 +58,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 reservations blocks describe
$ gcloud beta compute reservations blocks describe

View file

@ -1,5 +1,6 @@
NAME
gcloud alpha compute reservations blocks -
gcloud alpha compute reservations blocks - manage Compute Engine
reservation blocks
SYNOPSIS
gcloud alpha compute reservations blocks COMMAND [GCLOUD_WIDE_FLAG ...]
@ -29,7 +30,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 reservations blocks
$ gcloud beta compute reservations blocks

View file

@ -9,20 +9,20 @@ SYNOPSIS
DESCRIPTION
(ALPHA) gcloud alpha compute reservations blocks list displays all Compute
Engine reservation blocks in an extended reservation.
Engine reservation blocks in a densely deployed reservation.
EXAMPLES
To list all reservation blocks in an extended reservation in table form,
run:
To list all reservation blocks in a densely deployed reservation in table
form, run:
$ gcloud alpha compute reservations blocks list \
extended-reservation --zone=us-central1-a --project=my-project
$ gcloud alpha compute reservations blocks list my-reservation \
--zone=us-central1-a --project=my-project
To list the URIs of all reservation blocks in an extended reservation, run:
To list the URIs of all reservation blocks in a densely deployed
reservation, run:
$ gcloud alpha compute reservations blocks list \
extended-reservation --zone=us-central1-a --project=my-project \
--uri
$ gcloud alpha compute reservations blocks list my-reservation \
--zone=us-central1-a --project=my-project --uri
POSITIONAL ARGUMENTS
RESERVATION
@ -94,7 +94,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 reservations blocks list
$ gcloud beta compute reservations blocks list

View file

@ -11,11 +11,12 @@ DESCRIPTION
(ALPHA) Perform maintenance on a reservation block within a reservation.
EXAMPLES
To perform maintenance on a reservation block in reservation exr1 in
my-zone with block name block1 with scope all, run:
To perform maintenance on a reservation block in reservation my-reservation
in my-zone with block name my-reservation-block-0001 with scope all, run:
$ gcloud alpha compute reservations blocks perform-maintenance \
exr1 --zone=my-zone --block-name=block1 --scope=all
my-reservation --zone=my-zone \
--block-name=my-reservation-block-0001 --scope=all
POSITIONAL ARGUMENTS
RESERVATION
@ -72,7 +73,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 reservations blocks perform-maintenance
$ gcloud beta compute reservations blocks perform-maintenance

View file

@ -22,6 +22,9 @@ GROUPS
GROUP is one of the following:
blocks
(ALPHA) Manage Compute Engine reservation blocks.
sub-blocks
(ALPHA)
COMMANDS

View file

@ -12,10 +12,11 @@ DESCRIPTION
reservations with reservation blocks.
EXAMPLES
To perform maintenance on reservation exr1 in my-zone with scope all, run:
To perform maintenance on reservation my-reservation in my-zone with scope
all, run:
$ gcloud alpha compute reservations perform-maintenance exr1 \
--zone=my-zone --scope=all
$ gcloud alpha compute reservations perform-maintenance \
my-reservation --zone=my-zone --scope=all
POSITIONAL ARGUMENTS
RESERVATION
@ -67,7 +68,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 reservations perform-maintenance
$ gcloud beta compute reservations perform-maintenance

View file

@ -0,0 +1,67 @@
NAME
gcloud alpha compute reservations sub-blocks describe - describe a Compute
Engine reservation sub block
SYNOPSIS
gcloud alpha compute reservations sub-blocks describe RESERVATION
--block-name=BLOCK_NAME --sub-block-name=SUB_BLOCK_NAME [--zone=ZONE]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Describe a Compute Engine reservation sub block.
EXAMPLES
To describe a reservation sub block in reservation exr1 in my-zone with
block name my-block and sub block name my-sub-block, run:
$ gcloud alpha compute reservations sub-blocks describe exr1 \
--zone=my-zone --block-name=my-block \
--sub-block-name=my-sub-block
POSITIONAL ARGUMENTS
RESERVATION
Name of the reservation to describe.
REQUIRED FLAGS
--block-name=BLOCK_NAME
The name of the reservation block.
--sub-block-name=SUB_BLOCK_NAME
The name of the reservation sub block.
OPTIONAL FLAGS
--zone=ZONE
Zone of the reservation 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 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.

View file

@ -0,0 +1,29 @@
NAME
gcloud alpha compute reservations sub-blocks -
SYNOPSIS
gcloud alpha compute reservations sub-blocks COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage Compute Engine reservation sub blocks.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
describe
(ALPHA) Describe a Compute Engine reservation sub block.
list
(ALPHA) List Compute Engine reservation sub blocks.
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.

View file

@ -0,0 +1,104 @@
NAME
gcloud alpha compute reservations sub-blocks list - list Compute Engine
reservation sub blocks
SYNOPSIS
gcloud alpha compute reservations sub-blocks list RESERVATION
--block-name=BLOCK_NAME [--zone=ZONE] [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha compute reservations sub-blocks list displays all
Compute Engine reservation sub blocks in an extended reservation's block.
EXAMPLES
To list all reservation sub blocks in an extended reservation's block
my-block in table form, run:
$ gcloud alpha compute reservations sub-blocks list \
extended-reservation --block-name=my-block \
--zone=us-central1-a --project=my-project
To list the URIs of all reservation blocks in an extended reservation, run:
$ gcloud alpha compute reservations sub-blocks list \
extended-reservation --block-name=my-block \
--zone=us-central1-a --project=my-project --uri
POSITIONAL ARGUMENTS
RESERVATION
Name of the reservation to list.
REQUIRED FLAGS
--block-name=BLOCK_NAME
The name of the reservation block.
FLAGS
--zone=ZONE
Zone of the reservation to list. 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.
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 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.