UNPKG

@zowe/cli

Version:

Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.

23 lines (22 loc) 1.04 kB
import { AbstractSession } from "@zowe/imperative"; import { IZosFilesResponse } from "../../doc/IZosFilesResponse"; import { IMigrateOptions } from "./doc/IMigrateOptions"; /** * This class holds helper functions that are used to recall files through the * z/OSMF APIs. */ export declare class HMigrate { /** * * @param {AbstractSession} session z/OSMF connection info * @param {string} dataSetName The name of the data set to recall * * @returns {Promise<IZosFilesResponse>} A response indicating the status of the recalling * * @throws {ImperativeError} Data set name must be specified as a non-empty string * @throws {Error} When the {@link ZosmfRestClient} throws an error * * @see https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.izua700/IZUHPINFO_API_PutDataSetMemberUtilities.htm */ static dataSet(session: AbstractSession, dataSetName: string, options?: Partial<IMigrateOptions>): Promise<IZosFilesResponse>; }