Sdílet prostřednictvím


FrontDoorExtensions.CheckFrontDoorNameAvailability Method

Definition

Overloads

CheckFrontDoorNameAvailability(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
CheckFrontDoorNameAvailability(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

CheckFrontDoorNameAvailability(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 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)

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

CheckFrontDoorNameAvailability(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 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)

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