DataMigrationServiceResource.CheckChildrenNameAvailability Method

Definition

This method checks whether a proposed nested resource name is valid and available.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability
  • Operation Id: Services_CheckChildrenNameAvailability
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)

Parameters

nameAvailabilityRequest
NameAvailabilityRequest

Requested name to validate.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

nameAvailabilityRequest is null.

Applies to