Class VmMigrationGrpc.VmMigrationFutureStub (1.11.0)

public static final class VmMigrationGrpc.VmMigrationFutureStub extends AbstractFutureStub<VmMigrationGrpc.VmMigrationFutureStub>

VM Migration Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > VmMigrationGrpc.VmMigrationFutureStub

Methods

addGroupMigration(AddGroupMigrationRequest request)

public ListenableFuture<Operation> addGroupMigration(AddGroupMigrationRequest request)

Adds a MigratingVm to a Group.

Parameter
NameDescription
requestAddGroupMigrationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

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

cancelCloneJob(CancelCloneJobRequest request)

public ListenableFuture<Operation> cancelCloneJob(CancelCloneJobRequest request)

Initiates the cancellation of a running clone job.

Parameter
NameDescription
requestCancelCloneJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

cancelCutoverJob(CancelCutoverJobRequest request)

public ListenableFuture<Operation> cancelCutoverJob(CancelCutoverJobRequest request)

Initiates the cancellation of a running cutover job.

Parameter
NameDescription
requestCancelCutoverJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createCloneJob(CreateCloneJobRequest request)

public ListenableFuture<Operation> createCloneJob(CreateCloneJobRequest request)

Initiates a Clone of a specific migrating VM.

Parameter
NameDescription
requestCreateCloneJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createCutoverJob(CreateCutoverJobRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

createDatacenterConnector(CreateDatacenterConnectorRequest request)

public ListenableFuture<Operation> createDatacenterConnector(CreateDatacenterConnectorRequest request)

Creates a new DatacenterConnector in a given Source.

Parameter
NameDescription
requestCreateDatacenterConnectorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createGroup(CreateGroupRequest request)

public ListenableFuture<Operation> createGroup(CreateGroupRequest request)

Creates a new Group in a given project and location.

Parameter
NameDescription
requestCreateGroupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createMigratingVm(CreateMigratingVmRequest request)

public ListenableFuture<Operation> createMigratingVm(CreateMigratingVmRequest request)

Creates a new MigratingVm in a given Source.

Parameter
NameDescription
requestCreateMigratingVmRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createSource(CreateSourceRequest request)

public ListenableFuture<Operation> createSource(CreateSourceRequest request)

Creates a new Source in a given project and location.

Parameter
NameDescription
requestCreateSourceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createTargetProject(CreateTargetProjectRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

createUtilizationReport(CreateUtilizationReportRequest request)

public ListenableFuture<Operation> createUtilizationReport(CreateUtilizationReportRequest request)

Creates a new UtilizationReport.

Parameter
NameDescription
requestCreateUtilizationReportRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDatacenterConnector(DeleteDatacenterConnectorRequest request)

public ListenableFuture<Operation> deleteDatacenterConnector(DeleteDatacenterConnectorRequest request)

Deletes a single DatacenterConnector.

Parameter
NameDescription
requestDeleteDatacenterConnectorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteGroup(DeleteGroupRequest request)

public ListenableFuture<Operation> deleteGroup(DeleteGroupRequest request)

Deletes a single Group.

Parameter
NameDescription
requestDeleteGroupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteMigratingVm(DeleteMigratingVmRequest request)

public ListenableFuture<Operation> deleteMigratingVm(DeleteMigratingVmRequest request)

Deletes a single MigratingVm.

Parameter
NameDescription
requestDeleteMigratingVmRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteSource(DeleteSourceRequest request)

public ListenableFuture<Operation> deleteSource(DeleteSourceRequest request)

Deletes a single Source.

Parameter
NameDescription
requestDeleteSourceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTargetProject(DeleteTargetProjectRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteUtilizationReport(DeleteUtilizationReportRequest request)

public ListenableFuture<Operation> deleteUtilizationReport(DeleteUtilizationReportRequest request)

Deletes a single Utilization Report.

Parameter
NameDescription
requestDeleteUtilizationReportRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

fetchInventory(FetchInventoryRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<FetchInventoryResponse>

finalizeMigration(FinalizeMigrationRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

getCloneJob(GetCloneJobRequest request)

public ListenableFuture<CloneJob> getCloneJob(GetCloneJobRequest request)

Gets details of a single CloneJob.

Parameter
NameDescription
requestGetCloneJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CloneJob>

getCutoverJob(GetCutoverJobRequest request)

public ListenableFuture<CutoverJob> getCutoverJob(GetCutoverJobRequest request)

Gets details of a single CutoverJob.

Parameter
NameDescription
requestGetCutoverJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<CutoverJob>

getDatacenterConnector(GetDatacenterConnectorRequest request)

public ListenableFuture<DatacenterConnector> getDatacenterConnector(GetDatacenterConnectorRequest request)

Gets details of a single DatacenterConnector.

Parameter
NameDescription
requestGetDatacenterConnectorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<DatacenterConnector>

getGroup(GetGroupRequest request)

public ListenableFuture<Group> getGroup(GetGroupRequest request)

Gets details of a single Group.

Parameter
NameDescription
requestGetGroupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Group>

getMigratingVm(GetMigratingVmRequest request)

public ListenableFuture<MigratingVm> getMigratingVm(GetMigratingVmRequest request)

Gets details of a single MigratingVm.

Parameter
NameDescription
requestGetMigratingVmRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<MigratingVm>

getReplicationCycle(GetReplicationCycleRequest request)

public ListenableFuture<ReplicationCycle> getReplicationCycle(GetReplicationCycleRequest request)

Gets details of a single ReplicationCycle.

Parameter
NameDescription
requestGetReplicationCycleRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ReplicationCycle>

getSource(GetSourceRequest request)

public ListenableFuture<Source> getSource(GetSourceRequest request)

Gets details of a single Source.

Parameter
NameDescription
requestGetSourceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Source>

getTargetProject(GetTargetProjectRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<TargetProject>

getUtilizationReport(GetUtilizationReportRequest request)

public ListenableFuture<UtilizationReport> getUtilizationReport(GetUtilizationReportRequest request)

Gets a single Utilization Report.

Parameter
NameDescription
requestGetUtilizationReportRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<UtilizationReport>

listCloneJobs(ListCloneJobsRequest request)

public ListenableFuture<ListCloneJobsResponse> listCloneJobs(ListCloneJobsRequest request)

Lists CloneJobs of a given migrating VM.

Parameter
NameDescription
requestListCloneJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCloneJobsResponse>

listCutoverJobs(ListCutoverJobsRequest request)

public ListenableFuture<ListCutoverJobsResponse> listCutoverJobs(ListCutoverJobsRequest request)

Lists CutoverJobs of a given migrating VM.

Parameter
NameDescription
requestListCutoverJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListCutoverJobsResponse>

listDatacenterConnectors(ListDatacenterConnectorsRequest request)

public ListenableFuture<ListDatacenterConnectorsResponse> listDatacenterConnectors(ListDatacenterConnectorsRequest request)

Lists DatacenterConnectors in a given Source.

Parameter
NameDescription
requestListDatacenterConnectorsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDatacenterConnectorsResponse>

listGroups(ListGroupsRequest request)

public ListenableFuture<ListGroupsResponse> listGroups(ListGroupsRequest request)

Lists Groups in a given project and location.

Parameter
NameDescription
requestListGroupsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListGroupsResponse>

listMigratingVms(ListMigratingVmsRequest request)

public ListenableFuture<ListMigratingVmsResponse> listMigratingVms(ListMigratingVmsRequest request)

Lists MigratingVms in a given Source.

Parameter
NameDescription
requestListMigratingVmsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListMigratingVmsResponse>

listReplicationCycles(ListReplicationCyclesRequest request)

public ListenableFuture<ListReplicationCyclesResponse> listReplicationCycles(ListReplicationCyclesRequest request)

Lists ReplicationCycles in a given MigratingVM.

Parameter
NameDescription
requestListReplicationCyclesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListReplicationCyclesResponse>

listSources(ListSourcesRequest request)

public ListenableFuture<ListSourcesResponse> listSources(ListSourcesRequest request)

Lists Sources in a given project and location.

Parameter
NameDescription
requestListSourcesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSourcesResponse>

listTargetProjects(ListTargetProjectsRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<ListTargetProjectsResponse>

listUtilizationReports(ListUtilizationReportsRequest request)

public ListenableFuture<ListUtilizationReportsResponse> listUtilizationReports(ListUtilizationReportsRequest request)

Lists Utilization Reports of the given Source.

Parameter
NameDescription
requestListUtilizationReportsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListUtilizationReportsResponse>

pauseMigration(PauseMigrationRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

removeGroupMigration(RemoveGroupMigrationRequest request)

public ListenableFuture<Operation> removeGroupMigration(RemoveGroupMigrationRequest request)

Removes a MigratingVm from a Group.

Parameter
NameDescription
requestRemoveGroupMigrationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

resumeMigration(ResumeMigrationRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

startMigration(StartMigrationRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

updateGroup(UpdateGroupRequest request)

public ListenableFuture<Operation> updateGroup(UpdateGroupRequest request)

Updates the parameters of a single Group.

Parameter
NameDescription
requestUpdateGroupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateMigratingVm(UpdateMigratingVmRequest request)

public ListenableFuture<Operation> updateMigratingVm(UpdateMigratingVmRequest request)

Updates the parameters of a single MigratingVm.

Parameter
NameDescription
requestUpdateMigratingVmRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateSource(UpdateSourceRequest request)

public ListenableFuture<Operation> updateSource(UpdateSourceRequest request)

Updates the parameters of a single Source.

Parameter
NameDescription
requestUpdateSourceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTargetProject(UpdateTargetProjectRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

upgradeAppliance(UpgradeApplianceRequest request)

public ListenableFuture<Operation> upgradeAppliance(UpgradeApplianceRequest request)

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

Parameter
NameDescription
requestUpgradeApplianceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>