Queries the network information about an ApsaraDB for ClickHouse cluster.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBClusterId | string | Yes | The cluster ID. | cc-bp1qx68m06981**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"NetInfoItems": {
"NetInfoItem": [
{
"VpcId": "vpc-bp175iuvg8nxqraf2****",
"VSwitchId": "vsw-bp1gzt31twhlo0sa5****",
"ConnectionString": "cc-bp1554t789i8e****.clickhouse.ads.aliyuncs.com",
"JdbcPort": "3306",
"NetType": "VPC",
"HttpPort": "8123",
"IPAddress": "10.255.234.251",
"HttpsPort": "8443",
"MySQLPort": "9004"
}
]
},
"ClusterNetworkType": "VPC",
"RequestId": "9A23C87D-87DF-4DA0-A50E-CB13F4F7923D",
"EnableSLB": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-12-16 | API Description Update. The Error code has changed. The response structure of the API has changed | View Change Details |