获取筛选条件列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
resourcecenter:ListFilters |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| DefaultFilterName |
string |
默认筛选条件名称。 |
我的筛选条件 |
| Filters |
array<object> |
筛选条件。 |
|
|
object |
筛选条件。 |
||
| FilterConfiguration |
string |
筛选条件。 |
{ "regions": [], "tagFilters": [ [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }], [{ "tagKey": "xxx", "tagValue": "xxx" }] ], "resourceTypes": [ "ACS::ECS::AutoSnapshotPolicy" ] } |
| FilterName |
string |
筛选条件名称。 |
我管理的设备 |
| RequestId |
string |
请求 ID。 |
AA39FB9C-CB74-5E73-8DFE-3A2B096F0759 |
示例
正常返回示例
JSON格式
{
"DefaultFilterName": "我的筛选条件",
"Filters": [
{
"FilterConfiguration": "{\n \"regions\": [],\n \"tagFilters\": [\n [{ \"type\": \"notContainTagKey\", \"tagKey\": \"xxx\", \"tagValue\": \"\" }],\n [{ \"tagKey\": \"xxx\", \"tagValue\": \"xxx\" }]\n ],\n \"resourceTypes\": [\n \"ACS::ECS::AutoSnapshotPolicy\"\n ]\n}",
"FilterName": "我管理的设备"
}
],
"RequestId": "AA39FB9C-CB74-5E73-8DFE-3A2B096F0759"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。