共用方式為


IMigrationOperations.ConfirmMigrationAsync Method

Definition

Hydra spec for confirm migration rest apiThe rest api confirms the commit or rollback of the migrated data containers for all data container in the specified config

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus> ConfirmMigrationAsync (string configId, Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationConfirmStatusRequest confirmMigrationRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member ConfirmMigrationAsync : string * Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationConfirmStatusRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus>
Public Function ConfirmMigrationAsync (configId As String, confirmMigrationRequest As MigrationConfirmStatusRequest, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of MigrationJobStatus)

Parameters

configId
String

Unique identifier for config specified while importing the config to service

confirmMigrationRequest
MigrationConfirmStatusRequest

The confirm migration request specifies the list of volume containers and rollback/commit operation to be performed

customRequestHeaders
CustomRequestHeaders

The Custom Request Headers which client must use.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for migration job status.

Applies to