SLB小时数据

QueryUserOmsData

描述

查询SLB产品按小时计量的数据信息。

请求参数

名称类型是否必填说明
TableStringslb
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地域
InstanceIdString实例ID
AddressStringSLB的服务地址
ProviderIdString产品供应商对应编号,默认26842
NetworkInInteger在StartTime和EndTime时间段内发生的从外部网络流入SLB的数据量,单位Bytes
NetworkOutInteger在StartTime和EndTime时间段内发生的从SLB流出到外部网络的数据量,单位否Bytes
AddressTypeString地址类型:intranet- 专线;internet-互联网
LoadbalancerSpecString实例规格
BandWidthInteger用户购买的带宽,单位bps
EndTimeString计费数据发生结束时间
StartTimeString计费数据发生开始时间

请求示例

示例(按小时):

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

返回示例

示例(按小时):

{
    "Data": {
        "OmsData": [
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T01:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T00:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T02:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T01:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T03:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T02:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T04:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T03:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T05:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T04:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T06:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T05:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T07:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T06:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T08:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T07:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T09:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T08:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T10:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T09:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T11:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T10:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T12:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T11:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T13:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T12:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T14:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T13:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T15:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T14:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T16:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T15:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T17:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T16:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T18:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T17:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T19:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T18:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T20:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T19:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T21:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T20:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T22:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T21:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-27T23:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T22:00:00Z"
            },
            {
                "BandWidth": "0",
                "Region": "cn-qingdao-cm5-a01",
                "InstanceId": "lb-m5erdc05uvypci0qgmvet",
                "Address": "100.98.42.203",
                "ProviderId": "26842",
                "NetworkIn": "0",
                "AddressType": "intranet",
                "EndTime": "2019-01-28T00:00:00Z",
                "NetworkOut": "0",
                "LoadbalancerSpec": "slb.s1.small",
                "StartTime": "2019-01-27T23:00:00Z"
            },
        ],
        "HostId": "cn",
        "Marker": "007:00000000000000005895:r:01_1711245632317223:02_slb:03_26842:04_lb-m5erdc05uvypci0qgmvet:05_000000000001548756000:"
    },
    "Message": "Successful!",
    "RequestId": "D1B98B69-B4FE-4CE0-9CDE-9445872FF059",
    "Success": true,
    "Code": "Success"
}
            
阿里云首页 阿里云交易和账单管理API 相关技术圈