You can call this operation to obtain the connection information of a specified cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeContactPoints |
The operation that you want to perform. Set the value to DescribeContactPoints. |
ClusterId | String | Yes | cds-bp1b136j****5d57 |
The ID of the cluster. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ContactPoints | Array |
The connection information of the cluster. |
|
ContactPoint | |||
DataCenterId | String | cn-hangzhou-g |
The ID of the data center. |
Port | Integer | 9042 |
The native transport port for CQL. |
PrivateAddresses | List | cds-bp1b136****5d56-1-core-001.cassandra.rds.aliyuncs.com |
The internal endpoint. |
PublicAddresses | List | cds-proxy-pub-bp1b136j****5d56-1-core-002.cassandra.rds.aliyuncs.com |
The public endpoint. |
RequestId | String | 467F786B-C765-40C4-8493-89F4CE95F1B6 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeContactPoints
&ClusterId=cds-bp1b136j****5d57
&<Common request parameters>
Sample success responses
XML
format
<DescribeContactPointsResponse>
<RequestId>467F786B-C765-40C4-8493-89F4CE95F1B6</RequestId>
<ContactPoints>
<ContactPoint>
<Port>9042</Port>
<DataCenterId>cn-hangzhou-g</DataCenterId>
<PrivateAddresses>
<PrivateAddress>cds-bp1b136j****5d56-1-core-001.cassandra.rds.aliyuncs.com</PrivateAddress>
<PrivateAddress>cds-bp1b136j****5d56-1-core-002.cassandra.rds.aliyuncs.com</PrivateAddress>
</PrivateAddresses>
<PublicAddresses>
<PublicAddress>cds-proxy-pub-bp1b136j****5d56-1-core-001.cassandra.rds.aliyuncs.com</PublicAddress>
<PublicAddress>cds-proxy-pub-bp1b136j****5d56-1-core-002.cassandra.rds.aliyuncs.com</PublicAddress>
</PublicAddresses>
</ContactPoint>
</ContactPoints>
</DescribeContactPointsResponse>
JSON
format
{
"RequestId": "467F786B-C765-40C4-8493-89F4CE95F1B6",
"ContactPoints": {
"ContactPoint": [
{
"Port": 9042,
"DataCenterId": "cn-hangzhou-g",
"PrivateAddresses": {
"PrivateAddress": [
"cds-bp1b136j****5d56-1-core-001.cassandra.rds.aliyuncs.com",
"cds-bp1b136j****5d56-1-core-002.cassandra.rds.aliyuncs.com"
]
},
"PublicAddresses": {
"PublicAddress": [
"cds-proxy-pub-bp1b136j****5d56-1-core-001.cassandra.rds.aliyuncs.com",
"cds-proxy-pub-bp1b136j****5d56-1-core-002.cassandra.rds.aliyuncs.com"
]
}
}
]
}
}
Error codes
For a list of error codes, visit the API Error Center.