ListCloudAssetMatchOperators - 获取云资产数据操作符列表

更新时间:
复制 MD 格式

Get the list of cloud product configuration rule operators

接口说明

Get the list of cloud asset data operators.

调试

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

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

yundun-sas:ListCloudAssetMatchOperators

list

*全部资源

*

请求参数

名称

类型

必填

描述

示例值

Lang

string

设置请求和接收消息的语言类型,默认为 zh。取值:

  • zh:中文

  • en:英文

zh

返回参数

名称

类型

描述

示例值

object

Success

boolean

Indicates whether the request was successful. Valid values:

  • true

  • false

true

RequestId

string

The request ID.

C699E4E4-F2F4-58FC-A949-457FFE59****

MatchTypeOperators

array<object>

操作符类型。

array<object>

操作符类型。

Type

string

The type used by the operator. Values:

  • LIST

  • MAP

  • STRING

  • BOOLEAN

  • FLOAT

  • DOUBLE

  • INTEGER

  • LONG

LIST

MatchOperators

array<object>

操作符列表。

object

操作符列表。

Name

string

Unique name of the operator. Values: - LIST type:

  1. LIST_CONTAINS: contains

  2. LIST_LENGTH_GT: length greater than

  3. LIST_LENGTH_LT: length less than

  4. LIST_NOT_CONTAINS: does not contain

  • STRING type:

  1. STRING_NOT_IN: not in list

  2. STRING_EQ: equals

  3. STRING_IN: in list

  4. STRING_NOT_EQ: not equal

  • BOOLEAN type:

  1. BOOLEAN_NOT_IN: not in list

  2. BOOLEAN_EQ: equals

  3. BOOLEAN_IN: in list

  4. BOOLEAN_NOT_EQ: not equal

  • FLOAT type: 1. FLOAT_NOT_IN: not in list

  1. FLOAT_EQ: equals 3. FLOAT_IN: in list

  2. FLOAT_NOT_EQ: not equal

  3. FLOAT_GT: greater than

  4. FLOAT_GTE: greater than or equal to

  5. FLOAT_LT: less than

  6. FLOAT_LTE: less than or equal to

  • DOUBLE type:

  1. DOUBLE_NOT_IN: not in list

  2. DOUBLE_EQ: equals

  3. DOUBLE_IN: in list

  4. DOUBLE_NOT_EQ: not equal

  5. DOUBLE_GT: greater than

  6. DOUBLE_GTE: greater than or equal to 7 . DOUBLE_LT: less than

  7. DOUBLE_LTE: less than or equal to

  • INTEGER type:

  1. INTEGER_NOT_IN: not in list

  2. INTEGER_EQ: equals

  3. INTEGER_IN: in list

  4. INTEGER_NOT_EQ: not equal

  5. INTEGER_GT: greater than

  6. INTEGER_GTE: greater than or equal to

  7. INTEGER_LT: less than

  8. INTEGER_LTE: less than or equal to

  • LONG type:

  1. LONG_NOT_IN: not in list

  2. LONG_EQ: equals

  3. LONG_IN: in list

  4. LONG_NOT_EQ: not equal

  5. LONG_GT: greater than

  6. LONG_GTE: greater than or equal to

  7. LONG_LT: less than

  8. LONG_LTE: less than or equal to

LIST_CONTAINS

Value

string

Operator value. Options: - For LIST type:

  1. CONTAINS: contains

  2. LENGTH_GT: length greater than

  3. LENGTH_LT: length less than

  4. NOT_CONTAINS: does not contain

  • For STRING type:

  1. NOT_IN: not in the list

  2. EQ: equals

  3. IN: in the list

  4. NOT_EQ: does not equal

  • For BOOLEAN type:

  1. NOT_IN: not in the list

  2. EQ: equals

  3. IN: in the list

  4. NOT_EQ: does not equal

  • For FLOAT type:

  1. NOT_IN: not in the list

  2. EQ: equals

  3. IN: in the list

  4. NOT_EQ: does not equal

  5. GT: greater than

  6. GTE: greater than or equal to

  7. LT: less than

  8. LTE: less than or equal to

  • For DOUBLE type:

  1. NOT_IN: not in the list

  2. EQ: equals

  3. IN: in the list

  4. NOT_EQ: does not equal

  5. GT: greater than

  6. GTE: greater than or equal to

  7. LT: less than

  8. LTE: less than or equal to

  • For INTEGER type:

  1. NOT_IN: not in the list

  2. EQ: equals

  3. IN: in the list

  4. NOT_EQ: does not equal

  5. GT: greater than

  6. GTE: greater than or equal to

  7. LT: less than

  8. LTE: less than or equal to

  • For LONG type:

  1. NOT_IN: not in the list

  2. EQ: equals

  3. IN: in the list

  4. NOT_EQ: does not equal

  5. GT: greater than

  6. GTE: greater than or equal to

  7. LT: less than

  8. LTE: less than or equal to

CONTAINS

ShowName

string

Operator display name. Values:

  • For LIST type:

  1. Contains: includes

  2. SizeGreaterThan: size greater than

  3. SizeLessThan: size less than

  4. NotContains: does not include

  • For STRING type:

  1. NotIn: not in the list

  2. Equals: equals

  3. In: in the list

  4. NotEquals: does not equal

  • For BOOLEAN type:

  1. NotIn: not in the list

  2. Equals: equals

  3. In: in the list

  4. NotEquals: does not equal

  • For FLOAT type:

  1. NotIn: not in the list

  2. Equals: equals

  3. In: in the list

  4. NotEquals: does not equal

  5. >: greater than

  6. >=: greater than or equal to

  7. <: less than

  8. <=: less than or equal to

  • For DOUBLE type:

  1. NotIn: not in the list

  2. Equals: equals

  3. In: in the list

  4. NotEquals: does not equal

  5. >: greater than

  6. >=: greater than or equal to

  7. <: less than

  8. <=: less than or equal to (Note: There seems to be a repetition here, likely meant to be '<=' for 'less than or equal to')

  • For INTEGER type:

  1. NotIn: not in the list

  2. Equals: equals

  3. In: in the list

  4. NotEquals: does not equal

  5. >: greater than

  6. >=: greater than or equal to

  7. <: less than

  8. <=: less than or equal to

  • For LONG type:

  1. NotIn: not in the list

  2. Equals: equals

  3. In: in the list

  4. NotEquals: does not equal

  5. 说明

    : greater than

  6. 说明

    =: greater than or equal to

  7. <: less than

  8. <=: less than or equal to

  • For INTEGER type (repeated):

  1. NotIn: not in the list

  2. Equals: equals

  3. In: in the list

  4. NotEquals: does not equal

  5. >: greater than

  6. >=: greater than or equal to

  7. <: less than

  8. <=: less than or equal to

Contains

InputPattern

string

Operation data types. Values:

  • LIST type:

  1. For Name as LIST_CONTAINS, the value is: LIST

  2. For Name as LIST_LENGTH_GT, the value is: PRIMITIVE

  3. For Name as LIST_LENGTH_LT, the value is: PRIMITIVE

  4. For Name as LIST_NOT_CONTAINS, the value is: LIST

  • STRING type:

  1. For Name as STRING_NOT_IN, the value is: LIST

  2. For Name as STRING_EQ, the value is: PRIMITIVE

  3. For Name as STRING_IN, the value is: LIST

  4. For Name as STRING_NOT_EQ, the value is: PRIMITIVE

  • BOOLEAN type:

  1. For Name as BOOLEAN_NOT_IN, the value is: LIST

  2. For Name as BOOLEAN_EQ, the value is: PRIMITIVE

  3. For Name as BOOLEAN_IN, the value is: LIST

  4. For Name as BOOLEAN_NOT_EQ, the value is: PRIMITIVE

  • FLOAT type:

  1. For Name as FLOAT_NOT_IN, the value is: LIST

  2. For Name as FLOAT_EQ, the value is: PRIMITIVE

  3. For Name as FLOAT_IN, the value is: LIST

  4. For Name as FLOAT_NOT_EQ, the value is: PRIMITIVE

  5. For Name as FLOAT_GT, the value is: PRIMITIVE

  6. For Name as FLOAT_GTE, the value is: PRIMITIVE

  7. For Name as FLOAT_LT, the value is: PRIMITIVE

  8. For Name as FLOAT_LTE, the value is: PRIMITIVE

  • DOUBLE type:

  1. For Name as DOUBLE_NOT_IN, the value is: LIST

  2. For Name as DOUBLE_EQ, the value is: PRIMITIVE

  3. For Name as DOUBLE_IN, the value is: LIST

  4. For Name as DOUBLE_NOT_EQ, the value is: PRIMITIVE

  5. For Name as DOUBLE_GT, the value is: PRIMITIVE

  6. For Name as DOUBLE_GTE, the value is: PRIMITIVE

  7. For Name as DOUBLE_LT, the value is: PRIMITIVE 8. For Name as DOUBLE_LTE, the value is: PRIMITIVE

  • INTEGER type:

  1. For Name as INTEGER_NOT_IN, the value is: LIST

  2. For Name as INTEGER_EQ, the value is: PRIMITIVE

  3. For Name as INTEGER_IN, the value is: LIST

  4. For Name as INTEGER_NOT_EQ, the value is: PRIMITIVE

  5. For Name as INTEGER_GT, the value is: PRIMITIVE

  6. For Name as INTEGER_GTE, the value is: PRIMITIVE

  7. For Name as INTEGER_LT, the value is: PRIMITIVE

  8. For Name as INTEGER_LTE, the value is: PRIMITIVE

  • LONG type:

  1. For Name as LONG_NOT_IN, the value is: LIST

  2. For Name as LONG_EQ, the value is: PRIMITIVE

  3. For Name as LONG_IN, the value is: LIST

  4. For Name as LONG_NOT_EQ, the value is: PRIMITIVE

  5. For Name as LONG_GT, the value is: PRIMITIVE

  6. For Name as LONG_GTE, the value is: PRIMITIVE

  7. For Name as LONG_LT, the value is: PRIMITIVE

  8. For Name as LONG_LTE, the value is: PRIMITIVE

  • INTEGER type (repeated):

  1. For Name as INTEGER_NOT_IN, the value is: LIST

  2. For Name as INTEGER_EQ, the value is: PRIMITIVE

  3. For Name as INTEGER_IN, the value is: LIST

  4. For Name as INTEGER_NOT_EQ, the value is: PRIMITIVE

  5. For Name as INTEGER_GT, the value is: PRIMITIVE

  6. For Name as INTEGER_GTE, the value is: PRIMITIVE

  7. For Name as INTEGER_LT, the value is: PRIMITIVE

  8. For Name as INTEGER_LTE, the value is: PRIMITIVE

PRIMITIVE

示例

正常返回示例

JSON格式

{
  "Success": true,
  "RequestId": "C699E4E4-F2F4-58FC-A949-457FFE59****",
  "MatchTypeOperators": [
    {
      "Type": "LIST",
      "MatchOperators": [
        {
          "Name": "LIST_CONTAINS",
          "Value": "CONTAINS",
          "ShowName": "Contains",
          "InputPattern": "PRIMITIVE"
        }
      ]
    }
  ]
}

错误码

HTTP status code

错误码

错误信息

描述

400 AccountIdNotExist AccountId not exist
400 NoPermission no permission
500 ServerError ServerError
403 NoPermission caller has no permission

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

变更历史

更多信息,参考变更详情