调用DescribeExporterRuleList接口查询数据导出规则列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageNumber |
integer |
否 |
分页码。默认值:1。 |
1 |
| PageSize |
integer |
否 |
每页显示记录条数。 |
10 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
string |
状态码。 说明
状态码为 200 表示成功,其余取值表示失败。 |
200 |
| Datapoints |
object |
||
| Datapoint |
array<object> |
数据点。 |
|
|
array<object> |
数据点。 |
||
| CreateTime |
integer |
创建时间 |
1667526533000 |
| Describe |
string |
导出规则描述。 |
export test |
| Dimension |
string |
维度 |
hotsName |
| DstName |
object |
||
| DstName |
array |
目标名称。 |
|
|
string |
目标名称。 |
[] |
|
| Enabled |
boolean |
是否启用。 |
true |
| MetricName |
string |
指标名称。 |
CPUUtilization |
| Namespace |
string |
云产品的命名空间。 |
acs_ecs_dashboard |
| RuleName |
string |
规则名称。 |
L121-寿险-全能保建议书系统_DefaultEventRule_10842827 |
| TargetWindows |
string |
导出数据的时间窗口。单位:秒。 说明
|
rule_test |
| Message |
string |
返回信息。 |
The specified resource is not found. |
| PageNumber |
integer |
分页码。默认值:1。 |
1 |
| RequestId |
string |
请求 ID。 |
6BA047CA-8BC6-40BC-BC8F-FBECF35F1993 |
| Success |
boolean |
是否成功,取值:
|
true |
| Total |
integer |
总记录条数。 |
1000 |
示例
正常返回示例
JSON格式
{
"Code": "200",
"Datapoints": {
"Datapoint": [
{
"CreateTime": 1667526533000,
"Describe": "export test",
"Dimension": "hotsName",
"DstName": {
"DstName": [
"[]"
]
},
"Enabled": true,
"MetricName": "CPUUtilization",
"Namespace": "acs_ecs_dashboard",
"RuleName": "L121-寿险-全能保建议书系统_DefaultEventRule_10842827",
"TargetWindows": "rule_test"
}
]
},
"Message": "The specified resource is not found.",
"PageNumber": 1,
"RequestId": "6BA047CA-8BC6-40BC-BC8F-FBECF35F1993",
"Success": true,
"Total": 1000
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。