NSX-T Data Center REST API

Associated URIs:

API Description API Path

Returns the list of all virtual machines created or imported under a particular account id. Supports optional query parameters like region id, vpc id, public_ip, is_gateway.


GET /api/v1/csm/virtual-machines

Update virtual machine config


Updates user configurable nsx properties of virtual machines.
POST /api/v1/csm/virtual-machines?action=update_config

Returns information about the particular virtual machine


GET /api/v1/csm/virtual-machines/<virtual-machine-id>

Details of NSX firewall rules of cloud virtual machine


Return the NSX firewall rules of an agentless cloud virtual machine within the given cloud network
and 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.
GET /api/v1/csm/virtual-machines/<virtual-machine-id>/firewall-rules
Additional Links