Hello,
I am new to VMWare NSX-T. I am exploring the APIs available to query Security Groups, Add/Remove VMs to/from Security Groups. As I understand, the APIs take Security Group names in the URI path, as given below
GET Request to Query Security Group - /policy/api/v1/infra/domains/<domain-id>/groups/<group-id>
PATCH request to Add VM to Security Group - /policy/api/v1/infra/domains/<domain-id>/groups/<group-id>
My Question -
- Are there APIs available that would take the Unique Identifier for the Security Group ?
VMWare NSX-T allows creation of multiple security groups with the same name. Are there APIs to query, Add/Remove VM to security Groups using the Unique Identifier of the security group rather than group name ?
Thanks!