CommunicationsOperationsExtensions.CheckNameAvailabilityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET