StaticComponentGroup - createGroupWithParentName
StaticComponentGroup - createGroupWithParentName
Description :
This command creates a component group within a parent component group. The parent component group is identified by name. The name of the parent group must be fully qualified, such as /Windows/IIS.
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 component 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 component group inside another component group:
Script
PARENT_GROUP="/parent"
COMPONENT_GROUP1="group1"
# Now create new group
COMPONENT_GROUP1_ID=`blcli StaticComponentGroup createGroupWithParentName $SERVER_GROUP1 $PARENT_GROUP`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*