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
System.String

The name of the Azure resource group.

accountName
System.String

The name of the Data Lake Analytics account.

storageAccountName
System.String

The name of the Azure storage account from which to retrieve the blob container.

containerName
System.String

The name of the Azure storage container to retrieve

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<StorageContainer>

Applies to