次の方法で共有


DataMigrationServiceResource.CheckChildrenNameAvailabilityAsync メソッド

定義

このメソッドは、入れ子になったリソース名が有効で使用可能かどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability
  • 操作IdServices_CheckChildrenNameAvailability
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))

パラメーター

nameAvailabilityRequest
NameAvailabilityRequest

検証する要求された名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

nameAvailabilityRequest が null です。

適用対象