API网关 APIG-通过标签查询实例列表:请求示例

时间:2024-06-27 11:06:26

请求示例

  • 根据标签过滤实例列表

    {
      "without_any_tag" : false,
      "tags" : [ {
        "key" : "test-key",
        "values" : [ "test-value" ]
      } ],
      "matches" : [ {
        "key" : "resource_name",
        "value" : "test-apig"
      } ]
    }
  • 根据企业项目id过滤实例列表

    {
      "without_any_tag" : false,
      "sys_tags" : [ {
        "key" : "_sys_enterprise_project_id",
        "values" : [ "0" ]
      } ],
      "matches" : [ {
        "key" : "resource_name",
        "value" : "test-apig"
      } ]
    }
support.huaweicloud.com/api-apig/ListInstancesByTags.html