Commitment Plans - List
Cognitive Services アカウントに関連付けられている commitmentPlans を取得します。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/commitmentPlans?api-version=2025-06-01
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
account
|
path | True |
string minLength: 2maxLength: 64 pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ |
Cognitive Services アカウントの名前。 |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前は大文字と小文字が区別されます。 |
|
subscription
|
path | True |
string minLength: 1 |
ターゲット サブスクリプションの ID。 |
|
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
commitmentPlans が正常に取得されました。 |
|
| Other Status Codes |
操作が失敗した理由を説明するエラー応答。 |
例
ListCommitmentPlans
要求のサンプル
応答のサンプル
{
"value": [
{
"id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/commitmentPlans/commitmentPlanName",
"name": "commitmentPlanName",
"type": "Microsoft.CognitiveServices/accounts/commitmentPlans",
"properties": {
"hostingModel": "Web",
"planType": "Speech2Text",
"autoRenew": true,
"current": {
"tier": "T1"
}
}
}
]
}
定義
| 名前 | 説明 |
|---|---|
|
Commitment |
Cognitive Services アカウントのコミットメント期間。 |
|
Commitment |
Cognitive Services アカウント コミットメント プラン。 |
|
Commitment |
Cognitive Services アカウントの操作応答の一覧。 |
|
Commitment |
Cognitive Services アカウント コミットメント プランのプロパティ。 |
|
Commitment |
操作が呼び出された時点のリソースの状態を取得します。 |
|
Commitment |
Cognitive Services アカウント コミットメント クォータ。 |
|
created |
リソースを作成した ID の種類。 |
|
Error |
リソース管理エラーの追加情報。 |
|
Error |
エラーの詳細。 |
|
Error |
エラー応答 |
|
Hosting |
アカウントホスティングモデル。 |
| Sku |
SKU を表すリソース モデル定義 |
|
Sku |
このフィールドは、サービスに複数のレベルがあるが PUT では必要ない場合に、リソース プロバイダーによって実装される必要があります。 |
|
system |
リソースの作成と最後の変更に関連するメタデータ。 |
CommitmentPeriod
Cognitive Services アカウントのコミットメント期間。
| 名前 | 型 | 説明 |
|---|---|---|
| count |
integer (int32) |
コミットメント期間のコミットメント数。 |
| endDate |
string |
コミットメント期間の終了日。 |
| quota |
Cognitive Services アカウント コミットメント クォータ。 |
|
| startDate |
string |
コミットメント期間の開始日。 |
| tier |
string |
コミットメント期間のコミットメント層。 |
CommitmentPlan
Cognitive Services アカウント コミットメント プラン。
| 名前 | 型 | 説明 |
|---|---|---|
| etag |
string |
リソース Etag。 |
| id |
string |
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| kind |
string |
リソースの種類。 |
| location |
string |
リソースが存在する地理的な場所 |
| name |
string |
リソースの名前 |
| properties |
Cognitive Services アカウント コミットメント プランのプロパティ。 |
|
| sku |
SKU を表すリソース モデル定義 |
|
| systemData |
リソースの作成と最後の変更に関連するメタデータ。 |
|
| tags |
object |
リソース タグ。 |
| type |
string |
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
CommitmentPlanListResult
Cognitive Services アカウントの操作応答の一覧。
| 名前 | 型 | 説明 |
|---|---|---|
| nextLink |
string |
CommitmentPlan の次のページを取得するために使用されるリンク。 |
| value |
Cognitive Services アカウント CommitmentPlan とそのプロパティの一覧を取得します。 |
CommitmentPlanProperties
Cognitive Services アカウント コミットメント プランのプロパティ。
| 名前 | 型 | 説明 |
|---|---|---|
| autoRenew |
boolean |
AutoRenew コミットメント プラン。 |
| commitmentPlanGuid |
string |
コミットメント プランのガイド。 |
| current |
Cognitive Services アカウントのコミットメント期間。 |
|
| hostingModel |
アカウントホスティングモデル。 |
|
| last |
Cognitive Services アカウントのコミットメント期間。 |
|
| next |
Cognitive Services アカウントのコミットメント期間。 |
|
| planType |
string |
コミットメント プラン タイプ。 |
| provisioningIssues |
string[] |
ProvisioningIssue のリスト。 |
| provisioningState |
操作が呼び出された時点のリソースの状態を取得します。 |
CommitmentPlanProvisioningState
操作が呼び出された時点のリソースの状態を取得します。
| 値 | 説明 |
|---|---|
| Accepted | |
| Creating | |
| Deleting | |
| Moving | |
| Failed | |
| Succeeded | |
| Canceled |
CommitmentQuota
Cognitive Services アカウント コミットメント クォータ。
| 名前 | 型 | 説明 |
|---|---|---|
| quantity |
integer (int64) |
コミットメント割当数量。 |
| unit |
string |
コミットメント割当て単位。 |
createdByType
リソースを作成した ID の種類。
| 値 | 説明 |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
| 名前 | 型 | 説明 |
|---|---|---|
| info |
object |
追加情報。 |
| type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
| 名前 | 型 | 説明 |
|---|---|---|
| additionalInfo |
エラーの追加情報。 |
|
| code |
string |
エラー コード。 |
| details |
エラーの詳細です。 |
|
| message |
string |
エラー メッセージ。 |
| target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー オブジェクト。 |
HostingModel
アカウントホスティングモデル。
| 値 | 説明 |
|---|---|
| Web | |
| ConnectedContainer | |
| DisconnectedContainer | |
| ProvisionedWeb |
Sku
SKU を表すリソース モデル定義
| 名前 | 型 | 説明 |
|---|---|---|
| capacity |
integer (int32) |
SKU でスケールアウト/インがサポートされている場合は、容量の整数を含める必要があります。 リソースに対してスケールアウト/インができない場合は、これを省略できます。 |
| family |
string |
同じ SKU に対して、サービスの世代が異なるハードウェアがある場合は、ここでキャプチャできます。 |
| name |
string |
SKU の名前。 例 - P3。 通常は文字 + 数字のコードです |
| size |
string |
SKU サイズ。 名前フィールドが層と他の値の組み合わせである場合、これはスタンドアロン コードになります。 |
| tier |
このフィールドは、サービスに複数のレベルがあるが PUT では必要ない場合に、リソース プロバイダーによって実装される必要があります。 |
SkuTier
このフィールドは、サービスに複数のレベルがあるが PUT では必要ない場合に、リソース プロバイダーによって実装される必要があります。
| 値 | 説明 |
|---|---|
| Free | |
| Basic | |
| Standard | |
| Premium | |
| Enterprise |
systemData
リソースの作成と最後の変更に関連するメタデータ。
| 名前 | 型 | 説明 |
|---|---|---|
| createdAt |
string (date-time) |
リソース作成のタイムスタンプ (UTC)。 |
| createdBy |
string |
リソースを作成した ID。 |
| createdByType |
リソースを作成した ID の種類。 |
|
| lastModifiedAt |
string (date-time) |
リソースの最終変更のタイムスタンプ (UTC) |
| lastModifiedBy |
string |
リソースを最後に変更した ID。 |
| lastModifiedByType |
リソースを最後に変更した ID の種類。 |