Partilhar via


DataMigrationServiceResource.CheckChildrenNameAvailability Método

Definição

Esse método verifica se um nome de recurso aninhado proposto é válido e está disponível.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability
  • IdServices_CheckChildrenNameAvailability de operação
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)

Parâmetros

nameAvailabilityRequest
NameAvailabilityRequest

Nome solicitado a validar.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

nameAvailabilityRequest é nulo.

Aplica-se a