Compartir a través de


RecoveryServicesDataReplicationExtensions.CheckDataReplicationNameAvailability Método

Definición

Comprueba la disponibilidad del nombre del recurso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability
  • Operation IdCheckNameAvailability
public static Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityResult> CheckDataReplicationNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityContent content = default, System.Threading.CancellationToken cancellationToken = default);
static member CheckDataReplicationNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityResult>
<Extension()>
Public Function CheckDataReplicationNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional content As DataReplicationNameAvailabilityContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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.

content
DataReplicationNameAvailabilityContent

Detalles del recurso.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a