共用方式為


MockableTrafficManagerTenantResource.CheckTrafficManagerRelativeDnsNameAvailability Method

Definition

Checks the availability of a Traffic Manager Relative DNS name.

  • Request Path: /providers/Microsoft.Network/checkTrafficManagerNameAvailability
  • Operation Id: Profiles_CheckTrafficManagerRelativeDnsNameAvailability
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
public virtual Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult> CheckTrafficManagerRelativeDnsNameAvailability (Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckTrafficManagerRelativeDnsNameAvailability : Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>
override this.CheckTrafficManagerRelativeDnsNameAvailability : Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>
Public Overridable Function CheckTrafficManagerRelativeDnsNameAvailability (content As TrafficManagerRelativeDnsNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TrafficManagerNameAvailabilityResult)

Parameters

content
TrafficManagerRelativeDnsNameAvailabilityContent

The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to