@alicloud/sas20181203 2.10.0 → 2.11.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/client.d.ts +170 -0
- package/dist/client.js +280 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +340 -0
package/dist/client.d.ts
CHANGED
|
@@ -20458,6 +20458,88 @@ export declare class ListInstanceCatalogResponse extends $tea.Model {
|
|
|
20458
20458
|
[key: string]: any;
|
|
20459
20459
|
});
|
|
20460
20460
|
}
|
|
20461
|
+
export declare class ListInstanceRiskLevelsRequest extends $tea.Model {
|
|
20462
|
+
instanceList?: ListInstanceRiskLevelsRequestInstanceList[];
|
|
20463
|
+
static names(): {
|
|
20464
|
+
[key: string]: string;
|
|
20465
|
+
};
|
|
20466
|
+
static types(): {
|
|
20467
|
+
[key: string]: any;
|
|
20468
|
+
};
|
|
20469
|
+
constructor(map?: {
|
|
20470
|
+
[key: string]: any;
|
|
20471
|
+
});
|
|
20472
|
+
}
|
|
20473
|
+
export declare class ListInstanceRiskLevelsResponseBody extends $tea.Model {
|
|
20474
|
+
instanceRiskLevels?: ListInstanceRiskLevelsResponseBodyInstanceRiskLevels[];
|
|
20475
|
+
requestId?: string;
|
|
20476
|
+
static names(): {
|
|
20477
|
+
[key: string]: string;
|
|
20478
|
+
};
|
|
20479
|
+
static types(): {
|
|
20480
|
+
[key: string]: any;
|
|
20481
|
+
};
|
|
20482
|
+
constructor(map?: {
|
|
20483
|
+
[key: string]: any;
|
|
20484
|
+
});
|
|
20485
|
+
}
|
|
20486
|
+
export declare class ListInstanceRiskLevelsResponse extends $tea.Model {
|
|
20487
|
+
headers: {
|
|
20488
|
+
[key: string]: string;
|
|
20489
|
+
};
|
|
20490
|
+
statusCode: number;
|
|
20491
|
+
body: ListInstanceRiskLevelsResponseBody;
|
|
20492
|
+
static names(): {
|
|
20493
|
+
[key: string]: string;
|
|
20494
|
+
};
|
|
20495
|
+
static types(): {
|
|
20496
|
+
[key: string]: any;
|
|
20497
|
+
};
|
|
20498
|
+
constructor(map?: {
|
|
20499
|
+
[key: string]: any;
|
|
20500
|
+
});
|
|
20501
|
+
}
|
|
20502
|
+
export declare class ListInstanceRiskNumRequest extends $tea.Model {
|
|
20503
|
+
instanceList?: ListInstanceRiskNumRequestInstanceList[];
|
|
20504
|
+
static names(): {
|
|
20505
|
+
[key: string]: string;
|
|
20506
|
+
};
|
|
20507
|
+
static types(): {
|
|
20508
|
+
[key: string]: any;
|
|
20509
|
+
};
|
|
20510
|
+
constructor(map?: {
|
|
20511
|
+
[key: string]: any;
|
|
20512
|
+
});
|
|
20513
|
+
}
|
|
20514
|
+
export declare class ListInstanceRiskNumResponseBody extends $tea.Model {
|
|
20515
|
+
instanceRiskNum?: ListInstanceRiskNumResponseBodyInstanceRiskNum[];
|
|
20516
|
+
requestId?: string;
|
|
20517
|
+
static names(): {
|
|
20518
|
+
[key: string]: string;
|
|
20519
|
+
};
|
|
20520
|
+
static types(): {
|
|
20521
|
+
[key: string]: any;
|
|
20522
|
+
};
|
|
20523
|
+
constructor(map?: {
|
|
20524
|
+
[key: string]: any;
|
|
20525
|
+
});
|
|
20526
|
+
}
|
|
20527
|
+
export declare class ListInstanceRiskNumResponse extends $tea.Model {
|
|
20528
|
+
headers: {
|
|
20529
|
+
[key: string]: string;
|
|
20530
|
+
};
|
|
20531
|
+
statusCode: number;
|
|
20532
|
+
body: ListInstanceRiskNumResponseBody;
|
|
20533
|
+
static names(): {
|
|
20534
|
+
[key: string]: string;
|
|
20535
|
+
};
|
|
20536
|
+
static types(): {
|
|
20537
|
+
[key: string]: any;
|
|
20538
|
+
};
|
|
20539
|
+
constructor(map?: {
|
|
20540
|
+
[key: string]: any;
|
|
20541
|
+
});
|
|
20542
|
+
}
|
|
20461
20543
|
export declare class ListInterceptionHistoryRequest extends $tea.Model {
|
|
20462
20544
|
clusterId?: string;
|
|
20463
20545
|
currentPage?: number;
|
|
@@ -37004,6 +37086,90 @@ export declare class ListInstanceCatalogResponseBodyVendors extends $tea.Model {
|
|
|
37004
37086
|
[key: string]: any;
|
|
37005
37087
|
});
|
|
37006
37088
|
}
|
|
37089
|
+
export declare class ListInstanceRiskLevelsRequestInstanceList extends $tea.Model {
|
|
37090
|
+
instanceId?: string;
|
|
37091
|
+
uuid?: string;
|
|
37092
|
+
static names(): {
|
|
37093
|
+
[key: string]: string;
|
|
37094
|
+
};
|
|
37095
|
+
static types(): {
|
|
37096
|
+
[key: string]: any;
|
|
37097
|
+
};
|
|
37098
|
+
constructor(map?: {
|
|
37099
|
+
[key: string]: any;
|
|
37100
|
+
});
|
|
37101
|
+
}
|
|
37102
|
+
export declare class ListInstanceRiskLevelsResponseBodyInstanceRiskLevels extends $tea.Model {
|
|
37103
|
+
instanceId?: string;
|
|
37104
|
+
level?: string;
|
|
37105
|
+
uuid?: string;
|
|
37106
|
+
static names(): {
|
|
37107
|
+
[key: string]: string;
|
|
37108
|
+
};
|
|
37109
|
+
static types(): {
|
|
37110
|
+
[key: string]: any;
|
|
37111
|
+
};
|
|
37112
|
+
constructor(map?: {
|
|
37113
|
+
[key: string]: any;
|
|
37114
|
+
});
|
|
37115
|
+
}
|
|
37116
|
+
export declare class ListInstanceRiskNumRequestInstanceList extends $tea.Model {
|
|
37117
|
+
instanceId?: string;
|
|
37118
|
+
uuid?: string;
|
|
37119
|
+
static names(): {
|
|
37120
|
+
[key: string]: string;
|
|
37121
|
+
};
|
|
37122
|
+
static types(): {
|
|
37123
|
+
[key: string]: any;
|
|
37124
|
+
};
|
|
37125
|
+
constructor(map?: {
|
|
37126
|
+
[key: string]: any;
|
|
37127
|
+
});
|
|
37128
|
+
}
|
|
37129
|
+
export declare class ListInstanceRiskNumResponseBodyInstanceRiskNumInstanceItem extends $tea.Model {
|
|
37130
|
+
instanceId?: string;
|
|
37131
|
+
uuid?: string;
|
|
37132
|
+
static names(): {
|
|
37133
|
+
[key: string]: string;
|
|
37134
|
+
};
|
|
37135
|
+
static types(): {
|
|
37136
|
+
[key: string]: any;
|
|
37137
|
+
};
|
|
37138
|
+
constructor(map?: {
|
|
37139
|
+
[key: string]: any;
|
|
37140
|
+
});
|
|
37141
|
+
}
|
|
37142
|
+
export declare class ListInstanceRiskNumResponseBodyInstanceRiskNumRiskNumEntity extends $tea.Model {
|
|
37143
|
+
suspiciousHighCount?: number;
|
|
37144
|
+
suspiciousLowCount?: number;
|
|
37145
|
+
suspiciousMediumCount?: number;
|
|
37146
|
+
vulHighCount?: number;
|
|
37147
|
+
vulLowCount?: number;
|
|
37148
|
+
vulMediumCount?: number;
|
|
37149
|
+
weakPassWordCount?: number;
|
|
37150
|
+
static names(): {
|
|
37151
|
+
[key: string]: string;
|
|
37152
|
+
};
|
|
37153
|
+
static types(): {
|
|
37154
|
+
[key: string]: any;
|
|
37155
|
+
};
|
|
37156
|
+
constructor(map?: {
|
|
37157
|
+
[key: string]: any;
|
|
37158
|
+
});
|
|
37159
|
+
}
|
|
37160
|
+
export declare class ListInstanceRiskNumResponseBodyInstanceRiskNum extends $tea.Model {
|
|
37161
|
+
instanceItem?: ListInstanceRiskNumResponseBodyInstanceRiskNumInstanceItem;
|
|
37162
|
+
riskNumEntity?: ListInstanceRiskNumResponseBodyInstanceRiskNumRiskNumEntity;
|
|
37163
|
+
static names(): {
|
|
37164
|
+
[key: string]: string;
|
|
37165
|
+
};
|
|
37166
|
+
static types(): {
|
|
37167
|
+
[key: string]: any;
|
|
37168
|
+
};
|
|
37169
|
+
constructor(map?: {
|
|
37170
|
+
[key: string]: any;
|
|
37171
|
+
});
|
|
37172
|
+
}
|
|
37007
37173
|
export declare class ListInterceptionHistoryResponseBodyInterceptionHistoryList extends $tea.Model {
|
|
37008
37174
|
clusterId?: string;
|
|
37009
37175
|
clusterName?: string;
|
|
@@ -39419,6 +39585,10 @@ export default class Client extends OpenApi {
|
|
|
39419
39585
|
listImageRisk(request: ListImageRiskRequest): Promise<ListImageRiskResponse>;
|
|
39420
39586
|
listInstanceCatalogWithOptions(request: ListInstanceCatalogRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceCatalogResponse>;
|
|
39421
39587
|
listInstanceCatalog(request: ListInstanceCatalogRequest): Promise<ListInstanceCatalogResponse>;
|
|
39588
|
+
listInstanceRiskLevelsWithOptions(request: ListInstanceRiskLevelsRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceRiskLevelsResponse>;
|
|
39589
|
+
listInstanceRiskLevels(request: ListInstanceRiskLevelsRequest): Promise<ListInstanceRiskLevelsResponse>;
|
|
39590
|
+
listInstanceRiskNumWithOptions(request: ListInstanceRiskNumRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceRiskNumResponse>;
|
|
39591
|
+
listInstanceRiskNum(request: ListInstanceRiskNumRequest): Promise<ListInstanceRiskNumResponse>;
|
|
39422
39592
|
listInterceptionHistoryWithOptions(request: ListInterceptionHistoryRequest, runtime: $Util.RuntimeOptions): Promise<ListInterceptionHistoryResponse>;
|
|
39423
39593
|
listInterceptionHistory(request: ListInterceptionHistoryRequest): Promise<ListInterceptionHistoryResponse>;
|
|
39424
39594
|
listInterceptionRulePageWithOptions(request: ListInterceptionRulePageRequest, runtime: $Util.RuntimeOptions): Promise<ListInterceptionRulePageResponse>;
|
package/dist/client.js
CHANGED
|
@@ -28371,6 +28371,114 @@ class ListInstanceCatalogResponse extends $tea.Model {
|
|
|
28371
28371
|
}
|
|
28372
28372
|
}
|
|
28373
28373
|
exports.ListInstanceCatalogResponse = ListInstanceCatalogResponse;
|
|
28374
|
+
class ListInstanceRiskLevelsRequest extends $tea.Model {
|
|
28375
|
+
constructor(map) {
|
|
28376
|
+
super(map);
|
|
28377
|
+
}
|
|
28378
|
+
static names() {
|
|
28379
|
+
return {
|
|
28380
|
+
instanceList: 'InstanceList',
|
|
28381
|
+
};
|
|
28382
|
+
}
|
|
28383
|
+
static types() {
|
|
28384
|
+
return {
|
|
28385
|
+
instanceList: { 'type': 'array', 'itemType': ListInstanceRiskLevelsRequestInstanceList },
|
|
28386
|
+
};
|
|
28387
|
+
}
|
|
28388
|
+
}
|
|
28389
|
+
exports.ListInstanceRiskLevelsRequest = ListInstanceRiskLevelsRequest;
|
|
28390
|
+
class ListInstanceRiskLevelsResponseBody extends $tea.Model {
|
|
28391
|
+
constructor(map) {
|
|
28392
|
+
super(map);
|
|
28393
|
+
}
|
|
28394
|
+
static names() {
|
|
28395
|
+
return {
|
|
28396
|
+
instanceRiskLevels: 'InstanceRiskLevels',
|
|
28397
|
+
requestId: 'RequestId',
|
|
28398
|
+
};
|
|
28399
|
+
}
|
|
28400
|
+
static types() {
|
|
28401
|
+
return {
|
|
28402
|
+
instanceRiskLevels: { 'type': 'array', 'itemType': ListInstanceRiskLevelsResponseBodyInstanceRiskLevels },
|
|
28403
|
+
requestId: 'string',
|
|
28404
|
+
};
|
|
28405
|
+
}
|
|
28406
|
+
}
|
|
28407
|
+
exports.ListInstanceRiskLevelsResponseBody = ListInstanceRiskLevelsResponseBody;
|
|
28408
|
+
class ListInstanceRiskLevelsResponse extends $tea.Model {
|
|
28409
|
+
constructor(map) {
|
|
28410
|
+
super(map);
|
|
28411
|
+
}
|
|
28412
|
+
static names() {
|
|
28413
|
+
return {
|
|
28414
|
+
headers: 'headers',
|
|
28415
|
+
statusCode: 'statusCode',
|
|
28416
|
+
body: 'body',
|
|
28417
|
+
};
|
|
28418
|
+
}
|
|
28419
|
+
static types() {
|
|
28420
|
+
return {
|
|
28421
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28422
|
+
statusCode: 'number',
|
|
28423
|
+
body: ListInstanceRiskLevelsResponseBody,
|
|
28424
|
+
};
|
|
28425
|
+
}
|
|
28426
|
+
}
|
|
28427
|
+
exports.ListInstanceRiskLevelsResponse = ListInstanceRiskLevelsResponse;
|
|
28428
|
+
class ListInstanceRiskNumRequest extends $tea.Model {
|
|
28429
|
+
constructor(map) {
|
|
28430
|
+
super(map);
|
|
28431
|
+
}
|
|
28432
|
+
static names() {
|
|
28433
|
+
return {
|
|
28434
|
+
instanceList: 'InstanceList',
|
|
28435
|
+
};
|
|
28436
|
+
}
|
|
28437
|
+
static types() {
|
|
28438
|
+
return {
|
|
28439
|
+
instanceList: { 'type': 'array', 'itemType': ListInstanceRiskNumRequestInstanceList },
|
|
28440
|
+
};
|
|
28441
|
+
}
|
|
28442
|
+
}
|
|
28443
|
+
exports.ListInstanceRiskNumRequest = ListInstanceRiskNumRequest;
|
|
28444
|
+
class ListInstanceRiskNumResponseBody extends $tea.Model {
|
|
28445
|
+
constructor(map) {
|
|
28446
|
+
super(map);
|
|
28447
|
+
}
|
|
28448
|
+
static names() {
|
|
28449
|
+
return {
|
|
28450
|
+
instanceRiskNum: 'InstanceRiskNum',
|
|
28451
|
+
requestId: 'RequestId',
|
|
28452
|
+
};
|
|
28453
|
+
}
|
|
28454
|
+
static types() {
|
|
28455
|
+
return {
|
|
28456
|
+
instanceRiskNum: { 'type': 'array', 'itemType': ListInstanceRiskNumResponseBodyInstanceRiskNum },
|
|
28457
|
+
requestId: 'string',
|
|
28458
|
+
};
|
|
28459
|
+
}
|
|
28460
|
+
}
|
|
28461
|
+
exports.ListInstanceRiskNumResponseBody = ListInstanceRiskNumResponseBody;
|
|
28462
|
+
class ListInstanceRiskNumResponse extends $tea.Model {
|
|
28463
|
+
constructor(map) {
|
|
28464
|
+
super(map);
|
|
28465
|
+
}
|
|
28466
|
+
static names() {
|
|
28467
|
+
return {
|
|
28468
|
+
headers: 'headers',
|
|
28469
|
+
statusCode: 'statusCode',
|
|
28470
|
+
body: 'body',
|
|
28471
|
+
};
|
|
28472
|
+
}
|
|
28473
|
+
static types() {
|
|
28474
|
+
return {
|
|
28475
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28476
|
+
statusCode: 'number',
|
|
28477
|
+
body: ListInstanceRiskNumResponseBody,
|
|
28478
|
+
};
|
|
28479
|
+
}
|
|
28480
|
+
}
|
|
28481
|
+
exports.ListInstanceRiskNumResponse = ListInstanceRiskNumResponse;
|
|
28374
28482
|
class ListInterceptionHistoryRequest extends $tea.Model {
|
|
28375
28483
|
constructor(map) {
|
|
28376
28484
|
super(map);
|
|
@@ -52631,6 +52739,126 @@ class ListInstanceCatalogResponseBodyVendors extends $tea.Model {
|
|
|
52631
52739
|
}
|
|
52632
52740
|
}
|
|
52633
52741
|
exports.ListInstanceCatalogResponseBodyVendors = ListInstanceCatalogResponseBodyVendors;
|
|
52742
|
+
class ListInstanceRiskLevelsRequestInstanceList extends $tea.Model {
|
|
52743
|
+
constructor(map) {
|
|
52744
|
+
super(map);
|
|
52745
|
+
}
|
|
52746
|
+
static names() {
|
|
52747
|
+
return {
|
|
52748
|
+
instanceId: 'InstanceId',
|
|
52749
|
+
uuid: 'Uuid',
|
|
52750
|
+
};
|
|
52751
|
+
}
|
|
52752
|
+
static types() {
|
|
52753
|
+
return {
|
|
52754
|
+
instanceId: 'string',
|
|
52755
|
+
uuid: 'string',
|
|
52756
|
+
};
|
|
52757
|
+
}
|
|
52758
|
+
}
|
|
52759
|
+
exports.ListInstanceRiskLevelsRequestInstanceList = ListInstanceRiskLevelsRequestInstanceList;
|
|
52760
|
+
class ListInstanceRiskLevelsResponseBodyInstanceRiskLevels extends $tea.Model {
|
|
52761
|
+
constructor(map) {
|
|
52762
|
+
super(map);
|
|
52763
|
+
}
|
|
52764
|
+
static names() {
|
|
52765
|
+
return {
|
|
52766
|
+
instanceId: 'InstanceId',
|
|
52767
|
+
level: 'Level',
|
|
52768
|
+
uuid: 'Uuid',
|
|
52769
|
+
};
|
|
52770
|
+
}
|
|
52771
|
+
static types() {
|
|
52772
|
+
return {
|
|
52773
|
+
instanceId: 'string',
|
|
52774
|
+
level: 'string',
|
|
52775
|
+
uuid: 'string',
|
|
52776
|
+
};
|
|
52777
|
+
}
|
|
52778
|
+
}
|
|
52779
|
+
exports.ListInstanceRiskLevelsResponseBodyInstanceRiskLevels = ListInstanceRiskLevelsResponseBodyInstanceRiskLevels;
|
|
52780
|
+
class ListInstanceRiskNumRequestInstanceList extends $tea.Model {
|
|
52781
|
+
constructor(map) {
|
|
52782
|
+
super(map);
|
|
52783
|
+
}
|
|
52784
|
+
static names() {
|
|
52785
|
+
return {
|
|
52786
|
+
instanceId: 'InstanceId',
|
|
52787
|
+
uuid: 'Uuid',
|
|
52788
|
+
};
|
|
52789
|
+
}
|
|
52790
|
+
static types() {
|
|
52791
|
+
return {
|
|
52792
|
+
instanceId: 'string',
|
|
52793
|
+
uuid: 'string',
|
|
52794
|
+
};
|
|
52795
|
+
}
|
|
52796
|
+
}
|
|
52797
|
+
exports.ListInstanceRiskNumRequestInstanceList = ListInstanceRiskNumRequestInstanceList;
|
|
52798
|
+
class ListInstanceRiskNumResponseBodyInstanceRiskNumInstanceItem extends $tea.Model {
|
|
52799
|
+
constructor(map) {
|
|
52800
|
+
super(map);
|
|
52801
|
+
}
|
|
52802
|
+
static names() {
|
|
52803
|
+
return {
|
|
52804
|
+
instanceId: 'InstanceId',
|
|
52805
|
+
uuid: 'Uuid',
|
|
52806
|
+
};
|
|
52807
|
+
}
|
|
52808
|
+
static types() {
|
|
52809
|
+
return {
|
|
52810
|
+
instanceId: 'string',
|
|
52811
|
+
uuid: 'string',
|
|
52812
|
+
};
|
|
52813
|
+
}
|
|
52814
|
+
}
|
|
52815
|
+
exports.ListInstanceRiskNumResponseBodyInstanceRiskNumInstanceItem = ListInstanceRiskNumResponseBodyInstanceRiskNumInstanceItem;
|
|
52816
|
+
class ListInstanceRiskNumResponseBodyInstanceRiskNumRiskNumEntity extends $tea.Model {
|
|
52817
|
+
constructor(map) {
|
|
52818
|
+
super(map);
|
|
52819
|
+
}
|
|
52820
|
+
static names() {
|
|
52821
|
+
return {
|
|
52822
|
+
suspiciousHighCount: 'SuspiciousHighCount',
|
|
52823
|
+
suspiciousLowCount: 'SuspiciousLowCount',
|
|
52824
|
+
suspiciousMediumCount: 'SuspiciousMediumCount',
|
|
52825
|
+
vulHighCount: 'VulHighCount',
|
|
52826
|
+
vulLowCount: 'VulLowCount',
|
|
52827
|
+
vulMediumCount: 'VulMediumCount',
|
|
52828
|
+
weakPassWordCount: 'WeakPassWordCount',
|
|
52829
|
+
};
|
|
52830
|
+
}
|
|
52831
|
+
static types() {
|
|
52832
|
+
return {
|
|
52833
|
+
suspiciousHighCount: 'number',
|
|
52834
|
+
suspiciousLowCount: 'number',
|
|
52835
|
+
suspiciousMediumCount: 'number',
|
|
52836
|
+
vulHighCount: 'number',
|
|
52837
|
+
vulLowCount: 'number',
|
|
52838
|
+
vulMediumCount: 'number',
|
|
52839
|
+
weakPassWordCount: 'number',
|
|
52840
|
+
};
|
|
52841
|
+
}
|
|
52842
|
+
}
|
|
52843
|
+
exports.ListInstanceRiskNumResponseBodyInstanceRiskNumRiskNumEntity = ListInstanceRiskNumResponseBodyInstanceRiskNumRiskNumEntity;
|
|
52844
|
+
class ListInstanceRiskNumResponseBodyInstanceRiskNum extends $tea.Model {
|
|
52845
|
+
constructor(map) {
|
|
52846
|
+
super(map);
|
|
52847
|
+
}
|
|
52848
|
+
static names() {
|
|
52849
|
+
return {
|
|
52850
|
+
instanceItem: 'InstanceItem',
|
|
52851
|
+
riskNumEntity: 'RiskNumEntity',
|
|
52852
|
+
};
|
|
52853
|
+
}
|
|
52854
|
+
static types() {
|
|
52855
|
+
return {
|
|
52856
|
+
instanceItem: ListInstanceRiskNumResponseBodyInstanceRiskNumInstanceItem,
|
|
52857
|
+
riskNumEntity: ListInstanceRiskNumResponseBodyInstanceRiskNumRiskNumEntity,
|
|
52858
|
+
};
|
|
52859
|
+
}
|
|
52860
|
+
}
|
|
52861
|
+
exports.ListInstanceRiskNumResponseBodyInstanceRiskNum = ListInstanceRiskNumResponseBodyInstanceRiskNum;
|
|
52634
52862
|
class ListInterceptionHistoryResponseBodyInterceptionHistoryList extends $tea.Model {
|
|
52635
52863
|
constructor(map) {
|
|
52636
52864
|
super(map);
|
|
@@ -70554,6 +70782,58 @@ class Client extends openapi_client_1.default {
|
|
|
70554
70782
|
let runtime = new $Util.RuntimeOptions({});
|
|
70555
70783
|
return await this.listInstanceCatalogWithOptions(request, runtime);
|
|
70556
70784
|
}
|
|
70785
|
+
async listInstanceRiskLevelsWithOptions(request, runtime) {
|
|
70786
|
+
tea_util_1.default.validateModel(request);
|
|
70787
|
+
let query = {};
|
|
70788
|
+
if (!tea_util_1.default.isUnset(request.instanceList)) {
|
|
70789
|
+
query["InstanceList"] = request.instanceList;
|
|
70790
|
+
}
|
|
70791
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
70792
|
+
query: openapi_util_1.default.query(query),
|
|
70793
|
+
});
|
|
70794
|
+
let params = new $OpenApi.Params({
|
|
70795
|
+
action: "ListInstanceRiskLevels",
|
|
70796
|
+
version: "2018-12-03",
|
|
70797
|
+
protocol: "HTTPS",
|
|
70798
|
+
pathname: "/",
|
|
70799
|
+
method: "POST",
|
|
70800
|
+
authType: "AK",
|
|
70801
|
+
style: "RPC",
|
|
70802
|
+
reqBodyType: "formData",
|
|
70803
|
+
bodyType: "json",
|
|
70804
|
+
});
|
|
70805
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListInstanceRiskLevelsResponse({}));
|
|
70806
|
+
}
|
|
70807
|
+
async listInstanceRiskLevels(request) {
|
|
70808
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
70809
|
+
return await this.listInstanceRiskLevelsWithOptions(request, runtime);
|
|
70810
|
+
}
|
|
70811
|
+
async listInstanceRiskNumWithOptions(request, runtime) {
|
|
70812
|
+
tea_util_1.default.validateModel(request);
|
|
70813
|
+
let query = {};
|
|
70814
|
+
if (!tea_util_1.default.isUnset(request.instanceList)) {
|
|
70815
|
+
query["InstanceList"] = request.instanceList;
|
|
70816
|
+
}
|
|
70817
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
70818
|
+
query: openapi_util_1.default.query(query),
|
|
70819
|
+
});
|
|
70820
|
+
let params = new $OpenApi.Params({
|
|
70821
|
+
action: "ListInstanceRiskNum",
|
|
70822
|
+
version: "2018-12-03",
|
|
70823
|
+
protocol: "HTTPS",
|
|
70824
|
+
pathname: "/",
|
|
70825
|
+
method: "POST",
|
|
70826
|
+
authType: "AK",
|
|
70827
|
+
style: "RPC",
|
|
70828
|
+
reqBodyType: "formData",
|
|
70829
|
+
bodyType: "json",
|
|
70830
|
+
});
|
|
70831
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListInstanceRiskNumResponse({}));
|
|
70832
|
+
}
|
|
70833
|
+
async listInstanceRiskNum(request) {
|
|
70834
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
70835
|
+
return await this.listInstanceRiskNumWithOptions(request, runtime);
|
|
70836
|
+
}
|
|
70557
70837
|
async listInterceptionHistoryWithOptions(request, runtime) {
|
|
70558
70838
|
tea_util_1.default.validateModel(request);
|
|
70559
70839
|
let query = {};
|