文档

CreateFilter - 创建筛选条件

更新时间:

创建筛选条件。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
FilterNamestring

筛选条件名称。

我的筛选条件。
FilterConfigurationstring

筛选条件。

{ "regions": [], "tagFilters": [ [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }], [{ "tagKey": "xxx", "tagValue": "xxx" }] ], "resourceTypes": [ "ACS::ECS::AutoSnapshotPolicy" ] }

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF

示例

正常返回示例

JSON格式

{
  "RequestId": "EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF"
}

错误码

HTTP status code错误码错误信息描述
409InvalidParameter.FilterConfigurationThe specified parameter FilterConfiguration is not valid.参数 FilterConfiguration 不合法。
409AlreadyExists.FilterNameThe filter name of current user already exists.FilterName已经存在。
409LengthExceedLimit.FilterConfigurationThe length of parameter FilterConfiguration exceed limit.参数 FilterConfiguration 长度超过限制。
409LengthExceedLimit.FilterNameThe length of parameter FilterName exceed limit.参数 FilterName 长度超过限制。
409ExceedLimit.User.FilterThe maximum number of Filters is exceeded.用户 Filter 数量超出上限。
409InvalidParameter.FilterNameThe specified parameter FilterName is not valid.参数 FilterName 不合法。

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈