Share via


AccountsOperationsExtensions.StorageContainerExistsAsync Method

Definition

Tests the existence of the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.

public static System.Threading.Tasks.Task<bool> StorageContainerExistsAsync (this Microsoft.Azure.Management.DataLake.Analytics.IAccountsOperations operations, string resourceGroupName, string accountName, string storageAccountName, string containerName, System.Threading.CancellationToken cancellationToken = default);
static member StorageContainerExistsAsync : Microsoft.Azure.Management.DataLake.Analytics.IAccountsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function StorageContainerExistsAsync (operations As IAccountsOperations, resourceGroupName As String, accountName As String, storageAccountName As String, containerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

operations
IAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Azure resource group that contains the Data Lake Analytics account.

accountName
String

The name of the Data Lake Analytics account for which to retrieve blob container.

storageAccountName
String

The name of the Azure storage account from which to test the blob container's existence.

containerName
String

The name of the Azure storage container to test for existence.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to