Sdílet prostřednictvím


ProfileResource.CheckEndpointNameAvailabilityFrontDoorProfileAsync Method

Definition

Check the availability of an afdx endpoint name, and return the globally unique endpoint host name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkEndpointNameAvailability
  • Operation Id: FrontDoorProfiles_CheckEndpointNameAvailability
  • Default Api Version: 2024-02-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.EndpointNameAvailabilityResult>> CheckEndpointNameAvailabilityFrontDoorProfileAsync (Azure.ResourceManager.Cdn.Models.EndpointNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckEndpointNameAvailabilityFrontDoorProfileAsync : Azure.ResourceManager.Cdn.Models.EndpointNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.EndpointNameAvailabilityResult>>
override this.CheckEndpointNameAvailabilityFrontDoorProfileAsync : Azure.ResourceManager.Cdn.Models.EndpointNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.EndpointNameAvailabilityResult>>
Public Overridable Function CheckEndpointNameAvailabilityFrontDoorProfileAsync (content As EndpointNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EndpointNameAvailabilityResult))

Parameters

content
EndpointNameAvailabilityContent

Input to check.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to