你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageAccountsOperationsExtensions.ListStorageContainersAsync 方法

定义

列出与指定Data Lake Analytics和 Azure 存储帐户组合关联的 Azure 存储容器(如果有)。 响应包括指向下一页结果的链接(如果有)。

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))

参数

operations
IStorageAccountsOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 资源组的名称。

accountName
String

Data Lake Analytics 帐户的名称。

storageAccountName
String

要从中列出 Blob 容器的 Azure 存储帐户的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于