Condividi tramite


ProtectionContainerOperationResultsOperationsExtensions.GetAsync Method

Definition

Fetches the result of any operation on the container.

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

Parameters

operations
IProtectionContainerOperationResultsOperations

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.

fabricName
String

Fabric name associated with the container.

containerName
String

Container name whose information should be fetched.

operationId
String

Operation ID which represents the operation whose result needs to be fetched.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to