Share via


ContainersOperationsExtensions.ListByStorageAccountAsync Method

Definition

Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.

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

Parameters

operations
IContainersOperations

The operations group for this extension method.

deviceName
String

The device name.

storageAccountName
String

The storage Account name.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to