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

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:ListCloudAssetMatchOperatorslist
*全部资源
*

请求参数

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

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

  • zh:中文
  • en:英文
zh

返回参数

名称类型描述示例值
object
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
RequestIdstring

The request ID.

C699E4E4-F2F4-58FC-A949-457FFE59****
MatchTypeOperatorsarray<object>

操作符类型。

MatchTypeOperatorsobject

操作符类型。

Typestring

The type used by the operator. Values:

  • LIST
  • MAP
  • STRING
  • BOOLEAN
  • FLOAT
  • DOUBLE
  • INTEGER
  • LONG
LIST
MatchOperatorsarray<object>

操作符列表。

MatchOperatorsobject

操作符列表。

Namestring

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
Valuestring

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
ShowNamestring

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
InputPatternstring

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错误码错误信息描述
400AccountIdNotExistAccountId not exist账户不存在,请检查您的账户信息是否正确。
400NoPermissionno permission无此服务的访问权限。
403NoPermissioncaller has no permission当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。
500ServerErrorServerError服务故障,请稍后重试!

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

变更历史

变更时间变更内容概要操作
2025-11-20新增 OpenAPI查看变更详情