Partager via


ICognitiveServicesManagementClient.CheckDomainAvailabilityWithHttpMessagesAsync Méthode

Définition

Vérifiez si un domaine est disponible.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.CognitiveServices.Models.DomainAvailability>> CheckDomainAvailabilityWithHttpMessagesAsync (string subdomainName, string type, string kind = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckDomainAvailabilityWithHttpMessagesAsync : string * 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.CognitiveServices.Models.DomainAvailability>>
Public Function CheckDomainAvailabilityWithHttpMessagesAsync (subdomainName As String, type As String, Optional kind As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of DomainAvailability))

Paramètres

subdomainName
String

Nom de sous-domaine à utiliser.

type
String

Type de la ressource.

kind
String

Type de la ressource.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à