@broadcom/ops-for-zowe-cli
Version:
OPS/MVS® Plug-in for Zowe CLI
22 lines (21 loc) • 1.08 kB
TypeScript
import { Session } from "@zowe/imperative";
export declare class SSMResourceUtils {
static readonly SSM_URL: string;
static readonly RESOURCES_URL: string;
static readonly STATE_URL: string;
static readonly headers: ({
"Content-Type": string;
Accept?: undefined;
} | {
Accept: string;
"Content-Type"?: undefined;
})[];
/**
* setResourceState
*/
static setResourceState(session: Session, resource: string, restApi: boolean, desiredState: string, subsystem?: string, table?: string): Promise<{}>;
static showResourceState(session: Session, resourceName: string, restApi: boolean, subsystem?: string, table?: string): Promise<{}>;
static getResourceURL(session: Session, resourceName: string, restApi: boolean, table?: string, subSystem?: string): string;
static getResourceURLWithQueryParms(session: Session, resourceName: string, restApi: boolean, table?: string, subSystem?: string): string;
static getNonRestApiResourceURL(resourceName: string, table?: string, subSystem?: string): string;
}