Class ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource
The "migratingVms" collection of methods.
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1alpha1
Assembly: Google.Apis.VMMigrationService.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource
Constructors
MigratingVmsResource(IClientService)
Constructs a new resource.
Declaration
public MigratingVmsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
CloneJobs
Gets the CloneJobs resource.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.CloneJobsResource CloneJobs { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.CloneJobsResource |
CutoverJobs
Gets the CutoverJobs resource.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.CutoverJobsResource CutoverJobs { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.CutoverJobsResource |
ReplicationCycles
Gets the ReplicationCycles resource.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ReplicationCyclesResource ReplicationCycles { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ReplicationCyclesResource |
Methods
Create(MigratingVm, string)
Creates a new MigratingVm in a given Source.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.CreateRequest Create(MigratingVm body, string parent)
Parameters
Type | Name | Description |
---|---|---|
MigratingVm | body | The body of the request. |
string | parent | Required. The MigratingVm's parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.CreateRequest |
Delete(string)
Deletes a single MigratingVm.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the MigratingVm. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.DeleteRequest |
FinalizeMigration(FinalizeMigrationRequest, string)
Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.FinalizeMigrationRequest FinalizeMigration(FinalizeMigrationRequest body, string migratingVm)
Parameters
Type | Name | Description |
---|---|---|
FinalizeMigrationRequest | body | The body of the request. |
string | migratingVm | Required. The name of the MigratingVm. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.FinalizeMigrationRequest |
Get(string)
Gets details of a single MigratingVm.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the MigratingVm. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.GetRequest |
List(string)
Lists MigratingVms in a given Source.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of MigratingVms. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ListRequest |
Patch(MigratingVm, string)
Updates the parameters of a single MigratingVm.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.PatchRequest Patch(MigratingVm body, string name)
Parameters
Type | Name | Description |
---|---|---|
MigratingVm | body | The body of the request. |
string | name | Output only. The identifier of the MigratingVm. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.PatchRequest |
PauseMigration(PauseMigrationRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.PauseMigrationRequest PauseMigration(PauseMigrationRequest body, string migratingVm)
Parameters
Type | Name | Description |
---|---|---|
PauseMigrationRequest | body | The body of the request. |
string | migratingVm | Required. The name of the MigratingVm. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.PauseMigrationRequest |
ResumeMigration(ResumeMigrationRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ResumeMigrationRequest ResumeMigration(ResumeMigrationRequest body, string migratingVm)
Parameters
Type | Name | Description |
---|---|---|
ResumeMigrationRequest | body | The body of the request. |
string | migratingVm | Required. The name of the MigratingVm. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ResumeMigrationRequest |
StartMigration(StartMigrationRequest, string)
Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.StartMigrationRequest StartMigration(StartMigrationRequest body, string migratingVm)
Parameters
Type | Name | Description |
---|---|---|
StartMigrationRequest | body | The body of the request. |
string | migratingVm | Required. The name of the MigratingVm. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.StartMigrationRequest |