次の方法で共有


ApiManagementExtensions.CheckApiManagementServiceNameAvailability メソッド

定義

API Management サービスの名前の可用性と正確性を確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability
  • 操作IdApiManagementService_CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult> CheckApiManagementServiceNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckApiManagementServiceNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult>
<Extension()>
Public Function CheckApiManagementServiceNameAvailability (subscriptionResource As SubscriptionResource, content As ApiManagementServiceNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiManagementServiceNameAvailabilityResult)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

content
ApiManagementServiceNameAvailabilityContent

CheckNameAvailability 操作に指定されたパラメーター。

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象