Share via


StorageAccountsOperationsExtensions.ListStorageContainersAsync Method

Definition

Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination. The response includes a link to the next page of results, if any.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.StorageContainer>> ListStorageContainersAsync (this Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations operations, string resourceGroupName, string accountName, string storageAccountName, System.Threading.CancellationToken cancellationToken = default);
static member ListStorageContainersAsync : Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.StorageContainer>>
<Extension()>
Public Function ListStorageContainersAsync (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, storageAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of StorageContainer))

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Azure resource group.

accountName
String

The name of the Data Lake Analytics account.

storageAccountName
String

The name of the Azure storage account from which to list blob containers.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to