@broadcom/ca7-for-zowe-cli
Version:
CA 7 Workload Automation Plug-in for Zowe CLI
73 lines • 3.06 kB
JavaScript
;
/*
* Copyright (c) 2025 Broadcom. All Rights Reserved. The term
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This software and all information contained therein is
* confidential and proprietary and shall not be duplicated,
* used, disclosed, or disseminated in any way except as
* authorized by the applicable license agreement, without the
* express written permission of Broadcom. All authorized
* reproductions must be marked with this language.
*
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteJobDefinition = void 0;
exports.DeleteJobDefinition = {
name: "delete-job",
aliases: ["dj"],
summary: "Delete a job definition for CA 7 instance specified in path",
description: "Delete Job Definition",
examples: [
{
options: "--job JOBA --type DELETE --ca7Id INSTANCE1",
description: "Delete Job named JOBA for INSTANCE1"
}
],
type: "command",
handler: __dirname + "/DeleteJobDefinition.handler",
profile: {
optional: ["ca7"]
},
options: [
{
name: "ca7Id",
description: "CA7ONL Instance",
type: "string",
required: true
},
{
name: "job",
description: "The name of the job",
type: "string",
required: true
},
{
name: "type",
description: "The type of deletion." +
"\nValid values are:" +
"\nDELETE" +
"\nDeletes a job and its associated data from the database (documentation, schedules, and so forth).DD" +
"\nSame as DELETE, but deletes any data sets that this job references if the data sets have no users and" +
"\nno documentation, and do not cause job triggering." +
"\nThis includes all virtual resources that are connected to the job.PURGE" +
"\nSame as DD, but also deletes job trigger definitions that trigger the job being deleted," +
"\njob requirement definitions that require the job being deleted;" +
"\nand, if the WA Restart_XXX Option interface is active, deletes the WA Restart_XXX Option" +
"\nCMT member for the job being deleted.",
type: "string",
required: true
}
]
};
//# sourceMappingURL=DeleteJobDefinition.definition.js.map