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":{"ConfigurationForCreation":{"properties":{"datastore":{"$ref":"#/definitions/ParaGroupDatastore"},"description":{"description":"参数模板描述。最长256个字符,不支持>!<\"&'=特殊字符。默认为空。","type":"string"},"name":{"description":"参数模板名称。最长64个字符,只允许大写字母、小写字母、数字、和“-_.”特殊字符。","type":"string"},"values":{"additionalProperties":{"type":"string"},"description":"参数值对象,用户基于默认参数模板自定义的参数值。为空时不修改参数值。\n\n- key:参数名称,\"max_connections\":\"10\"。为空时不修改参数值,key不为空时value也不可为空。\n- value:参数值,\"max_connections\":\"10\"。","example":{"max_connections":"10"},"type":"object"}},"required":["name","datastore"]},"ConfigurationSummaryForCreate":{"description":"参数模板信息。","properties":{"created":{"description":"创建时间,格式为\"yyyy-MM-ddTHH:mm:ssZ\"。\n其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。","type":"string"},"datastore_name":{"description":"引擎名。","enum":["mysql","postgresql","sqlserver","mariadb"],"type":"string"},"datastore_version_name":{"description":"引擎版本。","type":"string"},"description":{"description":"参数组描述。","type":"string"},"id":{"description":"参数组ID。","type":"string"},"name":{"description":"参数组名称。","type":"string"},"updated":{"description":"更新时间,格式为\"yyyy-MM-ddTHH:mm:ssZ\"。\n其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。","type":"string"}},"required":["id","name","datastore_version_name","datastore_name","created","updated"]},"CreateConfigurationResponseBody":{"properties":{"configuration":{"$ref":"#/definitions/ConfigurationSummaryForCreate"}}},"ErrorResponse":{"properties":{"error_code":{"description":"错误码。","example":"DBS.200022","type":"string"},"error_msg":{"description":"错误消息。","example":"实例名称已存在。","type":"string"}},"required":["error_code","error_msg"]},"ParaGroupDatastore":{"properties":{"type":{"description":"数据库引擎,不区分大小写:\n- MySQL\n- PostgreSQL\n- SQLServer\n- MariaDB","enum":["MySQL","PostgreSQL","SQLServer","MariaDB"],"type":"string"},"version":{"description":"数据库版本。\n\n- MySQL引擎支持5.6、5.7、8.0版本。取值示例:5.7。具有相应权限的用户才可使用8.0,您可联系华为云客服人员申请。\n- PostgreSQL引擎支持9.5、9.6、10、11版本。取值示例:9.6。\n- Microsoft SQL Server:仅支持2017 企业版、2017 标准版、2017 web版、2014 标准版、2014 企业版、2016 标准版、2016 企业版、2012 企业版、2012 标准版、2012 web版、2008 R2 企业版、2008 R2 web版、2014 web版、2016 web版。取值示例2014_SE。 例如:2017标准版可填写2017_SE,2017企业版可填写2017_EE,2017web版可以填写2017_WEB","type":"string"}},"required":["type","version"]}},"description":null,"group_id":"b7735f867ef44182af9eb77490a46fbf","host":"rds.cn-north-4.myhuaweicloud.com","id":"ff3bbe749bcd4436b53632199d6ee5fd","info_version":"v3","method":"post","name":"CreateConfiguration","parameters":{},"paths":{"/v3/{project_id}/configurations":{"post":{"description":"创建参数模板。","operationId":"CreateConfiguration","parameters":[{"description":"用户Token。","in":"header","name":"x-auth-token","type":"string","x-example":"******"},{"description":"语言","enum":["zh-cn","en-us"],"in":"header","name":"X-Language","type":"string","x-example":"zh-cn"},{"description":"项目ID。","in":"path","name":"project_id","required":true,"type":"string","x-example":"619d3e78f61b4be68bc5aa0b59edcf7b"},{"description":"请求体。","in":"body","name":"CreateConfigurationRequestBody","required":true,"schema":{"$ref":"#/definitions/ConfigurationForCreation"}}],"responses":{"200":{"description":"Success.","examples":{"application/json":{"configuration":{"created":"2017-04-09T08:27:56+0800","datastore_name":"mysql","datastore_version_name":"5.6","description":"configuration_test","id":"463b4b58-d0e8-4e2b-9560-5dea4552fde9","name":"configuration_test","updated":"2017-04-09T08:27:56+0800"}}},"schema":{"$ref":"#/definitions/CreateConfigurationResponseBody"}},"default":{"description":"Client or server error.","schema":{"$ref":"#/definitions/ErrorResponse"}}},"summary":"创建参数模板","tags":["参数配置"],"x-constraint":"- MySQL:仅支持5.6,5.7。\n- Microsoft SQL Server:仅支持2014 SE、2014 EE、2016 SE、2016 EE、2008 R2 EE、2008 R2 WEB、2014 WEB、2016 WEB。\n- 创建参数模板的name名称不能与默认参数模板或已有参数模板的名称重复。","x-request-examples-1":{"datastore":{"type":"mysql","version":"5.6"},"description":"configuration_test","name":"configuration_test","values":{"autocommit":"OFF","max_connections":"10"}},"x-request-examples-description-1":"","x-request-examples-url-1":"POST https://rds.cn-north-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/configurations","x-support-sdk":"Y"}}},"product_short":"RDS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"创建参数模板","tags":"参数配置","uri":null,"version":"2.0"}