1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-15 17:35:31 +00:00
gcloud-help/gcloud/alpha/compute/migration/disk-migrations/run
2025-10-08 11:07:39 +00:00

78 lines
3 KiB
Text

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.