{"base_path":null,"components":{"parameters":{"AuthToken":{"description":"用户Token。\n获取Token,请参考《统一身份认证服务API参考》的“获取用户Token”章节。请求响应成功后在响应消息头中包含的“X-Subject-Token”的值即为Token值。","in":"header","name":"X-Auth-Token","required":true,"schema":{"type":"string"}},"DomainId":{"description":"帐号ID","in":"path","name":"domain_id","required":true,"schema":{"maxLength":36,"pattern":"[\\w-]+","type":"string"}}},"schemas":{"ErrorResp":{"description":"异常错误","properties":{"error_code":{"description":"错误码","type":"string"},"error_msg":{"description":"错误消息内容","type":"string"}},"type":"object"},"QueryInfo":{"properties":{"select_fields":{"description":"ResourceQL 查询字段","items":{"description":"字段名","type":"string"},"type":"array"}},"type":"object"},"QueryRunRequestBody":{"properties":{"expression":{"description":"ResourceQL 表达式","maxLength":4096,"minLength":1,"type":"string"}},"required":["expression"]},"QueryRunResponse":{"properties":{"query_info":{"$ref":"#/components/schemas/QueryInfo"},"results":{"description":"ResourceQL 查询结果.","items":{"type":"object"},"type":"array"}},"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"71684d03de7545d7bdc1ae5caf95614f","host":"rms.myhuaweicloud.com","id":"b470570f84f14d9482eda8377620bf8e","info_version":"v1","method":"post","name":"RunQuery","parameters":null,"paths":{"/v1/resource-manager/domains/{domain_id}/run-query":{"post":{"description":"执行高级查询","operationId":"RunQuery","parameters":[{"$ref":"#/components/parameters/AuthToken"},{"$ref":"#/components/parameters/DomainId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRunRequestBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRunResponse"}}},"description":"Select resources successfully."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResp"}}},"description":"输入参数不合法"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResp"}}},"description":"用户认证失败"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResp"}}},"description":"超出频次限制"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResp"}}},"description":"服务器内部错误"}},"security":[{"PkiTokenAuth":[]}],"summary":"运行高级查询","tags":["Query"],"x-is-registered":"Y","x-publishpath":"rms_04_0701","x-support-sdk":"Y"}}},"product_short":"RMS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"运行高级查询","tags":"高级查询","uri":null,"version":"3.0.0"}