Class ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.PauseMigrationRequest
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.
Inheritance
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.PauseMigrationRequest
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1
Assembly: Google.Apis.VMMigrationService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.PauseMigrationRequest : VMMigrationServiceBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PauseMigrationRequest(IClientService, PauseMigrationRequest, string)
Constructs a new PauseMigration request.
Declaration
public PauseMigrationRequest(IClientService service, PauseMigrationRequest body, string migratingVm)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PauseMigrationRequest | 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 PauseMigration parameter list.
Declaration
protected override void InitParameters()