VSMDiscoveryJob - createVSMUpdateInventoryJob
VSMDiscoveryJob - createVSMUpdateInventoryJob
Description :
This command creates a VSM Job that updates inventory.
The jobGroupName argument provides the fully qualified path to the parent group. This command returns a handle to the newly created VSM Job. The handle can be used in other commands that need to reference the VSM Job.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
jobName | String | Name of the job. |
groupName | String | Parent group for this job. |
discoverOrphans | Boolean | Flag indicating whether or not to discover orphan virtual machines (true/false). |
discoverTemplates | Boolean | Flag indicating whether or not to discover templates (true/false). |
Example
The following example creates a VSM update inventory Job
Script
JOB_NAME=Run VSM update inventory Job
JOB_GROUP=/VSMDiscoveryJobs
IS_DISCOVER_ORPHANS=true
IS_DISCOVER_TEMPLATES=true
JOB_KEY=`blcli VSMDiscoveryJob createVSMUpdateInventoryJob $JOB_NAME $JOB_GROUP $IS_DISCOVER_ORPHANS $IS_DISCOVER_TEMPLATES`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*