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

PowerBIDedicatedExtensions.CheckNameAvailabilityCapacityAsync 方法

定义

检查目标位置中的名称可用性。

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

参数

subscriptionResource
SubscriptionResource

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

location
AzureLocation

操作将查找到的区域名称。

content
CheckCapacityNameAvailabilityContent

容量的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于