Method: projects.locations.sources.migratingVms.finalizeMigration

Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.

HTTP request

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

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.