@hpcc-js/comms 3.8.1 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +175 -86
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.umd.cjs +1 -1
- package/dist/browser/index.umd.cjs.map +1 -1
- package/dist/node/index.cjs +39 -42
- package/dist/node/index.cjs.map +4 -4
- package/dist/node/index.js +39 -42
- package/dist/node/index.js.map +4 -4
- package/package.json +4 -5
- package/src/__package__.ts +2 -2
- package/src/ecl/logicalFile.ts +1 -0
- package/src/ecl/store.ts +1 -1
- package/src/index.node.ts +1 -1
- package/src/services/fileSpray.ts +1 -1
- package/src/services/wsCodesign.ts +7 -83
- package/src/services/wsDFU.ts +1 -1
- package/src/services/wsDFUXRef.ts +3 -304
- package/src/services/wsMachine.ts +1 -1
- package/src/services/wsPackageProcess.ts +1 -1
- package/src/services/wsSMC.ts +1 -1
- package/src/services/wsStore.ts +7 -205
- package/src/services/wsTopology.ts +1 -1
- package/src/services/wsWorkunits.ts +0 -8
- package/src/services/wsdl/FileSpray/v1.27/FileSpray.ts +930 -0
- package/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts +227 -0
- package/src/services/wsdl/WsDfu/v1.66/WsDfu.ts +1267 -0
- package/src/services/wsdl/WsDfu/v1.67/WsDfu.ts +1268 -0
- package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +12 -15
- package/src/services/wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts +500 -0
- package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +43 -122
- package/src/services/wsdl/WsSMC/v1.28/WsSMC.ts +645 -0
- package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +65 -164
- package/src/services/wsdl/WsTopology/v1.33/WsTopology.ts +835 -0
- package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +6 -1
- package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +15 -20
- package/src/services/wsdl/ws_elk/v1/ws_elk.ts +4 -4
- package/src/services/wsdl/ws_machine/v1.18/ws_machine.ts +497 -0
- package/src/services/wsdl/ws_machine/v1.19/ws_machine.ts +497 -0
- package/src/services/wsdl/wsstore/v1.02/wsstore.ts +29 -40
- package/types/__package__.d.ts +2 -2
- package/types/ecl/logicalFile.d.ts +1 -0
- package/types/services/fileSpray.d.ts +1 -1
- package/types/services/wsCodesign.d.ts +5 -55
- package/types/services/wsDFU.d.ts +1 -1
- package/types/services/wsDFUXRef.d.ts +3 -218
- package/types/services/wsMachine.d.ts +1 -1
- package/types/services/wsPackageProcess.d.ts +1 -1
- package/types/services/wsSMC.d.ts +1 -1
- package/types/services/wsStore.d.ts +5 -145
- package/types/services/wsTopology.d.ts +1 -1
- package/types/services/wsdl/FileSpray/{v1.26 → v1.27}/FileSpray.d.ts +1 -0
- package/types/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.d.ts +147 -0
- package/types/services/wsdl/WsDfu/{v1.65 → v1.67}/WsDfu.d.ts +16 -0
- package/types/services/wsdl/WsPackageProcess/{v1.04 → v1.07}/WsPackageProcess.d.ts +75 -95
- package/types/services/wsdl/WsSMC/{v1.27 → v1.28}/WsSMC.d.ts +84 -122
- package/types/services/wsdl/WsTopology/{v1.32 → v1.33}/WsTopology.d.ts +97 -164
- package/types/services/wsdl/WsWorkunits/v2.02/WsWorkunits.d.ts +6 -1
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +60 -0
- package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts +2 -2
- package/types/services/wsdl/ws_machine/{v1.17 → v1.19}/ws_machine.d.ts +65 -138
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +166 -0
|
@@ -519,6 +519,7 @@ export namespace WsWorkunits {
|
|
|
519
519
|
StopIfFilesCopied: boolean;
|
|
520
520
|
DfuPublisherWuid: string;
|
|
521
521
|
RemoteStorage: string;
|
|
522
|
+
KeyCompression: string;
|
|
522
523
|
}
|
|
523
524
|
|
|
524
525
|
export interface CopiedQueries {
|
|
@@ -880,7 +881,7 @@ export namespace WsWorkunits {
|
|
|
880
881
|
SelectColumnMode: LogSelectColumnMode;
|
|
881
882
|
CustomColumns: CustomColumns;
|
|
882
883
|
ComponentsFilter: ComponentsFilter;
|
|
883
|
-
Format:
|
|
884
|
+
Format: string;
|
|
884
885
|
sortByTimeDirection: SortDirection;
|
|
885
886
|
LogEventType: LogEventClass;
|
|
886
887
|
}
|
|
@@ -1865,6 +1866,7 @@ export namespace WsWorkunits {
|
|
|
1865
1866
|
StopIfFilesCopied: boolean;
|
|
1866
1867
|
DfuPublisherWuid: string;
|
|
1867
1868
|
RemoteStorage: string;
|
|
1869
|
+
KeyCompression: string;
|
|
1868
1870
|
}
|
|
1869
1871
|
|
|
1870
1872
|
export interface WUPublishWorkunitResponse {
|
|
@@ -2323,6 +2325,7 @@ export namespace WsWorkunits {
|
|
|
2323
2325
|
StopIfFilesCopied: boolean;
|
|
2324
2326
|
DfuPublisherWuid: string;
|
|
2325
2327
|
RemoteStorage: string;
|
|
2328
|
+
KeyCompression: string;
|
|
2326
2329
|
}
|
|
2327
2330
|
|
|
2328
2331
|
export interface WUQuerySetCopyQueryResponse {
|
|
@@ -2399,6 +2402,7 @@ export namespace WsWorkunits {
|
|
|
2399
2402
|
StopIfFilesCopied: boolean;
|
|
2400
2403
|
DfuPublisherWuid: string;
|
|
2401
2404
|
RemoteStorage: string;
|
|
2405
|
+
KeyCompression: string;
|
|
2402
2406
|
}
|
|
2403
2407
|
|
|
2404
2408
|
export interface ImportedQueries {
|
|
@@ -2511,6 +2515,7 @@ export namespace WsWorkunits {
|
|
|
2511
2515
|
StopIfFilesCopied: boolean;
|
|
2512
2516
|
DfuPublisherWuid: string;
|
|
2513
2517
|
RemoteStorage: string;
|
|
2518
|
+
KeyCompression: string;
|
|
2514
2519
|
}
|
|
2515
2520
|
|
|
2516
2521
|
export interface WURecreateQueryResponse {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { IConnection, IOptions } from "../../../../connection.ts";
|
|
2
2
|
import { Service } from "../../../../espConnection.ts";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
export namespace WsCodesign {
|
|
5
5
|
|
|
6
|
-
export
|
|
7
|
-
Gpg = "Gpg"
|
|
8
|
-
}
|
|
6
|
+
export type int = number;
|
|
9
7
|
|
|
10
|
-
export
|
|
8
|
+
export enum SigningMethodType {
|
|
9
|
+
gpg = "gpg"
|
|
10
|
+
}
|
|
11
11
|
|
|
12
12
|
export interface ListUserIDsRequest {
|
|
13
13
|
|
|
@@ -30,13 +30,8 @@ export namespace WsCodesign {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export interface ListUserIDsResponse {
|
|
33
|
-
Exceptions:
|
|
34
|
-
|
|
35
|
-
Exception: Exception[];
|
|
36
|
-
};
|
|
37
|
-
UserIDs: {
|
|
38
|
-
Item: string[];
|
|
39
|
-
};
|
|
33
|
+
Exceptions: Exceptions;
|
|
34
|
+
UserIDs: UserIDs;
|
|
40
35
|
}
|
|
41
36
|
|
|
42
37
|
export interface ws_codesignPingRequest {
|
|
@@ -81,20 +76,20 @@ export class CodesignServiceBase extends Service {
|
|
|
81
76
|
super(optsConnection, "ws_codesign", "1.1");
|
|
82
77
|
}
|
|
83
78
|
|
|
84
|
-
ListUserIDs(request: WsCodesign.ListUserIDsRequest): Promise<WsCodesign.ListUserIDsResponse> {
|
|
85
|
-
return this._connection.send("ListUserIDs", request);
|
|
79
|
+
ListUserIDs(request: Partial<WsCodesign.ListUserIDsRequest>): Promise<WsCodesign.ListUserIDsResponse> {
|
|
80
|
+
return this._connection.send("ListUserIDs", request, "json", false, undefined, "ListUserIDsResponse");
|
|
86
81
|
}
|
|
87
82
|
|
|
88
|
-
Ping(request: WsCodesign.ws_codesignPingRequest): Promise<WsCodesign.ws_codesignPingResponse> {
|
|
89
|
-
return this._connection.send("Ping", request);
|
|
83
|
+
Ping(request: Partial<WsCodesign.ws_codesignPingRequest>): Promise<WsCodesign.ws_codesignPingResponse> {
|
|
84
|
+
return this._connection.send("Ping", request, "json", false, undefined, "ws_codesignPingResponse");
|
|
90
85
|
}
|
|
91
86
|
|
|
92
|
-
Sign(request: WsCodesign.SignRequest): Promise<WsCodesign.SignResponse> {
|
|
93
|
-
return this._connection.send("Sign", request);
|
|
87
|
+
Sign(request: Partial<WsCodesign.SignRequest>): Promise<WsCodesign.SignResponse> {
|
|
88
|
+
return this._connection.send("Sign", request, "json", false, undefined, "SignResponse");
|
|
94
89
|
}
|
|
95
90
|
|
|
96
|
-
Verify(request: WsCodesign.VerifyRequest): Promise<WsCodesign.VerifyResponse> {
|
|
97
|
-
return this._connection.send("Verify", request);
|
|
91
|
+
Verify(request: Partial<WsCodesign.VerifyRequest>): Promise<WsCodesign.VerifyResponse> {
|
|
92
|
+
return this._connection.send("Verify", request, "json", false, undefined, "VerifyResponse");
|
|
98
93
|
}
|
|
99
94
|
|
|
100
95
|
}
|
|
@@ -36,12 +36,12 @@ export class ElkServiceBase extends Service {
|
|
|
36
36
|
super(optsConnection, "ws_elk", "1");
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
GetConfigDetails(request: WsElk.GetConfigDetailsRequest): Promise<WsElk.GetConfigDetailsResponse> {
|
|
40
|
-
return this._connection.send("GetConfigDetails", request);
|
|
39
|
+
GetConfigDetails(request: Partial<WsElk.GetConfigDetailsRequest>): Promise<WsElk.GetConfigDetailsResponse> {
|
|
40
|
+
return this._connection.send("GetConfigDetails", request, "json", false, undefined, "GetConfigDetailsResponse");
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
Ping(request: WsElk.ws_elkPingRequest): Promise<WsElk.ws_elkPingResponse> {
|
|
44
|
-
return this._connection.send("Ping", request);
|
|
43
|
+
Ping(request: Partial<WsElk.ws_elkPingRequest>): Promise<WsElk.ws_elkPingResponse> {
|
|
44
|
+
return this._connection.send("Ping", request, "json", false, undefined, "ws_elkPingResponse");
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
}
|
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection.ts";
|
|
2
|
+
import { Service } from "../../../../espConnection.ts";
|
|
3
|
+
|
|
4
|
+
export namespace WsMachine {
|
|
5
|
+
|
|
6
|
+
export type int = number;
|
|
7
|
+
export type long = number;
|
|
8
|
+
export type unsignedInt = number;
|
|
9
|
+
|
|
10
|
+
export enum ThresholdType {
|
|
11
|
+
THRESHOLD_PERCENTAGE = 0,
|
|
12
|
+
THRESHOLD_MB = 1
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export enum TpMachineType {
|
|
16
|
+
ALLNODES = "ALLNODES",
|
|
17
|
+
THORMACHINES = "THORMACHINES",
|
|
18
|
+
HOLEMACHINES = "HOLEMACHINES",
|
|
19
|
+
ROXIEMACHINES = "ROXIEMACHINES",
|
|
20
|
+
MACHINES = "MACHINES",
|
|
21
|
+
AVAILABLEMACHINES = "AVAILABLEMACHINES",
|
|
22
|
+
DROPZONE = "DROPZONE",
|
|
23
|
+
STANDBYNNODE = "STANDBYNNODE",
|
|
24
|
+
THORSPARENODES = "THORSPARENODES",
|
|
25
|
+
HOLESTANDBYNODES = "HOLESTANDBYNODES"
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface GetComponentStatusRequest {
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface Exception {
|
|
33
|
+
Code: string;
|
|
34
|
+
Audience: string;
|
|
35
|
+
Source: string;
|
|
36
|
+
Message: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface Exceptions {
|
|
40
|
+
Source: string;
|
|
41
|
+
Exception: Exception[];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface StatusReport {
|
|
45
|
+
StatusID: int;
|
|
46
|
+
Status: string;
|
|
47
|
+
StatusDetails: string;
|
|
48
|
+
Reporter: string;
|
|
49
|
+
TimeReported: long;
|
|
50
|
+
TimeReportedStr: string;
|
|
51
|
+
TimeCached: string;
|
|
52
|
+
URL: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface StatusReports {
|
|
56
|
+
StatusReport: StatusReport[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface ComponentStatus {
|
|
60
|
+
ComponentTypeID: int;
|
|
61
|
+
ComponentType: string;
|
|
62
|
+
EndPoint: string;
|
|
63
|
+
StatusID: int;
|
|
64
|
+
Status: string;
|
|
65
|
+
TimeReported: long;
|
|
66
|
+
TimeReportedStr: string;
|
|
67
|
+
Reporter: string;
|
|
68
|
+
StatusReports: StatusReports;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface ComponentStatusList {
|
|
72
|
+
ComponentStatus: ComponentStatus[];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface GetComponentStatusResponse {
|
|
76
|
+
Exceptions: Exceptions;
|
|
77
|
+
StatusCode: int;
|
|
78
|
+
Status: string;
|
|
79
|
+
ComponentType: string;
|
|
80
|
+
EndPoint: string;
|
|
81
|
+
ComponentStatusID: int;
|
|
82
|
+
ComponentStatus: string;
|
|
83
|
+
TimeReported: long;
|
|
84
|
+
TimeReportedStr: string;
|
|
85
|
+
Reporter: string;
|
|
86
|
+
StatusReport: StatusReport;
|
|
87
|
+
ComponentStatusList: ComponentStatusList;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface Component {
|
|
91
|
+
Type: string;
|
|
92
|
+
Name: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface Components {
|
|
96
|
+
Component: Component[];
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface GetComponentUsageRequest {
|
|
100
|
+
Components?: Components;
|
|
101
|
+
BypassCachedResult?: boolean;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface DiskUsage {
|
|
105
|
+
Name: string;
|
|
106
|
+
Path: string;
|
|
107
|
+
Description: string;
|
|
108
|
+
InUse: long;
|
|
109
|
+
Available: long;
|
|
110
|
+
PercentAvailable: int;
|
|
111
|
+
Exception: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface DiskUsages {
|
|
115
|
+
DiskUsage: DiskUsage[];
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface MachineUsage {
|
|
119
|
+
Name: string;
|
|
120
|
+
NetAddress: string;
|
|
121
|
+
Description: string;
|
|
122
|
+
Exception: string;
|
|
123
|
+
DiskUsages: DiskUsages;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface MachineUsages {
|
|
127
|
+
MachineUsage: MachineUsage[];
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export interface ComponentUsage {
|
|
131
|
+
Type: string;
|
|
132
|
+
Name: string;
|
|
133
|
+
Description: string;
|
|
134
|
+
Exception: string;
|
|
135
|
+
MachineUsages: MachineUsages;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export interface ComponentUsages {
|
|
139
|
+
ComponentUsage: ComponentUsage[];
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface GetComponentUsageResponse {
|
|
143
|
+
Exceptions: Exceptions;
|
|
144
|
+
ComponentUsages: ComponentUsages;
|
|
145
|
+
UsageTime: string;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export interface Addresses {
|
|
149
|
+
Item: string[];
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface GetMachineInfoRequest {
|
|
153
|
+
Addresses?: Addresses;
|
|
154
|
+
SortBy?: string;
|
|
155
|
+
ClusterType?: TpMachineType;
|
|
156
|
+
Cluster?: string;
|
|
157
|
+
OldIP?: string;
|
|
158
|
+
Path?: string;
|
|
159
|
+
AddProcessesToFilter?: string;
|
|
160
|
+
ApplyProcessFilter?: boolean;
|
|
161
|
+
GetProcessorInfo?: boolean;
|
|
162
|
+
GetStorageInfo?: boolean;
|
|
163
|
+
LocalFileSystemsOnly?: boolean;
|
|
164
|
+
GetSoftwareInfo?: boolean;
|
|
165
|
+
MemThreshold?: int;
|
|
166
|
+
DiskThreshold?: int;
|
|
167
|
+
CpuThreshold?: int;
|
|
168
|
+
AutoRefresh?: int;
|
|
169
|
+
MemThresholdType?: ThresholdType;
|
|
170
|
+
DiskThresholdType?: ThresholdType;
|
|
171
|
+
UserName?: string;
|
|
172
|
+
Password?: string;
|
|
173
|
+
SecurityString?: string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface RequestInfo {
|
|
177
|
+
Addresses: Addresses;
|
|
178
|
+
SortBy: string;
|
|
179
|
+
ClusterType: TpMachineType;
|
|
180
|
+
Cluster: string;
|
|
181
|
+
OldIP: string;
|
|
182
|
+
Path: string;
|
|
183
|
+
AddProcessesToFilter: string;
|
|
184
|
+
ApplyProcessFilter: boolean;
|
|
185
|
+
GetProcessorInfo: boolean;
|
|
186
|
+
GetStorageInfo: boolean;
|
|
187
|
+
LocalFileSystemsOnly: boolean;
|
|
188
|
+
GetSoftwareInfo: boolean;
|
|
189
|
+
MemThreshold: int;
|
|
190
|
+
DiskThreshold: int;
|
|
191
|
+
CpuThreshold: int;
|
|
192
|
+
AutoRefresh: int;
|
|
193
|
+
MemThresholdType: ThresholdType;
|
|
194
|
+
DiskThresholdType: ThresholdType;
|
|
195
|
+
SecurityString: string;
|
|
196
|
+
UserName: string;
|
|
197
|
+
Password: string;
|
|
198
|
+
EnableSNMP: boolean;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export interface Columns {
|
|
202
|
+
Item: string[];
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export interface ProcessorInfo {
|
|
206
|
+
Type: string;
|
|
207
|
+
Load: int;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export interface Processors {
|
|
211
|
+
ProcessorInfo: ProcessorInfo[];
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface StorageInfo {
|
|
215
|
+
Description: string;
|
|
216
|
+
Type: string;
|
|
217
|
+
Available: long;
|
|
218
|
+
PercentAvail: int;
|
|
219
|
+
Total: long;
|
|
220
|
+
Failures: int;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export interface Storage {
|
|
224
|
+
StorageInfo: StorageInfo[];
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export interface SWRunInfo {
|
|
228
|
+
Name: string;
|
|
229
|
+
Instances: int;
|
|
230
|
+
State: int;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export interface Running {
|
|
234
|
+
SWRunInfo: SWRunInfo[];
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface PhysicalMemory {
|
|
238
|
+
Description: string;
|
|
239
|
+
Type: string;
|
|
240
|
+
Available: long;
|
|
241
|
+
PercentAvail: int;
|
|
242
|
+
Total: long;
|
|
243
|
+
Failures: int;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export interface VirtualMemory {
|
|
247
|
+
Description: string;
|
|
248
|
+
Type: string;
|
|
249
|
+
Available: long;
|
|
250
|
+
PercentAvail: int;
|
|
251
|
+
Total: long;
|
|
252
|
+
Failures: int;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export interface ComponentInfo {
|
|
256
|
+
Condition: int;
|
|
257
|
+
State: int;
|
|
258
|
+
UpTime: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface MachineInfoEx {
|
|
262
|
+
Address: string;
|
|
263
|
+
ConfigAddress: string;
|
|
264
|
+
Name: string;
|
|
265
|
+
ProcessType: string;
|
|
266
|
+
DisplayType: string;
|
|
267
|
+
Description: string;
|
|
268
|
+
AgentVersion: string;
|
|
269
|
+
Contact: string;
|
|
270
|
+
Location: string;
|
|
271
|
+
UpTime: string;
|
|
272
|
+
ComponentName: string;
|
|
273
|
+
ComponentPath: string;
|
|
274
|
+
RoxieState: string;
|
|
275
|
+
RoxieStateDetails: string;
|
|
276
|
+
OS: int;
|
|
277
|
+
ProcessNumber: int;
|
|
278
|
+
Channels: unsignedInt;
|
|
279
|
+
Processors: Processors;
|
|
280
|
+
Storage: Storage;
|
|
281
|
+
Running: Running;
|
|
282
|
+
PhysicalMemory: PhysicalMemory;
|
|
283
|
+
VirtualMemory: VirtualMemory;
|
|
284
|
+
ComponentInfo: ComponentInfo;
|
|
285
|
+
Exception: string;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export interface Machines {
|
|
289
|
+
MachineInfoEx: MachineInfoEx[];
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export interface GetMachineInfoResponse {
|
|
293
|
+
Exceptions: Exceptions;
|
|
294
|
+
RequestInfo: RequestInfo;
|
|
295
|
+
Columns: Columns;
|
|
296
|
+
Machines: Machines;
|
|
297
|
+
TimeStamp: string;
|
|
298
|
+
UserName: string;
|
|
299
|
+
Password: string;
|
|
300
|
+
AcceptLanguage: string;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export interface GetMachineInfoRequestEx {
|
|
304
|
+
Addresses: Addresses;
|
|
305
|
+
ClusterType: TpMachineType;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export interface GetMachineInfoResponseEx {
|
|
309
|
+
Exceptions: Exceptions;
|
|
310
|
+
AcceptLanguage: string;
|
|
311
|
+
Machines: Machines;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface ShowColumns {
|
|
315
|
+
Item: string[];
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface MetricsRequest {
|
|
319
|
+
SecurityString?: string;
|
|
320
|
+
Addresses?: Addresses;
|
|
321
|
+
ShowColumns?: ShowColumns;
|
|
322
|
+
AutoRefresh?: int;
|
|
323
|
+
SelectAllChecked?: boolean;
|
|
324
|
+
Cluster?: string;
|
|
325
|
+
AutoUpdate?: boolean;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export interface MetricsResponse {
|
|
329
|
+
Exceptions: Exceptions;
|
|
330
|
+
FieldInformation: string;
|
|
331
|
+
Metrics: string;
|
|
332
|
+
AutoRefresh: int;
|
|
333
|
+
Cluster: string;
|
|
334
|
+
SelectAllChecked: boolean;
|
|
335
|
+
AutoUpdate: boolean;
|
|
336
|
+
AcceptLanguage: string;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export interface NodeGroups {
|
|
340
|
+
Item: string[];
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export interface GetNodeGroupUsageRequest {
|
|
344
|
+
NodeGroups?: NodeGroups;
|
|
345
|
+
BypassCachedResult?: boolean;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export interface NodeGroupUsage {
|
|
349
|
+
Name: string;
|
|
350
|
+
Description: string;
|
|
351
|
+
Exception: string;
|
|
352
|
+
ComponentUsages: ComponentUsages;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export interface NodeGroupUsages {
|
|
356
|
+
NodeGroupUsage: NodeGroupUsage[];
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export interface GetNodeGroupUsageResponse {
|
|
360
|
+
Exceptions: Exceptions;
|
|
361
|
+
NodeGroupUsages: NodeGroupUsages;
|
|
362
|
+
UsageTime: string;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface TargetClusters {
|
|
366
|
+
Item: string[];
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export interface GetTargetClusterInfoRequest {
|
|
370
|
+
TargetClusters?: TargetClusters;
|
|
371
|
+
AddProcessesToFilter?: string;
|
|
372
|
+
ApplyProcessFilter?: boolean;
|
|
373
|
+
GetProcessorInfo?: boolean;
|
|
374
|
+
GetStorageInfo?: boolean;
|
|
375
|
+
LocalFileSystemsOnly?: boolean;
|
|
376
|
+
GetSoftwareInfo?: boolean;
|
|
377
|
+
MemThreshold?: int;
|
|
378
|
+
DiskThreshold?: int;
|
|
379
|
+
CpuThreshold?: int;
|
|
380
|
+
AutoRefresh?: int;
|
|
381
|
+
MemThresholdType?: ThresholdType;
|
|
382
|
+
DiskThresholdType?: ThresholdType;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export interface Processes {
|
|
386
|
+
MachineInfoEx: MachineInfoEx[];
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
export interface TargetClusterInfo {
|
|
390
|
+
Name: string;
|
|
391
|
+
Type: string;
|
|
392
|
+
Processes: Processes;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export interface TargetClusterInfoList {
|
|
396
|
+
TargetClusterInfo: TargetClusterInfo[];
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export interface GetTargetClusterInfoResponse {
|
|
400
|
+
Exceptions: Exceptions;
|
|
401
|
+
Columns: Columns;
|
|
402
|
+
RequestInfo: RequestInfo;
|
|
403
|
+
TargetClusterInfoList: TargetClusterInfoList;
|
|
404
|
+
TimeStamp: string;
|
|
405
|
+
AcceptLanguage: string;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export interface GetTargetClusterUsageRequest {
|
|
409
|
+
TargetClusters?: TargetClusters;
|
|
410
|
+
BypassCachedResult?: boolean;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export interface TargetClusterUsage {
|
|
414
|
+
Name: string;
|
|
415
|
+
Description: string;
|
|
416
|
+
Exception: string;
|
|
417
|
+
ComponentUsages: ComponentUsages;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export interface TargetClusterUsages {
|
|
421
|
+
TargetClusterUsage: TargetClusterUsage[];
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export interface GetTargetClusterUsageResponse {
|
|
425
|
+
Exceptions: Exceptions;
|
|
426
|
+
TargetClusterUsages: TargetClusterUsages;
|
|
427
|
+
UsageTime: string;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export interface ws_machinePingRequest {
|
|
431
|
+
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export interface ws_machinePingResponse {
|
|
435
|
+
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export interface UpdateComponentStatusRequest {
|
|
439
|
+
Reporter?: string;
|
|
440
|
+
ComponentStatusList?: ComponentStatusList;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export interface UpdateComponentStatusResponse {
|
|
444
|
+
Exceptions: Exceptions;
|
|
445
|
+
StatusCode: int;
|
|
446
|
+
Status: string;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export class MachineServiceBase extends Service {
|
|
452
|
+
|
|
453
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
454
|
+
super(optsConnection, "ws_machine", "1.18");
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
GetComponentStatus(request: Partial<WsMachine.GetComponentStatusRequest>): Promise<WsMachine.GetComponentStatusResponse> {
|
|
458
|
+
return this._connection.send("GetComponentStatus", request, "json", false, undefined, "GetComponentStatusResponse");
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
GetComponentUsage(request: Partial<WsMachine.GetComponentUsageRequest>): Promise<WsMachine.GetComponentUsageResponse> {
|
|
462
|
+
return this._connection.send("GetComponentUsage", request, "json", false, undefined, "GetComponentUsageResponse");
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
GetMachineInfo(request: Partial<WsMachine.GetMachineInfoRequest>): Promise<WsMachine.GetMachineInfoResponse> {
|
|
466
|
+
return this._connection.send("GetMachineInfo", request, "json", false, undefined, "GetMachineInfoResponse");
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
GetMachineInfoEx(request: Partial<WsMachine.GetMachineInfoRequestEx>): Promise<WsMachine.GetMachineInfoResponseEx> {
|
|
470
|
+
return this._connection.send("GetMachineInfoEx", request, "json", false, undefined, "GetMachineInfoResponseEx");
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
GetMetrics(request: Partial<WsMachine.MetricsRequest>): Promise<WsMachine.MetricsResponse> {
|
|
474
|
+
return this._connection.send("GetMetrics", request, "json", false, undefined, "MetricsResponse");
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
GetNodeGroupUsage(request: Partial<WsMachine.GetNodeGroupUsageRequest>): Promise<WsMachine.GetNodeGroupUsageResponse> {
|
|
478
|
+
return this._connection.send("GetNodeGroupUsage", request, "json", false, undefined, "GetNodeGroupUsageResponse");
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
GetTargetClusterInfo(request: Partial<WsMachine.GetTargetClusterInfoRequest>): Promise<WsMachine.GetTargetClusterInfoResponse> {
|
|
482
|
+
return this._connection.send("GetTargetClusterInfo", request, "json", false, undefined, "GetTargetClusterInfoResponse");
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
GetTargetClusterUsage(request: Partial<WsMachine.GetTargetClusterUsageRequest>): Promise<WsMachine.GetTargetClusterUsageResponse> {
|
|
486
|
+
return this._connection.send("GetTargetClusterUsage", request, "json", false, undefined, "GetTargetClusterUsageResponse");
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
Ping(request: Partial<WsMachine.ws_machinePingRequest>): Promise<WsMachine.ws_machinePingResponse> {
|
|
490
|
+
return this._connection.send("Ping", request, "json", false, undefined, "ws_machinePingResponse");
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
UpdateComponentStatus(request: Partial<WsMachine.UpdateComponentStatusRequest>): Promise<WsMachine.UpdateComponentStatusResponse> {
|
|
494
|
+
return this._connection.send("UpdateComponentStatus", request, "json", false, undefined, "UpdateComponentStatusResponse");
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
}
|