QueryUserOmsData
Overview
You can call this API to get original usage data per Alibaba Cloud product.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Table | String | Yes | Product code, for eacmple: oss |
| DataType | String | Yes | Time type, normally value is Hour |
| StartTime | String | Yes | Data start time, format:yyyy-mm-ddThh:mm:ssZ |
| EndTime | String | Yes | Data end time, format:yyyy-mm-ddThh:mm:ssZ |
| Maker | String | No | Tag of last records of current request, using this parameter you can start next request with continuous records |
| PageSize | Integer | No | 1~200,by default is 100 |
Response parameters
| Name | Type | Example | Description |
|---|---|---|---|
| Code | String | Success | Status Code. |
| Message | String | Successful! | Error Message. |
| RequestId | String | 6000EE23-274B-4E07-A697-FF2E999520A4 | Unique request id |
| Success | Boolean | true | The success flag |
| Data | Object | Return data. | |
| Maker | String | NextToken | Tag of last records of current request, Maker is null means no data. |
| HostId | String | cn | Host ID. |
| OmsData | Array of Object | [{ "SyncIn": "0", "Bucket": "quota_for_get_service_", "NetworkIn": "0", "PutRequest": "1", "NetworkOut": "0", "GetRequest": "0", "ProcessImgSize": "0", "SyncOut": "0", "Storage": "0", "Region": "ap-northeast-1", "ProviderId": "26842", "CdnIn": "0", "EndTime": "2019-09-03T16:00:00Z", "StartTime": "2019-09-02T16:00:00Z", "StorageType": "standard", "CdnOut": "0"}] | The data list of OMS. |