StaticServerGroup - createGroupWithParentName
StaticServerGroup - createGroupWithParentName
Description :
This command creates a server group within a parent server group. The parent server group is identified by name. The name of the parent group must be fully qualified, such as /Windows/WestCoast.
This command returns the ID of the newly created group.
Return type : Integer
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupName | String | Name of the server group to be created. |
parentGroupName | String | Fully qualified name of the server group that will be the parent group. |
Example
This example shows how to create a server group inside another server group:
Script
PARENT_GROUP="/parent"
SERVER_GROUP1="group1"
# Now create new group
SERVER_GROUP1_ID=`blcli StaticServerGroup createGroupWithParentName $SERVER_GROUP1 $PARENT_GROUP`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*