Use the Migrate to Virtual Machines API to programmatically migrate workloads.
- REST Resource: v1.projects.locations
- REST Resource: v1.projects.locations.groups
- REST Resource: v1.projects.locations.imageImports
- REST Resource: v1.projects.locations.imageImports.imageImportJobs
- REST Resource: v1.projects.locations.operations
- REST Resource: v1.projects.locations.sources
- REST Resource: v1.projects.locations.sources.datacenterConnectors
- REST Resource: v1.projects.locations.sources.migratingVms
- REST Resource: v1.projects.locations.sources.migratingVms.cloneJobs
- REST Resource: v1.projects.locations.sources.migratingVms.cutoverJobs
- REST Resource: v1.projects.locations.sources.migratingVms.replicationCycles
- REST Resource: v1.projects.locations.sources.utilizationReports
- REST Resource: v1.projects.locations.targetProjects
Service: vmmigration.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://vmmigration.googleapis.com
REST Resource: v1.projects.locations
| Methods | |
|---|---|
| get | GET /v1/{name=projects/*/locations/*}Gets information about a location. | 
| list | GET /v1/{name=projects/*}/locationsLists information about the supported locations for this service. | 
REST Resource: v1.projects.locations.groups
| Methods | |
|---|---|
| addGroupMigration | POST /v1/{group=projects/*/locations/*/groups/*}:addGroupMigrationAdds a MigratingVm to a Group. | 
| create | POST /v1/{parent=projects/*/locations/*}/groupsCreates a new Group in a given project and location. | 
| delete | DELETE /v1/{name=projects/*/locations/*/groups/*}Deletes a single Group. | 
| get | GET /v1/{name=projects/*/locations/*/groups/*}Gets details of a single Group. | 
| list | GET /v1/{parent=projects/*/locations/*}/groupsLists Groups in a given project and location. | 
| patch | PATCH /v1/{group.name=projects/*/locations/*/groups/*}Updates the parameters of a single Group. | 
| removeGroupMigration | POST /v1/{group=projects/*/locations/*/groups/*}:removeGroupMigrationRemoves a MigratingVm from a Group. | 
REST Resource: v1.projects.locations.imageImports
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*}/imageImportsCreates a new ImageImport in a given project. | 
| delete | DELETE /v1/{name=projects/*/locations/*/imageImports/*}Deletes a single ImageImport. | 
| get | GET /v1/{name=projects/*/locations/*/imageImports/*}Gets details of a single ImageImport. | 
| list | GET /v1/{parent=projects/*/locations/*}/imageImportsLists ImageImports in a given project. | 
REST Resource: v1.projects.locations.imageImports.imageImportJobs
| Methods | |
|---|---|
| cancel | POST /v1/{name=projects/*/locations/*/imageImports/*/imageImportJobs/*}:cancelInitiates the cancellation of a running clone job. | 
| get | GET /v1/{name=projects/*/locations/*/imageImports/*/imageImportJobs/*}Gets details of a single ImageImportJob. | 
| list | GET /v1/{parent=projects/*/locations/*/imageImports/*}/imageImportJobsLists ImageImportJobs in a given project. | 
REST Resource: v1.projects.locations.operations
| Methods | |
|---|---|
| cancel | POST /v1/{name=projects/*/locations/*/operations/*}:cancelStarts asynchronous cancellation on a long-running operation. | 
| delete | DELETE /v1/{name=projects/*/locations/*/operations/*}Deletes a long-running operation. | 
| get | GET /v1/{name=projects/*/locations/*/operations/*}Gets the latest state of a long-running operation. | 
| list | GET /v1/{name=projects/*/locations/*}/operationsLists operations that match the specified filter in the request. | 
REST Resource: v1.projects.locations.sources
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*}/sourcesCreates a new Source in a given project and location. | 
| delete | DELETE /v1/{name=projects/*/locations/*/sources/*}Deletes a single Source. | 
| fetchInventory | GET /v1/{source=projects/*/locations/*/sources/*}:fetchInventoryList remote source's inventory of VMs. | 
| get | GET /v1/{name=projects/*/locations/*/sources/*}Gets details of a single Source. | 
| list | GET /v1/{parent=projects/*/locations/*}/sourcesLists Sources in a given project and location. | 
| patch | PATCH /v1/{source.name=projects/*/locations/*/sources/*}Updates the parameters of a single Source. | 
REST Resource: v1.projects.locations.sources.datacenterConnectors
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*/sources/*}/datacenterConnectorsCreates a new DatacenterConnector in a given Source. | 
| delete | DELETE /v1/{name=projects/*/locations/*/sources/*/datacenterConnectors/*}Deletes a single DatacenterConnector. | 
| get | GET /v1/{name=projects/*/locations/*/sources/*/datacenterConnectors/*}Gets details of a single DatacenterConnector. | 
| list | GET /v1/{parent=projects/*/locations/*/sources/*}/datacenterConnectorsLists DatacenterConnectors in a given Source. | 
| upgradeAppliance | POST /v1/{datacenterConnector=projects/*/locations/*/sources/*/datacenterConnectors/*}:upgradeApplianceUpgrades the appliance relate to this DatacenterConnector to the in-place updateable version. | 
REST Resource: v1.projects.locations.sources.migratingVms
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*/sources/*}/migratingVmsCreates a new MigratingVm in a given Source. | 
| delete | DELETE /v1/{name=projects/*/locations/*/sources/*/migratingVms/*}Deletes a single MigratingVm. | 
| finalizeMigration | POST /v1/{migratingVm=projects/*/locations/*/sources/*/migratingVms/*}:finalizeMigrationMarks a migration as completed, deleting migration resources that are no longer being used. | 
| get | GET /v1/{name=projects/*/locations/*/sources/*/migratingVms/*}Gets details of a single MigratingVm. | 
| list | GET /v1/{parent=projects/*/locations/*/sources/*}/migratingVmsLists MigratingVms in a given Source. | 
| patch | PATCH /v1/{migratingVm.name=projects/*/locations/*/sources/*/migratingVms/*}Updates the parameters of a single MigratingVm. | 
| pauseMigration | POST /v1/{migratingVm=projects/*/locations/*/sources/*/migratingVms/*}:pauseMigrationPauses a migration for a VM. | 
| resumeMigration | POST /v1/{migratingVm=projects/*/locations/*/sources/*/migratingVms/*}:resumeMigrationResumes a migration for a VM. | 
| startMigration | POST /v1/{migratingVm=projects/*/locations/*/sources/*/migratingVms/*}:startMigrationStarts migration for a VM. | 
REST Resource: v1.projects.locations.sources.migratingVms.cloneJobs
| Methods | |
|---|---|
| cancel | POST /v1/{name=projects/*/locations/*/sources/*/migratingVms/*/cloneJobs/*}:cancelInitiates the cancellation of a running clone job. | 
| create | POST /v1/{parent=projects/*/locations/*/sources/*/migratingVms/*}/cloneJobsInitiates a Clone of a specific migrating VM. | 
| get | GET /v1/{name=projects/*/locations/*/sources/*/migratingVms/*/cloneJobs/*}Gets details of a single CloneJob. | 
| list | GET /v1/{parent=projects/*/locations/*/sources/*/migratingVms/*}/cloneJobsLists the CloneJobs of a migrating VM. | 
REST Resource: v1.projects.locations.sources.migratingVms.cutoverJobs
| Methods | |
|---|---|
| cancel | POST /v1/{name=projects/*/locations/*/sources/*/migratingVms/*/cutoverJobs/*}:cancelInitiates the cancellation of a running cutover job. | 
| create | POST /v1/{parent=projects/*/locations/*/sources/*/migratingVms/*}/cutoverJobsInitiates a Cutover of a specific migrating VM. | 
| get | GET /v1/{name=projects/*/locations/*/sources/*/migratingVms/*/cutoverJobs/*}Gets details of a single CutoverJob. | 
| list | GET /v1/{parent=projects/*/locations/*/sources/*/migratingVms/*}/cutoverJobsLists the CutoverJobs of a migrating VM. | 
REST Resource: v1.projects.locations.sources.migratingVms.replicationCycles
| Methods | |
|---|---|
| get | GET /v1/{name=projects/*/locations/*/sources/*/migratingVms/*/replicationCycles/*}Gets details of a single ReplicationCycle. | 
| list | GET /v1/{parent=projects/*/locations/*/sources/*/migratingVms/*}/replicationCyclesLists ReplicationCycles in a given MigratingVM. | 
REST Resource: v1.projects.locations.sources.utilizationReports
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*/sources/*}/utilizationReportsCreates a new UtilizationReport. | 
| delete | DELETE /v1/{name=projects/*/locations/*/sources/*/utilizationReports/*}Deletes a single Utilization Report. | 
| get | GET /v1/{name=projects/*/locations/*/sources/*/utilizationReports/*}Gets a single Utilization Report. | 
| list | GET /v1/{parent=projects/*/locations/*/sources/*}/utilizationReportsLists Utilization Reports of the given Source. | 
REST Resource: v1.projects.locations.targetProjects
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*}/targetProjectsCreates a new TargetProject in a given project. | 
| delete | DELETE /v1/{name=projects/*/locations/*/targetProjects/*}Deletes a single TargetProject. | 
| get | GET /v1/{name=projects/*/locations/*/targetProjects/*}Gets details of a single TargetProject. | 
| list | GET /v1/{parent=projects/*/locations/*}/targetProjectsLists TargetProjects in a given project. | 
| patch | PATCH /v1/{targetProject.name=projects/*/locations/*/targetProjects/*}Updates the parameters of a single TargetProject. |