ADS小时数据

QueryUserOmsData

描述

查询分析型数据库按小时计量的数据信息。

请求参数

名称类型是否必填说明
TableStringads
DataTypeString计量数据时间类型。Hour:小时
StartTimeString请求的开始时间。日期格式按照ISO8601标准标示,并需要使用UTC时间。格式:yyyy-mm-ddThh:mm:ssZ
EndTimeString请求的结束时间。日期格式按照ISO8601标准标示,并需要使用UTC时间。格式:yyyy-mm-ddThh:mm:ssZ
MakerString设定结果从NextToken之后按字母排序的第一个开始返回。默认从头返回
PageSizeInteger分页查询每页行数,1~200,默认100行

返回参数

名称类型说明
HostIdString用户所属站点,cn为中国内地站
RegionString地域
ECUCountIntegerECU数量
ECUTypeStringECU类型
ProviderIdString产品供应商对应编号,默认26842
EndTimeString计费数据发生结束时间
StartTimeString计费数据发生开始时间
DBNameString用户定义的数据库名称

请求示例

示例(按小时):

https://business.aliyuncs.com/?Action=QueryUserOmsData
&DataType=Hour
&EndTime=2019-04-18T09:15:54Z
&StartTime=2019-01-18T09:15:54Z
&Table=ads
&<公共请求参数>
            

返回示例

示例(按小时):

{
    "Data": {
        "OmsData": [
            {
                "Region": "cn-shenzhen",
                "ECUCount": "2",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T09:00:00Z",
                "StartTime": "2019-01-24T08:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T10:00:00Z",
                "StartTime": "2019-01-24T09:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T11:00:00Z",
                "StartTime": "2019-01-24T10:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T12:00:00Z",
                "StartTime": "2019-01-24T11:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T13:00:00Z",
                "StartTime": "2019-01-24T12:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T14:00:00Z",
                "StartTime": "2019-01-24T13:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T15:00:00Z",
                "StartTime": "2019-01-24T14:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T16:00:00Z",
                "StartTime": "2019-01-24T15:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T17:00:00Z",
                "StartTime": "2019-01-24T16:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T18:00:00Z",
                "StartTime": "2019-01-24T17:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T19:00:00Z",
                "StartTime": "2019-01-24T18:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T20:00:00Z",
                "StartTime": "2019-01-24T19:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T21:00:00Z",
                "StartTime": "2019-01-24T20:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T22:00:00Z",
                "StartTime": "2019-01-24T21:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-24T23:00:00Z",
                "StartTime": "2019-01-24T22:00:00Z",
                "DBName": "ads_tt"
            },
            {
                "Region": "cn-shenzhen",
                "ECUCount": "4",
                "ECUType": "c4",
                "ProviderId": "26842",
                "EndTime": "2019-01-25T00:00:00Z",
                "StartTime": "2019-01-24T23:00:00Z",
                "DBName": "ads_tt"
            }
        ],
        "HostId": "cn",
        "Marker": "145:00000000000000012945:r:01_1711245632317223:02_ADS:03_26842:04_cn-shenzhen:05_ads_tt:06_000000000001548676800:"
    },
    "Message": "Successful!",
    "RequestId": "D1A76432-830F-4D97-A515-B7CA5F174BB2",
    "Success": true,
    "Code": "Success"
}
            
阿里云首页 阿里云交易和账单管理API 相关技术圈