你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageAccountsOperationsExtensions.GetStorageContainerAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与给定Data Lake Analytics和 Azure 存储帐户关联的指定 Azure 存储容器。
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)
参数
- operations
- IStorageAccountsOperations
此扩展方法的操作组。
- resourceGroupName
- String
Azure 资源组的名称。
- accountName
- String
Data Lake Analytics 帐户的名称。
- storageAccountName
- String
要从中检索 Blob 容器的 Azure 存储帐户的名称。
- containerName
- String
要检索的 Azure 存储容器的名称
- cancellationToken
- CancellationToken
取消标记。