You are now viewing Migrate to Virtual Machines (formerly Migrate for Compute Engine). For Migrate for Compute Engine versions 4.x, see the 4.x documentation.

Method: projects.locations.sources.migratingVms.resumeMigration

Stay organized with collections Save and categorize content based on your preferences.

Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
migratingVm

string

Required. The name of the MigratingVm.

Authorization requires the following IAM permission on the specified resource migratingVm:

  • vmmigration.migratingVms.update

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.