Partager via


DataMigrationServiceResource.CheckChildrenNameAvailability Méthode

Définition

Cette méthode vérifie si un nom de ressource imbriqué proposé est valide et disponible.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability
  • IdServices_CheckChildrenNameAvailability d’opération
public virtual Azure.Response<Azure.ResourceManager.DataMigration.Models.NameAvailabilityResponse> CheckChildrenNameAvailability (Azure.ResourceManager.DataMigration.Models.NameAvailabilityRequest nameAvailabilityRequest, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckChildrenNameAvailability : Azure.ResourceManager.DataMigration.Models.NameAvailabilityRequest * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataMigration.Models.NameAvailabilityResponse>
override this.CheckChildrenNameAvailability : Azure.ResourceManager.DataMigration.Models.NameAvailabilityRequest * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataMigration.Models.NameAvailabilityResponse>
Public Overridable Function CheckChildrenNameAvailability (nameAvailabilityRequest As NameAvailabilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NameAvailabilityResponse)

Paramètres

nameAvailabilityRequest
NameAvailabilityRequest

Nom demandé à valider.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

nameAvailabilityRequest a la valeur null.

S’applique à