MockableFrontDoorSubscriptionResource.CheckFrontDoorNameAvailabilityAsync Method

Definition

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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>> CheckFrontDoorNameAvailabilityAsync (Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckFrontDoorNameAvailabilityAsync : Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>>
override this.CheckFrontDoorNameAvailabilityAsync : Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>>
Public Overridable Function CheckFrontDoorNameAvailabilityAsync (content As FrontDoorNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontDoorNameAvailabilityResult))

Parameters

content
FrontDoorNameAvailabilityContent

Input to check.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to