Class 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 Detail

      • 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.
         
      • 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.
         
      • 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.
         
      • 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.
         
      • 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.
         
      • 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.
         
      • 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`.