@alicloud/csas20230120 1.14.21 → 1.15.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.
Files changed (57) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +107 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreatePadiagnosisTaskRequest.d.ts +92 -0
  5. package/dist/models/CreatePadiagnosisTaskRequest.js +100 -0
  6. package/dist/models/CreatePadiagnosisTaskRequest.js.map +1 -0
  7. package/dist/models/CreatePadiagnosisTaskResponse.d.ts +19 -0
  8. package/dist/models/CreatePadiagnosisTaskResponse.js +69 -0
  9. package/dist/models/CreatePadiagnosisTaskResponse.js.map +1 -0
  10. package/dist/models/CreatePadiagnosisTaskResponseBody.d.ts +130 -0
  11. package/dist/models/CreatePadiagnosisTaskResponseBody.js +152 -0
  12. package/dist/models/CreatePadiagnosisTaskResponseBody.js.map +1 -0
  13. package/dist/models/CreatePadiagnosisTaskShrinkRequest.d.ts +70 -0
  14. package/dist/models/CreatePadiagnosisTaskShrinkRequest.js +76 -0
  15. package/dist/models/CreatePadiagnosisTaskShrinkRequest.js.map +1 -0
  16. package/dist/models/GetPadiagnosisTaskRequest.d.ts +21 -0
  17. package/dist/models/GetPadiagnosisTaskRequest.js +58 -0
  18. package/dist/models/GetPadiagnosisTaskRequest.js.map +1 -0
  19. package/dist/models/GetPadiagnosisTaskResponse.d.ts +19 -0
  20. package/dist/models/GetPadiagnosisTaskResponse.js +69 -0
  21. package/dist/models/GetPadiagnosisTaskResponse.js.map +1 -0
  22. package/dist/models/GetPadiagnosisTaskResponseBody.d.ts +659 -0
  23. package/dist/models/GetPadiagnosisTaskResponseBody.js +629 -0
  24. package/dist/models/GetPadiagnosisTaskResponseBody.js.map +1 -0
  25. package/dist/models/GetUserDeviceResponseBody.d.ts +27 -0
  26. package/dist/models/GetUserDeviceResponseBody.js +51 -1
  27. package/dist/models/GetUserDeviceResponseBody.js.map +1 -1
  28. package/dist/models/ListExcessiveDeviceRegistrationApplicationsResponseBody.d.ts +1 -0
  29. package/dist/models/ListExcessiveDeviceRegistrationApplicationsResponseBody.js +5 -0
  30. package/dist/models/ListExcessiveDeviceRegistrationApplicationsResponseBody.js.map +1 -1
  31. package/dist/models/ListUninstallApplicationsResponseBody.d.ts +1 -0
  32. package/dist/models/ListUninstallApplicationsResponseBody.js +5 -0
  33. package/dist/models/ListUninstallApplicationsResponseBody.js.map +1 -1
  34. package/dist/models/ListUserDevicesResponseBody.d.ts +6 -0
  35. package/dist/models/ListUserDevicesResponseBody.js +15 -0
  36. package/dist/models/ListUserDevicesResponseBody.js.map +1 -1
  37. package/dist/models/ListUsersResponseBody.d.ts +1 -0
  38. package/dist/models/ListUsersResponseBody.js +5 -0
  39. package/dist/models/ListUsersResponseBody.js.map +1 -1
  40. package/dist/models/model.d.ts +30 -0
  41. package/dist/models/model.js +77 -17
  42. package/dist/models/model.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/client.ts +122 -0
  45. package/src/models/CreatePadiagnosisTaskRequest.ts +138 -0
  46. package/src/models/CreatePadiagnosisTaskResponse.ts +40 -0
  47. package/src/models/CreatePadiagnosisTaskResponseBody.ts +210 -0
  48. package/src/models/CreatePadiagnosisTaskShrinkRequest.ts +101 -0
  49. package/src/models/GetPadiagnosisTaskRequest.ts +34 -0
  50. package/src/models/GetPadiagnosisTaskResponse.ts +40 -0
  51. package/src/models/GetPadiagnosisTaskResponseBody.ts +1081 -0
  52. package/src/models/GetUserDeviceResponseBody.ts +68 -0
  53. package/src/models/ListExcessiveDeviceRegistrationApplicationsResponseBody.ts +6 -0
  54. package/src/models/ListUninstallApplicationsResponseBody.ts +6 -0
  55. package/src/models/ListUserDevicesResponseBody.ts +21 -0
  56. package/src/models/ListUsersResponseBody.ts +6 -0
  57. package/src/models/model.ts +30 -0
@@ -0,0 +1,659 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoDnsHopsGeoData extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * CN
6
+ */
7
+ country?: string;
8
+ /**
9
+ * @example
10
+ * Zhejiang
11
+ */
12
+ prov?: string;
13
+ /**
14
+ * @example
15
+ * hangzhou
16
+ */
17
+ city?: string;
18
+ /**
19
+ * @example
20
+ * telecom
21
+ */
22
+ isp?: string;
23
+ static names(): {
24
+ [key: string]: string;
25
+ };
26
+ static types(): {
27
+ [key: string]: any;
28
+ };
29
+ validate(): void;
30
+ constructor(map?: {
31
+ [key: string]: any;
32
+ });
33
+ }
34
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoDnsHops extends $dara.Model {
35
+ /**
36
+ * @example
37
+ * *******************************************
38
+ */
39
+ address?: string;
40
+ /**
41
+ * @remarks
42
+ * TTL。
43
+ *
44
+ * @example
45
+ * 10
46
+ */
47
+ TTL?: string;
48
+ /**
49
+ * @example
50
+ * 10
51
+ */
52
+ latency?: string;
53
+ geoData?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoDnsHopsGeoData;
54
+ static names(): {
55
+ [key: string]: string;
56
+ };
57
+ static types(): {
58
+ [key: string]: any;
59
+ };
60
+ validate(): void;
61
+ constructor(map?: {
62
+ [key: string]: any;
63
+ });
64
+ }
65
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoDns extends $dara.Model {
66
+ /**
67
+ * @example
68
+ * 100.100.2.136,100.100.2.138
69
+ */
70
+ dnsServer?: string;
71
+ /**
72
+ * @example
73
+ * private-zone
74
+ */
75
+ dnsType?: string;
76
+ /**
77
+ * @example
78
+ * 0
79
+ */
80
+ error?: string;
81
+ /**
82
+ * @example
83
+ * 2
84
+ */
85
+ fromNode?: number;
86
+ hops?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoDnsHops[][];
87
+ /**
88
+ * @example
89
+ * 10
90
+ */
91
+ latency?: string;
92
+ /**
93
+ * @example
94
+ * 10.0.0.1
95
+ */
96
+ result?: string;
97
+ /**
98
+ * @example
99
+ * True
100
+ */
101
+ success?: boolean;
102
+ /**
103
+ * @example
104
+ * 3
105
+ */
106
+ toNode?: number;
107
+ static names(): {
108
+ [key: string]: string;
109
+ };
110
+ static types(): {
111
+ [key: string]: any;
112
+ };
113
+ validate(): void;
114
+ constructor(map?: {
115
+ [key: string]: any;
116
+ });
117
+ }
118
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoLinksHopsGeoData extends $dara.Model {
119
+ /**
120
+ * @example
121
+ * Haikou City
122
+ */
123
+ city?: string;
124
+ /**
125
+ * @example
126
+ * CN
127
+ */
128
+ country?: string;
129
+ /**
130
+ * @example
131
+ * ChinaMobile_L2
132
+ */
133
+ isp?: string;
134
+ /**
135
+ * @example
136
+ * ZHejiang
137
+ */
138
+ prov?: string;
139
+ static names(): {
140
+ [key: string]: string;
141
+ };
142
+ static types(): {
143
+ [key: string]: any;
144
+ };
145
+ validate(): void;
146
+ constructor(map?: {
147
+ [key: string]: any;
148
+ });
149
+ }
150
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoLinksHops extends $dara.Model {
151
+ /**
152
+ * @example
153
+ * **********************
154
+ */
155
+ address?: string;
156
+ geoData?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoLinksHopsGeoData;
157
+ /**
158
+ * @example
159
+ * 10
160
+ */
161
+ latency?: string;
162
+ /**
163
+ * @remarks
164
+ * TTL。
165
+ *
166
+ * @example
167
+ * 10
168
+ */
169
+ TTL?: string;
170
+ static names(): {
171
+ [key: string]: string;
172
+ };
173
+ static types(): {
174
+ [key: string]: any;
175
+ };
176
+ validate(): void;
177
+ constructor(map?: {
178
+ [key: string]: any;
179
+ });
180
+ }
181
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoLinks extends $dara.Model {
182
+ /**
183
+ * @example
184
+ * 0
185
+ */
186
+ error?: string;
187
+ /**
188
+ * @example
189
+ * 1
190
+ */
191
+ fromNode?: number;
192
+ hops?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoLinksHops[];
193
+ /**
194
+ * @example
195
+ * 10
196
+ */
197
+ latency?: string;
198
+ /**
199
+ * @example
200
+ * True
201
+ */
202
+ success?: boolean;
203
+ /**
204
+ * @example
205
+ * 2
206
+ */
207
+ toNode?: number;
208
+ static names(): {
209
+ [key: string]: string;
210
+ };
211
+ static types(): {
212
+ [key: string]: any;
213
+ };
214
+ validate(): void;
215
+ constructor(map?: {
216
+ [key: string]: any;
217
+ });
218
+ }
219
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoNodesGeoData extends $dara.Model {
220
+ /**
221
+ * @example
222
+ * Hangzhou
223
+ */
224
+ city?: string;
225
+ /**
226
+ * @example
227
+ * CN
228
+ */
229
+ country?: string;
230
+ /**
231
+ * @example
232
+ * ChinaTelecom_L2
233
+ */
234
+ isp?: string;
235
+ /**
236
+ * @example
237
+ * Zhejiang
238
+ */
239
+ prov?: string;
240
+ static names(): {
241
+ [key: string]: string;
242
+ };
243
+ static types(): {
244
+ [key: string]: any;
245
+ };
246
+ validate(): void;
247
+ constructor(map?: {
248
+ [key: string]: any;
249
+ });
250
+ }
251
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoNodes extends $dara.Model {
252
+ /**
253
+ * @example
254
+ * 172.27.228.132
255
+ */
256
+ address?: string;
257
+ /**
258
+ * @example
259
+ * vpc-xxxxxx
260
+ */
261
+ cloudNetId?: string;
262
+ /**
263
+ * @example
264
+ * 1
265
+ */
266
+ error?: string;
267
+ geoData?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoNodesGeoData;
268
+ /**
269
+ * @example
270
+ * 1237
271
+ */
272
+ id?: number;
273
+ name?: string;
274
+ /**
275
+ * @example
276
+ * Japan Private POP
277
+ */
278
+ nameEn?: string;
279
+ /**
280
+ * @example
281
+ * stunnel
282
+ */
283
+ nodeType?: string;
284
+ /**
285
+ * @example
286
+ * pop-xxxxxx
287
+ */
288
+ resourceId?: string;
289
+ /**
290
+ * @example
291
+ * True
292
+ */
293
+ success?: boolean;
294
+ static names(): {
295
+ [key: string]: string;
296
+ };
297
+ static types(): {
298
+ [key: string]: any;
299
+ };
300
+ validate(): void;
301
+ constructor(map?: {
302
+ [key: string]: any;
303
+ });
304
+ }
305
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfo extends $dara.Model {
306
+ dns?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoDns;
307
+ /**
308
+ * @example
309
+ * 300
310
+ */
311
+ FBT?: string;
312
+ links?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoLinks[];
313
+ nodes?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfoNodes[];
314
+ static names(): {
315
+ [key: string]: string;
316
+ };
317
+ static types(): {
318
+ [key: string]: any;
319
+ };
320
+ validate(): void;
321
+ constructor(map?: {
322
+ [key: string]: any;
323
+ });
324
+ }
325
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfoDeviceAttributeInfo extends $dara.Model {
326
+ /**
327
+ * @example
328
+ * E9EE1CE7-4AA0-521D-B8E1-E13E47F05E94
329
+ */
330
+ devTag?: string;
331
+ /**
332
+ * @example
333
+ * macos
334
+ */
335
+ deviceType?: string;
336
+ file?: string[];
337
+ /**
338
+ * @example
339
+ * [{\\"Platform\\":\\"windows\\",\\"Status\\":\\"disabled\\"},{\\"Platform\\":\\"macos\\",\\"Status\\":\\"disabled\\"},{\\"Platform\\":\\"linux\\",\\"Status\\":\\"disabled\\"}]
340
+ */
341
+ firewall?: string;
342
+ /**
343
+ * @example
344
+ * DESKTOP-CVTB5KT.CXISHD01.CATHAY_INS.CHN
345
+ */
346
+ hostname?: string;
347
+ /**
348
+ * @example
349
+ * 10.5.208.122
350
+ */
351
+ innerIp?: string;
352
+ /**
353
+ * @example
354
+ * 47.98.146.136
355
+ */
356
+ internetIp?: string;
357
+ /**
358
+ * @example
359
+ * `curl Rj0F9uvI.popscan.xaliyun.com`
360
+ */
361
+ mac?: string;
362
+ /**
363
+ * @example
364
+ * Test
365
+ */
366
+ matchedSecurityBaseline?: string;
367
+ process?: string[];
368
+ /**
369
+ * @remarks
370
+ * SSID。
371
+ *
372
+ * @example
373
+ * abcd
374
+ */
375
+ ssid?: string;
376
+ static names(): {
377
+ [key: string]: string;
378
+ };
379
+ static types(): {
380
+ [key: string]: any;
381
+ };
382
+ validate(): void;
383
+ constructor(map?: {
384
+ [key: string]: any;
385
+ });
386
+ }
387
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfoRouteStrategyInfo extends $dara.Model {
388
+ /**
389
+ * @example
390
+ * connector
391
+ */
392
+ routeType?: string;
393
+ /**
394
+ * @example
395
+ * av-rtd-091c2d6e3f24aae4
396
+ */
397
+ strategyId?: string;
398
+ /**
399
+ * @example
400
+ * 1
401
+ */
402
+ strategyName?: string;
403
+ static names(): {
404
+ [key: string]: string;
405
+ };
406
+ static types(): {
407
+ [key: string]: any;
408
+ };
409
+ validate(): void;
410
+ constructor(map?: {
411
+ [key: string]: any;
412
+ });
413
+ }
414
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfoUserGroupInfo extends $dara.Model {
415
+ /**
416
+ * @example
417
+ * 1234@xxxx.com
418
+ */
419
+ email?: string;
420
+ group?: string[];
421
+ /**
422
+ * @example
423
+ * IT
424
+ */
425
+ matchedUserGroups?: string;
426
+ /**
427
+ * @example
428
+ * 123456789
429
+ */
430
+ telephone?: string;
431
+ /**
432
+ * @example
433
+ * zhangsan
434
+ */
435
+ username?: string;
436
+ static names(): {
437
+ [key: string]: string;
438
+ };
439
+ static types(): {
440
+ [key: string]: any;
441
+ };
442
+ validate(): void;
443
+ constructor(map?: {
444
+ [key: string]: any;
445
+ });
446
+ }
447
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfoZeroTrustPolicyInfo extends $dara.Model {
448
+ /**
449
+ * @example
450
+ * block
451
+ */
452
+ action?: string;
453
+ /**
454
+ * @example
455
+ * MyApp2
456
+ */
457
+ appName?: string;
458
+ /**
459
+ * @example
460
+ * access denied
461
+ */
462
+ blockInfo?: string;
463
+ policyName?: string;
464
+ static names(): {
465
+ [key: string]: string;
466
+ };
467
+ static types(): {
468
+ [key: string]: any;
469
+ };
470
+ validate(): void;
471
+ constructor(map?: {
472
+ [key: string]: any;
473
+ });
474
+ }
475
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfo extends $dara.Model {
476
+ deviceAttributeInfo?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfoDeviceAttributeInfo;
477
+ /**
478
+ * @example
479
+ * 1000
480
+ */
481
+ processTime?: number;
482
+ routeStrategyInfo?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfoRouteStrategyInfo;
483
+ userGroupInfo?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfoUserGroupInfo;
484
+ zeroTrustPolicyInfo?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfoZeroTrustPolicyInfo;
485
+ static names(): {
486
+ [key: string]: string;
487
+ };
488
+ static types(): {
489
+ [key: string]: any;
490
+ };
491
+ validate(): void;
492
+ constructor(map?: {
493
+ [key: string]: any;
494
+ });
495
+ }
496
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskResult extends $dara.Model {
497
+ /**
498
+ * @example
499
+ * device offline
500
+ */
501
+ errorMessage?: string;
502
+ /**
503
+ * @example
504
+ * flow-d918b12f9b974f6489fc
505
+ */
506
+ flowId?: string;
507
+ networkLinkInfo?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultNetworkLinkInfo;
508
+ policyInfo?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResultPolicyInfo;
509
+ /**
510
+ * @example
511
+ * True
512
+ */
513
+ success?: boolean;
514
+ static names(): {
515
+ [key: string]: string;
516
+ };
517
+ static types(): {
518
+ [key: string]: any;
519
+ };
520
+ validate(): void;
521
+ constructor(map?: {
522
+ [key: string]: any;
523
+ });
524
+ }
525
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskUdpExtraConfigs extends $dara.Model {
526
+ /**
527
+ * @example
528
+ * hello
529
+ */
530
+ expectedResponse?: string;
531
+ /**
532
+ * @example
533
+ * hello
534
+ */
535
+ requestContent?: string;
536
+ static names(): {
537
+ [key: string]: string;
538
+ };
539
+ static types(): {
540
+ [key: string]: any;
541
+ };
542
+ validate(): void;
543
+ constructor(map?: {
544
+ [key: string]: any;
545
+ });
546
+ }
547
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTaskUserGroup extends $dara.Model {
548
+ /**
549
+ * @example
550
+ * ug-xxxxx
551
+ */
552
+ userGroupId?: string;
553
+ /**
554
+ * @example
555
+ * IT
556
+ */
557
+ userGroupName?: string;
558
+ static names(): {
559
+ [key: string]: string;
560
+ };
561
+ static types(): {
562
+ [key: string]: any;
563
+ };
564
+ validate(): void;
565
+ constructor(map?: {
566
+ [key: string]: any;
567
+ });
568
+ }
569
+ export declare class GetPADiagnosisTaskResponseBodyDiagnosisTask extends $dara.Model {
570
+ /**
571
+ * @example
572
+ * 2023-08-17 09:49:03
573
+ */
574
+ createTime?: string;
575
+ /**
576
+ * @example
577
+ * 76C08B0F-CEFD-8F01-C1D3-0D5B493B5EAF
578
+ */
579
+ devTag?: string;
580
+ /**
581
+ * @example
582
+ * diag-3e0d36d6c15a0502
583
+ */
584
+ diagnoseId?: string;
585
+ /**
586
+ * @example
587
+ * FullLink
588
+ */
589
+ diagnoseType?: string;
590
+ /**
591
+ * @example
592
+ * mtools-admin.redotpay.com
593
+ */
594
+ host?: string;
595
+ /**
596
+ * @example
597
+ * pop-2504cd067e094750
598
+ */
599
+ popId?: string;
600
+ /**
601
+ * @example
602
+ * AutoSelect
603
+ */
604
+ popMode?: string;
605
+ /**
606
+ * @example
607
+ * 80
608
+ */
609
+ port?: string;
610
+ /**
611
+ * @example
612
+ * All
613
+ */
614
+ protocol?: string;
615
+ result?: GetPADiagnosisTaskResponseBodyDiagnosisTaskResult;
616
+ /**
617
+ * @example
618
+ * Running
619
+ */
620
+ status?: string;
621
+ udpExtraConfigs?: GetPADiagnosisTaskResponseBodyDiagnosisTaskUdpExtraConfigs;
622
+ userGroup?: GetPADiagnosisTaskResponseBodyDiagnosisTaskUserGroup;
623
+ /**
624
+ * @example
625
+ * zhangsan
626
+ */
627
+ username?: string;
628
+ static names(): {
629
+ [key: string]: string;
630
+ };
631
+ static types(): {
632
+ [key: string]: any;
633
+ };
634
+ validate(): void;
635
+ constructor(map?: {
636
+ [key: string]: any;
637
+ });
638
+ }
639
+ export declare class GetPADiagnosisTaskResponseBody extends $dara.Model {
640
+ diagnosisTask?: GetPADiagnosisTaskResponseBodyDiagnosisTask;
641
+ /**
642
+ * @remarks
643
+ * Id of the request
644
+ *
645
+ * @example
646
+ * 2CABFEBB-0CE7-575E-833A-266F75D46713
647
+ */
648
+ requestId?: string;
649
+ static names(): {
650
+ [key: string]: string;
651
+ };
652
+ static types(): {
653
+ [key: string]: any;
654
+ };
655
+ validate(): void;
656
+ constructor(map?: {
657
+ [key: string]: any;
658
+ });
659
+ }