{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"MysqlErrorResponse":{"properties":{"error_code":{"description":"错误码。","example":"DBS.200022","type":"string"},"error_msg":{"description":"错误消息。","example":"实例不存在","type":"string"}},"required":["error_code","error_msg"]},"ProxyRestartResponse":{"properties":{"job_id":{"description":"工作流ID。","type":"string"}}}},"description":null,"group_id":"1bf15763f8164608918d180a9b1aa137","host":"gaussdb.cn-north-4.myhuaweicloud.com","id":"88e5e2b7cfbb4ffc81ad55f823ebce9e","info_version":"v3","method":"post","name":"RestartProxyInstance","parameters":{},"paths":{"/v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}/restart":{"post":{"description":"重启数据库代理.","operationId":"RestartProxyInstance","parameters":[{"description":"用户Token。\n\n通过调用IAM服务[获取用户Token](https://support.huaweicloud.com/api-iam/iam_30_0001.html)接口获取。\n\n请求响应成功后在响应消息头中包含的“X-Subject-Token”的值即为Token值。\n","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"******"},{"description":"内容类型。\n\n取值:application/json。\n","in":"header","name":"Content-Type","required":true,"type":"string","x-example":"application/json"},{"description":"语言。","in":"header","name":"X-Language","required":false,"type":"string","x-example":"zh-cn"},{"description":"租户在某一Region下的project ID。\n\n获取方法请参见[获取项目ID](https://support.huaweicloud.com/api-gaussdbformysql/gaussdbformysql_10_0004.html)\n","in":"path","name":"project_id","required":true,"type":"string"},{"description":"实例ID。","in":"path","name":"instance_id","required":true,"type":"string"},{"description":"数据库代理ID。","in":"path","name":"proxy_id","required":true,"type":"string"}],"responses":{"200":{"description":"Success.","examples":{"application/json":{"job_id":"dff1d289-4d03-4942-854f-463ea07c000d"}},"schema":{"$ref":"#/definitions/ProxyRestartResponse"}},"400":{"description":"Client error.","schema":{"$ref":"#/definitions/MysqlErrorResponse"}},"500":{"description":"Server error.","schema":{"$ref":"#/definitions/MysqlErrorResponse"}}},"summary":"重启数据库代理.","tags":["数据库代理"],"x-apigateway-ratelimit":"gaussdbformysql_console_policy","x-file":"gh-330","x-is-registered":"Y","x-request-examples-description-1":"重启数据库代理。","x-request-examples-url-1":"POST https://{endpoint}/v3/0483b6b16e954cb88930a360d2c4e663/instances/61a4ea66210545909d74a05c27a7179ein07/proxy/151c14381ac14ecfb9703a745b992677po01/restart","x-support-sdk":"Y"}}},"product_short":"GaussDB","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"重启数据库代理.","tags":"数据库代理","uri":null,"version":"2.0"}