Dela via


SupportTicketsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Support.Models.CheckNameAvailabilityOutput> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Support.ISupportTicketsOperations operations, Microsoft.Azure.Management.Support.Models.CheckNameAvailabilityInput checkNameAvailabilityInput, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Support.ISupportTicketsOperations * 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 ISupportTicketsOperations, checkNameAvailabilityInput As CheckNameAvailabilityInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityOutput)

Parameters

operations
ISupportTicketsOperations

The operations group for this extension method.

checkNameAvailabilityInput
CheckNameAvailabilityInput

Input to check.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to