Job - getFullyResolvedPropertyValue
Job - getFullyResolvedPropertyValue
Description :
This command returns the fully resolved value of a given property in a given job. Using dot notation, you can get a nested property value in a job, as shown in the example below.
As input, you must provide a string describing the type of job. The valid job type strings are:
- AGENT_INSTALLER_JOB
- AIX_PATCHING_JOB
- AUDIT_JOB
- COMPLIANCE_JOB
- COMPONENT_DISCOVERY_JOB
- DEPLOY_JOB
- FILE_DEPLOY_JOB
- NSH_SCRIPT_JOB
- OTHER_LINUX_PATCHING_JOB
- PLUGIN_DEREGISTRATION_JOB
- PLUGIN_DISTRIBUTION_JOB
- PROVISION_JOB
- REDHAT_PATCHING_JOB
- RPM_LINUX_PATCHING_JOB
- SCAP_COMPLIANCE_JOB
- SNAPSHOT_JOB
- SOLARIS_PATCHING_JOB
- UBUNTU_PATCHING_JOB
- UCS_PROVISION_JOB
- VGTEMPLATE_ENROLLMENT_JOB
- VIRTUAL_GUEST_JOB
- VSM_DISCOVERY_JOB
- WINDOWS_PATCHING_JOB
- WORKFLOW_JOB
Return type : String
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
jobTypeString | String | String representation of the job type. Valid job type strings are listed above. |
jobGroupName | String | Name of the job group. |
jobName | String | Name of the job. |
propertyName | String | Name of the property whose value you want to get. |
Examples :
Example
The following example gets the fully resolved property value of the nested property SUB_PROP, which resides in the property JOB_PROP. JOB_PROP is a property of a deploy job named testJob in the job group tstJobGroup:
Script
blcli Job getFullyResolvedPropertyValue "DEPLOY_JOB" /tstJobGroup testJob JOB_PROP.SUB_PROP
Example
The following example gets the fully resolved property value of the PRIORITY* property. Note that the property name has an asterisk * at the end of it.
Script
blcli Job getFullyResolvedPropertyValue UPDATE_SERVER_PROPERTY_JOB /All_Jobs USP_Job_1 PRIORITY*
Comments
Log in or register to comment.