huawei-cloud-api-definitions-RDS 0.1.20260724

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"CompareConfigurationRequestBody":{"properties":{"source_id":{"description":"**参数解释**:\n\n源参数模板id。\n\n**约束限制**:\n\n不涉及。","maxLength":72,"minLength":0,"type":"string"},"target_id":{"description":"**参数解释**:\n\n目标参数模板id。\n\n**约束限制**:\n\n不涉及。","maxLength":72,"minLength":0,"type":"string"}},"required":["source_id","target_id"],"type":"object"},"CompareConfigurationResponseBody":{"description":"比较参数模板返回体。","properties":{"parameters":{"description":"**参数解释**:\n\n模板参数差异信息。\n\n**约束限制**:\n\n不涉及。","items":{"$ref":"#/definitions/ParamGroupParameterDiff"},"maxItems":512,"minItems":0,"type":"array"},"source_id":{"description":"**参数解释**:\n\n源参数模板id。\n\n**约束限制**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"},"source_name":{"description":"**参数解释**:\n\n源参数模板名称。\n\n**约束限制**:\n\n不涉及。","maxLength":512,"minLength":0,"type":"string"},"target_id":{"description":"**参数解释**:\n\n目标参数模板id。\n\n**约束限制**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"},"target_name":{"description":"**参数解释**:\n\n目标参数模板名称。\n\n**约束限制**:\n\n不涉及。","maxLength":512,"minLength":0,"type":"string"}},"type":"object"},"ErrorRsp":{"description":"失败时返回的对象。","properties":{"error_code":{"description":"错误码。","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述。","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"ParamGroupParameterDiff":{"description":"参数差异信息","properties":{"name":{"description":"**参数解释**:\n\n参数名称\n\n**约束限制**:\n\n不涉及。","maxLength":1024,"minLength":0,"type":"string"},"source_value":{"description":"**参数解释**:\n\n源模板参数值。\n\n**约束限制**:\n\n不涉及。","maxLength":1024,"minLength":0,"type":"string"},"target_value":{"description":"**参数解释**:\n\n目标模板参数值。\n\n**约束限制**:\n\n不涉及。","maxLength":1024,"minLength":0,"type":"string"}},"type":"object"}},"description":null,"group_id":"b7735f867ef44182af9eb77490a46fbf","host":"rds.cn-north-4.myhuaweicloud.com","id":"8610e57ae8984c84937225ec306cb8d8","info_version":"v3","method":"put","name":"CompareConfiguration","parameters":{},"paths":{"/v3/{project_id}/configurations/difference":{"put":{"consumes":["application/json"],"description":"比较参数模板","operationId":"CompareConfiguration","parameters":[{"description":"**参数解释**:\n\n租户在某一Region下的项目ID。\n\n获取方法请参见获取项目ID。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","in":"path","maxLength":36,"minLength":0,"name":"project_id","required":true,"type":"string"},{"description":"**参数解释**:\n\n用户Token。\n\n**约束限制**:\n\n不涉及。","in":"header","maxLength":20000,"minLength":0,"name":"X-Auth-Token","required":true,"type":"string"},{"description":"**参数解释**:\n\n内容类型。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\napplication/json。\n\n**默认取值**:\n\napplication/json。","in":"header","maxLength":36,"minLength":0,"name":"Content-Type","required":true,"type":"string"},{"description":"**参数解释**:\n\n请求语言类型。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n- en-us\n- zh-cn\n**默认取值**:\n\nen-us。","in":"header","maxLength":36,"minLength":0,"name":"X-Language","required":false,"type":"string"},{"description":"比较参数模板请求体。","in":"body","name":"CompareConfigurationRequestBody","required":false,"schema":{"$ref":"#/definitions/CompareConfigurationRequestBody"}}],"produces":["application/json"],"responses":{"200":{"description":"Success","examples":{"application/json":{"parameters":[{"name":"parameter1","source_value":"OFF","target_value":"ON"},{"name":"parameter2","source_value":"300","target_value":"127"}],"source_id":"3bc1e9cc0d34404b9225ed7a58fb284epr01","source_name":"parameter-group-1","target_id":"6f906cd03be84aff81cd41c4c61434e0pr01","target_name":"parameter-group-2"}},"schema":{"$ref":"#/definitions/CompareConfigurationResponseBody"}},"400":{"description":"Error response","schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"比较参数模板","tags":["参数配置"],"x-api-type":"open-api","x-apigateway-ratelimit":"rds_user_policy","x-is-registered":"Y","x-request-examples-1":{"source_id":"3bc1e9cc0d34404b9225ed7a58fb284epr01","target_id":"6f906cd03be84aff81cd41c4c61434e0pr01"},"x-request-examples-description-1":"下发比较参数模板","x-request-examples-text-1":{"source_id":"3bc1e9cc0d34404b9225ed7a58fb284epr01","target_id":"6f906cd03be84aff81cd41c4c61434e0pr01"},"x-request-examples-url-1":"/rds/v3/54623db08b174c858ba779d2aa7923a3/configurations/difference","x-support-sdk":"Y"}}},"product_short":"RDS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"比较参数模板","tags":"参数配置","uri":null,"version":"2.0"}