CognitiveServicesAccountResource.GetCommitmentPlan メソッド

定義

Cognitive Services アカウントに関連付けられている指定されたコミットメントプランを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/commitmentPlans/{commitmentPlanName}
  • 操作IdCommitmentPlans_Get
public virtual Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanResource> GetCommitmentPlan (string commitmentPlanName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCommitmentPlan : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanResource>
override this.GetCommitmentPlan : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanResource>
Public Overridable Function GetCommitmentPlan (commitmentPlanName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CommitmentPlanResource)

パラメーター

commitmentPlanName
String

Cognitive Services アカウントに関連付けられている commitmentPlan の名前。

cancellationToken
CancellationToken

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

戻り値

例外

commitmentPlanName は空の文字列であり、空でないと想定されていました。

commitmentPlanName が null です。

適用対象