View the CIDR block list of the DBS instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Required | DescribeNodeCidrList |
The operation that you want to perform. Valid values: DescribeNodeCidrList |
Region | String | Required | cn-hangzhou |
The DBS region. Valid values:
|
RegionId | String | No | cn-hangzhou |
Region ID, call DescribeRegions to view the regions supported by DBS. |
ClientToken | String | No | ETnLKlblzczshOTUbOCzxxxxxxx |
The client token that is used to ensure the idempotence of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ErrCode | String | Param.NotFound |
The error code. |
ErrMessage | String | The specified parameter %s value is not valid. |
The error message. |
HttpStatusCode | Integer | 200 |
The HTTP status code. |
InternetIPs | List | "10.X.X.0/24" |
The public CIDR block. |
IntranetIPs | List | "10.X.X.0/24" |
The intranet CIDR block. |
RequestId | String | 5B352E69-E7B1-4EA7-BB8E-29FFE969C791 |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request succeeded. |
Examples
Sample requests
http(s)://dbs-api.cn-hangzhou.aliyuncs.com/? Action=DescribeNodeCidrList
&Region=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<RequestId>5B352E69-E7B1-4EA7-BB8E-29FFE969C791</RequestId>
<InternetIPs>
<InternetIP>118.X.X.0/24</InternetIP>
<InternetIP>47.X.X.0/24</InternetIP>
</InternetIPs>
<HttpStatusCode>200</HttpStatusCode>
<IntranetIPs>
<IntranetIP>10.X.X.0/24</IntranetIP>
<IntranetIP>10.X.X.0/24</IntranetIP>
<IntranetIP>10.X.X.0/24</IntranetIP>
</IntranetIPs>
<Success>true</Success>
JSON
format
{
"RequestId": "5B352E69-E7B1-4EA7-BB8E-29FFE969C791",
"InternetIPs": {
"InternetIP": [
"118.X.X.0/24",
"47.X.X.0/24"
]
},
"HttpStatusCode": 200,
"IntranetIPs": {
"IntranetIP": [
"10.X.X.0/24",
"10.X.X.0/24",
"10.X.X.0/24"
]
},
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.