DescribeInstance
Queries the details of an OceanBase cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oceanbase:DescribeInstance |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the OceanBase cluster. |
ob317v4uif**** |
| PageNumber |
integer |
No |
The page number for paging.
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response of the request. |
||
| RequestId |
string |
The request ID. |
EE205C00-30E4-****-****-87E3A8A2AA0C |
| Instance |
object |
The OceanBase cluster information. |
|
| InstanceId |
string |
The ID of the OceanBase cluster. |
ob317v4uif**** |
| InstanceName |
string |
The name of the OceanBase cluster. |
ob4test |
| InstanceClass |
string |
The cluster specifications.
|
14C70G |
| Series |
string |
The instance edition. Valid values:
|
Normal |
| PayType |
string |
The billing method of the OceanBase cluster. Valid values:
|
PREPAY |
| CreateTime |
string |
The time when the cluster was created. The time is displayed in UTC. |
2021-10-19T07:13:41Z |
| ExpireTime |
string |
The time when the cluster expires. The time is displayed in UTC. |
2021-10-17T16:00:00Z |
| Version |
string |
The OBServer version. |
2.2.77 |
| DeployType |
string |
The deployment type of the cluster. Valid values:
|
multiple |
| DeployMode |
string |
The data replica mode of the cluster.
Note
|
1-1-1 |
| DiskType |
string |
The storage type of the cluster. Default value: cloud_essd_pl1 (ESSD cloud disk). |
cloud_essd_pl1 |
| MaintainTime |
string |
The daily routine maintenance time of the cluster. The time is displayed in UTC. |
19:00Z-20:00Z |
| DataMergeTime |
string |
The time of the major compaction for the cluster. |
02:00 |
| AutoRenewal |
boolean |
Indicates whether auto-renewal is enabled. This parameter is valid only for subscription clusters. |
true |
| IsTrustEcs |
boolean |
Indicates whether a trusted ECS instance is used. |
true |
| Status |
string |
The status of the cluster. Valid values:
|
ONLINE |
| Resource |
object |
The resource information of the cluster. |
|
| Cpu |
object |
The CPU resource information of the cluster. |
|
| TotalCpu |
integer |
The total number of CPU cores in the cluster. |
14 |
| UsedCpu |
integer |
The number of used CPU cores in the cluster. |
10 |
| UnitCpu |
integer |
The number of CPU cores for each replica node in the cluster. |
10 |
| OriginalTotalCpu |
integer |
The original number of CPU cores. |
14 |
| Memory |
object |
The memory resources information of the cluster. |
|
| TotalMemory |
integer |
The total memory of the cluster. Unit: GB. |
70 |
| UsedMemory |
integer |
The used memory of the cluster. Unit: GB. |
10 |
| UnitMemory |
integer |
The memory for each replica in the cluster. Unit: GB. |
10 |
| OriginalTotalMemory |
integer |
The original memory. |
72 |
| DiskSize |
object |
The storage resource information of the cluster. |
|
| TotalDiskSize |
integer |
The total storage space of the cluster. Unit: GB. |
200 |
| UsedDiskSize |
integer |
The used storage space of the cluster. Unit: GB. |
100 |
| UnitDiskSize |
integer |
The storage space for each replica in the cluster. Unit: GB. |
200 |
| DataUsedSize |
number |
The size of the data cloud disk. Unit: GB. |
200 |
| MaxDiskUsedPercent |
number |
The maximum disk usage in percentage. |
0.14 |
| MaxDiskUsedObServer |
array |
The maximum disk usage among the OBServer nodes. |
|
|
string |
The list of OBServer nodes with the highest data cloud disk usage. |
i-bp1fhj23fs32dfbg4**** |
|
| OriginalTotalDiskSize |
integer |
The original disk size. |
200 |
| MaxDiskSize |
number |
The maximum disk size that can be created. |
80000 |
| UnitCount |
integer |
The number of resource units in the cluster. |
1 |
| LogDiskSize |
object |
The log disk resource information of the cluster. |
|
| TotalDiskSize |
integer |
The total log disk space of the cluster, in GB. |
400 |
| UnitDiskSize |
integer |
The log storage space per replica in the cluster, in GB. |
200 |
| LogAssignedSize |
string |
The allocated log storage space, in GB. |
0.0 |
| MaxLogAssignedObServer |
array |
The information about the maximum allocated storage space of the server. |
|
|
string |
The list of OBServer nodes with the highest log disk usage. |
["i-bp1g****","i-bp11****","i-bp19****"] |
|
| MaxLogAssignedPercent |
string |
The percentage of the maximum allocated log storage space. |
6.68 |
| OriginalTotalDiskSize |
integer |
The original size of the log disk. |
200 |
| CapacityUnit |
object |
The capacity unit. |
|
| MaxCapacityUnit |
integer |
The maximum capacity unit. |
4 |
| MinCapacityUnit |
integer |
The minimum capacity unit. |
1 |
| UsedCapacityUnit |
string |
The used capacity units. |
2 |
| AutoUpgradeObVersion |
boolean |
Indicates whether automatic upgrade of the OBServer version is enabled. |
true |
| ObRpmVersion |
string |
The detailed version information of the OBServer. |
2.2.77-20210526202046 |
| IsLatestObVersion |
boolean |
Indicates whether the OBServer version is the latest version. |
true |
| AvailableZones |
array |
The list of available zones. |
|
|
string |
The list of available zones. |
cn-hangzhou-i |
|
| EnableUpgradeLogDisk |
boolean |
Indicates whether the upgrade of log disk specifications is allowed. |
false |
| Zones |
array |
The ID of the zone to which the instance belongs. For more information, see DescribeZones to query the list of available zones. |
|
|
string |
The ID of the zone to which the instance belongs. For more information, see DescribeZones to query the list of available zones. |
cn-hangzhou-h,cn-hangzhou-i,cn-hangzhou-j |
|
| InstanceRole |
string |
The role of the instance. |
NORMAL |
| NodeNum |
integer |
The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n × 3. |
6 |
| ReplicaMode |
string |
The number of full-featured replicas. Valid values:
In a three-active-zone deployment, only three full-featured replicas are supported. In a dual-active-zone deployment, only two full-featured replicas are supported. In a single-active-zone deployment, two or three full-featured replicas are supported. |
2 |
| IsolationOptimization |
boolean |
Indicates whether Cgroup is enabled. |
false |
| EnableIsolationOptimization |
boolean |
Indicates whether isolation optimization is allowed. |
false |
| InTempCapacityStatus |
boolean |
The temporary capacity status. |
false |
| DataDiskAutoScale |
boolean |
Indicates whether automatic data disk scaling is enabled. Note
|
- |
| TenantCreatable |
object |
The tenants that can be created. |
|
| EnableCreateTenant |
boolean |
Indicates whether the cluster allows tenant creation. |
true |
| DisableCreateTenantReason |
string |
The reason why the cluster does not allow tenant creation. |
CPU_NOT_ENOUGH、 MEMORY_NOT_ENOUGH、TENANT_COUNT_EXCEEDS_LIMIT |
| DataDiskAutoScaleConfig |
object |
The automatic data disk scaling configuration. |
|
| AutoScale |
boolean |
Indicates whether auto scaling is enabled. |
true |
| Upperbound |
integer |
The upper limit for scaling. |
16 |
| UpperThreshold |
integer |
The daily scaling threshold. |
80 |
| UpperMergeThreshold |
integer |
The merge scaling threshold. |
90 |
| MaxDiskSize |
integer |
The maximum disk size. |
80000 |
| ScaleStepInNormal |
integer |
The daily scaling step. |
50 |
| ScaleStepInMerge |
integer |
The merge scaling step. |
100 |
| UpperScaleStrategy |
string |
The scaling strategy (RAW or PERCENTAGE). |
RAW |
| UpperScaleStep |
string |
The scaling step. |
5 |
| EnableProxyService |
boolean |
Indicates whether the proxy service is enabled. Valid values:
|
true |
| ProxyServiceStatus |
string |
The status of the proxy service. |
ONLINE |
| ProxyClusterId |
string |
The ID of the proxy cluster. Note
This parameter is included only when EnableProxyService is set to true. |
proxy-56****a6tg2o |
| CpuArchitecture |
string |
The CPU architecture of the cluster. |
X86 |
| ReadOnlyResource |
object |
The resource information of the cluster. |
|
| Cpu |
object |
The CPU resource information of the cluster. |
|
| TotalCpu |
integer |
The total number of CPU cores in the cluster. |
14 |
| UsedCpu |
integer |
The number of used CPU cores in the cluster. |
10 |
| UnitCpu |
integer |
The number of CPU cores per replica node in the cluster. |
10 |
| OriginalTotalCpu |
integer |
The original CPU. |
14 |
| Memory |
object |
The memory resources information of the cluster. |
|
| TotalMemory |
integer |
The total memory of the cluster. Unit: GB. |
70 |
| UsedMemory |
integer |
The used memory of the cluster. Unit: GB. |
10 |
| UnitMemory |
integer |
The memory for each replica in the cluster. Unit: GB. |
10 |
| OriginalTotalMemory |
integer |
The original memory. |
72 |
| DiskSize |
object |
The storage resource information of the cluster. |
|
| TotalDiskSize |
integer |
The total storage space of the cluster. Unit: GB. |
200 |
| UsedDiskSize |
integer |
The used storage space of the cluster. Unit: GB. |
100 |
| UnitDiskSize |
integer |
The storage space for each replica in the cluster. Unit: GB. |
200 |
| DataUsedSize |
number |
The used storage space. Unit: GB. |
200 |
| MaxDiskUsedPercent |
number |
The maximum disk usage in percentage. |
0.14 |
| MaxDiskUsedObServer |
array |
The maximum disk usage among the OBServer nodes. |
|
|
string |
The maximum disk usage among the OBServer nodes. |
i-bp1fhj23fs32dfbg4**** |
|
| OriginalTotalDiskSize |
integer |
The original disk size. |
200 |
| MaxDiskSize |
number |
The maximum disk size that can be created. |
80000 |
| UnitCount |
integer |
The number of resource units in the cluster. |
1 |
| LogDiskSize |
object |
The log disk resource information of the cluster. |
|
| TotalDiskSize |
integer |
The total log disk space of the cluster. Unit: GB. |
400 |
| UnitDiskSize |
integer |
The log storage space per replica in the cluster. Unit: GB. |
200 |
| LogAssignedSize |
string |
The allocated log storage space. |
0.0 |
| MaxLogAssignedObServer |
array |
The OBServer with the maximum allocated log storage space. |
|
|
string |
The OBServer with the maximum allocated log storage space. |
["i-bp1g****","i-bp11****","i-bp19****"] |
|
| MaxLogAssignedPercent |
string |
The maximum percentage of allocated log storage space. |
6.68 |
| CapacityUnit |
object |
The capacity unit. |
|
| MaxCapacityUnit |
integer |
The maximum capacity unit. |
4 |
| MinCapacityUnit |
integer |
The minimum capacity unit. |
1 |
| UsedCapacityUnit |
string |
The used capacity units. |
2 |
| UnitSpec |
string |
The unit specifications of the proxy service. |
2C4G |
| SharedUnitNumLimit |
integer |
The maximum number of units for the proxy service in shared mode. |
3 |
| ExclusiveUnitNumLimit |
integer |
The maximum number of units for the proxy service in exclusive mode. |
1 |
| EnableReadOnlyReplica |
boolean |
Specifies whether read-only replicas are supported. |
true |
| EnableReadOnlyReplicaManagement |
boolean |
Specifies whether read-only replicas can be purchased for the cluster. |
false |
| PrimaryInstance |
string |
The ID of the primary instance. |
ob3h8ytroxxxxx |
| PrimaryRegion |
string |
The region of the primary instance. |
cn-hangzhou |
| SpecType |
string |
The specification type. |
dedicatedspec |
| AllowModifyInternetAddressConnectionLimit |
boolean |
Specifies whether the maximum number of Internet connections can be modified. |
false |
| AllowCreateProxySqlFirewallRule |
boolean |
Specifies whether the ODP SQL firewall can be used. |
false |
Examples
Success response
JSON format
{
"RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C",
"Instance": {
"InstanceId": "ob317v4uif****",
"InstanceName": "ob4test",
"InstanceClass": "14C70G",
"Series": "Normal",
"PayType": "PREPAY",
"CreateTime": "2021-10-19T07:13:41Z",
"ExpireTime": "2021-10-17T16:00:00Z",
"Version": "2.2.77",
"DeployType": "multiple",
"DeployMode": "1-1-1",
"DiskType": "cloud_essd_pl1",
"MaintainTime": "19:00Z-20:00Z",
"DataMergeTime": "02:00",
"AutoRenewal": true,
"IsTrustEcs": true,
"Status": "ONLINE",
"Resource": {
"Cpu": {
"TotalCpu": 14,
"UsedCpu": 10,
"UnitCpu": 10,
"OriginalTotalCpu": 14
},
"Memory": {
"TotalMemory": 70,
"UsedMemory": 10,
"UnitMemory": 10,
"OriginalTotalMemory": 72
},
"DiskSize": {
"TotalDiskSize": 200,
"UsedDiskSize": 100,
"UnitDiskSize": 200,
"DataUsedSize": 200,
"MaxDiskUsedPercent": 0.14,
"MaxDiskUsedObServer": [
"i-bp1fhj23fs32dfbg4****"
],
"OriginalTotalDiskSize": 200,
"MaxDiskSize": 80000
},
"UnitCount": 1,
"LogDiskSize": {
"TotalDiskSize": 400,
"UnitDiskSize": 200,
"LogAssignedSize": "0.0",
"MaxLogAssignedObServer": [
"[\"i-bp1g****\",\"i-bp11****\",\"i-bp19****\"]"
],
"MaxLogAssignedPercent": "6.68",
"OriginalTotalDiskSize": 200
},
"CapacityUnit": {
"MaxCapacityUnit": 4,
"MinCapacityUnit": 1,
"UsedCapacityUnit": "2"
}
},
"AutoUpgradeObVersion": true,
"ObRpmVersion": "2.2.77-20210526202046",
"IsLatestObVersion": true,
"AvailableZones": [
"cn-hangzhou-i"
],
"EnableUpgradeLogDisk": false,
"Zones": [
"cn-hangzhou-h,cn-hangzhou-i,cn-hangzhou-j"
],
"InstanceRole": "NORMAL",
"NodeNum": 6,
"ReplicaMode": "2",
"IsolationOptimization": false,
"EnableIsolationOptimization": false,
"InTempCapacityStatus": false,
"DataDiskAutoScale": true,
"TenantCreatable": {
"EnableCreateTenant": true,
"DisableCreateTenantReason": "CPU_NOT_ENOUGH、 MEMORY_NOT_ENOUGH、TENANT_COUNT_EXCEEDS_LIMIT"
},
"DataDiskAutoScaleConfig": {
"AutoScale": true,
"Upperbound": 16,
"UpperThreshold": 80,
"UpperMergeThreshold": 90,
"MaxDiskSize": 80000,
"ScaleStepInNormal": 50,
"ScaleStepInMerge": 100,
"UpperScaleStrategy": "RAW",
"UpperScaleStep": "5"
},
"EnableProxyService": true,
"ProxyServiceStatus": "ONLINE",
"ProxyClusterId": "proxy-56****a6tg2o",
"CpuArchitecture": "X86",
"ReadOnlyResource": {
"Cpu": {
"TotalCpu": 14,
"UsedCpu": 10,
"UnitCpu": 10,
"OriginalTotalCpu": 14
},
"Memory": {
"TotalMemory": 70,
"UsedMemory": 10,
"UnitMemory": 10,
"OriginalTotalMemory": 72
},
"DiskSize": {
"TotalDiskSize": 200,
"UsedDiskSize": 100,
"UnitDiskSize": 200,
"DataUsedSize": 200,
"MaxDiskUsedPercent": 0.14,
"MaxDiskUsedObServer": [
"i-bp1fhj23fs32dfbg4****"
],
"OriginalTotalDiskSize": 200,
"MaxDiskSize": 80000
},
"UnitCount": 1,
"LogDiskSize": {
"TotalDiskSize": 400,
"UnitDiskSize": 200,
"LogAssignedSize": "0.0",
"MaxLogAssignedObServer": [
"[\"i-bp1g****\",\"i-bp11****\",\"i-bp19****\"]"
],
"MaxLogAssignedPercent": "6.68"
},
"CapacityUnit": {
"MaxCapacityUnit": 4,
"MinCapacityUnit": 1,
"UsedCapacityUnit": "2"
}
},
"UnitSpec": "2C4G",
"SharedUnitNumLimit": 3,
"ExclusiveUnitNumLimit": 1,
"EnableReadOnlyReplica": true,
"EnableReadOnlyReplicaManagement": false,
"PrimaryInstance": "ob3h8ytroxxxxx",
"PrimaryRegion": "cn-hangzhou",
"SpecType": "dedicatedspec",
"AllowModifyInternetAddressConnectionLimit": false,
"AllowCreateProxySqlFirewallRule": false
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.