@hpcc-js/comms 2.68.0 → 2.72.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/index.es6.js +331 -25
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +334 -25
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +334 -25
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/__package__.js.map +1 -1
- package/lib-es6/ecl/machine.js +13 -3
- package/lib-es6/ecl/machine.js.map +1 -1
- package/lib-es6/ecl/targetCluster.js +4 -4
- package/lib-es6/ecl/targetCluster.js.map +1 -1
- package/lib-es6/ecl/workunit.js +3 -0
- package/lib-es6/ecl/workunit.js.map +1 -1
- package/lib-es6/index-common.js +3 -0
- package/lib-es6/index-common.js.map +1 -1
- package/lib-es6/services/wsAccess.js +11 -0
- package/lib-es6/services/wsAccess.js.map +1 -0
- package/lib-es6/services/wsDFU.js +1 -1
- package/lib-es6/services/wsDFU.js.map +1 -1
- package/lib-es6/services/wsLogaccess.js +11 -0
- package/lib-es6/services/wsLogaccess.js.map +1 -0
- package/lib-es6/services/wsMachine.js +12 -23
- package/lib-es6/services/wsMachine.js.map +1 -1
- package/lib-es6/services/wsResources.js +11 -0
- package/lib-es6/services/wsResources.js.map +1 -0
- package/lib-es6/services/wsdl/WsLogaccess/v1/WsLogaccess.js +28 -0
- package/lib-es6/services/wsdl/WsLogaccess/v1/WsLogaccess.js.map +1 -0
- package/lib-es6/services/wsdl/WsResources/v1.01/WsResources.js +20 -0
- package/lib-es6/services/wsdl/WsResources/v1.01/WsResources.js.map +1 -0
- package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js +203 -0
- package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js.map +1 -0
- package/lib-es6/services/wsdl/ws_machine/v1.17/ws_machine.js +41 -0
- package/lib-es6/services/wsdl/ws_machine/v1.17/ws_machine.js.map +1 -0
- package/package.json +20 -6
- package/src/__package__.ts +2 -2
- package/src/ecl/machine.ts +15 -13
- package/src/ecl/targetCluster.ts +10 -10
- package/src/ecl/workunit.ts +3 -0
- package/src/index-common.ts +3 -0
- package/src/services/wsAccess.ts +8 -0
- package/src/services/wsDFU.ts +3 -2
- package/src/services/wsLogaccess.ts +8 -0
- package/src/services/wsMachine.ts +17 -293
- package/src/services/wsResources.ts +8 -0
- package/src/services/wsdl/WsLogaccess/v1/WsLogaccess.ts +78 -0
- package/src/services/wsdl/WsResources/v1.01/WsResources.ts +119 -0
- package/src/services/wsdl/ws_access/v1.16/ws_access.ts +1086 -0
- package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +567 -0
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types/ecl/machine.d.ts +12 -10
- package/types/ecl/machine.d.ts.map +1 -1
- package/types/ecl/targetCluster.d.ts +6 -6
- package/types/ecl/targetCluster.d.ts.map +1 -1
- package/types/ecl/workunit.d.ts.map +1 -1
- package/types/index-common.d.ts +3 -0
- package/types/index-common.d.ts.map +1 -1
- package/types/services/wsAccess.d.ts +5 -0
- package/types/services/wsAccess.d.ts.map +1 -0
- package/types/services/wsDFU.d.ts +2 -1
- package/types/services/wsDFU.d.ts.map +1 -1
- package/types/services/wsLogaccess.d.ts +5 -0
- package/types/services/wsLogaccess.d.ts.map +1 -0
- package/types/services/wsMachine.d.ts +9 -235
- package/types/services/wsMachine.d.ts.map +1 -1
- package/types/services/wsResources.d.ts +5 -0
- package/types/services/wsResources.d.ts.map +1 -0
- package/types/services/wsdl/WsLogaccess/v1/WsLogaccess.d.ts +51 -0
- package/types/services/wsdl/WsLogaccess/v1/WsLogaccess.d.ts.map +1 -0
- package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts +85 -0
- package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts.map +1 -0
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts +778 -0
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts.map +1 -0
- package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +470 -0
- package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts.map +1 -0
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/machine.d.ts +12 -10
- package/types-3.4/ecl/targetCluster.d.ts +6 -6
- package/types-3.4/index-common.d.ts +3 -0
- package/types-3.4/services/wsAccess.d.ts +5 -0
- package/types-3.4/services/wsDFU.d.ts +2 -1
- package/types-3.4/services/wsLogaccess.d.ts +5 -0
- package/types-3.4/services/wsMachine.d.ts +9 -235
- package/types-3.4/services/wsResources.d.ts +5 -0
- package/types-3.4/services/wsdl/WsLogaccess/v1/WsLogaccess.d.ts +51 -0
- package/types-3.4/services/wsdl/WsResources/v1.01/WsResources.d.ts +85 -0
- package/types-3.4/services/wsdl/ws_access/v1.16/ws_access.d.ts +778 -0
- package/types-3.4/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +470 -0
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
declare type int = number;
|
|
4
|
+
declare type long = number;
|
|
5
|
+
declare type unsignedInt = number;
|
|
6
|
+
export declare namespace WsMachine {
|
|
7
|
+
interface GetComponentStatusRequest {
|
|
8
|
+
}
|
|
9
|
+
interface Exception {
|
|
10
|
+
Code: string;
|
|
11
|
+
Audience: string;
|
|
12
|
+
Source: string;
|
|
13
|
+
Message: string;
|
|
14
|
+
}
|
|
15
|
+
interface Exceptions {
|
|
16
|
+
Source: string;
|
|
17
|
+
Exception: Exception[];
|
|
18
|
+
}
|
|
19
|
+
interface StatusReport {
|
|
20
|
+
StatusID: int;
|
|
21
|
+
Status: string;
|
|
22
|
+
StatusDetails: string;
|
|
23
|
+
Reporter: string;
|
|
24
|
+
TimeReported: long;
|
|
25
|
+
TimeReportedStr: string;
|
|
26
|
+
TimeCached: string;
|
|
27
|
+
URL: string;
|
|
28
|
+
}
|
|
29
|
+
interface StatusReports {
|
|
30
|
+
StatusReport: StatusReport[];
|
|
31
|
+
}
|
|
32
|
+
interface ComponentStatus {
|
|
33
|
+
ComponentTypeID: int;
|
|
34
|
+
ComponentType: string;
|
|
35
|
+
EndPoint: string;
|
|
36
|
+
StatusID: int;
|
|
37
|
+
Status: string;
|
|
38
|
+
TimeReported: long;
|
|
39
|
+
TimeReportedStr: string;
|
|
40
|
+
Reporter: string;
|
|
41
|
+
StatusReports: {
|
|
42
|
+
StatusReport: StatusReport[];
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
interface ComponentStatusList {
|
|
46
|
+
ComponentStatus: ComponentStatus[];
|
|
47
|
+
}
|
|
48
|
+
interface GetComponentStatusResponse {
|
|
49
|
+
Exceptions: {
|
|
50
|
+
Source: string;
|
|
51
|
+
Exception: Exception[];
|
|
52
|
+
};
|
|
53
|
+
StatusCode: int;
|
|
54
|
+
Status: string;
|
|
55
|
+
ComponentType: string;
|
|
56
|
+
EndPoint: string;
|
|
57
|
+
ComponentStatusID: int;
|
|
58
|
+
ComponentStatus: string;
|
|
59
|
+
TimeReported: long;
|
|
60
|
+
TimeReportedStr: string;
|
|
61
|
+
Reporter: string;
|
|
62
|
+
StatusReport: {
|
|
63
|
+
StatusID: int;
|
|
64
|
+
Status: string;
|
|
65
|
+
StatusDetails: string;
|
|
66
|
+
Reporter: string;
|
|
67
|
+
TimeReported: long;
|
|
68
|
+
TimeReportedStr: string;
|
|
69
|
+
TimeCached: string;
|
|
70
|
+
URL: string;
|
|
71
|
+
};
|
|
72
|
+
ComponentStatusList: {
|
|
73
|
+
ComponentStatus: ComponentStatus[];
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
interface Component {
|
|
77
|
+
Type: string;
|
|
78
|
+
Name: string;
|
|
79
|
+
}
|
|
80
|
+
interface Components {
|
|
81
|
+
Component: Component[];
|
|
82
|
+
}
|
|
83
|
+
interface GetComponentUsageRequest {
|
|
84
|
+
Components?: {
|
|
85
|
+
Component?: Component[];
|
|
86
|
+
};
|
|
87
|
+
BypassCachedResult?: boolean;
|
|
88
|
+
}
|
|
89
|
+
interface DiskUsage {
|
|
90
|
+
Name: string;
|
|
91
|
+
Path: string;
|
|
92
|
+
Description: string;
|
|
93
|
+
InUse: long;
|
|
94
|
+
Available: long;
|
|
95
|
+
PercentAvailable: int;
|
|
96
|
+
Exception: string;
|
|
97
|
+
}
|
|
98
|
+
interface DiskUsages {
|
|
99
|
+
DiskUsage: DiskUsage[];
|
|
100
|
+
}
|
|
101
|
+
interface MachineUsage {
|
|
102
|
+
Name: string;
|
|
103
|
+
NetAddress: string;
|
|
104
|
+
Description: string;
|
|
105
|
+
Exception: string;
|
|
106
|
+
DiskUsages: {
|
|
107
|
+
DiskUsage: DiskUsage[];
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
interface MachineUsages {
|
|
111
|
+
MachineUsage: MachineUsage[];
|
|
112
|
+
}
|
|
113
|
+
interface ComponentUsage {
|
|
114
|
+
Type: string;
|
|
115
|
+
Name: string;
|
|
116
|
+
Description: string;
|
|
117
|
+
Exception: string;
|
|
118
|
+
MachineUsages: {
|
|
119
|
+
MachineUsage: MachineUsage[];
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
interface ComponentUsages {
|
|
123
|
+
ComponentUsage: ComponentUsage[];
|
|
124
|
+
}
|
|
125
|
+
interface GetComponentUsageResponse {
|
|
126
|
+
Exceptions: Exceptions;
|
|
127
|
+
ComponentUsages: {
|
|
128
|
+
ComponentUsage: ComponentUsage[];
|
|
129
|
+
};
|
|
130
|
+
UsageTime: string;
|
|
131
|
+
}
|
|
132
|
+
interface Addresses {
|
|
133
|
+
Item: string[];
|
|
134
|
+
}
|
|
135
|
+
interface GetMachineInfoRequest {
|
|
136
|
+
Addresses?: {
|
|
137
|
+
Item?: string[];
|
|
138
|
+
};
|
|
139
|
+
ClusterType?: string;
|
|
140
|
+
Cluster?: string;
|
|
141
|
+
OldIP?: string;
|
|
142
|
+
Path?: string;
|
|
143
|
+
AddProcessesToFilter?: string;
|
|
144
|
+
ApplyProcessFilter?: boolean;
|
|
145
|
+
GetProcessorInfo?: boolean;
|
|
146
|
+
GetStorageInfo?: boolean;
|
|
147
|
+
LocalFileSystemsOnly?: boolean;
|
|
148
|
+
GetSoftwareInfo?: boolean;
|
|
149
|
+
MemThreshold?: int;
|
|
150
|
+
DiskThreshold?: int;
|
|
151
|
+
CpuThreshold?: int;
|
|
152
|
+
AutoRefresh?: int;
|
|
153
|
+
MemThresholdType?: string;
|
|
154
|
+
DiskThresholdType?: string;
|
|
155
|
+
UserName?: string;
|
|
156
|
+
Password?: string;
|
|
157
|
+
SecurityString?: string;
|
|
158
|
+
}
|
|
159
|
+
interface RequestInfo {
|
|
160
|
+
Addresses: Addresses;
|
|
161
|
+
ClusterType: string;
|
|
162
|
+
Cluster: string;
|
|
163
|
+
OldIP: string;
|
|
164
|
+
Path: string;
|
|
165
|
+
AddProcessesToFilter: string;
|
|
166
|
+
ApplyProcessFilter: boolean;
|
|
167
|
+
GetProcessorInfo: boolean;
|
|
168
|
+
GetStorageInfo: boolean;
|
|
169
|
+
LocalFileSystemsOnly: boolean;
|
|
170
|
+
GetSoftwareInfo: boolean;
|
|
171
|
+
MemThreshold: int;
|
|
172
|
+
DiskThreshold: int;
|
|
173
|
+
CpuThreshold: int;
|
|
174
|
+
AutoRefresh: int;
|
|
175
|
+
MemThresholdType: string;
|
|
176
|
+
DiskThresholdType: string;
|
|
177
|
+
SecurityString: string;
|
|
178
|
+
UserName: string;
|
|
179
|
+
Password: string;
|
|
180
|
+
EnableSNMP: boolean;
|
|
181
|
+
}
|
|
182
|
+
interface Columns {
|
|
183
|
+
Item: string[];
|
|
184
|
+
}
|
|
185
|
+
interface ProcessorInfo {
|
|
186
|
+
Type: string;
|
|
187
|
+
Load: int;
|
|
188
|
+
}
|
|
189
|
+
interface Processors {
|
|
190
|
+
ProcessorInfo: ProcessorInfo[];
|
|
191
|
+
}
|
|
192
|
+
interface StorageInfo {
|
|
193
|
+
Description: string;
|
|
194
|
+
Type: string;
|
|
195
|
+
Available: long;
|
|
196
|
+
PercentAvail: int;
|
|
197
|
+
Total: long;
|
|
198
|
+
Failures: int;
|
|
199
|
+
}
|
|
200
|
+
interface Storage {
|
|
201
|
+
StorageInfo: StorageInfo[];
|
|
202
|
+
}
|
|
203
|
+
interface SWRunInfo {
|
|
204
|
+
Name: string;
|
|
205
|
+
Instances: int;
|
|
206
|
+
State: int;
|
|
207
|
+
}
|
|
208
|
+
interface Running {
|
|
209
|
+
SWRunInfo: SWRunInfo[];
|
|
210
|
+
}
|
|
211
|
+
interface PhysicalMemory {
|
|
212
|
+
Description: string;
|
|
213
|
+
Type: string;
|
|
214
|
+
Available: long;
|
|
215
|
+
PercentAvail: int;
|
|
216
|
+
Total: long;
|
|
217
|
+
Failures: int;
|
|
218
|
+
}
|
|
219
|
+
interface VirtualMemory {
|
|
220
|
+
Description: string;
|
|
221
|
+
Type: string;
|
|
222
|
+
Available: long;
|
|
223
|
+
PercentAvail: int;
|
|
224
|
+
Total: long;
|
|
225
|
+
Failures: int;
|
|
226
|
+
}
|
|
227
|
+
interface ComponentInfo {
|
|
228
|
+
Condition: int;
|
|
229
|
+
State: int;
|
|
230
|
+
UpTime: string;
|
|
231
|
+
}
|
|
232
|
+
interface MachineInfoEx {
|
|
233
|
+
Address: string;
|
|
234
|
+
ConfigAddress: string;
|
|
235
|
+
Name: string;
|
|
236
|
+
ProcessType: string;
|
|
237
|
+
DisplayType: string;
|
|
238
|
+
Description: string;
|
|
239
|
+
AgentVersion: string;
|
|
240
|
+
Contact: string;
|
|
241
|
+
Location: string;
|
|
242
|
+
UpTime: string;
|
|
243
|
+
ComponentName: string;
|
|
244
|
+
ComponentPath: string;
|
|
245
|
+
RoxieState: string;
|
|
246
|
+
RoxieStateDetails: string;
|
|
247
|
+
OS: int;
|
|
248
|
+
ProcessNumber: int;
|
|
249
|
+
Channels: unsignedInt;
|
|
250
|
+
Processors: {
|
|
251
|
+
ProcessorInfo: ProcessorInfo[];
|
|
252
|
+
};
|
|
253
|
+
Storage: {
|
|
254
|
+
StorageInfo: StorageInfo[];
|
|
255
|
+
};
|
|
256
|
+
Running: {
|
|
257
|
+
SWRunInfo: SWRunInfo[];
|
|
258
|
+
};
|
|
259
|
+
PhysicalMemory: {
|
|
260
|
+
Description: string;
|
|
261
|
+
Type: string;
|
|
262
|
+
Available: long;
|
|
263
|
+
PercentAvail: int;
|
|
264
|
+
Total: long;
|
|
265
|
+
Failures: int;
|
|
266
|
+
};
|
|
267
|
+
VirtualMemory: {
|
|
268
|
+
Description: string;
|
|
269
|
+
Type: string;
|
|
270
|
+
Available: long;
|
|
271
|
+
PercentAvail: int;
|
|
272
|
+
Total: long;
|
|
273
|
+
Failures: int;
|
|
274
|
+
};
|
|
275
|
+
ComponentInfo: {
|
|
276
|
+
Condition: int;
|
|
277
|
+
State: int;
|
|
278
|
+
UpTime: string;
|
|
279
|
+
};
|
|
280
|
+
Exception: string;
|
|
281
|
+
}
|
|
282
|
+
interface Machines {
|
|
283
|
+
MachineInfoEx: MachineInfoEx[];
|
|
284
|
+
}
|
|
285
|
+
interface GetMachineInfoResponse {
|
|
286
|
+
Exceptions: Exceptions;
|
|
287
|
+
RequestInfo: {
|
|
288
|
+
Addresses: Addresses;
|
|
289
|
+
ClusterType: string;
|
|
290
|
+
Cluster: string;
|
|
291
|
+
OldIP: string;
|
|
292
|
+
Path: string;
|
|
293
|
+
AddProcessesToFilter: string;
|
|
294
|
+
ApplyProcessFilter: boolean;
|
|
295
|
+
GetProcessorInfo: boolean;
|
|
296
|
+
GetStorageInfo: boolean;
|
|
297
|
+
LocalFileSystemsOnly: boolean;
|
|
298
|
+
GetSoftwareInfo: boolean;
|
|
299
|
+
MemThreshold: int;
|
|
300
|
+
DiskThreshold: int;
|
|
301
|
+
CpuThreshold: int;
|
|
302
|
+
AutoRefresh: int;
|
|
303
|
+
MemThresholdType: string;
|
|
304
|
+
DiskThresholdType: string;
|
|
305
|
+
SecurityString: string;
|
|
306
|
+
UserName: string;
|
|
307
|
+
Password: string;
|
|
308
|
+
EnableSNMP: boolean;
|
|
309
|
+
};
|
|
310
|
+
Columns: {
|
|
311
|
+
Item: string[];
|
|
312
|
+
};
|
|
313
|
+
Machines: {
|
|
314
|
+
MachineInfoEx: MachineInfoEx[];
|
|
315
|
+
};
|
|
316
|
+
TimeStamp: string;
|
|
317
|
+
UserName: string;
|
|
318
|
+
Password: string;
|
|
319
|
+
AcceptLanguage: string;
|
|
320
|
+
}
|
|
321
|
+
interface GetMachineInfoRequestEx {
|
|
322
|
+
Addresses: Addresses;
|
|
323
|
+
ClusterType: string;
|
|
324
|
+
}
|
|
325
|
+
interface GetMachineInfoResponseEx {
|
|
326
|
+
Exceptions: Exceptions;
|
|
327
|
+
AcceptLanguage: string;
|
|
328
|
+
Machines: Machines;
|
|
329
|
+
}
|
|
330
|
+
interface ShowColumns {
|
|
331
|
+
Item: string[];
|
|
332
|
+
}
|
|
333
|
+
interface MetricsRequest {
|
|
334
|
+
SecurityString?: string;
|
|
335
|
+
Addresses?: Addresses;
|
|
336
|
+
ShowColumns?: {
|
|
337
|
+
Item?: string[];
|
|
338
|
+
};
|
|
339
|
+
AutoRefresh?: int;
|
|
340
|
+
SelectAllChecked?: boolean;
|
|
341
|
+
Cluster?: string;
|
|
342
|
+
AutoUpdate?: boolean;
|
|
343
|
+
}
|
|
344
|
+
interface MetricsResponse {
|
|
345
|
+
Exceptions: Exceptions;
|
|
346
|
+
FieldInformation: string;
|
|
347
|
+
Metrics: string;
|
|
348
|
+
AutoRefresh: int;
|
|
349
|
+
Cluster: string;
|
|
350
|
+
SelectAllChecked: boolean;
|
|
351
|
+
AutoUpdate: boolean;
|
|
352
|
+
AcceptLanguage: string;
|
|
353
|
+
}
|
|
354
|
+
interface NodeGroups {
|
|
355
|
+
Item: string[];
|
|
356
|
+
}
|
|
357
|
+
interface GetNodeGroupUsageRequest {
|
|
358
|
+
NodeGroups?: {
|
|
359
|
+
Item?: string[];
|
|
360
|
+
};
|
|
361
|
+
BypassCachedResult?: boolean;
|
|
362
|
+
}
|
|
363
|
+
interface NodeGroupUsage {
|
|
364
|
+
Name: string;
|
|
365
|
+
Description: string;
|
|
366
|
+
Exception: string;
|
|
367
|
+
ComponentUsages: ComponentUsages;
|
|
368
|
+
}
|
|
369
|
+
interface NodeGroupUsages {
|
|
370
|
+
NodeGroupUsage: NodeGroupUsage[];
|
|
371
|
+
}
|
|
372
|
+
interface GetNodeGroupUsageResponse {
|
|
373
|
+
Exceptions: Exceptions;
|
|
374
|
+
NodeGroupUsages: {
|
|
375
|
+
NodeGroupUsage: NodeGroupUsage[];
|
|
376
|
+
};
|
|
377
|
+
UsageTime: string;
|
|
378
|
+
}
|
|
379
|
+
interface TargetClusters {
|
|
380
|
+
Item: string[];
|
|
381
|
+
}
|
|
382
|
+
interface GetTargetClusterInfoRequest {
|
|
383
|
+
TargetClusters?: {
|
|
384
|
+
Item?: string[];
|
|
385
|
+
};
|
|
386
|
+
AddProcessesToFilter?: string;
|
|
387
|
+
ApplyProcessFilter?: boolean;
|
|
388
|
+
GetProcessorInfo?: boolean;
|
|
389
|
+
GetStorageInfo?: boolean;
|
|
390
|
+
LocalFileSystemsOnly?: boolean;
|
|
391
|
+
GetSoftwareInfo?: boolean;
|
|
392
|
+
MemThreshold?: int;
|
|
393
|
+
DiskThreshold?: int;
|
|
394
|
+
CpuThreshold?: int;
|
|
395
|
+
AutoRefresh?: int;
|
|
396
|
+
MemThresholdType?: string;
|
|
397
|
+
DiskThresholdType?: string;
|
|
398
|
+
}
|
|
399
|
+
interface Processes {
|
|
400
|
+
MachineInfoEx: MachineInfoEx[];
|
|
401
|
+
}
|
|
402
|
+
interface TargetClusterInfo {
|
|
403
|
+
Name: string;
|
|
404
|
+
Type: string;
|
|
405
|
+
Processes: {
|
|
406
|
+
MachineInfoEx: MachineInfoEx[];
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
interface TargetClusterInfoList {
|
|
410
|
+
TargetClusterInfo: TargetClusterInfo[];
|
|
411
|
+
}
|
|
412
|
+
interface GetTargetClusterInfoResponse {
|
|
413
|
+
Exceptions: Exceptions;
|
|
414
|
+
Columns: Columns;
|
|
415
|
+
RequestInfo: RequestInfo;
|
|
416
|
+
TargetClusterInfoList: {
|
|
417
|
+
TargetClusterInfo: TargetClusterInfo[];
|
|
418
|
+
};
|
|
419
|
+
TimeStamp: string;
|
|
420
|
+
AcceptLanguage: string;
|
|
421
|
+
}
|
|
422
|
+
interface GetTargetClusterUsageRequest {
|
|
423
|
+
TargetClusters?: TargetClusters;
|
|
424
|
+
BypassCachedResult?: boolean;
|
|
425
|
+
}
|
|
426
|
+
interface TargetClusterUsage {
|
|
427
|
+
Name: string;
|
|
428
|
+
Description: string;
|
|
429
|
+
Exception: string;
|
|
430
|
+
ComponentUsages: ComponentUsages;
|
|
431
|
+
}
|
|
432
|
+
interface TargetClusterUsages {
|
|
433
|
+
TargetClusterUsage: TargetClusterUsage[];
|
|
434
|
+
}
|
|
435
|
+
interface GetTargetClusterUsageResponse {
|
|
436
|
+
Exceptions: Exceptions;
|
|
437
|
+
TargetClusterUsages: {
|
|
438
|
+
TargetClusterUsage: TargetClusterUsage[];
|
|
439
|
+
};
|
|
440
|
+
UsageTime: string;
|
|
441
|
+
}
|
|
442
|
+
interface ws_machinePingRequest {
|
|
443
|
+
}
|
|
444
|
+
interface ws_machinePingResponse {
|
|
445
|
+
}
|
|
446
|
+
interface UpdateComponentStatusRequest {
|
|
447
|
+
Reporter?: string;
|
|
448
|
+
ComponentStatusList?: ComponentStatusList;
|
|
449
|
+
}
|
|
450
|
+
interface UpdateComponentStatusResponse {
|
|
451
|
+
Exceptions: Exceptions;
|
|
452
|
+
StatusCode: int;
|
|
453
|
+
Status: string;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
export declare class MachineService extends Service {
|
|
457
|
+
constructor(optsConnection: IOptions | IConnection);
|
|
458
|
+
GetComponentStatus(request: WsMachine.GetComponentStatusRequest): Promise<WsMachine.GetComponentStatusResponse>;
|
|
459
|
+
GetComponentUsage(request: WsMachine.GetComponentUsageRequest): Promise<WsMachine.GetComponentUsageResponse>;
|
|
460
|
+
GetMachineInfo(request: WsMachine.GetMachineInfoRequest): Promise<WsMachine.GetMachineInfoResponse>;
|
|
461
|
+
GetMachineInfoEx(request: WsMachine.GetMachineInfoRequestEx): Promise<WsMachine.GetMachineInfoResponseEx>;
|
|
462
|
+
GetMetrics(request: WsMachine.MetricsRequest): Promise<WsMachine.MetricsResponse>;
|
|
463
|
+
GetNodeGroupUsage(request: WsMachine.GetNodeGroupUsageRequest): Promise<WsMachine.GetNodeGroupUsageResponse>;
|
|
464
|
+
GetTargetClusterInfo(request: WsMachine.GetTargetClusterInfoRequest): Promise<WsMachine.GetTargetClusterInfoResponse>;
|
|
465
|
+
GetTargetClusterUsage(request: WsMachine.GetTargetClusterUsageRequest): Promise<WsMachine.GetTargetClusterUsageResponse>;
|
|
466
|
+
Ping(request: WsMachine.ws_machinePingRequest): Promise<WsMachine.ws_machinePingResponse>;
|
|
467
|
+
UpdateComponentStatus(request: WsMachine.UpdateComponentStatusRequest): Promise<WsMachine.UpdateComponentStatusResponse>;
|
|
468
|
+
}
|
|
469
|
+
export {};
|
|
470
|
+
//# sourceMappingURL=ws_machine.d.ts.map
|