@broadcom/ca7-for-zowe-cli
Version:
CA 7 Workload Automation Plug-in for Zowe CLI
50 lines • 2.11 kB
JavaScript
;
/*
* Copyright © 202X Broadcom Inc. and/or its subsidiaries
* © 202X Broadcom Inc and/or its subsidiaries; All rights reserved
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostVariableResourceDefinition = void 0;
exports.PostVariableResourceDefinition = {
name: "create-variable-resource",
aliases: ["cvr"],
summary: "Add Variable resource to a job definition",
description: "Add Variable Resource",
examples: [
{
options: "--job JOBAA --schid 23 --rn SCHENV.VARNAME",
description: "Creates a job named JOBAA with resource name SCHENV.VARNAME and schedule id 23"
}
],
type: "command",
handler: __dirname + "/PostVariableResource.handler",
profile: {
optional: ["ca7"]
},
options: [
{
name: "job",
description: "Specifies the job name on which the indicated function is performed." +
"\nLimits: 1 to 8 alphanumeric characters",
type: "string",
required: true
},
{
name: "schid",
description: "(Optional) Specifies the schedule ID (of this job) for which a user requirement is applied. A zero default cannot be specified for one connection and a nonzero schedule ID used for a subsequent connection to the same job with the same user requirement description. An attempt to make such a connection results in an error message." +
"\nDefault: 0, which indicates that the requirement holds for all schedule IDs" +
"\nLimits: 1 to 3 numeric characters from 0 through 999",
type: "string",
required: false
},
{
name: "resource-name",
aliases: ["rn"],
description: "Specifies the resource name being connected to the job." +
"\nLimits: \"SCHENV.\" followed by 1 to 16 alphanumeric and @, #, $, _ characters",
type: "string",
required: true
}
]
};
//# sourceMappingURL=PostVariableResource.definition.js.map