Compartir a través de


INetworkManagementClient.CheckDnsNameAvailabilityWithHttpMessagesAsync Método

Definición

Comprueba si hay disponible un nombre de dominio en la zona cloudapp.azure.com para su uso.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.DnsNameAvailabilityResult>> CheckDnsNameAvailabilityWithHttpMessagesAsync (string location, string domainNameLabel, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckDnsNameAvailabilityWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.DnsNameAvailabilityResult>>
Public Function CheckDnsNameAvailabilityWithHttpMessagesAsync (location As String, domainNameLabel As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of DnsNameAvailabilityResult))

Parámetros

location
String

Ubicación del nombre de dominio.

domainNameLabel
String

Nombre de dominio que se va a comprobar. Debe ajustarse a la siguiente expresión regular: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a