@zowe/zosmf-for-zowe-sdk
Version:
Zowe SDK to interact with the z/OS Management Facility
90 lines • 3.2 kB
JavaScript
;
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZosmfProfile = void 0;
const ZosmfSession_1 = require("../ZosmfSession");
const Zosmf_constants_1 = require("./Zosmf.constants");
/**
* Profile configuration for ZOSMF profiles
* @type {ICommandProfileTypeConfiguration}
* @memberof ZosmfProfile
*/
exports.ZosmfProfile = {
type: "zosmf",
schema: {
type: "object",
title: "z/OSMF Profile",
description: "z/OSMF Profile",
properties: {
host: {
type: "string",
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_HOST
},
port: {
type: "number",
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_PORT,
includeInTemplate: true
},
user: {
type: "string",
secure: true,
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_USER
},
password: {
type: "string",
secure: true,
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_PASSWORD
},
rejectUnauthorized: {
type: "boolean",
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_REJECT_UNAUTHORIZED
},
certFile: {
type: "string",
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_CERT_FILE
},
certKeyFile: {
type: "string",
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_CERT_KEY_FILE
},
// certFilePassphrase: {
// type: "string",
// secure: true,
// optionDefinition: ZosmfSession.ZOSMF_OPTION_CERT_FILE_PASSPHRASE
// },
basePath: {
type: "string",
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_BASE_PATH
},
protocol: {
type: "string",
optionDefinition: ZosmfSession_1.ZosmfSession.ZOSMF_OPTION_PROTOCOL
},
encoding: {
type: "string",
optionDefinition: {
name: "encoding",
aliases: ["ec"],
description: "The encoding for download and upload of z/OS data set and USS files." +
" The default encoding if not specified is IBM-1047.",
type: "string"
}
},
responseTimeout: {
type: "number",
optionDefinition: Zosmf_constants_1.ZosFilesOptions.responseTimeout
}
},
required: []
}
};
//# sourceMappingURL=Zosmf.profile.js.map