Class VmMigrationGrpc.VmMigrationBlockingStub (1.41.0)

public static final class VmMigrationGrpc.VmMigrationBlockingStub extends AbstractBlockingStub<VmMigrationGrpc.VmMigrationBlockingStub>

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

VM Migration Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > VmMigrationGrpc.VmMigrationBlockingStub

Methods

addGroupMigration(AddGroupMigrationRequest request)

public Operation addGroupMigration(AddGroupMigrationRequest request)

Adds a MigratingVm to a Group.

Parameter
NameDescription
requestAddGroupMigrationRequest
Returns
TypeDescription
Operation

build(Channel channel, CallOptions callOptions)

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

cancelCloneJob(CancelCloneJobRequest request)

public Operation cancelCloneJob(CancelCloneJobRequest request)

Initiates the cancellation of a running clone job.

Parameter
NameDescription
requestCancelCloneJobRequest
Returns
TypeDescription
Operation

cancelCutoverJob(CancelCutoverJobRequest request)

public Operation cancelCutoverJob(CancelCutoverJobRequest request)

Initiates the cancellation of a running cutover job.

Parameter
NameDescription
requestCancelCutoverJobRequest
Returns
TypeDescription
Operation

createCloneJob(CreateCloneJobRequest request)

public Operation createCloneJob(CreateCloneJobRequest request)

Initiates a Clone of a specific migrating VM.

Parameter
NameDescription
requestCreateCloneJobRequest
Returns
TypeDescription
Operation

createCutoverJob(CreateCutoverJobRequest request)

public Operation createCutoverJob(CreateCutoverJobRequest request)

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.

Parameter
NameDescription
requestCreateCutoverJobRequest
Returns
TypeDescription
Operation

createDatacenterConnector(CreateDatacenterConnectorRequest request)

public Operation createDatacenterConnector(CreateDatacenterConnectorRequest request)

Creates a new DatacenterConnector in a given Source.

Parameter
NameDescription
requestCreateDatacenterConnectorRequest
Returns
TypeDescription
Operation

createGroup(CreateGroupRequest request)

public Operation createGroup(CreateGroupRequest request)

Creates a new Group in a given project and location.

Parameter
NameDescription
requestCreateGroupRequest
Returns
TypeDescription
Operation

createMigratingVm(CreateMigratingVmRequest request)

public Operation createMigratingVm(CreateMigratingVmRequest request)

Creates a new MigratingVm in a given Source.

Parameter
NameDescription
requestCreateMigratingVmRequest
Returns
TypeDescription
Operation

createSource(CreateSourceRequest request)

public Operation createSource(CreateSourceRequest request)

Creates a new Source in a given project and location.

Parameter
NameDescription
requestCreateSourceRequest
Returns
TypeDescription
Operation

createTargetProject(CreateTargetProjectRequest request)

public Operation createTargetProject(CreateTargetProjectRequest request)

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

Parameter
NameDescription
requestCreateTargetProjectRequest
Returns
TypeDescription
Operation

createUtilizationReport(CreateUtilizationReportRequest request)

public Operation createUtilizationReport(CreateUtilizationReportRequest request)

Creates a new UtilizationReport.

Parameter
NameDescription
requestCreateUtilizationReportRequest
Returns
TypeDescription
Operation

deleteDatacenterConnector(DeleteDatacenterConnectorRequest request)

public Operation deleteDatacenterConnector(DeleteDatacenterConnectorRequest request)

Deletes a single DatacenterConnector.

Parameter
NameDescription
requestDeleteDatacenterConnectorRequest
Returns
TypeDescription
Operation

deleteGroup(DeleteGroupRequest request)

public Operation deleteGroup(DeleteGroupRequest request)

Deletes a single Group.

Parameter
NameDescription
requestDeleteGroupRequest
Returns
TypeDescription
Operation

deleteMigratingVm(DeleteMigratingVmRequest request)

public Operation deleteMigratingVm(DeleteMigratingVmRequest request)

Deletes a single MigratingVm.

Parameter
NameDescription
requestDeleteMigratingVmRequest
Returns
TypeDescription
Operation

deleteSource(DeleteSourceRequest request)

public Operation deleteSource(DeleteSourceRequest request)

Deletes a single Source.

Parameter
NameDescription
requestDeleteSourceRequest
Returns
TypeDescription
Operation

deleteTargetProject(DeleteTargetProjectRequest request)

public Operation deleteTargetProject(DeleteTargetProjectRequest request)

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

Parameter
NameDescription
requestDeleteTargetProjectRequest
Returns
TypeDescription
Operation

deleteUtilizationReport(DeleteUtilizationReportRequest request)

public Operation deleteUtilizationReport(DeleteUtilizationReportRequest request)

Deletes a single Utilization Report.

Parameter
NameDescription
requestDeleteUtilizationReportRequest
Returns
TypeDescription
Operation

fetchInventory(FetchInventoryRequest request)

public FetchInventoryResponse fetchInventory(FetchInventoryRequest request)

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.

Parameter
NameDescription
requestFetchInventoryRequest
Returns
TypeDescription
FetchInventoryResponse

finalizeMigration(FinalizeMigrationRequest request)

public Operation finalizeMigration(FinalizeMigrationRequest request)

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

Parameter
NameDescription
requestFinalizeMigrationRequest
Returns
TypeDescription
Operation

getCloneJob(GetCloneJobRequest request)

public CloneJob getCloneJob(GetCloneJobRequest request)

Gets details of a single CloneJob.

Parameter
NameDescription
requestGetCloneJobRequest
Returns
TypeDescription
CloneJob

getCutoverJob(GetCutoverJobRequest request)

public CutoverJob getCutoverJob(GetCutoverJobRequest request)

Gets details of a single CutoverJob.

Parameter
NameDescription
requestGetCutoverJobRequest
Returns
TypeDescription
CutoverJob

getDatacenterConnector(GetDatacenterConnectorRequest request)

public DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRequest request)

Gets details of a single DatacenterConnector.

Parameter
NameDescription
requestGetDatacenterConnectorRequest
Returns
TypeDescription
DatacenterConnector

getGroup(GetGroupRequest request)

public Group getGroup(GetGroupRequest request)

Gets details of a single Group.

Parameter
NameDescription
requestGetGroupRequest
Returns
TypeDescription
Group

getMigratingVm(GetMigratingVmRequest request)

public MigratingVm getMigratingVm(GetMigratingVmRequest request)

Gets details of a single MigratingVm.

Parameter
NameDescription
requestGetMigratingVmRequest
Returns
TypeDescription
MigratingVm

getReplicationCycle(GetReplicationCycleRequest request)

public ReplicationCycle getReplicationCycle(GetReplicationCycleRequest request)

Gets details of a single ReplicationCycle.

Parameter
NameDescription
requestGetReplicationCycleRequest
Returns
TypeDescription
ReplicationCycle

getSource(GetSourceRequest request)

public Source getSource(GetSourceRequest request)

Gets details of a single Source.

Parameter
NameDescription
requestGetSourceRequest
Returns
TypeDescription
Source

getTargetProject(GetTargetProjectRequest request)

public TargetProject getTargetProject(GetTargetProjectRequest request)

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

Parameter
NameDescription
requestGetTargetProjectRequest
Returns
TypeDescription
TargetProject

getUtilizationReport(GetUtilizationReportRequest request)

public UtilizationReport getUtilizationReport(GetUtilizationReportRequest request)

Gets a single Utilization Report.

Parameter
NameDescription
requestGetUtilizationReportRequest
Returns
TypeDescription
UtilizationReport

listCloneJobs(ListCloneJobsRequest request)

public ListCloneJobsResponse listCloneJobs(ListCloneJobsRequest request)

Lists CloneJobs of a given migrating VM.

Parameter
NameDescription
requestListCloneJobsRequest
Returns
TypeDescription
ListCloneJobsResponse

listCutoverJobs(ListCutoverJobsRequest request)

public ListCutoverJobsResponse listCutoverJobs(ListCutoverJobsRequest request)

Lists CutoverJobs of a given migrating VM.

Parameter
NameDescription
requestListCutoverJobsRequest
Returns
TypeDescription
ListCutoverJobsResponse

listDatacenterConnectors(ListDatacenterConnectorsRequest request)

public ListDatacenterConnectorsResponse listDatacenterConnectors(ListDatacenterConnectorsRequest request)

Lists DatacenterConnectors in a given Source.

Parameter
NameDescription
requestListDatacenterConnectorsRequest
Returns
TypeDescription
ListDatacenterConnectorsResponse

listGroups(ListGroupsRequest request)

public ListGroupsResponse listGroups(ListGroupsRequest request)

Lists Groups in a given project and location.

Parameter
NameDescription
requestListGroupsRequest
Returns
TypeDescription
ListGroupsResponse

listMigratingVms(ListMigratingVmsRequest request)

public ListMigratingVmsResponse listMigratingVms(ListMigratingVmsRequest request)

Lists MigratingVms in a given Source.

Parameter
NameDescription
requestListMigratingVmsRequest
Returns
TypeDescription
ListMigratingVmsResponse

listReplicationCycles(ListReplicationCyclesRequest request)

public ListReplicationCyclesResponse listReplicationCycles(ListReplicationCyclesRequest request)

Lists ReplicationCycles in a given MigratingVM.

Parameter
NameDescription
requestListReplicationCyclesRequest
Returns
TypeDescription
ListReplicationCyclesResponse

listSources(ListSourcesRequest request)

public ListSourcesResponse listSources(ListSourcesRequest request)

Lists Sources in a given project and location.

Parameter
NameDescription
requestListSourcesRequest
Returns
TypeDescription
ListSourcesResponse

listTargetProjects(ListTargetProjectsRequest request)

public ListTargetProjectsResponse listTargetProjects(ListTargetProjectsRequest request)

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

Parameter
NameDescription
requestListTargetProjectsRequest
Returns
TypeDescription
ListTargetProjectsResponse

listUtilizationReports(ListUtilizationReportsRequest request)

public ListUtilizationReportsResponse listUtilizationReports(ListUtilizationReportsRequest request)

Lists Utilization Reports of the given Source.

Parameter
NameDescription
requestListUtilizationReportsRequest
Returns
TypeDescription
ListUtilizationReportsResponse

pauseMigration(PauseMigrationRequest request)

public Operation pauseMigration(PauseMigrationRequest request)

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.

Parameter
NameDescription
requestPauseMigrationRequest
Returns
TypeDescription
Operation

removeGroupMigration(RemoveGroupMigrationRequest request)

public Operation removeGroupMigration(RemoveGroupMigrationRequest request)

Removes a MigratingVm from a Group.

Parameter
NameDescription
requestRemoveGroupMigrationRequest
Returns
TypeDescription
Operation

resumeMigration(ResumeMigrationRequest request)

public Operation resumeMigration(ResumeMigrationRequest request)

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.

Parameter
NameDescription
requestResumeMigrationRequest
Returns
TypeDescription
Operation

startMigration(StartMigrationRequest request)

public Operation startMigration(StartMigrationRequest request)

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

Parameter
NameDescription
requestStartMigrationRequest
Returns
TypeDescription
Operation

updateGroup(UpdateGroupRequest request)

public Operation updateGroup(UpdateGroupRequest request)

Updates the parameters of a single Group.

Parameter
NameDescription
requestUpdateGroupRequest
Returns
TypeDescription
Operation

updateMigratingVm(UpdateMigratingVmRequest request)

public Operation updateMigratingVm(UpdateMigratingVmRequest request)

Updates the parameters of a single MigratingVm.

Parameter
NameDescription
requestUpdateMigratingVmRequest
Returns
TypeDescription
Operation

updateSource(UpdateSourceRequest request)

public Operation updateSource(UpdateSourceRequest request)

Updates the parameters of a single Source.

Parameter
NameDescription
requestUpdateSourceRequest
Returns
TypeDescription
Operation

updateTargetProject(UpdateTargetProjectRequest request)

public Operation updateTargetProject(UpdateTargetProjectRequest request)

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

Parameter
NameDescription
requestUpdateTargetProjectRequest
Returns
TypeDescription
Operation

upgradeAppliance(UpgradeApplianceRequest request)

public Operation upgradeAppliance(UpgradeApplianceRequest request)

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

Parameter
NameDescription
requestUpgradeApplianceRequest
Returns
TypeDescription
Operation