public static final class VmMigrationGrpc.VmMigrationStub extends AbstractAsyncStub<VmMigrationGrpc.VmMigrationStub>
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
VmMigrationGrpc.VmMigrationStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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(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.withWaitForReady()
Methods
addGroupMigration(AddGroupMigrationRequest request, StreamObserver<Operation> responseObserver)
public void addGroupMigration(AddGroupMigrationRequest request, StreamObserver<Operation> responseObserver)
Adds a MigratingVm to a Group.
Parameters
build(Channel channel, CallOptions callOptions)
protected VmMigrationGrpc.VmMigrationStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
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
cancelCutoverJob(CancelCutoverJobRequest request, StreamObserver<Operation> responseObserver)
public void cancelCutoverJob(CancelCutoverJobRequest request, StreamObserver<Operation> responseObserver)
Initiates the cancellation of a running cutover job.
Parameters
createCloneJob(CreateCloneJobRequest request, StreamObserver<Operation> responseObserver)
public void createCloneJob(CreateCloneJobRequest request, StreamObserver<Operation> responseObserver)
Initiates a Clone of a specific migrating VM.
Parameters
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
createDatacenterConnector(CreateDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)
public void createDatacenterConnector(CreateDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)
Creates a new DatacenterConnector in a given Source.
Parameters
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
createMigratingVm(CreateMigratingVmRequest request, StreamObserver<Operation> responseObserver)
public void createMigratingVm(CreateMigratingVmRequest request, StreamObserver<Operation> responseObserver)
Creates a new MigratingVm in a given Source.
Parameters
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
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
createUtilizationReport(CreateUtilizationReportRequest request, StreamObserver<Operation> responseObserver)
public void createUtilizationReport(CreateUtilizationReportRequest request, StreamObserver<Operation> responseObserver)
Creates a new UtilizationReport.
Parameters
deleteDatacenterConnector(DeleteDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)
public void deleteDatacenterConnector(DeleteDatacenterConnectorRequest request, StreamObserver<Operation> responseObserver)
Deletes a single DatacenterConnector.
Parameters
deleteGroup(DeleteGroupRequest request, StreamObserver<Operation> responseObserver)
public void deleteGroup(DeleteGroupRequest request, StreamObserver<Operation> responseObserver)
Parameters
deleteMigratingVm(DeleteMigratingVmRequest request, StreamObserver<Operation> responseObserver)
public void deleteMigratingVm(DeleteMigratingVmRequest request, StreamObserver<Operation> responseObserver)
Deletes a single MigratingVm.
Parameters
deleteSource(DeleteSourceRequest request, StreamObserver<Operation> responseObserver)
public void deleteSource(DeleteSourceRequest request, StreamObserver<Operation> responseObserver)
Parameters
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
deleteUtilizationReport(DeleteUtilizationReportRequest request, StreamObserver<Operation> responseObserver)
public void deleteUtilizationReport(DeleteUtilizationReportRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Utilization Report.
Parameters
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
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
getCloneJob(GetCloneJobRequest request, StreamObserver<CloneJob> responseObserver)
public void getCloneJob(GetCloneJobRequest request, StreamObserver<CloneJob> responseObserver)
Gets details of a single CloneJob.
Parameters
getCutoverJob(GetCutoverJobRequest request, StreamObserver<CutoverJob> responseObserver)
public void getCutoverJob(GetCutoverJobRequest request, StreamObserver<CutoverJob> responseObserver)
Gets details of a single CutoverJob.
Parameters
getDatacenterConnector(GetDatacenterConnectorRequest request, StreamObserver<DatacenterConnector> responseObserver)
public void getDatacenterConnector(GetDatacenterConnectorRequest request, StreamObserver<DatacenterConnector> responseObserver)
Gets details of a single DatacenterConnector.
Parameters
getGroup(GetGroupRequest request, StreamObserver<Group> responseObserver)
public void getGroup(GetGroupRequest request, StreamObserver<Group> responseObserver)
Gets details of a single Group.
Parameters
getMigratingVm(GetMigratingVmRequest request, StreamObserver<MigratingVm> responseObserver)
public void getMigratingVm(GetMigratingVmRequest request, StreamObserver<MigratingVm> responseObserver)
Gets details of a single MigratingVm.
Parameters
getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
public void getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
Gets details of a single Source.
Parameters
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
getUtilizationReport(GetUtilizationReportRequest request, StreamObserver<UtilizationReport> responseObserver)
public void getUtilizationReport(GetUtilizationReportRequest request, StreamObserver<UtilizationReport> responseObserver)
Gets a single Utilization Report.
Parameters
listCloneJobs(ListCloneJobsRequest request, StreamObserver<ListCloneJobsResponse> responseObserver)
public void listCloneJobs(ListCloneJobsRequest request, StreamObserver<ListCloneJobsResponse> responseObserver)
Lists CloneJobs of a given migrating VM.
Parameters
listCutoverJobs(ListCutoverJobsRequest request, StreamObserver<ListCutoverJobsResponse> responseObserver)
public void listCutoverJobs(ListCutoverJobsRequest request, StreamObserver<ListCutoverJobsResponse> responseObserver)
Lists CutoverJobs of a given migrating VM.
Parameters
listDatacenterConnectors(ListDatacenterConnectorsRequest request, StreamObserver<ListDatacenterConnectorsResponse> responseObserver)
public void listDatacenterConnectors(ListDatacenterConnectorsRequest request, StreamObserver<ListDatacenterConnectorsResponse> responseObserver)
Lists DatacenterConnectors in a given Source.
Parameters
listGroups(ListGroupsRequest request, StreamObserver<ListGroupsResponse> responseObserver)
public void listGroups(ListGroupsRequest request, StreamObserver<ListGroupsResponse> responseObserver)
Lists Groups in a given project and location.
Parameters
listMigratingVms(ListMigratingVmsRequest request, StreamObserver<ListMigratingVmsResponse> responseObserver)
public void listMigratingVms(ListMigratingVmsRequest request, StreamObserver<ListMigratingVmsResponse> responseObserver)
Lists MigratingVms in a given Source.
Parameters
listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
public void listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
Lists Sources in a given project and location.
Parameters
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
listUtilizationReports(ListUtilizationReportsRequest request, StreamObserver<ListUtilizationReportsResponse> responseObserver)
public void listUtilizationReports(ListUtilizationReportsRequest request, StreamObserver<ListUtilizationReportsResponse> responseObserver)
Lists Utilization Reports of the given Source.
Parameters
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
removeGroupMigration(RemoveGroupMigrationRequest request, StreamObserver<Operation> responseObserver)
public void removeGroupMigration(RemoveGroupMigrationRequest request, StreamObserver<Operation> responseObserver)
Removes a MigratingVm from a Group.
Parameters
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
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
updateGroup(UpdateGroupRequest request, StreamObserver<Operation> responseObserver)
public void updateGroup(UpdateGroupRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Group.
Parameters
updateMigratingVm(UpdateMigratingVmRequest request, StreamObserver<Operation> responseObserver)
public void updateMigratingVm(UpdateMigratingVmRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single MigratingVm.
Parameters
updateSource(UpdateSourceRequest request, StreamObserver<Operation> responseObserver)
public void updateSource(UpdateSourceRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Source.
Parameters
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