mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 13:10:18 +00:00
gcloud: Wed Oct 8 11:07:39 UTC 2025
This commit is contained in:
parent
a0434a4d7a
commit
6f9bb9a0f0
137 changed files with 5133 additions and 291 deletions
103
gcloud/alpha/compute/health-sources/create
Normal file
103
gcloud/alpha/compute/health-sources/create
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
NAME
|
||||
gcloud alpha compute health-sources create - create a health source
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute health-sources create
|
||||
(HEALTH_SOURCE : --region=REGION)
|
||||
--health-aggregation-policy=HEALTH_AGGREGATION_POLICY
|
||||
--sources=[SOURCES,...] [--async] [--description=DESCRIPTION]
|
||||
[--source-type=SOURCE_TYPE; default="backend-service"]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a health source.
|
||||
|
||||
EXAMPLES
|
||||
The following command creates a new health source:
|
||||
|
||||
$ gcloud alpha compute health-sources create <HEALTH_SOURCE_NAME> \
|
||||
--region=<REGION> --source-type=BACKEND_SERVICE \
|
||||
--sources=my-backend-service \
|
||||
--health-aggregation-policy=my-health-aggregation-policy
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Health source resource - The name of the health source you want to create.
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
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 health_source 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.
|
||||
|
||||
HEALTH_SOURCE
|
||||
ID of the health source or fully qualified identifier for the health
|
||||
source.
|
||||
|
||||
To set the health_source attribute:
|
||||
▸ provide the argument health_source on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The name of the Google Compute Engine region.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument health_source on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--health-aggregation-policy=HEALTH_AGGREGATION_POLICY
|
||||
URL to the health aggregation policy resource. Must be set. Must be
|
||||
regional and in the same region as the HealthSource. Can be mutated.
|
||||
|
||||
--sources=[SOURCES,...]
|
||||
URLs to the source resources. Must be size 1. Must be a BackendService
|
||||
if the sourceType is BACKEND_SERVICE. The BackendService must have load
|
||||
balancing scheme INTERNAL or INTERNAL_MANAGED and must be regional and
|
||||
in the same region as the HealthSource (cross-region deployment for
|
||||
INTERNAL_MANAGED is not supported). The BackendService may use only
|
||||
IGs, MIGs, or NEGs of type GCE_VM_IP or GCE_VM_IP_PORT. The
|
||||
BackendService may not use haPolicy. Can be mutated.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--description=DESCRIPTION
|
||||
A textual description of the HealthSource.
|
||||
|
||||
--source-type=SOURCE_TYPE; default="backend-service"
|
||||
Specifies the type of the HealthSource. The only allowed value is
|
||||
BACKEND_SERVICE. Must be specified when the HealthSource is created,
|
||||
and cannot be mutated. SOURCE_TYPE must be (only one value is
|
||||
supported): backend-service.
|
||||
|
||||
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/alpha 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
|
||||
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:
|
||||
|
||||
$ gcloud beta compute health-sources create
|
||||
|
||||
74
gcloud/alpha/compute/health-sources/delete
Normal file
74
gcloud/alpha/compute/health-sources/delete
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
NAME
|
||||
gcloud alpha compute health-sources delete - delete a health source
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute health-sources delete
|
||||
(HEALTH_SOURCE : --region=REGION) [--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Delete a health source.
|
||||
|
||||
EXAMPLES
|
||||
To delete a single health source, run the following command:
|
||||
|
||||
$ gcloud alpha compute health-sources delete <HEALTH_SOURCE_NAME> \
|
||||
--region=<REGION>
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Health source resource - Name of the health source you want to delete. The
|
||||
arguments in this group can be used to specify the attributes of this
|
||||
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 health_source 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.
|
||||
|
||||
HEALTH_SOURCE
|
||||
ID of the health source or fully qualified identifier for the health
|
||||
source.
|
||||
|
||||
To set the health_source attribute:
|
||||
▸ provide the argument health_source on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The name of the Google Compute Engine region.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument health_source on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
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/alpha 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
|
||||
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:
|
||||
|
||||
$ gcloud beta compute health-sources delete
|
||||
|
||||
70
gcloud/alpha/compute/health-sources/describe
Normal file
70
gcloud/alpha/compute/health-sources/describe
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
NAME
|
||||
gcloud alpha compute health-sources describe - describe a health source
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute health-sources describe
|
||||
(HEALTH_SOURCE : --region=REGION) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe a health source.
|
||||
|
||||
EXAMPLES
|
||||
To retrieve a single health source and print its properties, run the
|
||||
following command:
|
||||
|
||||
$ gcloud alpha compute health-sources describe \
|
||||
<HEALTH_SOURCE_NAME> --region=<REGION>
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Health source resource - Name of the health source you want to inspect.
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
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 health_source 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.
|
||||
|
||||
HEALTH_SOURCE
|
||||
ID of the health source or fully qualified identifier for the health
|
||||
source.
|
||||
|
||||
To set the health_source attribute:
|
||||
▸ provide the argument health_source on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The name of the Google Compute Engine region.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument health_source on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
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/alpha 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
|
||||
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:
|
||||
|
||||
$ gcloud beta compute health-sources describe
|
||||
|
||||
40
gcloud/alpha/compute/health-sources/help
Normal file
40
gcloud/alpha/compute/health-sources/help
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
NAME
|
||||
gcloud alpha compute health-sources - manage health sources
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute health-sources COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Manage health sources.
|
||||
|
||||
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 health source.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete a health source.
|
||||
|
||||
describe
|
||||
(ALPHA) Describe a health source.
|
||||
|
||||
list
|
||||
(ALPHA) List health sources.
|
||||
|
||||
update
|
||||
(ALPHA) Update a health source.
|
||||
|
||||
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:
|
||||
|
||||
$ gcloud beta compute health-sources
|
||||
|
||||
79
gcloud/alpha/compute/health-sources/list
Normal file
79
gcloud/alpha/compute/health-sources/list
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
NAME
|
||||
gcloud alpha compute health-sources list - list health sources
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute health-sources list [NAME ...]
|
||||
[--regexp=REGEXP, -r REGEXP] [--regions=REGION,[REGION,...]]
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List health sources.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
[NAME ...]
|
||||
(DEPRECATED) If provided, show details for the specified names and/or
|
||||
URIs of resources.
|
||||
|
||||
Argument NAME is deprecated. Use --filter="name=( 'NAME' ... )"
|
||||
instead.
|
||||
|
||||
FLAGS
|
||||
--regexp=REGEXP, -r REGEXP
|
||||
(DEPRECATED) Regular expression to filter the names of the results on.
|
||||
Any names that do not match the entire regular expression will be
|
||||
filtered out.
|
||||
|
||||
Flag --regexp is deprecated. Use --filter="name~'REGEXP'" instead.
|
||||
|
||||
--regions=REGION,[REGION,...]
|
||||
If provided, only resources from the given regions are queried.
|
||||
|
||||
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. This variant is also available:
|
||||
|
||||
$ gcloud beta compute health-sources list
|
||||
|
||||
99
gcloud/alpha/compute/health-sources/update
Normal file
99
gcloud/alpha/compute/health-sources/update
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
NAME
|
||||
gcloud alpha compute health-sources update - update a health source
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute health-sources update
|
||||
(HEALTH_SOURCE : --region=REGION)
|
||||
(--description=DESCRIPTION
|
||||
--health-aggregation-policy=HEALTH_AGGREGATION_POLICY
|
||||
--sources=[SOURCES,...]) [--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Update a health source.
|
||||
|
||||
EXAMPLES
|
||||
The following command updates a new health source named "my-health-source":
|
||||
|
||||
$ gcloud alpha compute health-sources update <HEALTH_SOURCE_NAME> \
|
||||
--region=<REGION> --source-type=BACKEND_SERVICE \
|
||||
--sources=my-backend-service \
|
||||
--health-aggregation-policy=my-health-aggregation-policy
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Health source resource - The name of the health source you want to create.
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
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 health_source 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.
|
||||
|
||||
HEALTH_SOURCE
|
||||
ID of the health source or fully qualified identifier for the health
|
||||
source.
|
||||
|
||||
To set the health_source attribute:
|
||||
▸ provide the argument health_source on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The name of the Google Compute Engine region.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument health_source on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
REQUIRED FLAGS
|
||||
At least one of these must be specified:
|
||||
|
||||
--description=DESCRIPTION
|
||||
A textual description of the health source.
|
||||
|
||||
--health-aggregation-policy=HEALTH_AGGREGATION_POLICY
|
||||
URL to the health aggregation policy resource. Must be set. Must be
|
||||
regional and in the same region as the HealthSource. Can be mutated.
|
||||
|
||||
--sources=[SOURCES,...]
|
||||
URLs to the source resources. Must be size 1. Must be a
|
||||
BackendService if the sourceType is BACKEND_SERVICE. The
|
||||
BackendService must have load balancing scheme INTERNAL or
|
||||
INTERNAL_MANAGED and must be regional and in the same region as the
|
||||
HealthSource (cross-region deployment for INTERNAL_MANAGED is not
|
||||
supported). The BackendService may use only IGs, MIGs, or NEGs of
|
||||
type GCE_VM_IP or GCE_VM_IP_PORT. The BackendService may not use
|
||||
haPolicy. Can be mutated.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
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/alpha 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
|
||||
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:
|
||||
|
||||
$ gcloud beta compute health-sources update
|
||||
|
||||
|
|
@ -74,6 +74,9 @@ GROUPS
|
|||
health-checks
|
||||
(ALPHA) Read and manipulate health checks for load balanced instances.
|
||||
|
||||
health-sources
|
||||
(ALPHA) Manage health sources.
|
||||
|
||||
http-health-checks
|
||||
(ALPHA) Read and manipulate HTTP health checks for load balanced
|
||||
instances.
|
||||
|
|
|
|||
78
gcloud/alpha/compute/migration/disk-migrations/cancel
Normal file
78
gcloud/alpha/compute/migration/disk-migrations/cancel
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations cancel - cancel a disk
|
||||
migration resource process
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations cancel
|
||||
(DISK_MIGRATION : --location=LOCATION --source=SOURCE)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute migration disk-migrations cancel cancels an
|
||||
ongoing disk migration resource process. To use this command, you must
|
||||
enable VM Migration API in your project.
|
||||
|
||||
EXAMPLES
|
||||
To cancel an ongoing my-disk-migration resource process in us-central1 in
|
||||
the AWS source my-aws-source in the default project, run: $ gcloud alpha compute migration disk-migrations cancel \
|
||||
my-disk-migration --location=us-central1 --source=my-aws-source
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Disk migration resource - The disk migration resource you want to cancel
|
||||
its ongoing process. The arguments in this group can be used to specify
|
||||
the attributes of this 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 disk_migration 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.
|
||||
|
||||
DISK_MIGRATION
|
||||
ID of the disk_migration or fully qualified identifier for the
|
||||
disk_migration.
|
||||
|
||||
To set the disk_migration attribute:
|
||||
▸ provide the argument disk_migration on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Resource location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
--source=SOURCE
|
||||
The client source environment object.
|
||||
|
||||
To set the source attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --source 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 vmmigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/migrate/virtual-machines
|
||||
|
||||
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.
|
||||
|
||||
134
gcloud/alpha/compute/migration/disk-migrations/create
Normal file
134
gcloud/alpha/compute/migration/disk-migrations/create
Normal file
|
|
@ -0,0 +1,134 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations create - create a disk
|
||||
migration resource to migrate a disk to Compute Engine
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations create
|
||||
(DISK_MIGRATION : --location=LOCATION --source=SOURCE)
|
||||
--source-volume-id=SOURCE_VOLUME_ID [--disk-id=DISK_ID]
|
||||
[--disk-type=DISK_TYPE] [--kms-key=KMS_KEY] [--labels=[KEY=VALUE,...]]
|
||||
[--target-project=TARGET_PROJECT] [--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute migration disk-migrations create lets you
|
||||
create disk migration resource. You must create a disk migration resource
|
||||
before you can migrate your disk from any migration source to a Compute
|
||||
Engine disk. The disk migration resource tracks the progress of the disk
|
||||
migration. To use this command, you must enable VM Migration API in your
|
||||
project.
|
||||
|
||||
Note that this command only creates a disk migration resource. It does not
|
||||
initiate the disk migration process. After creating the disk migration
|
||||
resource, you must initiate the migration process using the run command.
|
||||
|
||||
EXAMPLES
|
||||
To create a disk migration resource to migrate a volume vol-12345 from an
|
||||
AWS source my-aws-source to my-target-project in us-central1, create the
|
||||
my-disk-migration disk migration resource in my-project in us-central1,
|
||||
run:
|
||||
|
||||
$ gcloud alpha compute migration disk-migrations create \
|
||||
my-disk-migration --project=my-project --location=us-central1 \
|
||||
--source=my-aws-source --source-volume-id=vol-12345 \
|
||||
--disk-id=gcp-disk1 \
|
||||
--target-project=projects/my-project/locations/global/\
|
||||
targetProjects/my-target-project
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Disk migration resource - The disk migration resource you want to create.
|
||||
This would be the disk ID if --disk-id is not given. The arguments in this
|
||||
group can be used to specify the attributes of this 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 disk_migration 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.
|
||||
|
||||
DISK_MIGRATION
|
||||
ID of the disk_migration or fully qualified identifier for the
|
||||
disk_migration.
|
||||
|
||||
To set the disk_migration attribute:
|
||||
▸ provide the argument disk_migration on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Resource location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
--source=SOURCE
|
||||
The client source environment object.
|
||||
|
||||
To set the source attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --source on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--source-volume-id=SOURCE_VOLUME_ID
|
||||
The ID of the source volume that you want to migrate to Compute Engine.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--disk-id=DISK_ID
|
||||
The ID of the disk that will be migrated to Compute Engine. The default
|
||||
value is the disk migration resource name.
|
||||
|
||||
--disk-type=DISK_TYPE
|
||||
The Compute Engine disk type to use for the migrated disk. The default
|
||||
value is COMPUTE_ENGINE_DISK_TYPE_STANDARD. DISK_TYPE must be one of:
|
||||
|
||||
compute-engine-disk-type-balanced
|
||||
Compute Engine Disk Type Balanced.
|
||||
compute-engine-disk-type-hyperdisk-balanced
|
||||
Compute Engine Disk Type hyperdisk-balanced.
|
||||
compute-engine-disk-type-ssd
|
||||
Compute Engine Disk Type SSD.
|
||||
compute-engine-disk-type-standard
|
||||
Compute Engine Disk Type Standard.
|
||||
|
||||
--kms-key=KMS_KEY
|
||||
Fully qualified identifier for the Cloud KMS (Key Management Service)
|
||||
cryptokey that will be used to protect the disk.
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
A map of labels to associate with the disk.
|
||||
|
||||
--target-project=TARGET_PROJECT
|
||||
The target project resource path to which the disk will be migrated.
|
||||
Default is the host project. To get a list of the target projects run
|
||||
the gcloud alpha migration vms target-projects list command.
|
||||
|
||||
--zone=ZONE
|
||||
The zone in which to create the disk. The default value is the first
|
||||
zone of the Google Cloud location parameter given.
|
||||
|
||||
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 vmmigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/migrate/virtual-machines
|
||||
|
||||
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.
|
||||
|
||||
82
gcloud/alpha/compute/migration/disk-migrations/delete
Normal file
82
gcloud/alpha/compute/migration/disk-migrations/delete
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations delete - delete a disk
|
||||
migration resource
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations delete
|
||||
(DISK_MIGRATION : --location=LOCATION --source=SOURCE)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute migration disk-migrations delete deletes a
|
||||
disk migration resource. To use this command, you must enable VM Migration
|
||||
API in your project.
|
||||
|
||||
This command does not delete any disks on Google Compute Engine.
|
||||
|
||||
EXAMPLES
|
||||
To delete my-disk-migration resource in us-central1 in the AWS source
|
||||
my-aws-source in the default project, run:
|
||||
|
||||
$ gcloud alpha compute migration disk-migrations delete \
|
||||
my-image-import --location=us-central1 --source=my-aws-source
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Disk migration resource - The disk migration resource you want to delete.
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
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 disk_migration 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.
|
||||
|
||||
DISK_MIGRATION
|
||||
ID of the disk_migration or fully qualified identifier for the
|
||||
disk_migration.
|
||||
|
||||
To set the disk_migration attribute:
|
||||
▸ provide the argument disk_migration on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Resource location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
--source=SOURCE
|
||||
The client source environment object.
|
||||
|
||||
To set the source attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --source 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 vmmigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/migrate/virtual-machines
|
||||
|
||||
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.
|
||||
|
||||
81
gcloud/alpha/compute/migration/disk-migrations/describe
Normal file
81
gcloud/alpha/compute/migration/disk-migrations/describe
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations describe - describe a disk
|
||||
migration resource
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations describe
|
||||
(DISK_MIGRATION : --location=LOCATION --source=SOURCE)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute migration disk-migrations describe describes a
|
||||
disk migration resource. The disk migration resource tracks the disk
|
||||
migration progress. To use this command, you must enable VM Migration API
|
||||
in your project.
|
||||
|
||||
EXAMPLES
|
||||
To describe my-disk-migration resource in us-central1 in the AWS source
|
||||
my-aws-source in the default project, run:
|
||||
|
||||
$ gcloud alpha compute migration disk-migrations describe \
|
||||
my-disk-migration --location=us-central1 --source=my-aws-source
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Disk migration resource - The disk migration resource you want to
|
||||
describe. The arguments in this group can be used to specify the
|
||||
attributes of this 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 disk_migration 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.
|
||||
|
||||
DISK_MIGRATION
|
||||
ID of the disk_migration or fully qualified identifier for the
|
||||
disk_migration.
|
||||
|
||||
To set the disk_migration attribute:
|
||||
▸ provide the argument disk_migration on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Resource location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
--source=SOURCE
|
||||
The client source environment object.
|
||||
|
||||
To set the source attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --source 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 vmmigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/migrate/virtual-machines
|
||||
|
||||
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.
|
||||
|
||||
105
gcloud/alpha/compute/migration/disk-migrations/fetch-inventory
Normal file
105
gcloud/alpha/compute/migration/disk-migrations/fetch-inventory
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations fetch-inventory - lists
|
||||
source environment volume inventory
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations fetch-inventory
|
||||
(SOURCE : --location=LOCATION) [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute migration disk-migrations fetch-inventory
|
||||
prints a detailed list of the source environment volume inventory. To use
|
||||
this command, you must enable VM Migration API in your project.
|
||||
|
||||
EXAMPLES
|
||||
To list the source environment volume resources in us-central1 in the AWS
|
||||
source my-aws-source in the default project, run:
|
||||
|
||||
$ gcloud alpha compute migration disk-migrations fetch-inventory \
|
||||
my-aws-source --location=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Source resource - The source environment resource of the disk migration
|
||||
resources. This is the parent resource of the disk migration resources.
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
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 source 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.
|
||||
|
||||
SOURCE
|
||||
ID of the source or fully qualified identifier for the source.
|
||||
|
||||
To set the source attribute:
|
||||
▸ provide the argument source on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Resource location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument source on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
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 vmmigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/migrate/virtual-machines
|
||||
|
||||
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.
|
||||
|
||||
71
gcloud/alpha/compute/migration/disk-migrations/help
Normal file
71
gcloud/alpha/compute/migration/disk-migrations/help
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations - migrates disks to Compute
|
||||
Engine
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) The gcloud alpha migration vms disk-migrations command lets you
|
||||
create and manage disk migration resource. You must create a disk migration
|
||||
resource before you can migrate your disk from any migration source to a
|
||||
Compute Engine disk. The disk migration resource tracks the progress of the
|
||||
disk migration. To use this command, you must enable VM Migration API in
|
||||
your project.
|
||||
|
||||
Note that this command only creates a disk migration resource. It does not
|
||||
initiate the disk migration process. After creating the disk migration
|
||||
resource, you must initiate the migration process using the run command.
|
||||
|
||||
The disk is migrated to a Google Cloud Project, designated by the Target
|
||||
Project resource. To get a list of Target Projects, run the gcloud alpha
|
||||
migration vms target-projects list command. For information on adding
|
||||
target projects, see
|
||||
https://cloud.google.com/migrate/virtual-machines/docs/5.0/how-to/target-project.
|
||||
|
||||
A project can support a maximum of 200 Disk/VM Migration active resources
|
||||
per project; 1000 ready disk migration resources, and 500 finished disk
|
||||
migration resources. Hence we recommend that you delete a completed disk
|
||||
migrations to avoid reaching the disk migration resources limit. Deletion
|
||||
of disk migration resource does not affect the migrated disk.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
cancel
|
||||
(ALPHA) Cancel a disk migration resource process.
|
||||
|
||||
create
|
||||
(ALPHA) Create a disk migration resource to migrate a disk to Compute
|
||||
Engine.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete a disk migration resource.
|
||||
|
||||
describe
|
||||
(ALPHA) Describe a disk migration resource.
|
||||
|
||||
fetch-inventory
|
||||
(ALPHA) Lists source environment volume inventory.
|
||||
|
||||
list
|
||||
(ALPHA) List disk migration resources.
|
||||
|
||||
run
|
||||
(ALPHA) Run a disk migration resource process.
|
||||
|
||||
update
|
||||
(ALPHA) Update a disk migration resource target 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.
|
||||
|
||||
105
gcloud/alpha/compute/migration/disk-migrations/list
Normal file
105
gcloud/alpha/compute/migration/disk-migrations/list
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations list - list disk migration
|
||||
resources
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations list
|
||||
(--source=SOURCE : --location=LOCATION) [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute migration disk-migrations list prints a
|
||||
detailed list of disk migration resources. To use this command, you must
|
||||
enable VM Migration API in your project.
|
||||
|
||||
EXAMPLES
|
||||
To list the disk migration resources in us-central1 in the AWS source
|
||||
my-aws-source in the default project, run:
|
||||
|
||||
$ gcloud alpha compute migration disk-migrations list \
|
||||
--location=us-central1 --source=my-aws-source
|
||||
|
||||
REQUIRED FLAGS
|
||||
Source resource - The source environment resource of the disk migration
|
||||
resources. This is the parent resource of the disk migration resources.
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
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 --source 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.
|
||||
|
||||
--source=SOURCE
|
||||
ID of the source or fully qualified identifier for the source.
|
||||
|
||||
To set the source attribute:
|
||||
▸ provide the argument --source on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Resource location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument --source on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
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 vmmigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/migrate/virtual-machines
|
||||
|
||||
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.
|
||||
|
||||
78
gcloud/alpha/compute/migration/disk-migrations/run
Normal file
78
gcloud/alpha/compute/migration/disk-migrations/run
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations run - run a disk migration
|
||||
resource process
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations run
|
||||
(DISK_MIGRATION : --location=LOCATION --source=SOURCE)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute migration disk-migrations run initiates a disk
|
||||
migration resource process. To use this command, you must enable VM
|
||||
Migration API in your project.
|
||||
|
||||
EXAMPLES
|
||||
To run my-disk-migration resource process in us-central1 in the AWS source
|
||||
my-aws-source in the default project, run: $ gcloud alpha compute migration disk-migrations run \
|
||||
my-disk-migration --location=us-central1 --source=my-aws-source
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Disk migration resource - The disk migration resource you want to initiate
|
||||
its process. The arguments in this group can be used to specify the
|
||||
attributes of this 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 disk_migration 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.
|
||||
|
||||
DISK_MIGRATION
|
||||
ID of the disk_migration or fully qualified identifier for the
|
||||
disk_migration.
|
||||
|
||||
To set the disk_migration attribute:
|
||||
▸ provide the argument disk_migration on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Resource location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
--source=SOURCE
|
||||
The client source environment object.
|
||||
|
||||
To set the source attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --source 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 vmmigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/migrate/virtual-machines
|
||||
|
||||
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.
|
||||
|
||||
117
gcloud/alpha/compute/migration/disk-migrations/update
Normal file
117
gcloud/alpha/compute/migration/disk-migrations/update
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
NAME
|
||||
gcloud alpha compute migration disk-migrations update - update a disk
|
||||
migration resource target details
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute migration disk-migrations update
|
||||
(DISK_MIGRATION : --location=LOCATION --source=SOURCE)
|
||||
[--disk-id=DISK_ID] [--disk-type=DISK_TYPE] [--kms-key=KMS_KEY]
|
||||
[--labels=[KEY=VALUE,...]] [--target-project=TARGET_PROJECT]
|
||||
[--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute migration disk-migrations update updates a
|
||||
disk migration resource. To use this command, you must enable VM Migration
|
||||
API in your project.
|
||||
|
||||
EXAMPLES
|
||||
To update a disk migration resource my-disk-migration from AWS source
|
||||
my-aws-source disk type to pd-ssd, run:
|
||||
|
||||
$ gcloud alpha compute migration disk-migrations update \
|
||||
my-disk-migration --project=my-project --location=us-central1 \
|
||||
--source=my-aws-source --disk-type=COMPUTE_ENGINE_DISK_TYPE_SSD
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Disk migration resource - The disk migration resource you want to udpate.
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
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 disk_migration 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.
|
||||
|
||||
DISK_MIGRATION
|
||||
ID of the disk_migration or fully qualified identifier for the
|
||||
disk_migration.
|
||||
|
||||
To set the disk_migration attribute:
|
||||
▸ provide the argument disk_migration on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Resource location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
--source=SOURCE
|
||||
The client source environment object.
|
||||
|
||||
To set the source attribute:
|
||||
▸ provide the argument disk_migration on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --source on the command line.
|
||||
|
||||
FLAGS
|
||||
--disk-id=DISK_ID
|
||||
The ID of the disk that will be migrated to Compute Engine. The default
|
||||
value is the disk migration resource name.
|
||||
|
||||
--disk-type=DISK_TYPE
|
||||
The Compute Engine disk type to use for the migrated disk. The default
|
||||
value is COMPUTE_ENGINE_DISK_TYPE_STANDARD. DISK_TYPE must be one of:
|
||||
|
||||
compute-engine-disk-type-balanced
|
||||
Compute Engine Disk Type Balanced.
|
||||
compute-engine-disk-type-hyperdisk-balanced
|
||||
Compute Engine Disk Type hyperdisk-balanced.
|
||||
compute-engine-disk-type-ssd
|
||||
Compute Engine Disk Type SSD.
|
||||
compute-engine-disk-type-standard
|
||||
Compute Engine Disk Type Standard.
|
||||
|
||||
--kms-key=KMS_KEY
|
||||
Fully qualified identifier for the Cloud KMS (Key Management Service)
|
||||
cryptokey that will be used to protect the disk.
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
A map of labels to associate with the disk.
|
||||
|
||||
--target-project=TARGET_PROJECT
|
||||
The target project resource path to which the disk will be migrated.
|
||||
Default is the host project. To get a list of the target projects run
|
||||
the gcloud alpha migration vms target-projects list command.
|
||||
|
||||
--zone=ZONE
|
||||
The zone in which to create the disk. The default value is the first
|
||||
zone of the Google Cloud location parameter given.
|
||||
|
||||
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 vmmigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/migrate/virtual-machines
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -20,6 +20,9 @@ GCLOUD WIDE FLAGS
|
|||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
disk-migrations
|
||||
(ALPHA) Migrates disks to Compute Engine.
|
||||
|
||||
image-imports
|
||||
(ALPHA) Imports images to Google Compute Engine from Google Cloud
|
||||
Storage.
|
||||
|
|
|
|||
|
|
@ -4,8 +4,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute reservations sub-blocks describe RESERVATION
|
||||
--block-name=BLOCK_NAME --sub-block-name=SUB_BLOCK_NAME [--zone=ZONE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
--block-name=BLOCK_NAME --sub-block-name=SUB_BLOCK_NAME
|
||||
[--full-view=FULL_VIEW; default="SUB_BLOCK_VIEW_UNSPECIFIED"]
|
||||
[--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe a Compute Engine reservation sub-block.
|
||||
|
|
@ -30,6 +31,14 @@ REQUIRED FLAGS
|
|||
The name of the reservation sub block.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--full-view=FULL_VIEW; default="SUB_BLOCK_VIEW_UNSPECIFIED"
|
||||
The view type for the reservation sub-block. FULL_VIEW must be one of:
|
||||
|
||||
SUB_BLOCK_VIEW_BASIC
|
||||
Basic default view of the reservation sub-block.
|
||||
SUB_BLOCK_VIEW_FULL
|
||||
Full detailed view of the reservation sub-block.
|
||||
|
||||
--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
|
||||
|
|
|
|||
|
|
@ -101,7 +101,11 @@ OPTIONAL FLAGS
|
|||
CLOUDSDK_COMPUTE_REGION.
|
||||
|
||||
--resource-manager-tags=[KEY=VALUE,...]
|
||||
A comma-separated list of Resource Manager tags to apply to the router.
|
||||
Comma-separated list of Resource Manager tags to attach to the router.
|
||||
Key-value pairs must be provided in the form
|
||||
tagKeys/{TagKey_Numeric_ID}=tagValues/{TagValue_Numeric_ID}. See
|
||||
Listing tag keys
|
||||
(https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#listing_keys).
|
||||
|
||||
--set-advertisement-groups=[GROUP,...]
|
||||
The list of pre-defined groups of IP ranges to dynamically advertise on
|
||||
|
|
|
|||
|
|
@ -15,11 +15,12 @@ SYNOPSIS
|
|||
[--layer7-ddos-defense-rule-visibility=VISIBILITY_TYPE]
|
||||
[--log-level=LOG_LEVEL]
|
||||
[--network-ddos-adaptive-protection=NETWORK_DDOS_ADAPTIVE_PROTECTION]
|
||||
[--network-ddos-impacted-baseline-threshold=NETWORK_DDOS_IMPACTED_BASELINE_THRESHOLD]
|
||||
[--network-ddos-protection=NETWORK_DDOS_PROTECTION]
|
||||
[--recaptcha-redirect-site-key=RECAPTCHA_REDIRECT_SITE_KEY]
|
||||
[--request-body-inspection-size=REQUEST_BODY_INSPECTION_SIZE]
|
||||
[--user-ip-request-headers=[USER_IP_REQUEST_HEADER,...]]
|
||||
[--clear-network-ddos-impacted-baseline-threshold
|
||||
| --network-ddos-impacted-baseline-threshold=NETWORK_DDOS_IMPACTED_BASELINE_THRESHOLD]
|
||||
[--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -91,10 +92,6 @@ FLAGS
|
|||
instances with external IPs. NETWORK_DDOS_ADAPTIVE_PROTECTION must be
|
||||
one of: DISABLED, ENABLED, PREVIEW.
|
||||
|
||||
--network-ddos-impacted-baseline-threshold=NETWORK_DDOS_IMPACTED_BASELINE_THRESHOLD
|
||||
Threshold below which rules with collateral damage below this value
|
||||
will be deployed
|
||||
|
||||
--network-ddos-protection=NETWORK_DDOS_PROTECTION
|
||||
The DDoS protection level for network load balancing and instances with
|
||||
external IPs. NETWORK_DDOS_PROTECTION must be one of: STANDARD,
|
||||
|
|
@ -112,6 +109,16 @@ FLAGS
|
|||
A comma-separated list of request header names to use for resolving the
|
||||
caller's user IP address.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-network-ddos-impacted-baseline-threshold
|
||||
If provided, clears the Network DDoS impacted baseline threshold from
|
||||
the security policy.
|
||||
|
||||
--network-ddos-impacted-baseline-threshold=NETWORK_DDOS_IMPACTED_BASELINE_THRESHOLD
|
||||
Threshold below which rules with collateral damage below this value
|
||||
will be deployed
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--global
|
||||
|
|
|
|||
|
|
@ -11,7 +11,10 @@ SYNOPSIS
|
|||
--platform-config-file=PLATFORM_CONFIG_FILE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a new Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) This command is being deprecated. Please use gcloud
|
||||
compute tpus tpu-vm create instead.
|
||||
|
||||
Create a new Cloud TPU.
|
||||
|
||||
EXAMPLES
|
||||
The following command creates a TPU with ID my-tpu in the default user
|
||||
|
|
|
|||
|
|
@ -6,7 +6,10 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Deletes a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) This command is being deprecated. Please use gcloud
|
||||
compute tpus tpu-vm delete instead.
|
||||
|
||||
Deletes a Cloud TPU.
|
||||
|
||||
EXAMPLES
|
||||
The following command deletes a TPU with ID my-tpu in zone us-central1-b:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,10 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) This command is being deprecated. Please use gcloud
|
||||
compute tpus tpu-vm describe instead.
|
||||
|
||||
Describe a Cloud TPU.
|
||||
|
||||
EXAMPLES
|
||||
The following command describes a TPU with ID my-tpu in zone us-central1-b:
|
||||
|
|
|
|||
|
|
@ -50,25 +50,25 @@ COMMANDS
|
|||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(ALPHA) Create a new Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) Create a new Cloud TPU.
|
||||
|
||||
delete
|
||||
(ALPHA) Deletes a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) Deletes a Cloud TPU.
|
||||
|
||||
describe
|
||||
(ALPHA) Describe a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) Describe a Cloud TPU.
|
||||
|
||||
list
|
||||
(ALPHA) List Cloud TPUs.
|
||||
(ALPHA) (DEPRECATED) List Cloud TPUs.
|
||||
|
||||
reimage
|
||||
(ALPHA) Reimages the OS on a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) Reimages the OS on a Cloud TPU.
|
||||
|
||||
start
|
||||
(ALPHA) Start a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) Start a Cloud TPU.
|
||||
|
||||
stop
|
||||
(ALPHA) Stop a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) Stop a Cloud TPU.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List Cloud TPUs
|
||||
(ALPHA) (DEPRECATED) This command is being deprecated. Please use gcloud
|
||||
compute tpus tpu-vm list instead.
|
||||
|
||||
List Cloud TPUs
|
||||
|
||||
EXAMPLES
|
||||
The following command lists the status of TPUs in zone us-central1-b:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,10 @@ SYNOPSIS
|
|||
[--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Reimages the OS on a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) This command is being deprecated. Please use gcloud
|
||||
compute tpus tpu-vm reimage instead.
|
||||
|
||||
Reimages the OS on a Cloud TPU.
|
||||
|
||||
EXAMPLES
|
||||
The following command reimages a TPU with ID my-tpu in zone us-central1-b
|
||||
|
|
|
|||
|
|
@ -6,7 +6,10 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Start a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) This command is being deprecated. Please use gcloud
|
||||
compute tpus tpu-vm start instead.
|
||||
|
||||
Start a Cloud TPU.
|
||||
|
||||
EXAMPLES
|
||||
The following command starts a TPU with ID my-tpu in zone us-central1-b:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,10 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Stop a Cloud TPU.
|
||||
(ALPHA) (DEPRECATED) This command is being deprecated. Please use gcloud
|
||||
compute tpus tpu-vm stop instead.
|
||||
|
||||
Stop a Cloud TPU.
|
||||
|
||||
EXAMPLES
|
||||
The following command stops a TPU with ID my-tpu in zone us-central1-b:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue