Udostępnij za pośrednictwem


CommunicationsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Support.Models.CheckNameAvailabilityOutput> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Support.ICommunicationsOperations operations, string supportTicketName, Microsoft.Azure.Management.Support.Models.CheckNameAvailabilityInput checkNameAvailabilityInput, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Support.ICommunicationsOperations * string * Microsoft.Azure.Management.Support.Models.CheckNameAvailabilityInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Support.Models.CheckNameAvailabilityOutput>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As ICommunicationsOperations, supportTicketName As String, checkNameAvailabilityInput As CheckNameAvailabilityInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityOutput)

Parameters

operations
ICommunicationsOperations

The operations group for this extension method.

supportTicketName
String

Support ticket name.

checkNameAvailabilityInput
CheckNameAvailabilityInput

Input to check.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to