List groups in the grid controller's local directory service database and groups in the global directory service database (if the grid is configured to use such a service).
/api/v1/group/list?vdc=controller-name
Name of the target virtual data center
synchronous
GET
GET http://192.168.123.200/api/v1/group/list?vdc=mygrid
GET http://192.168.123.200/api/v1/group/list?local&vdc=mygrid
GET http://192.168.123.200/api/v1/group/list?global&vdc=mygrid
{
"group[0]" : {
"name" : "admin",
"description" : "us",
"scope" : "local"
},
"group[1]" : {
"name" : "mygroup",
"description" : "",
"scope" : "local"
}
}
<opt>
<group[0]>
<name>admin</name>
<description>us</description>
<scope>local</scope>
</group[0]>
<group[1]>
<name>mygroup</name>
<description></description>
<scope>local</scope>
</group[1]>
</opt>
Entity vdc mygrid not found
- A VDC name was specified that is not configured in the WS_API application.
Note: This API is available with WS_API_r6-1.0.6-1 and above.
|
Copyright © 2012 CA.
All rights reserved.
|
|