You can call this operation to modify the specifications of a tenant in an OceanBase cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oceanbase:ModifyTenantResource |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TenantId |
string |
Yes |
The ID of the tenant. |
ob2mr3oae0**** |
| Cpu |
integer |
Yes |
The information about the CPU resources of the tenant. |
2 |
| Memory |
integer |
Yes |
The memory size of the tenant, in GB. |
2 |
| InstanceId |
string |
Yes |
The ID of the OceanBase cluster. |
ob317v4uif**** |
| LogDisk |
integer |
No |
The size of the log disk allocated to the tenant, in GB. |
128 |
ReadOnlyZoneList
deprecated
|
string |
No |
Specifies to create a read-only zone. Separate the names of multiple zones with commas (,). |
cn-shanghai-g-ro,cn-shanghai-h-ro |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The return result of the request. |
||
| TenantId |
string |
The ID of the tenant. |
t33h8y08k**** |
| RequestId |
string |
The ID of the request. |
EE205C00-30E4-****-****-87E3A8A2AA0C |
Examples
Success response
JSON format
{
"TenantId": "t33h8y08k****",
"RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.