Freigeben über


ProtectionContainerOperationResultsOperationsExtensions.GetAsync Methode

Definition

Ruft das Ergebnis eines beliebigen Vorgangs für den Container ab.

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)

Parameter

operations
IProtectionContainerOperationResultsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

vaultName
String

Der Name des Recovery Services-Tresors.

resourceGroupName
String

Der Name der Ressourcengruppe, in der sich der Recovery Services-Tresor befindet.

fabricName
String

Fabricname, der dem Container zugeordnet ist.

containerName
String

Containername, dessen Informationen abgerufen werden sollen.

operationId
String

Vorgangs-ID, die den Vorgang darstellt, dessen Ergebnis abgerufen werden muss.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: