Interface VmMigrationGrpc.AsyncService (1.51.0)

public static interface VmMigrationGrpc.AsyncService

VM Migration Service

Methods

addGroupMigration(AddGroupMigrationRequest request, StreamObserver<Operation> responseObserver)

public default void addGroupMigration(AddGroupMigrationRequest request, StreamObserver<Operation> responseObserver)

Adds a MigratingVm to a Group.

Parameters
Name Description
request AddGroupMigrationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

cancelCloneJob(CancelCloneJobRequest request, StreamObserver<Operation> responseObserver)

public default void cancelCloneJob(CancelCloneJobRequest request, StreamObserver<Operation> responseObserver)

Initiates the cancellation of a running clone job.

Parameters
Name Description
request CancelCloneJobRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

cancelCutoverJob(CancelCutoverJobRequest request, StreamObserver<Operation> responseObserver)

public default void cancelCutoverJob(CancelCutoverJobRequest request, StreamObserver<Operation> responseObserver)

Initiates the cancellation of a running cutover job.

Parameters
Name Description
request CancelCutoverJobRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createCloneJob(CreateCloneJobRequest request, StreamObserver<Operation> responseObserver)

public default void createCloneJob(CreateCloneJobRequest request, StreamObserver<Operation> responseObserver)

Initiates a Clone of a specific migrating VM.

Parameters
Name Description
request CreateCloneJobRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createCutoverJob(CreateCutoverJobRequest request, StreamObserver<Operation> responseObserver)

public default void createCutoverJob(CreateCutoverJobRequest request, StreamObserver<Operation> responseObserver)

Initiates a Cutover of a specific migrating VM. The returned LRO is completed when the cutover job resource is created and the job is initiated.

Parameters
Name Description
request CreateCutoverJobRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createDatacenterConnector(CreateDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)

public default void createDatacenterConnector(CreateDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)

Creates a new DatacenterConnector in a given Source.

Parameters
Name Description
request CreateDatacenterConnectorRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createGroup(CreateGroupRequest request, StreamObserver<Operation> responseObserver)

public default void createGroup(CreateGroupRequest request, StreamObserver<Operation> responseObserver)

Creates a new Group in a given project and location.

Parameters
Name Description
request CreateGroupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createMigratingVm(CreateMigratingVmRequest request, StreamObserver<Operation> responseObserver)

public default void createMigratingVm(CreateMigratingVmRequest request, StreamObserver<Operation> responseObserver)

Creates a new MigratingVm in a given Source.

Parameters
Name Description
request CreateMigratingVmRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createSource(CreateSourceRequest request, StreamObserver<Operation> responseObserver)

public default void createSource(CreateSourceRequest request, StreamObserver<Operation> responseObserver)

Creates a new Source in a given project and location.

Parameters
Name Description
request CreateSourceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createTargetProject(CreateTargetProjectRequest request, StreamObserver<Operation> responseObserver)

public default void createTargetProject(CreateTargetProjectRequest request, StreamObserver<Operation> responseObserver)

Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is global.

Parameters
Name Description
request CreateTargetProjectRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createUtilizationReport(CreateUtilizationReportRequest request, StreamObserver<Operation> responseObserver)

public default void createUtilizationReport(CreateUtilizationReportRequest request, StreamObserver<Operation> responseObserver)

Creates a new UtilizationReport.

Parameters
Name Description
request CreateUtilizationReportRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteDatacenterConnector(DeleteDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)

public default void deleteDatacenterConnector(DeleteDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)

Deletes a single DatacenterConnector.

Parameters
Name Description
request DeleteDatacenterConnectorRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteGroup(DeleteGroupRequest request, StreamObserver<Operation> responseObserver)

public default void deleteGroup(DeleteGroupRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Group.

Parameters
Name Description
request DeleteGroupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteMigratingVm(DeleteMigratingVmRequest request, StreamObserver<Operation> responseObserver)

public default void deleteMigratingVm(DeleteMigratingVmRequest request, StreamObserver<Operation> responseObserver)

Deletes a single MigratingVm.

Parameters
Name Description
request DeleteMigratingVmRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteSource(DeleteSourceRequest request, StreamObserver<Operation> responseObserver)

public default void deleteSource(DeleteSourceRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Source.

Parameters
Name Description
request DeleteSourceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteTargetProject(DeleteTargetProjectRequest request, StreamObserver<Operation> responseObserver)

public default void deleteTargetProject(DeleteTargetProjectRequest request, StreamObserver<Operation> responseObserver)

Deletes a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is global.

Parameters
Name Description
request DeleteTargetProjectRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteUtilizationReport(DeleteUtilizationReportRequest request, StreamObserver<Operation> responseObserver)

public default void deleteUtilizationReport(DeleteUtilizationReportRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Utilization Report.

Parameters
Name Description
request DeleteUtilizationReportRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

fetchInventory(FetchInventoryRequest request, StreamObserver<FetchInventoryResponse> responseObserver)

public default void fetchInventory(FetchInventoryRequest request, StreamObserver<FetchInventoryResponse> responseObserver)

List remote source's inventory of VMs. The remote source is the onprem vCenter (remote in the sense it's not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.

Parameters
Name Description
request FetchInventoryRequest
responseObserver io.grpc.stub.StreamObserver<FetchInventoryResponse>

finalizeMigration(FinalizeMigrationRequest request, StreamObserver<Operation> responseObserver)

public default void finalizeMigration(FinalizeMigrationRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request FinalizeMigrationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getCloneJob(GetCloneJobRequest request, StreamObserver<CloneJob> responseObserver)

public default void getCloneJob(GetCloneJobRequest request, StreamObserver<CloneJob> responseObserver)

Gets details of a single CloneJob.

Parameters
Name Description
request GetCloneJobRequest
responseObserver io.grpc.stub.StreamObserver<CloneJob>

getCutoverJob(GetCutoverJobRequest request, StreamObserver<CutoverJob> responseObserver)

public default void getCutoverJob(GetCutoverJobRequest request, StreamObserver<CutoverJob> responseObserver)

Gets details of a single CutoverJob.

Parameters
Name Description
request GetCutoverJobRequest
responseObserver io.grpc.stub.StreamObserver<CutoverJob>

getDatacenterConnector(GetDatacenterConnectorRequest request, StreamObserver<DatacenterConnector> responseObserver)

public default void getDatacenterConnector(GetDatacenterConnectorRequest request, StreamObserver<DatacenterConnector> responseObserver)

Gets details of a single DatacenterConnector.

Parameters
Name Description
request GetDatacenterConnectorRequest
responseObserver io.grpc.stub.StreamObserver<DatacenterConnector>

getGroup(GetGroupRequest request, StreamObserver<Group> responseObserver)

public default void getGroup(GetGroupRequest request, StreamObserver<Group> responseObserver)

Gets details of a single Group.

Parameters
Name Description
request GetGroupRequest
responseObserver io.grpc.stub.StreamObserver<Group>

getMigratingVm(GetMigratingVmRequest request, StreamObserver<MigratingVm> responseObserver)

public default void getMigratingVm(GetMigratingVmRequest request, StreamObserver<MigratingVm> responseObserver)

Gets details of a single MigratingVm.

Parameters
Name Description
request GetMigratingVmRequest
responseObserver io.grpc.stub.StreamObserver<MigratingVm>

getReplicationCycle(GetReplicationCycleRequest request, StreamObserver<ReplicationCycle> responseObserver)

public default void getReplicationCycle(GetReplicationCycleRequest request, StreamObserver<ReplicationCycle> responseObserver)

Gets details of a single ReplicationCycle.

Parameters
Name Description
request GetReplicationCycleRequest
responseObserver io.grpc.stub.StreamObserver<ReplicationCycle>

getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)

public default void getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)

Gets details of a single Source.

Parameters
Name Description
request GetSourceRequest
responseObserver io.grpc.stub.StreamObserver<Source>

getTargetProject(GetTargetProjectRequest request, StreamObserver<TargetProject> responseObserver)

public default void getTargetProject(GetTargetProjectRequest request, StreamObserver<TargetProject> responseObserver)

Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is global.

Parameters
Name Description
request GetTargetProjectRequest
responseObserver io.grpc.stub.StreamObserver<TargetProject>

getUtilizationReport(GetUtilizationReportRequest request, StreamObserver<UtilizationReport> responseObserver)

public default void getUtilizationReport(GetUtilizationReportRequest request, StreamObserver<UtilizationReport> responseObserver)

Gets a single Utilization Report.

Parameters
Name Description
request GetUtilizationReportRequest
responseObserver io.grpc.stub.StreamObserver<UtilizationReport>

listCloneJobs(ListCloneJobsRequest request, StreamObserver<ListCloneJobsResponse> responseObserver)

public default void listCloneJobs(ListCloneJobsRequest request, StreamObserver<ListCloneJobsResponse> responseObserver)

Lists CloneJobs of a given migrating VM.

Parameters
Name Description
request ListCloneJobsRequest
responseObserver io.grpc.stub.StreamObserver<ListCloneJobsResponse>

listCutoverJobs(ListCutoverJobsRequest request, StreamObserver<ListCutoverJobsResponse> responseObserver)

public default void listCutoverJobs(ListCutoverJobsRequest request, StreamObserver<ListCutoverJobsResponse> responseObserver)

Lists CutoverJobs of a given migrating VM.

Parameters
Name Description
request ListCutoverJobsRequest
responseObserver io.grpc.stub.StreamObserver<ListCutoverJobsResponse>

listDatacenterConnectors(ListDatacenterConnectorsRequest request, StreamObserver<ListDatacenterConnectorsResponse> responseObserver)

public default void listDatacenterConnectors(ListDatacenterConnectorsRequest request, StreamObserver<ListDatacenterConnectorsResponse> responseObserver)

Lists DatacenterConnectors in a given Source.

Parameters
Name Description
request ListDatacenterConnectorsRequest
responseObserver io.grpc.stub.StreamObserver<ListDatacenterConnectorsResponse>

listGroups(ListGroupsRequest request, StreamObserver<ListGroupsResponse> responseObserver)

public default void listGroups(ListGroupsRequest request, StreamObserver<ListGroupsResponse> responseObserver)

Lists Groups in a given project and location.

Parameters
Name Description
request ListGroupsRequest
responseObserver io.grpc.stub.StreamObserver<ListGroupsResponse>

listMigratingVms(ListMigratingVmsRequest request, StreamObserver<ListMigratingVmsResponse> responseObserver)

public default void listMigratingVms(ListMigratingVmsRequest request, StreamObserver<ListMigratingVmsResponse> responseObserver)

Lists MigratingVms in a given Source.

Parameters
Name Description
request ListMigratingVmsRequest
responseObserver io.grpc.stub.StreamObserver<ListMigratingVmsResponse>

listReplicationCycles(ListReplicationCyclesRequest request, StreamObserver<ListReplicationCyclesResponse> responseObserver)

public default void listReplicationCycles(ListReplicationCyclesRequest request, StreamObserver<ListReplicationCyclesResponse> responseObserver)

Lists ReplicationCycles in a given MigratingVM.

Parameters
Name Description
request ListReplicationCyclesRequest
responseObserver io.grpc.stub.StreamObserver<ListReplicationCyclesResponse>

listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)

public default void listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)

Lists Sources in a given project and location.

Parameters
Name Description
request ListSourcesRequest
responseObserver io.grpc.stub.StreamObserver<ListSourcesResponse>

listTargetProjects(ListTargetProjectsRequest request, StreamObserver<ListTargetProjectsResponse> responseObserver)

public default void listTargetProjects(ListTargetProjectsRequest request, StreamObserver<ListTargetProjectsResponse> responseObserver)

Lists TargetProjects in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is global.

Parameters
Name Description
request ListTargetProjectsRequest
responseObserver io.grpc.stub.StreamObserver<ListTargetProjectsResponse>

listUtilizationReports(ListUtilizationReportsRequest request, StreamObserver<ListUtilizationReportsResponse> responseObserver)

public default void listUtilizationReports(ListUtilizationReportsRequest request, StreamObserver<ListUtilizationReportsResponse> responseObserver)

Lists Utilization Reports of the given Source.

Parameters
Name Description
request ListUtilizationReportsRequest
responseObserver io.grpc.stub.StreamObserver<ListUtilizationReportsResponse>

pauseMigration(PauseMigrationRequest request, StreamObserver<Operation> responseObserver)

public default void pauseMigration(PauseMigrationRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request PauseMigrationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

removeGroupMigration(RemoveGroupMigrationRequest request, StreamObserver<Operation> responseObserver)

public default void removeGroupMigration(RemoveGroupMigrationRequest request, StreamObserver<Operation> responseObserver)

Removes a MigratingVm from a Group.

Parameters
Name Description
request RemoveGroupMigrationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

resumeMigration(ResumeMigrationRequest request, StreamObserver<Operation> responseObserver)

public default void resumeMigration(ResumeMigrationRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request ResumeMigrationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

startMigration(StartMigrationRequest request, StreamObserver<Operation> responseObserver)

public default void startMigration(StartMigrationRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request StartMigrationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateGroup(UpdateGroupRequest request, StreamObserver<Operation> responseObserver)

public default void updateGroup(UpdateGroupRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Group.

Parameters
Name Description
request UpdateGroupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateMigratingVm(UpdateMigratingVmRequest request, StreamObserver<Operation> responseObserver)

public default void updateMigratingVm(UpdateMigratingVmRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single MigratingVm.

Parameters
Name Description
request UpdateMigratingVmRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateSource(UpdateSourceRequest request, StreamObserver<Operation> responseObserver)

public default void updateSource(UpdateSourceRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Source.

Parameters
Name Description
request UpdateSourceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateTargetProject(UpdateTargetProjectRequest request, StreamObserver<Operation> responseObserver)

public default void updateTargetProject(UpdateTargetProjectRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is global.

Parameters
Name Description
request UpdateTargetProjectRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

upgradeAppliance(UpgradeApplianceRequest request, StreamObserver<Operation> responseObserver)

public default void upgradeAppliance(UpgradeApplianceRequest request, StreamObserver<Operation> responseObserver)

Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.

Parameters
Name Description
request UpgradeApplianceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>