Querying the DDoS Attack Protection Blacklist or Whitelist
Function
This API is used to query the blacklist and whitelist of DDoS attack protection.
Calling Method
For details, see Calling APIs.
URI
GET /v2/aad/policies/ddos/blackwhite-list
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
type |
Yes |
String |
white: whitelist. black: blacklist. |
|
instance_id |
Yes |
String |
instanceId |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
token |
|
Content-Type |
Yes |
String |
Content-Type |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
total |
Integer |
total |
|
ips |
Array of BwListIps objects |
List of users. |
|
Parameter |
Type |
Description |
|---|---|---|
|
ip |
String |
Blacklist/Whitelist IP addresses. |
|
desc |
String |
Description |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. |
|
error_description |
String |
Error description. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
400 |
Error response |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot