Class VmMigrationGrpc.VmMigrationFutureStub

  • Enclosing class:
    VmMigrationGrpc

    public static final class VmMigrationGrpc.VmMigrationFutureStub
    extends io.grpc.stub.AbstractFutureStub<VmMigrationGrpc.VmMigrationFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service VmMigration.
     VM Migration Service
     
    • Method Detail

      • listSources

        public com.google.common.util.concurrent.ListenableFuture<ListSourcesResponse> listSources​(ListSourcesRequest request)
         Lists Sources in a given project and location.
         
      • getSource

        public com.google.common.util.concurrent.ListenableFuture<Source> getSource​(GetSourceRequest request)
         Gets details of a single Source.
         
      • createSource

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createSource​(CreateSourceRequest request)
         Creates a new Source in a given project and location.
         
      • updateSource

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateSource​(UpdateSourceRequest request)
         Updates the parameters of a single Source.
         
      • deleteSource

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteSource​(DeleteSourceRequest request)
         Deletes a single Source.
         
      • fetchInventory

        public com.google.common.util.concurrent.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.
         
      • createUtilizationReport

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createUtilizationReport​(CreateUtilizationReportRequest request)
         Creates a new UtilizationReport.
         
      • deleteUtilizationReport

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteUtilizationReport​(DeleteUtilizationReportRequest request)
         Deletes a single Utilization Report.
         
      • createDatacenterConnector

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createDatacenterConnector​(CreateDatacenterConnectorRequest request)
         Creates a new DatacenterConnector in a given Source.
         
      • deleteDatacenterConnector

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteDatacenterConnector​(DeleteDatacenterConnectorRequest request)
         Deletes a single DatacenterConnector.
         
      • upgradeAppliance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> upgradeAppliance​(UpgradeApplianceRequest request)
         Upgrades the appliance relate to this DatacenterConnector to the in-place
         updateable version.
         
      • createMigratingVm

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createMigratingVm​(CreateMigratingVmRequest request)
         Creates a new MigratingVm in a given Source.
         
      • getMigratingVm

        public com.google.common.util.concurrent.ListenableFuture<MigratingVm> getMigratingVm​(GetMigratingVmRequest request)
         Gets details of a single MigratingVm.
         
      • updateMigratingVm

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateMigratingVm​(UpdateMigratingVmRequest request)
         Updates the parameters of a single MigratingVm.
         
      • deleteMigratingVm

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteMigratingVm​(DeleteMigratingVmRequest request)
         Deletes a single MigratingVm.
         
      • startMigration

        public com.google.common.util.concurrent.ListenableFuture<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.common.util.concurrent.ListenableFuture<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.common.util.concurrent.ListenableFuture<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.common.util.concurrent.ListenableFuture<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.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createCloneJob​(CreateCloneJobRequest request)
         Initiates a Clone of a specific migrating VM.
         
      • cancelCloneJob

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> cancelCloneJob​(CancelCloneJobRequest request)
         Initiates the cancellation of a running clone job.
         
      • getCloneJob

        public com.google.common.util.concurrent.ListenableFuture<CloneJob> getCloneJob​(GetCloneJobRequest request)
         Gets details of a single CloneJob.
         
      • createCutoverJob

        public com.google.common.util.concurrent.ListenableFuture<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.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> cancelCutoverJob​(CancelCutoverJobRequest request)
         Initiates the cancellation of a running cutover job.
         
      • getCutoverJob

        public com.google.common.util.concurrent.ListenableFuture<CutoverJob> getCutoverJob​(GetCutoverJobRequest request)
         Gets details of a single CutoverJob.
         
      • listGroups

        public com.google.common.util.concurrent.ListenableFuture<ListGroupsResponse> listGroups​(ListGroupsRequest request)
         Lists Groups in a given project and location.
         
      • getGroup

        public com.google.common.util.concurrent.ListenableFuture<Group> getGroup​(GetGroupRequest request)
         Gets details of a single Group.
         
      • createGroup

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createGroup​(CreateGroupRequest request)
         Creates a new Group in a given project and location.
         
      • updateGroup

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateGroup​(UpdateGroupRequest request)
         Updates the parameters of a single Group.
         
      • deleteGroup

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteGroup​(DeleteGroupRequest request)
         Deletes a single Group.
         
      • addGroupMigration

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> addGroupMigration​(AddGroupMigrationRequest request)
         Adds a MigratingVm to a Group.
         
      • removeGroupMigration

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> removeGroupMigration​(RemoveGroupMigrationRequest request)
         Removes a MigratingVm from a Group.
         
      • listTargetProjects

        public com.google.common.util.concurrent.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`.
         
      • getTargetProject

        public com.google.common.util.concurrent.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`.
         
      • createTargetProject

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