关闭数据库的高安全模式
- 仅支持MySQL
POST
https://rds.jdcloud-api.com/v1/regions/{regionId}/instances/{instanceId}/intercept:disableIntercept
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
regionId | String | True | Region ID | |
instanceId | String | True | Instance ID |
无
无
返回码 | 描述 |
---|---|
200 | OK |
POST
public void testDisableIntercept() { DisableInterceptRequest request = new DisableInterceptRequest(); request.setInstanceId("mysql-k67q8n46si"); request.setRegionId("cn-north-1"); DisableInterceptResponse response = rdsClient.disableIntercept(request); System.out.println(new Gson().toJson(response)); }
{ "requestId": "bpakc3mnur1ig6a8awtodm2nrti46uku" }