Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Group - getAQualifiedGroupName


Group - getAQualifiedGroupName

Description :

This command accepts a group type and group ID, and returns the fully qualified group name.

For groupType, use one of the following integers:

  • Job Group: 5005
  • Smart Job Group: 5006
  • Server Group: 5003
  • Smart Server Group: 5007
  • Depot Group: 5001
  • Smart Depot Group: 5012
  • Template Group: 5008
  • Smart Template Group: 5016
  • Component Group: 5014
  • Smart Component Group: 5015
  • System Package Group: 5025

Return type : String

Command Input :

Variable Name

Variable Type

Description

groupType

Integer

The type of the group.

groupId

Integer

The ID of the group.

Example

The following example gets the qualified group name of a job group.

Script





JOBGROUP_SUB2="/parent/sub1/sub2"

JOBGROUP_SUB2_ID=`blcli JobGroup groupNameToId $JOBGROUP_SUB2`

blcli Group getAQualifiedGroupName 5005 $JOBGROUP_SUB2_ID



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.3