Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| rds:DescribeCustinsResourceInfo | get | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| DBInstanceIds | string | Yes | The instance ID. You can call the DescribeDBInstances operation to query the instance ID. | rm-wz9s06u4drmqj4aqv |
| ResourceGroupId | string | No | The resource group ID. | rg-acfmy***** |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "D4D4BE8A-DD46-440A-BFCD-EE31DA81C9DD",
"Data": [
{
"MaxIopsIncreaseRatio": 100,
"MaxConnIncreaseRatioValue": 20,
"MemoryAdjustDeadline": "2023-10-25",
"MemAdjustableMaxValue": 200,
"IopsAdjustableMaxValue": 20,
"CpuIncreaseRatio": 10,
"MaxIopsIncreaseRatioValue": 20,
"OriginMaxConn": 30,
"MemoryIncreaseRatioValue": 200,
"MaxConnIncreaseRatio": 100,
"CpuIncreaseRatioValue": 20,
"OriginMaxIops": 20,
"MaxConnAdjustableMaxValue": 100,
"MaxConnAdjustDeadline": "2023-10-25\n",
"MaxIopsAdjustDeadline": "2023-10-25\n",
"OriginMemory": 20,
"MemAdjustableMaxRatio": 60,
"CpuAdjustableMaxValue": 60,
"CpuAdjustableMaxRatio": 30,
"CpuAdjustDeadline": "2023-10-25",
"MemoryIncreaseRatio": "2023-10-25",
"OriginCpu": 2,
"DBInstanceId": "rm-wz92gn1ll9fe5d3a4"
}
]
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | InvalidCPUZoom.NotSupport | The param cpuZoom not in valid range | - |
| 400 | InvalidCPUShar.NotSupport | The param cpuShar not in valid range | - |
| 400 | InvalidMemoryZoom.NotSupport | The param memory zoom not in valid range | - |
| 400 | InvalidIOPSZoom.NotSupport | The param iops zoom not in valid range | - |
| 400 | InvalidMaxConnZoom.NotSupport | The param MaxConne zoom not in valid range | - |
| 400 | InvalidResource.Type.NotSupport | The param Resource Type not in valid range | - |
| 400 | InvalidIncreaseRatio.Type.NotSupport | Insufficient host resources, please reduce the ratio | - |
| 400 | InvalidDedicatedHostGroupName | The DedicatedHostGroupName is invalid | - |
| 400 | InvalidInsName | The InsName is invalid | The specified InsName parameter is invalid. |
| 400 | ClusterTypeError | The Custins cluster type encounters an error. Standard cluster is not supported. | The Custins cluster type is invalid. Only the user cluster type is supported. |
| 403 | ClusterTypeError | Custins Cluster Type Error, Support User Cluster | The Custins cluster type is invalid. Only the user cluster type is supported. |
| 403 | DedicatedHostNameIsNull | Dedicated Host Name Is Null! | - |
| 404 | PhysicalCustins.NotFound | Physical Custins Not Found! | - |
| 404 | HostInfo.NotFound | Current cluster not found host info! | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-11-20 | API Description Update. The Error code has changed | View Change Details |
