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.

UpgradeModelObjectsJob - removeServerObjectBasedSnapshotOrAuditJobFromJob


UpgradeModelObjectsJob - removeServerObjectBasedSnapshotOrAuditJobFromJob

Description :

This command removes a server object based Snapshot Job or Audit Job from an existing Upgrade Model Objects Job.

The jobKey argument is a DBKey that refers to the Upgrade Model Objects Job you want to modify. The targetJobKey argument is a DBKey that refers to the server object based Snapshot Job or Audit Job you want to remove from the job.

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 Upgrade Model Objects Job.

targetJobKey

DBKey

Handle to the target job.

Example

The following example shows how to remove a server object based Snapshot Job or Audit Job from an existing Upgrade Model Objects Job.

Script





JOB_KEY=`blcli UpgradeModelObjectsJob getDBKeyByGroupAndName /group1 upgrade_co_job`

TARGET_JOB_KEY=`blcli SnapshotJob getDBKeyByGroupAndName /group2 snapshot_job_1`


JOB_KEY=`blcli UpgradeModelObjectsJob removeServerObjectBasedSnapshotOrAuditJobFromJob $JOB_KEY $TARGET_JOB_KEY`



 

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

BMC Server Automation Command Line Interface 8.5