Language

MockableRecoveryServicesBackupResourceGroupResource.GetAsync Method

Definition

Fetches the status of the fabric level asynchronous operation identified by the given operation id. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of an operation. This is the endpoint reported in the Azure-AsyncOperation header of the fabric level operations that start one, such as RefreshContainers and GetRPExtendedInfo.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/operationsStatus/{operationId}.
  • Operation Id. : ProtectionContainerRefreshOperationStatuses_Get.
  • Default Api Version. : 2026-11-01.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupOperationStatus>> GetAsync(string vaultName, string fabricName, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupOperationStatus>>
override this.GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupOperationStatus>>
Public Overridable Function GetAsync (vaultName As String, fabricName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BackupOperationStatus))

Parameters

vaultName
String

The name of the recovery services vault.

fabricName
String

Fabric name associated with the operation.

operationId
String

OperationID which represents the operation whose status needs to be fetched.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vaultName, fabricName or operationId is null.

vaultName, fabricName or operationId is an empty string, and was expected to be non-empty.

Applies to