DeregisterConfigurationObjectsJob - removeLatestGlobalConfigObjectVersionFromJob

DeregisterConfigurationObjectsJob - removeLatestGlobalConfigObjectVersionFromJob

Description :

This command removes the latest version of a global configuration object from an existing Deregister Configuration Objects job.

The jobKey argument is a DBKey referring to the job to be modified. The configObjectName argument is the internal name of the configuration object to be removed.

This command returns a handle to the updated job. Note that this handle is different than any existing handle to this job. All older handles are invalid.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle to the job

configObjectName

String

Internal name of the configuration object to be removed from the job

Example

The following example shows how to remove the latest version of a global configuration object from an existing Deregister Configuration Objects job.

Script





JOB_KEY=`blcli DeregisterConfigurationObjectsJob getDBKeyByGroupAndName group1 dereg_co_job` 

Use the ConfigurationObjectClass listAllRootClasses command to list all global configuration objects which can be deregistered (e.g., BMC_UnixUsers) 


JOB_KEY=`blcli DeregisterConfigurationObjectsJob removeLatestGlobalConfigObjectVersionFromJob $JOB_KEY BMC_UnixUsers` 



Was this page helpful? Yes No Submitting... Thank you

Comments