VMMigration
import { VMMigration } from "https://googleapis.deno.dev/v1/vmmigration:v1.ts";
Use the Migrate to Virtual Machines API to programmatically migrate workloads.
§Methods
Adds a MigratingVm to a Group.
Required. The full path name of the Group to add to.
Creates a new Group in a given project and location.
Required. The Group's parent.
Deletes a single Group.
Required. The Group name.
Lists Groups in a given project and location.
Required. The parent, which owns this collection of groups.
Updates the parameters of a single Group.
Output only. The Group name.
Removes a MigratingVm from a Group.
Required. The name of the Group.
Creates a new ImageImport in a given project.
Required. The ImageImport's parent.
Deletes a single ImageImport.
Required. The ImageImport name.
Gets details of a single ImageImport.
Required. The ImageImport name.
Initiates the cancellation of a running clone job.
Required. The image import job id.
Gets details of a single ImageImportJob.
Required. The ImageImportJob name.
Lists ImageImportJobs in a given project.
Required. The parent, which owns this collection of targets.
Lists ImageImports in a given project.
Required. The parent, which owns this collection of targets.
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1, corresponding to
Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Creates a new Source in a given project and location.
Required. The Source's parent.
Creates a new DatacenterConnector in a given Source.
Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: projects/my-project/locations/us-central1/sources/my-source
Deletes a single DatacenterConnector.
Required. The DatacenterConnector name.
Gets details of a single DatacenterConnector.
Required. The name of the DatacenterConnector.
Lists DatacenterConnectors in a given Source.
Required. The parent, which owns this collection of connectors.
Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.
Required. The DatacenterConnector name.
Deletes a single Source.
Required. The Source name.
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.
Required. The name of the Source.
Lists Sources in a given project and location.
Required. The parent, which owns this collection of sources.
Initiates the cancellation of a running clone job.
Required. The clone job id
Initiates a Clone of a specific migrating VM.
Required. The Clone's parent.
Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are listed.
Required. The parent, which owns this collection of source VMs.
Creates a new MigratingVm in a given Source.
Required. The MigratingVm's parent.
Initiates the cancellation of a running cutover job.
Required. The cutover job id
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.
Required. The Cutover's parent.
Gets details of a single CutoverJob.
Required. The name of the CutoverJob.
Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs are listed.
Required. The parent, which owns this collection of migrating VMs.
Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
Required. The name of the MigratingVm.
Gets details of a single MigratingVm.
Required. The name of the MigratingVm.
Lists MigratingVms in a given Source.
Required. The parent, which owns this collection of MigratingVms.
Updates the parameters of a single MigratingVm.
Output only. The identifier of the MigratingVm.
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.
Required. The name of the MigratingVm.
Gets details of a single ReplicationCycle.
Required. The name of the ReplicationCycle.
Lists ReplicationCycles in a given MigratingVM.
Required. The parent, which owns this collection of ReplicationCycles.
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.
Required. The name of the MigratingVm.
Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.
Required. The name of the MigratingVm.
Updates the parameters of a single Source.
Output only. The Source name.
Creates a new UtilizationReport.
Required. The Utilization Report's parent.
Deletes a single Utilization Report.
Required. The Utilization Report name.
Gets a single Utilization Report.
Required. The Utilization Report name.
Lists Utilization Reports of the given Source.
Required. The Utilization Reports parent.
Creates a new TargetProject in a given project. NOTE: TargetProject is a
global resource; hence the only supported value for location is global
.
Required. The TargetProject's parent.
Deletes a single TargetProject. NOTE: TargetProject is a global resource;
hence the only supported value for location is global
.
Required. The TargetProject name.
Gets details of a single TargetProject. NOTE: TargetProject is a global
resource; hence the only supported value for location is global
.
Required. The TargetProject name.
Lists TargetProjects in a given project. NOTE: TargetProject is a global
resource; hence the only supported value for location is global
.
Required. The parent, which owns this collection of targets.
Updates the parameters of a single TargetProject. NOTE: TargetProject is a
global resource; hence the only supported value for location is global
.
Output only. The name of the target project.