Usages - List By Subscription
サブスクリプション全体でAzure AI 検索のクォータ使用状況のリストを取得してください。
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages?api-version=2026-11-01
URI パラメーター
| Name | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
location
|
path | True |
string minLength: 1 |
Azure リージョンの名前。 |
|
subscription
|
path | True |
string (uuid) |
ターゲット サブスクリプションの ID。 値は UUID である必要があります。 |
|
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
要求ヘッダー
| Name | 必須 | 型 | 説明 |
|---|---|---|---|
| x-ms-client-request-id |
string (uuid) |
この要求を識別するクライアントによって生成される GUID 値。 指定した場合、これは要求を追跡する方法として応答情報に含まれます。 |
応答
| Name | 型 | 説明 |
|---|---|---|
| 200 OK |
要求は成功しました。 |
|
| Other Status Codes |
予期しないエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
| Name | 説明 |
|---|---|
| user_impersonation | あなたのユーザー アカウントになりすます |
例
GetQuotaUsagesList
要求のサンプル
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Search/locations/westus/usages?api-version=2026-11-01
応答のサンプル
{
"nextLink": null,
"value": [
{
"name": {
"localizedValue": "F - Free",
"value": "free"
},
"currentValue": 8,
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/free",
"limit": 16,
"unit": "Count"
},
{
"name": {
"localizedValue": "B - Basic",
"value": "basic"
},
"currentValue": 8,
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/basic",
"limit": 16,
"unit": "Count"
},
{
"name": {
"localizedValue": "S - Standard",
"value": "standard"
},
"currentValue": 8,
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard",
"limit": 16,
"unit": "Count"
},
{
"name": {
"localizedValue": "S2 - Standard2",
"value": "standard2"
},
"currentValue": 8,
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard2",
"limit": 16,
"unit": "Count"
},
{
"name": {
"localizedValue": "S3 - Standard3",
"value": "standard3"
},
"currentValue": 8,
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard3",
"limit": 16,
"unit": "Count"
},
{
"name": {
"localizedValue": "L1 - Storage Optimized",
"value": "storageOptimizedL1"
},
"currentValue": 8,
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/storageOptimizedL1",
"limit": 16,
"unit": "Count"
},
{
"name": {
"localizedValue": "L2 - Storage Optimized",
"value": "storageOptimizedL2"
},
"currentValue": 8,
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/storageOptimizedL2",
"limit": 16,
"unit": "Count"
},
{
"name": {
"localizedValue": "SL - Serverless",
"value": "serverless"
},
"currentValue": 8,
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/serverless",
"limit": 16,
"unit": "Count"
}
]
}
定義
| Name | 説明 |
|---|---|
|
Cloud |
API エラーに関する情報が含まれています。 |
|
Cloud |
エラー コードとメッセージを含む特定の API エラーについて説明します。 |
|
Quota |
特定の SKU のクォータ使用量について説明します。 |
|
Quota |
SKU名情報、識別子およびローカライズされた表示名が含まれます。 |
|
Quota |
Azure AI 検索 でサポートされているすべての SKU のクォータ使用量情報を含む応答。 |
CloudError
API エラーに関する情報が含まれています。
| Name | 型 | 説明 |
|---|---|---|
| error |
エラー コードとメッセージを含む特定の API エラーについて説明します。 |
|
| message |
string |
問題の原因を示すエラーの簡単な説明 (詳細/デバッグ情報については、'error.message' プロパティを参照してください)。 |
CloudErrorBody
エラー コードとメッセージを含む特定の API エラーについて説明します。
| Name | 型 | 説明 |
|---|---|---|
| code |
string |
HTTP 状態コードよりも正確にエラー状態を記述するエラー コード。 特定のエラー ケースをプログラムで処理するために使用できます。 |
| details |
このエラーに関連する入れ子になったエラーが含まれています。 |
|
| message |
string |
エラーの詳細を説明し、デバッグ情報を提供するメッセージ。 |
| target |
string |
特定のエラーのターゲット (たとえば、エラーのあるプロパティの名前)。 |
QuotaUsageResult
特定の SKU のクォータ使用量について説明します。
| Name | 型 | 説明 |
|---|---|---|
| currentValue |
integer (int32) |
特定の検索 SKU で現在使用されている値。 |
| id |
string |
クォータのリソースIDはMicrosoftのSKUエンドポイントを使用します。検索プロバイダー。 |
| limit |
integer (int32) |
特定の検索 SKU のクォータ制限。 |
| name |
現在の検索サービスのSKU名情報。 |
|
| unit |
string |
検索 SKU の測定単位。 |
QuotaUsageResultName
SKU名情報、識別子およびローカライズされた表示名が含まれます。
| Name | 型 | 説明 |
|---|---|---|
| localizedValue |
string |
SKU 名のローカライズされた文字列値。 |
| value |
string |
SKU名はAzure AI 検索でサポートされています。 |
QuotaUsagesListResult
Azure AI 検索 でサポートされているすべての SKU のクォータ使用量情報を含む応答。
| Name | 型 | 説明 |
|---|---|---|
| nextLink |
string |
クォータ使用量の次のページのクエリに使用できる要求 URL。 要求されたクォータ使用量の合計数が最大ページ サイズを超えた場合に返されます。 |
| value |
Azure AI 検索 でサポートされている SKU のクォータ使用量。 |