共用方式為


FrontDoorExtensions.CheckFrontDoorNameAvailabilityAsync Method

Definition

Overloads

CheckFrontDoorNameAvailabilityAsync(SubscriptionResource, FrontDoorNameAvailabilityContent, CancellationToken)

Check the availability of a Front Door subdomain.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • Operation Id: FrontDoorNameAvailabilityWithSubscription_Check
  • Default Api Version: 2021-06-01
CheckFrontDoorNameAvailabilityAsync(TenantResource, FrontDoorNameAvailabilityContent, CancellationToken)

Check the availability of a Front Door resource name.

  • Request Path: /providers/Microsoft.Network/checkFrontDoorNameAvailability
  • Operation Id: FrontDoorNameAvailability_Check
  • Default Api Version: 2021-06-01

CheckFrontDoorNameAvailabilityAsync(SubscriptionResource, FrontDoorNameAvailabilityContent, CancellationToken)

Source:
FrontDoorExtensions.cs
Source:
FrontDoorExtensions.cs

Check the availability of a Front Door subdomain.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • Operation Id: FrontDoorNameAvailabilityWithSubscription_Check
  • Default Api Version: 2021-06-01
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>> CheckFrontDoorNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckFrontDoorNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>>
<Extension()>
Public Function CheckFrontDoorNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As FrontDoorNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontDoorNameAvailabilityResult))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

content
FrontDoorNameAvailabilityContent

Input to check.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or content is null.

Applies to

CheckFrontDoorNameAvailabilityAsync(TenantResource, FrontDoorNameAvailabilityContent, CancellationToken)

Source:
FrontDoorExtensions.cs
Source:
FrontDoorExtensions.cs

Check the availability of a Front Door resource name.

  • Request Path: /providers/Microsoft.Network/checkFrontDoorNameAvailability
  • Operation Id: FrontDoorNameAvailability_Check
  • Default Api Version: 2021-06-01
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>> CheckFrontDoorNameAvailabilityAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckFrontDoorNameAvailabilityAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>>
<Extension()>
Public Function CheckFrontDoorNameAvailabilityAsync (tenantResource As TenantResource, content As FrontDoorNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontDoorNameAvailabilityResult))

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

content
FrontDoorNameAvailabilityContent

Input to check.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource or content is null.

Applies to