DisasterRecoveryConfigsOperationsExtensions.CheckNameAvailabilityAsync(IDisasterRecoveryConfigsOperations, String, String, CheckNameAvailabilityParameter, CancellationToken) 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 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, Microsoft.Azure.Management.EventHub.Models.CheckNameAvailabilityParameter parameters, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.EventHub.IDisasterRecoveryConfigsOperations * string * string * Microsoft.Azure.Management.EventHub.Models.CheckNameAvailabilityParameter * 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, parameters As CheckNameAvailabilityParameter, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
- CheckNameAvailabilityParameter
Parameters to check availability of the given Alias name
- cancellationToken
- System.Threading.CancellationToken
The cancellation token.
Returns
- System.Threading.Tasks.Task<CheckNameAvailabilityResult>