Compartir a través de


DataMigrationServiceResource.CheckChildrenNameAvailabilityAsync Método

Definición

Este método comprueba si un nombre de recurso anidado propuesto es válido y está disponible.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability
  • IdServices_CheckChildrenNameAvailability de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.Models.NameAvailabilityResponse>> CheckChildrenNameAvailabilityAsync (Azure.ResourceManager.DataMigration.Models.NameAvailabilityRequest nameAvailabilityRequest, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckChildrenNameAvailabilityAsync : Azure.ResourceManager.DataMigration.Models.NameAvailabilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.Models.NameAvailabilityResponse>>
override this.CheckChildrenNameAvailabilityAsync : Azure.ResourceManager.DataMigration.Models.NameAvailabilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.Models.NameAvailabilityResponse>>
Public Overridable Function CheckChildrenNameAvailabilityAsync (nameAvailabilityRequest As NameAvailabilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NameAvailabilityResponse))

Parámetros

nameAvailabilityRequest
NameAvailabilityRequest

Nombre solicitado para validar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

nameAvailabilityRequest es null.

Se aplica a