Udostępnij za pośrednictwem


IProfileOperations.CheckDnsPrefixAvailabilityAsync Method

Definition

The DNS name that you want to use. You must include .trafficmanager.net in the name. (see http://msdn.microsoft.com/en-us/library/dn510368.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.TrafficManager.Models.DnsPrefixAvailabilityCheckResponse> CheckDnsPrefixAvailabilityAsync (string dnsName, System.Threading.CancellationToken cancellationToken);
abstract member CheckDnsPrefixAvailabilityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.TrafficManager.Models.DnsPrefixAvailabilityCheckResponse>
Public Function CheckDnsPrefixAvailabilityAsync (dnsName As String, cancellationToken As CancellationToken) As Task(Of DnsPrefixAvailabilityCheckResponse)

Parameters

dnsName
String

DNS name that you want to use

cancellationToken
CancellationToken

Cancellation token.

Returns

The response to the request for a listing of namespaces.

Applies to