Re-importing the IP Address Blacklist Used for Traffic Filtering After an Import Failed
Function
After the IP address blacklist used for traffic filtering fails to be imported, this API is used to retry the import.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/ptf/ip-blacklist/retry
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID, which can be obtained by calling an API or from the console. For details, see Obtaining a Project ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
fw_instance_id |
Yes |
String |
Firewall ID, which can be obtained by referring to Obtaining a Firewall ID. |
name |
No |
String |
Name of the IP address blacklist that fails to be imported. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
data |
Object |
Data import |
Example Requests
https://{Endpoint}/v1/eefb11b22d5944f2aa067954516df1cf/ptf/ip-blacklist/retry?fw_instance_id=812f478c-940e-4e00-824f-7287250d76dc&name=ip-blacklist-eip.txt Request: /v1/eefb11b22d5944f2aa067954516df1cf/ptf/ip-blacklist/retry?fw_instance_id=812f478c-940e-4e00-824f-7287250d76dc&name=ip-blacklist-eip.txt Response: {}
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
Response of the retry operation. If the retry succeeds, no value is assigned to the fields in this structure. |
401 |
Unauthorized: Request error. |
403 |
Forbidden: Access forbidden. |
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