Usages - List By Subscription
지정된 구독의 모든 검색 할당량 사용 목록을 가져옵니다.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages?api-version=2023-11-01
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
location
|
path | True |
string |
Microsoft Azure 지리적 지역의 고유한 위치 이름입니다. |
subscription
|
path | True |
string |
Microsoft Azure 구독의 고유 식별자입니다. Azure Resource Manager API, 명령줄 도구 또는 포털에서 이 값을 가져올 수 있습니다. |
api-version
|
query | True |
string |
각 요청에 사용할 API 버전입니다. |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
x-ms-client-request-id |
string (uuid) |
이 요청을 식별하는 클라이언트에서 생성된 GUID 값입니다. 지정된 경우 요청을 추적하는 방법으로 응답 정보에 포함됩니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
작업이 성공했습니다. 응답에는 지정된 구독에 대한 모든 검색 할당량 사용 목록이 포함됩니다. |
|
Other Status Codes |
작업 중에 예기치 않은 오류가 발생했습니다. |
보안
azure_auth
Microsoft Entra ID OAuth2 권한 부여 흐름.
형식:
oauth2
Flow:
implicit
권한 부여 URL:
https://login.microsoftonline.com/common/oauth2/authorize
범위
Name | Description |
---|---|
user_impersonation | 사용자 계정 가장 |
예제
GetQuotaUsagesList
샘플 요청
샘플 응답
{
"value": [
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/free",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "free",
"localizedValue": "F - Free"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/basic",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "basic",
"localizedValue": "B - Basic"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "standard",
"localizedValue": "S - Standard"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard2",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "standard2",
"localizedValue": "S2 - Standard2"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard3",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "standard3",
"localizedValue": "S3 - Standard3"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/storageOptimizedL1",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "storageOptimizedL1",
"localizedValue": "L1 - Storage Optimized"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/storageOptimizedL2",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "storageOptimizedL2",
"localizedValue": "L2 - Storage Optimized"
}
}
],
"nextLink": null
}
정의
Name | Description |
---|---|
Cloud |
API 오류에 대한 정보를 포함합니다. |
Cloud |
오류 코드 및 메시지를 사용하여 특정 API 오류를 설명합니다. |
Name |
Azure AI Search에서 지원하는 SKU의 이름입니다. |
Quota |
특정 SKU의 할당량 사용량을 설명합니다. |
Quota |
Azure AI Search의 지원되는 모든 SKU에 대한 할당량 사용 정보를 포함하는 응답입니다. |
CloudError
API 오류에 대한 정보를 포함합니다.
Name | 형식 | Description |
---|---|---|
error |
오류 코드 및 메시지를 사용하여 특정 API 오류를 설명합니다. |
CloudErrorBody
오류 코드 및 메시지를 사용하여 특정 API 오류를 설명합니다.
Name | 형식 | Description |
---|---|---|
code |
string |
HTTP 상태 코드보다 오류 조건을 보다 정확하게 설명하는 오류 코드입니다. 프로그래밍 방식으로 특정 오류 사례를 처리하는 데 사용할 수 있습니다. |
details |
이 오류와 관련된 중첩된 오류를 포함합니다. |
|
message |
string |
오류를 자세히 설명하고 디버깅 정보를 제공하는 메시지입니다. |
target |
string |
특정 오류의 대상입니다(예: 오류에 있는 속성의 이름). |
Name
Azure AI Search에서 지원하는 SKU의 이름입니다.
Name | 형식 | Description |
---|---|---|
localizedValue |
string |
SKU 이름의 지역화된 문자열 값입니다. |
value |
string |
Azure AI Search에서 지원하는 SKU 이름입니다. |
QuotaUsageResult
특정 SKU의 할당량 사용량을 설명합니다.
Name | 형식 | Description |
---|---|---|
currentValue |
integer (int32) |
특정 검색 SKU에 대해 현재 사용된 값입니다. |
id |
string |
Microsoft.Search 공급자에 대한 할당량 사용 SKU 엔드포인트의 리소스 ID입니다. |
limit |
integer (int32) |
특정 검색 SKU에 대한 할당량 제한입니다. |
name |
Azure AI Search에서 지원하는 SKU의 이름입니다. |
|
unit |
string |
검색 SKU에 대한 측정 단위입니다. |
QuotaUsagesListResult
Azure AI Search의 지원되는 모든 SKU에 대한 할당량 사용 정보를 포함하는 응답입니다.
Name | 형식 | Description |
---|---|---|
nextLink |
string |
할당량 사용량의 다음 페이지를 쿼리하는 데 사용할 수 있는 요청 URL입니다. 요청된 할당량 사용의 총 수가 최대 페이지 크기를 초과하는 경우 반환됩니다. |
value |
Azure AI Search에서 지원하는 SKU에 대한 할당량 사용량입니다. |