Freigeben über


ContainersOperationsExtensions.GetAsync Methode

Definition

Ruft einen Container anhand des Namens ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Container> GetAsync (this Microsoft.Azure.Management.DataBoxEdge.IContainersOperations operations, string deviceName, string storageAccountName, string containerName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.DataBoxEdge.IContainersOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Container>
<Extension()>
Public Function GetAsync (operations As IContainersOperations, deviceName As String, storageAccountName As String, containerName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Container)

Parameter

operations
IContainersOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

deviceName
String

Den Gerätenamen.

storageAccountName
String

Der Name des Speicherkontos

containerName
String

Der Containername

resourceGroupName
String

Der Name der Ressourcengruppe.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: