Package com.google.cloud.vmmigration.v1
Class VmMigrationGrpc.VmMigrationBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<VmMigrationGrpc.VmMigrationBlockingStub>
-
- com.google.cloud.vmmigration.v1.VmMigrationGrpc.VmMigrationBlockingStub
-
- Enclosing class:
- VmMigrationGrpc
public static final class VmMigrationGrpc.VmMigrationBlockingStub extends io.grpc.stub.AbstractBlockingStub<VmMigrationGrpc.VmMigrationBlockingStub>
A stub to allow clients to do synchronous rpc calls to service VmMigration.VM Migration Service
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.longrunning.Operation
addGroupMigration(AddGroupMigrationRequest request)
Adds a MigratingVm to a Group.protected VmMigrationGrpc.VmMigrationBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
cancelCloneJob(CancelCloneJobRequest request)
Initiates the cancellation of a running clone job.com.google.longrunning.Operation
cancelCutoverJob(CancelCutoverJobRequest request)
Initiates the cancellation of a running cutover job.com.google.longrunning.Operation
createCloneJob(CreateCloneJobRequest request)
Initiates a Clone of a specific migrating VM.com.google.longrunning.Operation
createCutoverJob(CreateCutoverJobRequest request)
Initiates a Cutover of a specific migrating VM.com.google.longrunning.Operation
createDatacenterConnector(CreateDatacenterConnectorRequest request)
Creates a new DatacenterConnector in a given Source.com.google.longrunning.Operation
createGroup(CreateGroupRequest request)
Creates a new Group in a given project and location.com.google.longrunning.Operation
createMigratingVm(CreateMigratingVmRequest request)
Creates a new MigratingVm in a given Source.com.google.longrunning.Operation
createSource(CreateSourceRequest request)
Creates a new Source in a given project and location.com.google.longrunning.Operation
createTargetProject(CreateTargetProjectRequest request)
Creates a new TargetProject in a given project.com.google.longrunning.Operation
createUtilizationReport(CreateUtilizationReportRequest request)
Creates a new UtilizationReport.com.google.longrunning.Operation
deleteDatacenterConnector(DeleteDatacenterConnectorRequest request)
Deletes a single DatacenterConnector.com.google.longrunning.Operation
deleteGroup(DeleteGroupRequest request)
Deletes a single Group.com.google.longrunning.Operation
deleteMigratingVm(DeleteMigratingVmRequest request)
Deletes a single MigratingVm.com.google.longrunning.Operation
deleteSource(DeleteSourceRequest request)
Deletes a single Source.com.google.longrunning.Operation
deleteTargetProject(DeleteTargetProjectRequest request)
Deletes a single TargetProject.com.google.longrunning.Operation
deleteUtilizationReport(DeleteUtilizationReportRequest request)
Deletes a single Utilization Report.FetchInventoryResponse
fetchInventory(FetchInventoryRequest request)
List remote source's inventory of VMs.com.google.longrunning.Operation
finalizeMigration(FinalizeMigrationRequest request)
Marks a migration as completed, deleting migration resources that are no longer being used.CloneJob
getCloneJob(GetCloneJobRequest request)
Gets details of a single CloneJob.CutoverJob
getCutoverJob(GetCutoverJobRequest request)
Gets details of a single CutoverJob.DatacenterConnector
getDatacenterConnector(GetDatacenterConnectorRequest request)
Gets details of a single DatacenterConnector.Group
getGroup(GetGroupRequest request)
Gets details of a single Group.MigratingVm
getMigratingVm(GetMigratingVmRequest request)
Gets details of a single MigratingVm.ReplicationCycle
getReplicationCycle(GetReplicationCycleRequest request)
Gets details of a single ReplicationCycle.Source
getSource(GetSourceRequest request)
Gets details of a single Source.TargetProject
getTargetProject(GetTargetProjectRequest request)
Gets details of a single TargetProject.UtilizationReport
getUtilizationReport(GetUtilizationReportRequest request)
Gets a single Utilization Report.ListCloneJobsResponse
listCloneJobs(ListCloneJobsRequest request)
Lists CloneJobs of a given migrating VM.ListCutoverJobsResponse
listCutoverJobs(ListCutoverJobsRequest request)
Lists CutoverJobs of a given migrating VM.ListDatacenterConnectorsResponse
listDatacenterConnectors(ListDatacenterConnectorsRequest request)
Lists DatacenterConnectors in a given Source.ListGroupsResponse
listGroups(ListGroupsRequest request)
Lists Groups in a given project and location.ListMigratingVmsResponse
listMigratingVms(ListMigratingVmsRequest request)
Lists MigratingVms in a given Source.ListReplicationCyclesResponse
listReplicationCycles(ListReplicationCyclesRequest request)
Lists ReplicationCycles in a given MigratingVM.ListSourcesResponse
listSources(ListSourcesRequest request)
Lists Sources in a given project and location.ListTargetProjectsResponse
listTargetProjects(ListTargetProjectsRequest request)
Lists TargetProjects in a given project.ListUtilizationReportsResponse
listUtilizationReports(ListUtilizationReportsRequest request)
Lists Utilization Reports of the given Source.com.google.longrunning.Operation
pauseMigration(PauseMigrationRequest request)
Pauses a migration for a VM.com.google.longrunning.Operation
removeGroupMigration(RemoveGroupMigrationRequest request)
Removes a MigratingVm from a Group.com.google.longrunning.Operation
resumeMigration(ResumeMigrationRequest request)
Resumes a migration for a VM.com.google.longrunning.Operation
startMigration(StartMigrationRequest request)
Starts migration for a VM.com.google.longrunning.Operation
updateGroup(UpdateGroupRequest request)
Updates the parameters of a single Group.com.google.longrunning.Operation
updateMigratingVm(UpdateMigratingVmRequest request)
Updates the parameters of a single MigratingVm.com.google.longrunning.Operation
updateSource(UpdateSourceRequest request)
Updates the parameters of a single Source.com.google.longrunning.Operation
updateTargetProject(UpdateTargetProjectRequest request)
Updates the parameters of a single TargetProject.com.google.longrunning.Operation
upgradeAppliance(UpgradeApplianceRequest request)
Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.
-
-
-
Method Detail
-
build
protected VmMigrationGrpc.VmMigrationBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<VmMigrationGrpc.VmMigrationBlockingStub>
-
listSources
public ListSourcesResponse listSources(ListSourcesRequest request)
Lists Sources in a given project and location.
-
getSource
public Source getSource(GetSourceRequest request)
Gets details of a single Source.
-
createSource
public com.google.longrunning.Operation createSource(CreateSourceRequest request)
Creates a new Source in a given project and location.
-
updateSource
public com.google.longrunning.Operation updateSource(UpdateSourceRequest request)
Updates the parameters of a single Source.
-
deleteSource
public com.google.longrunning.Operation deleteSource(DeleteSourceRequest request)
Deletes a single Source.
-
fetchInventory
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.
-
listUtilizationReports
public ListUtilizationReportsResponse listUtilizationReports(ListUtilizationReportsRequest request)
Lists Utilization Reports of the given Source.
-
getUtilizationReport
public UtilizationReport getUtilizationReport(GetUtilizationReportRequest request)
Gets a single Utilization Report.
-
createUtilizationReport
public com.google.longrunning.Operation createUtilizationReport(CreateUtilizationReportRequest request)
Creates a new UtilizationReport.
-
deleteUtilizationReport
public com.google.longrunning.Operation deleteUtilizationReport(DeleteUtilizationReportRequest request)
Deletes a single Utilization Report.
-
listDatacenterConnectors
public ListDatacenterConnectorsResponse listDatacenterConnectors(ListDatacenterConnectorsRequest request)
Lists DatacenterConnectors in a given Source.
-
getDatacenterConnector
public DatacenterConnector getDatacenterConnector(GetDatacenterConnectorRequest request)
Gets details of a single DatacenterConnector.
-
createDatacenterConnector
public com.google.longrunning.Operation createDatacenterConnector(CreateDatacenterConnectorRequest request)
Creates a new DatacenterConnector in a given Source.
-
deleteDatacenterConnector
public com.google.longrunning.Operation deleteDatacenterConnector(DeleteDatacenterConnectorRequest request)
Deletes a single DatacenterConnector.
-
upgradeAppliance
public com.google.longrunning.Operation upgradeAppliance(UpgradeApplianceRequest request)
Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.
-
createMigratingVm
public com.google.longrunning.Operation createMigratingVm(CreateMigratingVmRequest request)
Creates a new MigratingVm in a given Source.
-
listMigratingVms
public ListMigratingVmsResponse listMigratingVms(ListMigratingVmsRequest request)
Lists MigratingVms in a given Source.
-
getMigratingVm
public MigratingVm getMigratingVm(GetMigratingVmRequest request)
Gets details of a single MigratingVm.
-
updateMigratingVm
public com.google.longrunning.Operation updateMigratingVm(UpdateMigratingVmRequest request)
Updates the parameters of a single MigratingVm.
-
deleteMigratingVm
public com.google.longrunning.Operation deleteMigratingVm(DeleteMigratingVmRequest request)
Deletes a single MigratingVm.
-
startMigration
public com.google.longrunning.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.
-
resumeMigration
public com.google.longrunning.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.
-
pauseMigration
public com.google.longrunning.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.
-
finalizeMigration
public com.google.longrunning.Operation finalizeMigration(FinalizeMigrationRequest request)
Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
-
createCloneJob
public com.google.longrunning.Operation createCloneJob(CreateCloneJobRequest request)
Initiates a Clone of a specific migrating VM.
-
cancelCloneJob
public com.google.longrunning.Operation cancelCloneJob(CancelCloneJobRequest request)
Initiates the cancellation of a running clone job.
-
listCloneJobs
public ListCloneJobsResponse listCloneJobs(ListCloneJobsRequest request)
Lists CloneJobs of a given migrating VM.
-
getCloneJob
public CloneJob getCloneJob(GetCloneJobRequest request)
Gets details of a single CloneJob.
-
createCutoverJob
public com.google.longrunning.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.
-
cancelCutoverJob
public com.google.longrunning.Operation cancelCutoverJob(CancelCutoverJobRequest request)
Initiates the cancellation of a running cutover job.
-
listCutoverJobs
public ListCutoverJobsResponse listCutoverJobs(ListCutoverJobsRequest request)
Lists CutoverJobs of a given migrating VM.
-
getCutoverJob
public CutoverJob getCutoverJob(GetCutoverJobRequest request)
Gets details of a single CutoverJob.
-
listGroups
public ListGroupsResponse listGroups(ListGroupsRequest request)
Lists Groups in a given project and location.
-
getGroup
public Group getGroup(GetGroupRequest request)
Gets details of a single Group.
-
createGroup
public com.google.longrunning.Operation createGroup(CreateGroupRequest request)
Creates a new Group in a given project and location.
-
updateGroup
public com.google.longrunning.Operation updateGroup(UpdateGroupRequest request)
Updates the parameters of a single Group.
-
deleteGroup
public com.google.longrunning.Operation deleteGroup(DeleteGroupRequest request)
Deletes a single Group.
-
addGroupMigration
public com.google.longrunning.Operation addGroupMigration(AddGroupMigrationRequest request)
Adds a MigratingVm to a Group.
-
removeGroupMigration
public com.google.longrunning.Operation removeGroupMigration(RemoveGroupMigrationRequest request)
Removes a MigratingVm from a Group.
-
listTargetProjects
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`.
-
getTargetProject
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`.
-
createTargetProject
public com.google.longrunning.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`.
-
updateTargetProject
public com.google.longrunning.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`.
-
deleteTargetProject
public com.google.longrunning.Operation deleteTargetProject(DeleteTargetProjectRequest request)
Deletes a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.
-
listReplicationCycles
public ListReplicationCyclesResponse listReplicationCycles(ListReplicationCyclesRequest request)
Lists ReplicationCycles in a given MigratingVM.
-
getReplicationCycle
public ReplicationCycle getReplicationCycle(GetReplicationCycleRequest request)
Gets details of a single ReplicationCycle.
-
-