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

DataLakeStoreExtensions.GetCapabilityByLocationAsync 方法

定义

获取资源位置指定的 Data Lake Store 的订阅级属性和限制。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/capability
  • 操作IdLocations_GetCapability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreCapabilityInformation>> GetCapabilityByLocationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetCapabilityByLocationAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreCapabilityInformation>>
<Extension()>
Public Function GetCapabilityByLocationAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataLakeStoreCapabilityInformation))

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

location
AzureLocation

不带空格的资源位置。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于