gcloud vmware private-clouds migrate-management-vms

NAME
gcloud vmware private-clouds migrate-management-vms - migrate the management VMs of a private cloud to a workload cluster
SYNOPSIS
gcloud vmware private-clouds migrate-management-vms (PRIVATE_CLOUD : --location=LOCATION) --cluster=CLUSTER [--async] [GCLOUD_WIDE_FLAG]
DESCRIPTION
Migrate the management VMs of a private cloud from the current management cluster to a workload cluster. Post this migration, the provided workload cluster becomes the management cluster for the private cloud.
EXAMPLES
To migrate management VMs of the private cloud my-private-cloud from the management cluster to the workload cluster my-cluster, run:
gcloud vmware private-clouds migrate-management-vms my-private-cloud --cluster=my-cluster --location=us-west1-a --project=my-project

Or:

gcloud vmware private-clouds migrate-management-vms my-private-cloud --cluster=my-cluster

In the second example, the project and location are taken from gcloud properties core/project and compute/zone.

POSITIONAL ARGUMENTS
Private cloud resource - private_cloud. 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 private_cloud 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.

PRIVATE_CLOUD
ID of the private cloud or fully qualified identifier for the private cloud.

To set the private-cloud attribute:

  • provide the argument private_cloud on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--location=LOCATION
Location of the private cloud or cluster.

To set the location attribute:

  • provide the argument private_cloud on the command line with a fully specified name;
  • provide the argument --location on the command line;
  • set the property compute/zone.
REQUIRED FLAGS
--cluster=CLUSTER
The ID of the cluster to migrate the management VMs to.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete. The default is True. Enabled by default, use --no-async to disable.
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.