CognitiveServicesAccountResource.GetCommitmentPlanAsync メソッド

定義

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

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

パラメーター

commitmentPlanName
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

commitmentPlanName が null です。

適用対象