Interface VmMigrationGrpc.AsyncService (1.27.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
NameDescription
requestAddGroupMigrationRequest
responseObserverio.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
NameDescription
requestCancelCloneJobRequest
responseObserverio.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
NameDescription
requestCancelCutoverJobRequest
responseObserverio.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
NameDescription
requestCreateCloneJobRequest
responseObserverio.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
NameDescription
requestCreateCutoverJobRequest
responseObserverio.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
NameDescription
requestCreateDatacenterConnectorRequest
responseObserverio.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
NameDescription
requestCreateGroupRequest
responseObserverio.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
NameDescription
requestCreateMigratingVmRequest
responseObserverio.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
NameDescription
requestCreateSourceRequest
responseObserverio.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
NameDescription
requestCreateTargetProjectRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createUtilizationReport(CreateUtilizationReportRequest request, StreamObserver<Operation> responseObserver)

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

Creates a new UtilizationReport.

Parameters
NameDescription
requestCreateUtilizationReportRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteDatacenterConnector(DeleteDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single DatacenterConnector.

Parameters
NameDescription
requestDeleteDatacenterConnectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteGroup(DeleteGroupRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single Group.

Parameters
NameDescription
requestDeleteGroupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteMigratingVm(DeleteMigratingVmRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single MigratingVm.

Parameters
NameDescription
requestDeleteMigratingVmRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteSource(DeleteSourceRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single Source.

Parameters
NameDescription
requestDeleteSourceRequest
responseObserverio.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
NameDescription
requestDeleteTargetProjectRequest
responseObserverio.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
NameDescription
requestDeleteUtilizationReportRequest
responseObserverio.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
NameDescription
requestFetchInventoryRequest
responseObserverio.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
NameDescription
requestFinalizeMigrationRequest
responseObserverio.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
NameDescription
requestGetCloneJobRequest
responseObserverio.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
NameDescription
requestGetCutoverJobRequest
responseObserverio.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
NameDescription
requestGetDatacenterConnectorRequest
responseObserverio.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
NameDescription
requestGetGroupRequest
responseObserverio.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
NameDescription
requestGetMigratingVmRequest
responseObserverio.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
NameDescription
requestGetReplicationCycleRequest
responseObserverio.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
NameDescription
requestGetSourceRequest
responseObserverio.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
NameDescription
requestGetTargetProjectRequest
responseObserverio.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
NameDescription
requestGetUtilizationReportRequest
responseObserverio.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
NameDescription
requestListCloneJobsRequest
responseObserverio.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
NameDescription
requestListCutoverJobsRequest
responseObserverio.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
NameDescription
requestListDatacenterConnectorsRequest
responseObserverio.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
NameDescription
requestListGroupsRequest
responseObserverio.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
NameDescription
requestListMigratingVmsRequest
responseObserverio.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
NameDescription
requestListReplicationCyclesRequest
responseObserverio.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
NameDescription
requestListSourcesRequest
responseObserverio.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
NameDescription
requestListTargetProjectsRequest
responseObserverio.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
NameDescription
requestListUtilizationReportsRequest
responseObserverio.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
NameDescription
requestPauseMigrationRequest
responseObserverio.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
NameDescription
requestRemoveGroupMigrationRequest
responseObserverio.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
NameDescription
requestResumeMigrationRequest
responseObserverio.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
NameDescription
requestStartMigrationRequest
responseObserverio.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
NameDescription
requestUpdateGroupRequest
responseObserverio.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
NameDescription
requestUpdateMigratingVmRequest
responseObserverio.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
NameDescription
requestUpdateSourceRequest
responseObserverio.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
NameDescription
requestUpdateTargetProjectRequest
responseObserverio.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
NameDescription
requestUpgradeApplianceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>