NSX-T Data Center REST API
Details of NSX firewall rules of cloud virtual machine
Return the NSX firewall rules of an agentless cloud virtual machine within the given cloud networkand the details/status of each rule. VMs with NSX agent do not have the NSX rules populated.
Rule errors are populated if failed to realize for the instance.In AWS, instance id is same as instance guid.
In Azure, instance guid refers to the global unique identifier of the instance.
Request:
Method:
GET
URI Path(s):
/api/v1/csm/virtual-machines/{virtual-machine-id}/firewall-rules
Request Headers:
n/a
Query Parameters:
NsxFirewallRulesListRequestParameters+
Request Body:
n/a
Example Request:
GET https://<nsx-csm>/api/v1/csm/virtual-machines/i-027c0b32cbe631ec9/firewall-rulesSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NsxFirewallRulesListResult+