ProjectsLocationsSourcesMigratingVms
class ProjectsLocationsSourcesMigratingVms extends Resource (View source)
The "migratingVms" collection of methods.
Typical usage is:
$vmmigrationService = new Google\Service\VMMigrationService(...);
$migratingVms = $vmmigrationService->projects_locations_sources_migratingVms;
Methods
Creates a new MigratingVm in a given Source. (migratingVms.create)
Deletes a single MigratingVm. (migratingVms.delete)
Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
Gets details of a single MigratingVm. (migratingVms.get)
Lists MigratingVms in a given Source.
Updates the parameters of a single MigratingVm. (migratingVms.patch)
Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused. (migratingVms.pauseMigration)
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.
Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.
Details
Operation
create(string $parent, MigratingVm $postBody, array $optParams = [])
Creates a new MigratingVm in a given Source. (migratingVms.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single MigratingVm. (migratingVms.delete)
Operation
finalizeMigration(string $migratingVm, FinalizeMigrationRequest $postBody, array $optParams = [])
Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
(migratingVms.finalizeMigration)
MigratingVm
get(string $name, array $optParams = [])
Gets details of a single MigratingVm. (migratingVms.get)
ListMigratingVmsResponse
listProjectsLocationsSourcesMigratingVms(string $parent, array $optParams = [])
Lists MigratingVms in a given Source.
(migratingVms.listProjectsLocationsSourcesMigratingVms)
Operation
patch(string $name, MigratingVm $postBody, array $optParams = [])
Updates the parameters of a single MigratingVm. (migratingVms.patch)
Operation
pauseMigration(string $migratingVm, PauseMigrationRequest $postBody, array $optParams = [])
Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused. (migratingVms.pauseMigration)
Operation
resumeMigration(string $migratingVm, ResumeMigrationRequest $postBody, array $optParams = [])
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.
(migratingVms.resumeMigration)
Operation
startMigration(string $migratingVm, StartMigrationRequest $postBody, array $optParams = [])
Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.
(migratingVms.startMigration)