修改实例通用配置,如网络eip、nat等配置。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
rdsai:ModifyInstanceConfig |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
否 |
地域 ID。 |
cn-beijing |
| InstanceName |
string |
是 |
AI 应用的实例 ID。 |
ra-supabase-8moov5lxba**** |
| ClientToken |
string |
否 |
幂等参数 |
ETnLKlblzczshOTUbOCz**** |
| ConfigName |
string |
否 |
待修改的配置项名称,配合 ConfigValue 使用。 |
eip、nat |
| ConfigValue |
string |
否 |
待修改配置项的取值,配合 ConfigName 使用。 |
on、off |
| BranchName |
string |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
32DEFB4A-861F-5D1D-ADD5-918E4FD7AB8C |
| InstanceName |
string |
||
| BranchName |
string |
示例
正常返回示例
JSON格式
{
"RequestId": "32DEFB4A-861F-5D1D-ADD5-918E4FD7AB8C",
"InstanceName": "",
"BranchName": ""
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | |
| 400 | IncorrectInstanceState | Current instance status does not support this operation. | 当前实例状态不支持该操作 |
| 400 | InvalidGroupName | Specified group name is not valid. | 分组名称无效 |
| 400 | InvalidParameter | The provided parameter is invalid. | 无效的参数。 |
| 400 | MasterInstanceNotExist | Master instance does not exist. | 主实例不存在。 |
| 400 | UnsupportedDBInstanceType | The DB instance type does not support this operation. | |
| 400 | UnsupportedDBInstanceStatus | The DB instance status does not support this operation. | |
| 400 | UnsupportedDBInstanceLockMode | The DB instance lock mode does not support this operation. | |
| 400 | BranchingAlreadyEnabled | Branching is already enabled for this instance. | |
| 400 | ActiveBranchesExisted | Cannot disable branching when active branches exist. | |
| 403 | InsufficientResourceCapacity | There is not enough host resource inventory. | 资源不足 |
| 404 | UserNotFound | User does not exist. | 用户不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。