数据库安全服务 DBSS-根据标签查询资源实例数量:请求示例

时间:2025-02-12 14:58:33

请求示例

/v1/{project_id}/{resource_type}/resource-instances/count{  "matches" : [ {    "key" : "resource_name",    "value" : "resource1"  } ],  "not_tags" : [ {    "key" : "key1",    "values" : [ "*value1", "value2" ]  } ],  "tags" : [ {    "key" : "key1",    "values" : [ "*value1", "value2" ]  } ],  "tags_any" : [ {    "key" : "key1",    "values" : [ "value1", "value2" ]  } ],  "not_tags_any" : [ {    "key" : "key1",    "values" : [ "value1", "value2" ]  } ],  "sys_tags" : [ {    "key" : "_sys_enterprise_project_id",    "values" : [ "5aa119a8-d25b-45a7-8d1b-88e127885635" ]  } ]}
support.huaweicloud.com/api-dbss/CountResourceInstanceByTag.html