Export Nsx Recommended Rules
Export recommended firewall rules based on the flow data gathered by Operations for Networks in NSX-V compatible format. The output will be a .zip file download.
Request
URI
POST
https://{api_host}/api/ni/micro-seg/recommended-rules/nsx
COPY
Request Body
NSX Recommended Firewall Rules Request
RecommendedRulesRequest of type(s) application/json
Optional
{
"group_1": {
"entity": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
}
},
"group_2": {
"entity": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
}
},
"time_range": {
"start_time": 1597247025,
"end_time": 1597247999
},
"include_external": false
}
boolean
include_external
Optional
When True, includes ungrouped endpoints outside defined scope
Responses
200
Success
Returns file of type(s) application/octet-stream
Operation doesn't return any data structure
400
Bad Request
Returns ApiError of type(s) application/octet-stream
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
integer As int32 As int32
code
Optional
code
string
message
Optional
message
401
Unauthorized
Operation doesn't return any data structure
500
Internal Error
Operation doesn't return any data structure
Microsegmentation Operations
POST
Export Nsx Recommended Rules
POST
Get Connection Graph
POST
Get Entity Communication Summary
POST
List Recommended Rules