ServerGroup - listChildGroupsInGroup
ServerGroup - listChildGroupsInGroup
Description :
This command lists all the child groups of a server group (both static and smart server groups).
Return type : String
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
parentGroupQualifiedName | String | Full path to server group. |
Example
The following example shows how to perform an action on the child server groups returned by this command:
Script
# note / is the root of all server groups
ROOT_SERVERGROUP_LIST=`blcli ServerGroup listChildGroupsInGroup /`
for groupName in $ROOT_SERVERGROUP_LIST
do
#perform some task with group $groupName
done
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*