Class ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.StartMigrationRequest
Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.
Inheritance
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.StartMigrationRequest
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1alpha1
Assembly: Google.Apis.VMMigrationService.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource.StartMigrationRequest : VMMigrationServiceBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
StartMigrationRequest(IClientService, StartMigrationRequest, string)
Constructs a new StartMigration request.
Declaration
public StartMigrationRequest(IClientService service, StartMigrationRequest body, string migratingVm)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
StartMigrationRequest | 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 StartMigration parameter list.
Declaration
protected override void InitParameters()