UNPKG

@zowe/zos-files-for-zowe-sdk

Version:

Zowe SDK to interact with files and data sets on z/OS

24 lines 1.23 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 migrate data sets 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 * @param {boolean} wait If true then the function waits for completion of the request. If false (default) the request is queued. * * @returns {Promise<IZosFilesResponse>} A response indicating the status of the migrating * * @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.4.0/com.ibm.zos.v2r4.izua700/IZUHPINFO_API_PutDataSetMemberUtilities.htm */ static dataSet(session: AbstractSession, dataSetName: string, options?: Partial<IMigrateOptions>): Promise<IZosFilesResponse>; } //# sourceMappingURL=HMigrate.d.ts.map