huawei-cloud-api-definitions-Config 0.1.20251017

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"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"},"StoredQuery":{"properties":{"created":{"description":"ResourceQL 创建时间","type":"string"},"description":{"description":"ResourceQL 描述","type":"string"},"expression":{"description":"ResourceQL 表达式","type":"string"},"id":{"description":"ResourceQL ID","type":"string"},"name":{"description":"ResourceQL 名字","type":"string"},"type":{"description":"自定义查询类型,枚举值为“account”和“aggregator”。若取值为“account”,表示单帐号的自定义查询语句;若取值为“aggregator”,表示聚合器的自定义查询语句。默认值为“account”。","enum":["account","aggregator"],"type":"string"},"updated":{"description":"ResourceQL 更新时间","type":"string"}},"type":"object"},"StoredQueryRequestBody":{"properties":{"description":{"description":"ResourceQL 描述","maxLength":512,"minLength":0,"type":"string"},"expression":{"description":"ResourceQL 表达式","maxLength":4096,"minLength":1,"type":"string"},"name":{"description":"ResourceQL 名字","maxLength":256,"minLength":1,"pattern":"^(?!\\s)[\\u4e00-\\u9fa5\\u00C0-\\u00FFa-zA-Z0-9_\\- ]+(?<!\\s)$","type":"string"},"type":{"description":"自定义查询类型,枚举值为“account”和“aggregator”。若取值为“account”,表示单帐号的自定义查询语句;若取值为“aggregator”,表示聚合器的自定义查询语句。默认值为“account”。","enum":["account","aggregator"],"type":"string"}},"required":["name","expression"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"cad6b80b035b41d09866cb93e54bff47","host":"rms.myhuaweicloud.com","id":"c79f026377ef4ba0b7dd1a5fd84719dc","info_version":"v1","method":"post","name":"CreateStoredQuery","parameters":null,"paths":{"/v1/resource-manager/domains/{domain_id}/stored-queries":{"post":{"description":"创建新的高级查询","operationId":"CreateStoredQuery","parameters":[{"$ref":"#/components/parameters/AuthToken"},{"$ref":"#/components/parameters/DomainId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoredQueryRequestBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoredQuery"}}},"description":"操作成功"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResp"}}},"description":"输入参数不合法"},"403":{"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_0702","x-support-sdk":"Y"}}},"product_short":"Config","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"创建高级查询","tags":"高级查询","uri":null,"version":"3.0.0"}