This URL gets all the VM groups configured in the Manager.
Resource URL
GET /vmgroup
Request Parameters
None
Response Parameters
Following fields are returned in the response.
Field Name | Description | Data Type |
|---|---|---|
| Indicates if the GET operation is successful. Value is set to Value is set to | string |
| Not applicable | Not applicable |
| Not applicable | Not applicable |
| Not applicable | Not applicable |
| Details of the VM groups. Each object has the details of a VM group. The value of | Array of objects |
Example
Request
GET https://<NSM_IP>/intruvert/webservice/api/v1/cloud/vmgroup
Response
{"success":true,
"msg":null,
"errMsg":null,
"domainName":null,
"data":[{"domainId":0,
"subscriberVMGroupId":0,
"groupName":"vmg1",
"description":"My vmgroup",
"clusterId":0,"clusterName":null,
"controllerId":0,
"controllerName":null,
"inspectionMode":"ips",
"updateUser":"admin",
"updateDatetime":1556020991000,
"protectedObjects":[
{"id":1,"vmgroupId":1,"type":"CIDR","value":"1.1.1.73/32"},
{"id":2,"vmgroupId":1,"type":"CIDR","value":"1.1.1.78/32"}],
"accountAccesses":null,"protectionProfileVO":null,"groupId":1}]}