UCSProvisioning - getDBKeyByGroupAndName
UCSProvisioning - getDBKeyByGroupAndName
Description :
This command gets the handle for a job. You must provide the job name and the full path to the job group containing the job.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupName | String | Fully qualified path to the job group containing the job. |
jobName | String | Name of the job. |
Example
The following example shows how to get the DBKey of an existing UCS Provision Job.
Script
# Name of the existing UCS Provision Job.
UCS_PROVISION_JOB_NAME="ucsprovisionjob1"
# Job group in which the Provision Job is stored.
UCS_PROVISION_JOB_GROUP="/parent/group1"
# Get the UCS Provision Job DBKey using the above information.
UCSPROVISIONJOB_DBKEY=`blcli UCSProvisioning getDBKeyByGroupAndName $UCS_PROVISION_JOB_GROUP $UCS_PROVISION_JOB_NAME`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*