RecoveryServicesOperationsExtensions.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.
API to check for resource name availability. A name is available if no other resource exists that has the same SubscriptionId, Resource Name and Type or if one or more such resources exist, each of these must be GC'd and their time of deletion be more than 24 Hours Ago
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.CheckNameAvailabilityResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.RecoveryServices.IRecoveryServicesOperations operations, string resourceGroupName, string location, Microsoft.Azure.Management.RecoveryServices.Models.CheckNameAvailabilityParameters input, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.RecoveryServices.IRecoveryServicesOperations * string * string * Microsoft.Azure.Management.RecoveryServices.Models.CheckNameAvailabilityParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.CheckNameAvailabilityResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IRecoveryServicesOperations, resourceGroupName As String, location As String, input As CheckNameAvailabilityParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResult)
Parameters
- operations
- IRecoveryServicesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group where the recovery services vault is present.
- location
- String
Location of the resource
Contains information about Resource type and Resource name
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET