最近更新时间:2022-09-26
请求方法:GET
接口描述:获取实例节点信息
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeDBInstanceNodes | 系统规定参数。取值:DescribeDBInstanceNodes |
DBInstanceId | String | 是 | mysql-lv1xxxxxxx | 数据库实例ID |
状态码:200
名称 | 类型 | 示例值 | 描述 |
RequestId | String | rm-uf6wjk5xxxxxxxxxx | 请求ID |
DBInstanceId | String | mssql-xxxxxx | 实例ID |
DBInstanceName | String | 03:06 | 实例名称 |
InstanceType | String | normal | 实例类型。取值:
|
InstanceMode | String | SE | 数据库系列。取值:
|
Region | String | cn-beijing | 地域ID |
InstanceStatus | String | running | 实例状态,取值:
|
Engine | String | mysql | 数据库类型 |
EngineVersion | String | 8.0 | 数据库版本 |
Nodes | Array | [] | 由节点信息组成的数组 |
-NodeId | String | mssql-xxxxxx_node0 | 节点Id |
-NodeIp | String | 192.168.11.9 | 节点IP |
-Role | String | master | 节点角色 |
-NodeStatus | String | running | 节点状态 |
-AvailabilityZone | String | cn-beijing | 节点区域ID |
-StorageType | String | local | 存储类型 |
GET https://api.unicloud.com/v3/api/rds? Action=DescribeDBInstanceNodes &DBInstanceId=mysql-xxxxxxxxxxx |
{ "RequestId": "b9de1a62-d09e-4d34-9a61-38f0f56564b6", "DBInstanceId": "mssql-xxxxxx", "DBInstanceName": "测试中", "InstanceType": "normal", "InstanceMode": "SE", "RegionId": "cn-beijing", "InstanceStatus": "running", "Engine": "sqlserver", "EngineVersion": "2016-enterprise", "Nodes": [ { "NodeId": "mssql-ggf8eq8sw612_node0_node0", "NodeIp": "192.168.11.9", "Role": "master", "NodeStatus": "running", "AvailabilityZone": "cn-beijing-a", "StorageType": "local" } ] } |