@hpcc-js/comms
Version:
hpcc-js - Communications
138 lines • 3.84 kB
TypeScript
import { IConnection, IOptions } from "../connection";
export declare namespace SMCActivity {
interface Request {
ChatURL?: string;
BannerContent?: string;
BannerColor?: string;
BannerSize?: string;
BannerScroll?: string;
BannerAction?: string;
EnableChatURL?: boolean;
FromSubmitBtn?: boolean;
SortBy?: string;
Descending?: boolean;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface TargetCluster {
ClusterName: string;
QueueName: string;
QueueStatus: string;
StatusDetails: string;
Warning: string;
ClusterType: number;
ClusterSize: number;
ClusterStatus: number;
}
interface ThorClusterList {
TargetCluster: TargetCluster[];
}
interface TargetCluster2 {
ClusterName: string;
QueueName: string;
QueueStatus: string;
StatusDetails: string;
Warning: string;
ClusterType: number;
ClusterSize: number;
ClusterStatus: number;
}
interface RoxieClusterList {
TargetCluster: TargetCluster2[];
}
interface TargetCluster3 {
ClusterName: string;
QueueName: string;
QueueStatus: string;
StatusDetails: string;
Warning: string;
ClusterType: number;
ClusterSize: number;
ClusterStatus: number;
}
interface HThorClusterList {
TargetCluster: TargetCluster3[];
}
interface DFUJob {
TimeStarted: string;
Done: number;
Total: number;
Command: string;
}
interface DFUJobs {
DFUJob: DFUJob[];
}
interface ActiveWorkunit {
Wuid: string;
State: string;
StateID: number;
Owner: string;
Jobname: string;
Server: string;
Instance: string;
Priority: string;
Extra: string;
GraphName: string;
Duration: string;
GID: string;
QueueName: string;
MemoryBlocked: number;
IsPausing: boolean;
Warning: string;
ClusterName: string;
ClusterType: string;
ClusterQueueName: string;
TargetClusterName: string;
}
interface Running {
ActiveWorkunit: ActiveWorkunit[];
}
interface ServerJobQueue {
QueueName: string;
ServerName: string;
ServerType: string;
QueueStatus: string;
StatusDetails: string;
NetworkAddress: string;
Port: number;
}
interface ServerJobQueues {
ServerJobQueue: ServerJobQueue[];
}
interface Response {
Exceptions: Exceptions;
Build: string;
ThorClusterList: ThorClusterList;
RoxieClusterList: RoxieClusterList;
HThorClusterList: HThorClusterList;
DFUJobs: DFUJobs;
Running: Running;
BannerContent: string;
BannerColor: string;
BannerSize: string;
BannerScroll: string;
ChatURL: string;
ShowBanner: number;
ShowChatURL: number;
SortBy: string;
Descending: boolean;
SuperUser: boolean;
AccessRight: string;
ServerJobQueues: ServerJobQueues;
}
}
export declare class SMCService {
private _connection;
constructor(optsConnection: IOptions | IConnection);
connectionOptions(): IOptions;
Activity(request: SMCActivity.Request): Promise<SMCActivity.Response>;
}
//# sourceMappingURL=wsSMC.d.ts.map