Sdílet prostřednictvím


DisasterRecoveryConfigsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Check the give Namespace name availability.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.CheckNameAvailabilityResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.EventHub.IDisasterRecoveryConfigsOperations operations, string resourceGroupName, string namespaceName, string name, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.EventHub.IDisasterRecoveryConfigsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.CheckNameAvailabilityResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IDisasterRecoveryConfigsOperations, resourceGroupName As String, namespaceName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResult)

Parameters

operations
IDisasterRecoveryConfigsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group within the azure subscription.

namespaceName
String

The Namespace name

name
String

Name to check the namespace name availability

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to