IAccountsOperations.CheckNameAvailabilityWithHttpMessagesAsync Method

Definition

Checks the account name availability.

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

Parameters

checkNameAvailabilityRequest
CheckNameAvailabilityRequest

The check name availability request.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Remarks

Checks if account name is available.

Applies to