Azure spending - Get partner usage summary
파트너의 사용 요약을 검색합니다.
GET https://api.partnercenter.microsoft.com/v1/usagesummary
요청 헤더
| Name | 필수 | 형식 | Description |
|---|---|---|---|
| Authorization | True |
string |
권한 부여 전달자 토큰 |
| ms-correlationid |
string |
내부적으로 요청을 추적하는 데 사용됩니다. ms-correlationid가 제공되지 않으면 서버는 각 요청에 대해 새 상관 관계를 생성합니다. |
|
| ms-cv |
string |
내부적으로 요청을 추적하는 데 사용됩니다. ms-cv 제공되지 않으면 서버는 각 요청에 대해 새 ms-cv 생성합니다. |
|
| ms-requestid |
string |
요청의 idempotency에 사용됩니다. ms-requestid가 제공되지 않으면 서버는 각 요청에 대해 새 요청을 생성합니다. |
응답
| Name | 형식 | Description |
|---|---|---|
| 200 OK |
요청이 성공했습니다. 응답 본문에는 사용 요약이 포함됩니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
| 400 Bad Request |
누락되었거나 잘못된 입력이 있었습니다. 응답 본문은 오류 세부 정보를 제공합니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
| 401 Unauthorized |
요청이 인증되지 않았습니다. 클라이언트는 먼저 파트너 API 서비스를 사용하여 인증해야 합니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
| 403 Forbidden |
요청이 인증되었지만 호출자가 호출할 권한이 없으므로 거부되었습니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
| 404 Not Found |
리소스를 찾을 수 없거나 지정된 입력 매개 변수와 함께 사용할 수 없습니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
| 500 Internal Server Error |
파트너 API 서비스 또는 해당 종속성 중 하나가 요청을 충족하지 못했습니다. 호출자는 이를 다시 시도할 수 있습니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
정의
| Name | Description |
|---|---|
| Link | |
|
Resource |
|
|
Resource |
|
|
System. |
|
|
Usage |
Link
| Name | 형식 | Description |
|---|---|---|
| headers |
System. |
|
| method |
string |
|
| uri |
string |
ResourceAttributes
| Name | 형식 | Description |
|---|---|---|
| etag |
string |
|
| objectType |
string |
ResourceLinks
| Name | 형식 | Description |
|---|---|---|
| next | ||
| previous | ||
| self |
System.Collections.Generic.KeyValuePair[System.String,System.String]
| Name | 형식 | Description |
|---|---|---|
| key |
string |
|
| value |
string |
UsageManagement.PartnerUsageSummary
| Name | 형식 | Description |
|---|---|---|
| attributes | ||
| billingEndDate |
string (date-time) |
|
| billingStartDate |
string (date-time) |
|
| currencyCode |
string |
|
| currencyLocale |
string |
|
| customersOverBudget |
integer (int32) |
|
| customersTrendingOver |
integer (int32) |
|
| customersWithUsageBasedSubscription |
integer (int32) |
|
| emailsToNotify |
string[] |
|
| id |
string |
|
| lastModifiedDate |
string (date-time) |
|
| links | ||
| name |
string |
|
| resourceId |
string |
|
| resourceName |
string |
|
| totalCost |
number (double) |
|
| usdTotalCost |
number (double) |