Sdílet prostřednictvím


BackupOperationResultsOperationsExtensions.GetAsync Method

Definition

Provides the status of the delete operations such as deleting backed up item. Once the operation has started, the status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is part of the Location header of the operation response.

public static System.Threading.Tasks.Task GetAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IBackupOperationResultsOperations operations, string vaultName, string resourceGroupName, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IBackupOperationResultsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function GetAsync (operations As IBackupOperationResultsOperations, vaultName As String, resourceGroupName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IBackupOperationResultsOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

operationId
String

OperationID which represents the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to