Class VmMigrationGrpc.VmMigrationStub (1.29.0)

public static final class VmMigrationGrpc.VmMigrationStub extends AbstractAsyncStub<VmMigrationGrpc.VmMigrationStub>

A stub to allow clients to do asynchronous rpc calls to service VmMigration.

VM Migration Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > VmMigrationGrpc.VmMigrationStub

Methods

addGroupMigration(AddGroupMigrationRequest request, StreamObserver<Operation> responseObserver)

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

Adds a MigratingVm to a Group.

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

build(Channel channel, CallOptions callOptions)

protected VmMigrationGrpc.VmMigrationStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
VmMigrationGrpc.VmMigrationStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelCloneJob(CancelCloneJobRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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>