DisasterRecoveryConfigsOperationsExtensions.CheckNameAvailabilityMethodAsync(IDisasterRecoveryConfigsOperations, String, String, CheckNameAvailability, CancellationToken) Method

Definition

Check the give namespace name availability.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.CheckNameAvailabilityResult> CheckNameAvailabilityMethodAsync (this Microsoft.Azure.Management.ServiceBus.IDisasterRecoveryConfigsOperations operations, string resourceGroupName, string namespaceName, Microsoft.Azure.Management.ServiceBus.Models.CheckNameAvailability parameters, System.Threading.CancellationToken cancellationToken = null);
static member CheckNameAvailabilityMethodAsync : Microsoft.Azure.Management.ServiceBus.IDisasterRecoveryConfigsOperations * string * string * Microsoft.Azure.Management.ServiceBus.Models.CheckNameAvailability * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.CheckNameAvailabilityResult>

Parameters

operations
IDisasterRecoveryConfigsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the Resource group within the Azure subscription.

namespaceName
System.String

The namespace name

parameters
CheckNameAvailability

Parameters to check availability of the given namespace name

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<CheckNameAvailabilityResult>

Applies to