[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Export NSX Recommended Rules
DescriptionExport recommended firewall rules based on the flow data gathered by vRealize Network Insight in NSX-V compatible format. The output will be a .zip file download.
Request
URLURL
https://vrni.example.com/api/ni/micro-seg/recommended-rules/nsx
Request Body
Request Body
{
"group_1": {
"entity": {
"entity_id": "10000:562:1904698621",
"entity_type": "Tier"
}
},
"group_2": {
"entity": {
"entity_id": "10000:562:1780351215",
"entity_type": "Tier"
}
}
}
boolean
include_external
Optional
When True, includes ungrouped endpoints outside defined scope
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
file
of type(s) application/octet-stream
Errors
ApiError
400
Bad Request
401
Unauthorized
500
Internal Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"group_1":{"entity":{"entity_id":"10000:562:1904698621","entity_type":"Tier"}},"group_2":{"entity":{"entity_id":"10000:562:1780351215","entity_type":"Tier"}}}' https://vrni.example.com/api/ni/micro-seg/recommended-rules/nsx
[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api