Version 5.0

Method: projects.locations.sources.migratingVms.startMigration

Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.

HTTP request

POST https://vmmigration.googleapis.com/v1alpha1/{migratingVm=projects/*/locations/*/sources/*/migratingVms/*}:startMigration

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
migratingVm

string

Required. The name of the MigratingVm.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.