Share via


StorageAccountsOperationsExtensions.GetStorageContainerAsync Method

Definition

Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Analytics.Models.StorageContainer> GetStorageContainerAsync (this Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations operations, string resourceGroupName, string accountName, string storageAccountName, string containerName, System.Threading.CancellationToken cancellationToken = default);
static member GetStorageContainerAsync : Microsoft.Azure.Management.DataLake.Analytics.IStorageAccountsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Analytics.Models.StorageContainer>
<Extension()>
Public Function GetStorageContainerAsync (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, storageAccountName As String, containerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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 retrieve the blob container.

containerName
String

The name of the Azure storage container to retrieve

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to