Udostępnij za pośrednictwem


ContainersOperationsExtensions.GetAsync Method

Definition

Gets a container by name.

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)

Parameters

operations
IContainersOperations

The operations group for this extension method.

deviceName
String

The device name.

storageAccountName
String

The Storage Account Name

containerName
String

The container Name

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to