RecoveryServicesDataReplicationExtensions.CheckDataReplicationNameAvailabilityAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Comprueba la disponibilidad del nombre del recurso.
- Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability
- Operation IdCheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityResult>> CheckDataReplicationNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityContent content = default, System.Threading.CancellationToken cancellationToken = default);
static member CheckDataReplicationNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityResult>>
<Extension()>
Public Function CheckDataReplicationNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional content As DataReplicationNameAvailabilityContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataReplicationNameAvailabilityResult))
Parámetros
- subscriptionResource
- SubscriptionResource
Instancia SubscriptionResource en la que se ejecutará el método.
- location
- AzureLocation
Nombre de la región de Azure.
Detalles del recurso.
- cancellationToken
- CancellationToken
Token de cancelación que se va a usar.