次の方法で共有


DataMigrationServiceResource.CheckChildrenNameAvailability メソッド

定義

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

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

パラメーター

nameAvailabilityRequest
NameAvailabilityRequest

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

cancellationToken
CancellationToken

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

戻り値

例外

nameAvailabilityRequest が null です。

適用対象