NamespacesOperationsExtensions.CheckNameAvailabilityMethodAsync(INamespacesOperations, String, CancellationToken) Method

Definition

Check the give namespace name availability.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.CheckNameAvailabilityResultInner> CheckNameAvailabilityMethodAsync (this Microsoft.Azure.Management.ServiceBus.Fluent.INamespacesOperations operations, string name, System.Threading.CancellationToken cancellationToken = null);
static member CheckNameAvailabilityMethodAsync : Microsoft.Azure.Management.ServiceBus.Fluent.INamespacesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.CheckNameAvailabilityResultInner>

Parameters

operations
INamespacesOperations

The operations group for this extension method.

name
String

The Name to check the namespce name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<CheckNameAvailabilityResultInner>

Applies to