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
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
addGroupMigration(AddGroupMigrationRequest request)
public Operation addGroupMigration(AddGroupMigrationRequest request)
Adds a MigratingVm to a Group.
build(Channel channel, CallOptions callOptions)
protected VmMigrationGrpc.VmMigrationBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
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.
cancelCutoverJob(CancelCutoverJobRequest request)
public Operation cancelCutoverJob(CancelCutoverJobRequest request)
Initiates the cancellation of a running cutover job.
createCloneJob(CreateCloneJobRequest request)
public Operation createCloneJob(CreateCloneJobRequest request)
Initiates a Clone of a specific migrating VM.
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.
createDatacenterConnector(CreateDatacenterConnectorRequest request)
public Operation createDatacenterConnector(CreateDatacenterConnectorRequest request)
Creates a new DatacenterConnector in a given Source.
createGroup(CreateGroupRequest request)
public Operation createGroup(CreateGroupRequest request)
Creates a new Group in a given project and location.
createMigratingVm(CreateMigratingVmRequest request)
public Operation createMigratingVm(CreateMigratingVmRequest request)
Creates a new MigratingVm in a given Source.
createSource(CreateSourceRequest request)
public Operation createSource(CreateSourceRequest request)
Creates a new Source in a given project and location.
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
.
createUtilizationReport(CreateUtilizationReportRequest request)
public Operation createUtilizationReport(CreateUtilizationReportRequest request)
Creates a new UtilizationReport.
deleteDatacenterConnector(DeleteDatacenterConnectorRequest request)
public Operation deleteDatacenterConnector(DeleteDatacenterConnectorRequest request)
Deletes a single DatacenterConnector.
deleteGroup(DeleteGroupRequest request)
public Operation deleteGroup(DeleteGroupRequest request)
deleteMigratingVm(DeleteMigratingVmRequest request)
public Operation deleteMigratingVm(DeleteMigratingVmRequest request)
Deletes a single MigratingVm.
deleteSource(DeleteSourceRequest request)
public Operation deleteSource(DeleteSourceRequest request)
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
.
deleteUtilizationReport(DeleteUtilizationReportRequest request)
public Operation deleteUtilizationReport(DeleteUtilizationReportRequest request)
Deletes a single Utilization Report.
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.
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.
getCloneJob(GetCloneJobRequest request)
public CloneJob getCloneJob(GetCloneJobRequest request)
Gets details of a single CloneJob.
getCutoverJob(GetCutoverJobRequest request)
public CutoverJob getCutoverJob(GetCutoverJobRequest request)
Gets details of a single CutoverJob.
getDatacenterConnector(GetDatacenterConnectorRequest request)
public DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRequest request)
Gets details of a single DatacenterConnector.
getGroup(GetGroupRequest request)
public Group getGroup(GetGroupRequest request)
Gets details of a single Group.
Returns |
Type |
Description |
Group |
|
getMigratingVm(GetMigratingVmRequest request)
public MigratingVm getMigratingVm(GetMigratingVmRequest request)
Gets details of a single MigratingVm.
getReplicationCycle(GetReplicationCycleRequest request)
public ReplicationCycle getReplicationCycle(GetReplicationCycleRequest request)
Gets details of a single ReplicationCycle.
getSource(GetSourceRequest request)
public Source getSource(GetSourceRequest request)
Gets details of a single Source.
Returns |
Type |
Description |
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
.
getUtilizationReport(GetUtilizationReportRequest request)
public UtilizationReport getUtilizationReport(GetUtilizationReportRequest request)
Gets a single Utilization Report.
listCloneJobs(ListCloneJobsRequest request)
public ListCloneJobsResponse listCloneJobs(ListCloneJobsRequest request)
Lists CloneJobs of a given migrating VM.
listCutoverJobs(ListCutoverJobsRequest request)
public ListCutoverJobsResponse listCutoverJobs(ListCutoverJobsRequest request)
Lists CutoverJobs of a given migrating VM.
listDatacenterConnectors(ListDatacenterConnectorsRequest request)
public ListDatacenterConnectorsResponse listDatacenterConnectors(ListDatacenterConnectorsRequest request)
Lists DatacenterConnectors in a given Source.
listGroups(ListGroupsRequest request)
public ListGroupsResponse listGroups(ListGroupsRequest request)
Lists Groups in a given project and location.
listMigratingVms(ListMigratingVmsRequest request)
public ListMigratingVmsResponse listMigratingVms(ListMigratingVmsRequest request)
Lists MigratingVms in a given Source.
listReplicationCycles(ListReplicationCyclesRequest request)
public ListReplicationCyclesResponse listReplicationCycles(ListReplicationCyclesRequest request)
Lists ReplicationCycles in a given MigratingVM.
listSources(ListSourcesRequest request)
public ListSourcesResponse listSources(ListSourcesRequest request)
Lists Sources in a given project and location.
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
.
listUtilizationReports(ListUtilizationReportsRequest request)
public ListUtilizationReportsResponse listUtilizationReports(ListUtilizationReportsRequest request)
Lists Utilization Reports of the given Source.
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.
removeGroupMigration(RemoveGroupMigrationRequest request)
public Operation removeGroupMigration(RemoveGroupMigrationRequest request)
Removes a MigratingVm from a Group.
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.
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.
updateGroup(UpdateGroupRequest request)
public Operation updateGroup(UpdateGroupRequest request)
Updates the parameters of a single Group.
updateMigratingVm(UpdateMigratingVmRequest request)
public Operation updateMigratingVm(UpdateMigratingVmRequest request)
Updates the parameters of a single MigratingVm.
updateSource(UpdateSourceRequest request)
public Operation updateSource(UpdateSourceRequest request)
Updates the parameters of a single Source.
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
.
upgradeAppliance(UpgradeApplianceRequest request)
public Operation upgradeAppliance(UpgradeApplianceRequest request)
Upgrades the appliance relate to this DatacenterConnector to the in-place
updateable version.