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

FrontDoorExtensions.CheckFrontDoorNameAvailability 方法

定义

重载

CheckFrontDoorNameAvailability(SubscriptionResource, FrontDoorNameAvailabilityContent, CancellationToken)

检查 Front Door 子域的可用性。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • 操作IdFrontDoorNameAvailabilityWithSubscription_Check
CheckFrontDoorNameAvailability(TenantResource, FrontDoorNameAvailabilityContent, CancellationToken)

检查 Front Door 资源名称的可用性。

  • 请求路径/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • 操作IdFrontDoorNameAvailability_Check

CheckFrontDoorNameAvailability(SubscriptionResource, FrontDoorNameAvailabilityContent, CancellationToken)

检查 Front Door 子域的可用性。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • 操作IdFrontDoorNameAvailabilityWithSubscription_Check
public static Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult> CheckFrontDoorNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckFrontDoorNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>
<Extension()>
Public Function CheckFrontDoorNameAvailability (subscriptionResource As SubscriptionResource, content As FrontDoorNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of FrontDoorNameAvailabilityResult)

参数

subscriptionResource
SubscriptionResource

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

content
FrontDoorNameAvailabilityContent

输入到检查。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于

CheckFrontDoorNameAvailability(TenantResource, FrontDoorNameAvailabilityContent, CancellationToken)

检查 Front Door 资源名称的可用性。

  • 请求路径/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • 操作IdFrontDoorNameAvailability_Check
public static Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult> CheckFrontDoorNameAvailability (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckFrontDoorNameAvailability : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>
<Extension()>
Public Function CheckFrontDoorNameAvailability (tenantResource As TenantResource, content As FrontDoorNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of FrontDoorNameAvailabilityResult)

参数

tenantResource
TenantResource

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

content
FrontDoorNameAvailabilityContent

输入到检查。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于