Class ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ResumeMigrationRequest
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.
Inheritance
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ResumeMigrationRequest
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1
Assembly: Google.Apis.VMMigrationService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.ResumeMigrationRequest : VMMigrationServiceBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ResumeMigrationRequest(IClientService, ResumeMigrationRequest, string)
Constructs a new ResumeMigration request.
Declaration
public ResumeMigrationRequest(IClientService service, ResumeMigrationRequest body, string migratingVm)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResumeMigrationRequest | body | |
string | migratingVm |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MigratingVm
Required. The name of the MigratingVm.
Declaration
[RequestParameter("migratingVm", RequestParameterType.Path)]
public virtual string MigratingVm { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ResumeMigration parameter list.
Declaration
protected override void InitParameters()