Udostępnij za pośrednictwem


AccountOperationsExtensions.StorageContainerExists Method

Definition

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

public static bool StorageContainerExists (this Microsoft.Azure.Management.DataLake.Analytics.IAccountOperations operations, string resourceGroupName, string accountName, string storageAccountName, string containerName);
static member StorageContainerExists : Microsoft.Azure.Management.DataLake.Analytics.IAccountOperations * string * string * string * string -> bool
<Extension()>
Public Function StorageContainerExists (operations As IAccountOperations, resourceGroupName As String, accountName As String, storageAccountName As String, containerName As String) As Boolean

Parameters

operations
IAccountOperations

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.

Returns

Applies to