@alicloud/sas20181203 1.1.22 → 1.1.25
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 +209 -0
- package/dist/client.js +376 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +474 -0
package/dist/client.d.ts
CHANGED
|
@@ -6463,6 +6463,50 @@ export declare class GetBackupStorageCountResponse extends $tea.Model {
|
|
|
6463
6463
|
[key: string]: any;
|
|
6464
6464
|
});
|
|
6465
6465
|
}
|
|
6466
|
+
export declare class GetCheckDetailRequest extends $tea.Model {
|
|
6467
|
+
checkId?: number;
|
|
6468
|
+
lang?: string;
|
|
6469
|
+
static names(): {
|
|
6470
|
+
[key: string]: string;
|
|
6471
|
+
};
|
|
6472
|
+
static types(): {
|
|
6473
|
+
[key: string]: any;
|
|
6474
|
+
};
|
|
6475
|
+
constructor(map?: {
|
|
6476
|
+
[key: string]: any;
|
|
6477
|
+
});
|
|
6478
|
+
}
|
|
6479
|
+
export declare class GetCheckDetailResponseBody extends $tea.Model {
|
|
6480
|
+
assistInfo?: GetCheckDetailResponseBodyAssistInfo;
|
|
6481
|
+
description?: GetCheckDetailResponseBodyDescription;
|
|
6482
|
+
requestId?: string;
|
|
6483
|
+
solution?: GetCheckDetailResponseBodySolution;
|
|
6484
|
+
static names(): {
|
|
6485
|
+
[key: string]: string;
|
|
6486
|
+
};
|
|
6487
|
+
static types(): {
|
|
6488
|
+
[key: string]: any;
|
|
6489
|
+
};
|
|
6490
|
+
constructor(map?: {
|
|
6491
|
+
[key: string]: any;
|
|
6492
|
+
});
|
|
6493
|
+
}
|
|
6494
|
+
export declare class GetCheckDetailResponse extends $tea.Model {
|
|
6495
|
+
headers: {
|
|
6496
|
+
[key: string]: string;
|
|
6497
|
+
};
|
|
6498
|
+
statusCode: number;
|
|
6499
|
+
body: GetCheckDetailResponseBody;
|
|
6500
|
+
static names(): {
|
|
6501
|
+
[key: string]: string;
|
|
6502
|
+
};
|
|
6503
|
+
static types(): {
|
|
6504
|
+
[key: string]: any;
|
|
6505
|
+
};
|
|
6506
|
+
constructor(map?: {
|
|
6507
|
+
[key: string]: any;
|
|
6508
|
+
});
|
|
6509
|
+
}
|
|
6466
6510
|
export declare class GetFileDetectResultRequest extends $tea.Model {
|
|
6467
6511
|
hashKeyList?: string[];
|
|
6468
6512
|
sourceIp?: string;
|
|
@@ -6822,6 +6866,61 @@ export declare class InstallCloudMonitorResponse extends $tea.Model {
|
|
|
6822
6866
|
[key: string]: any;
|
|
6823
6867
|
});
|
|
6824
6868
|
}
|
|
6869
|
+
export declare class ListCheckInstanceResultRequest extends $tea.Model {
|
|
6870
|
+
checkId?: number;
|
|
6871
|
+
currentPage?: number;
|
|
6872
|
+
instanceIdKey?: string;
|
|
6873
|
+
instanceIds?: string[];
|
|
6874
|
+
instanceNameKey?: string;
|
|
6875
|
+
lang?: string;
|
|
6876
|
+
pageSize?: number;
|
|
6877
|
+
regionIdKey?: string;
|
|
6878
|
+
sortTypes?: string[];
|
|
6879
|
+
statuses?: string[];
|
|
6880
|
+
static names(): {
|
|
6881
|
+
[key: string]: string;
|
|
6882
|
+
};
|
|
6883
|
+
static types(): {
|
|
6884
|
+
[key: string]: any;
|
|
6885
|
+
};
|
|
6886
|
+
constructor(map?: {
|
|
6887
|
+
[key: string]: any;
|
|
6888
|
+
});
|
|
6889
|
+
}
|
|
6890
|
+
export declare class ListCheckInstanceResultResponseBody extends $tea.Model {
|
|
6891
|
+
basicData?: ListCheckInstanceResultResponseBodyBasicData[];
|
|
6892
|
+
checks?: {
|
|
6893
|
+
[key: string]: any;
|
|
6894
|
+
}[];
|
|
6895
|
+
columns?: ListCheckInstanceResultResponseBodyColumns[];
|
|
6896
|
+
pageInfo?: ListCheckInstanceResultResponseBodyPageInfo;
|
|
6897
|
+
requestId?: string;
|
|
6898
|
+
static names(): {
|
|
6899
|
+
[key: string]: string;
|
|
6900
|
+
};
|
|
6901
|
+
static types(): {
|
|
6902
|
+
[key: string]: any;
|
|
6903
|
+
};
|
|
6904
|
+
constructor(map?: {
|
|
6905
|
+
[key: string]: any;
|
|
6906
|
+
});
|
|
6907
|
+
}
|
|
6908
|
+
export declare class ListCheckInstanceResultResponse extends $tea.Model {
|
|
6909
|
+
headers: {
|
|
6910
|
+
[key: string]: string;
|
|
6911
|
+
};
|
|
6912
|
+
statusCode: number;
|
|
6913
|
+
body: ListCheckInstanceResultResponseBody;
|
|
6914
|
+
static names(): {
|
|
6915
|
+
[key: string]: string;
|
|
6916
|
+
};
|
|
6917
|
+
static types(): {
|
|
6918
|
+
[key: string]: any;
|
|
6919
|
+
};
|
|
6920
|
+
constructor(map?: {
|
|
6921
|
+
[key: string]: any;
|
|
6922
|
+
});
|
|
6923
|
+
}
|
|
6825
6924
|
export declare class ListCheckResultRequest extends $tea.Model {
|
|
6826
6925
|
checkKey?: string;
|
|
6827
6926
|
currentPage?: number;
|
|
@@ -12334,6 +12433,48 @@ export declare class GetBackupStorageCountResponseBodyBackupStorageCount extends
|
|
|
12334
12433
|
[key: string]: any;
|
|
12335
12434
|
});
|
|
12336
12435
|
}
|
|
12436
|
+
export declare class GetCheckDetailResponseBodyAssistInfo extends $tea.Model {
|
|
12437
|
+
link?: string;
|
|
12438
|
+
type?: string;
|
|
12439
|
+
value?: string;
|
|
12440
|
+
static names(): {
|
|
12441
|
+
[key: string]: string;
|
|
12442
|
+
};
|
|
12443
|
+
static types(): {
|
|
12444
|
+
[key: string]: any;
|
|
12445
|
+
};
|
|
12446
|
+
constructor(map?: {
|
|
12447
|
+
[key: string]: any;
|
|
12448
|
+
});
|
|
12449
|
+
}
|
|
12450
|
+
export declare class GetCheckDetailResponseBodyDescription extends $tea.Model {
|
|
12451
|
+
link?: string;
|
|
12452
|
+
type?: string;
|
|
12453
|
+
value?: string;
|
|
12454
|
+
static names(): {
|
|
12455
|
+
[key: string]: string;
|
|
12456
|
+
};
|
|
12457
|
+
static types(): {
|
|
12458
|
+
[key: string]: any;
|
|
12459
|
+
};
|
|
12460
|
+
constructor(map?: {
|
|
12461
|
+
[key: string]: any;
|
|
12462
|
+
});
|
|
12463
|
+
}
|
|
12464
|
+
export declare class GetCheckDetailResponseBodySolution extends $tea.Model {
|
|
12465
|
+
link?: string;
|
|
12466
|
+
type?: string;
|
|
12467
|
+
value?: string;
|
|
12468
|
+
static names(): {
|
|
12469
|
+
[key: string]: string;
|
|
12470
|
+
};
|
|
12471
|
+
static types(): {
|
|
12472
|
+
[key: string]: any;
|
|
12473
|
+
};
|
|
12474
|
+
constructor(map?: {
|
|
12475
|
+
[key: string]: any;
|
|
12476
|
+
});
|
|
12477
|
+
}
|
|
12337
12478
|
export declare class GetFileDetectResultResponseBodyResultListExt extends $tea.Model {
|
|
12338
12479
|
virusName?: string;
|
|
12339
12480
|
static names(): {
|
|
@@ -12350,6 +12491,8 @@ export declare class GetFileDetectResultResponseBodyResultList extends $tea.Mode
|
|
|
12350
12491
|
ext?: GetFileDetectResultResponseBodyResultListExt;
|
|
12351
12492
|
hashKey?: string;
|
|
12352
12493
|
result?: number;
|
|
12494
|
+
score?: number;
|
|
12495
|
+
virusType?: string;
|
|
12353
12496
|
static names(): {
|
|
12354
12497
|
[key: string]: string;
|
|
12355
12498
|
};
|
|
@@ -12372,6 +12515,68 @@ export declare class HandleSecurityEventsResponseBodyHandleSecurityEventsRespons
|
|
|
12372
12515
|
[key: string]: any;
|
|
12373
12516
|
});
|
|
12374
12517
|
}
|
|
12518
|
+
export declare class ListCheckInstanceResultResponseBodyBasicData extends $tea.Model {
|
|
12519
|
+
id?: number;
|
|
12520
|
+
instanceId?: string;
|
|
12521
|
+
instanceName?: string;
|
|
12522
|
+
regionId?: string;
|
|
12523
|
+
status?: string;
|
|
12524
|
+
static names(): {
|
|
12525
|
+
[key: string]: string;
|
|
12526
|
+
};
|
|
12527
|
+
static types(): {
|
|
12528
|
+
[key: string]: any;
|
|
12529
|
+
};
|
|
12530
|
+
constructor(map?: {
|
|
12531
|
+
[key: string]: any;
|
|
12532
|
+
});
|
|
12533
|
+
}
|
|
12534
|
+
export declare class ListCheckInstanceResultResponseBodyColumnsGrids extends $tea.Model {
|
|
12535
|
+
key?: string;
|
|
12536
|
+
showName?: string;
|
|
12537
|
+
type?: string;
|
|
12538
|
+
static names(): {
|
|
12539
|
+
[key: string]: string;
|
|
12540
|
+
};
|
|
12541
|
+
static types(): {
|
|
12542
|
+
[key: string]: any;
|
|
12543
|
+
};
|
|
12544
|
+
constructor(map?: {
|
|
12545
|
+
[key: string]: any;
|
|
12546
|
+
});
|
|
12547
|
+
}
|
|
12548
|
+
export declare class ListCheckInstanceResultResponseBodyColumns extends $tea.Model {
|
|
12549
|
+
grids?: ListCheckInstanceResultResponseBodyColumnsGrids[];
|
|
12550
|
+
key?: string;
|
|
12551
|
+
search?: boolean;
|
|
12552
|
+
searchKey?: string;
|
|
12553
|
+
showName?: string;
|
|
12554
|
+
type?: string;
|
|
12555
|
+
static names(): {
|
|
12556
|
+
[key: string]: string;
|
|
12557
|
+
};
|
|
12558
|
+
static types(): {
|
|
12559
|
+
[key: string]: any;
|
|
12560
|
+
};
|
|
12561
|
+
constructor(map?: {
|
|
12562
|
+
[key: string]: any;
|
|
12563
|
+
});
|
|
12564
|
+
}
|
|
12565
|
+
export declare class ListCheckInstanceResultResponseBodyPageInfo extends $tea.Model {
|
|
12566
|
+
count?: string;
|
|
12567
|
+
currentPage?: number;
|
|
12568
|
+
pageSize?: number;
|
|
12569
|
+
totalCount?: number;
|
|
12570
|
+
static names(): {
|
|
12571
|
+
[key: string]: string;
|
|
12572
|
+
};
|
|
12573
|
+
static types(): {
|
|
12574
|
+
[key: string]: any;
|
|
12575
|
+
};
|
|
12576
|
+
constructor(map?: {
|
|
12577
|
+
[key: string]: any;
|
|
12578
|
+
});
|
|
12579
|
+
}
|
|
12375
12580
|
export declare class ListCheckResultResponseBodyChecksCheckPolicies extends $tea.Model {
|
|
12376
12581
|
requirementId?: number;
|
|
12377
12582
|
requirementShowName?: string;
|
|
@@ -12899,6 +13104,8 @@ export default class Client extends OpenApi {
|
|
|
12899
13104
|
fixCheckWarnings(request: FixCheckWarningsRequest): Promise<FixCheckWarningsResponse>;
|
|
12900
13105
|
getBackupStorageCountWithOptions(runtime: $Util.RuntimeOptions): Promise<GetBackupStorageCountResponse>;
|
|
12901
13106
|
getBackupStorageCount(): Promise<GetBackupStorageCountResponse>;
|
|
13107
|
+
getCheckDetailWithOptions(request: GetCheckDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetCheckDetailResponse>;
|
|
13108
|
+
getCheckDetail(request: GetCheckDetailRequest): Promise<GetCheckDetailResponse>;
|
|
12902
13109
|
getFileDetectResultWithOptions(request: GetFileDetectResultRequest, runtime: $Util.RuntimeOptions): Promise<GetFileDetectResultResponse>;
|
|
12903
13110
|
getFileDetectResult(request: GetFileDetectResultRequest): Promise<GetFileDetectResultResponse>;
|
|
12904
13111
|
getSuspiciousStatisticsWithOptions(request: GetSuspiciousStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<GetSuspiciousStatisticsResponse>;
|
|
@@ -12915,6 +13122,8 @@ export default class Client extends OpenApi {
|
|
|
12915
13122
|
installBackupClient(request: InstallBackupClientRequest): Promise<InstallBackupClientResponse>;
|
|
12916
13123
|
installCloudMonitorWithOptions(request: InstallCloudMonitorRequest, runtime: $Util.RuntimeOptions): Promise<InstallCloudMonitorResponse>;
|
|
12917
13124
|
installCloudMonitor(request: InstallCloudMonitorRequest): Promise<InstallCloudMonitorResponse>;
|
|
13125
|
+
listCheckInstanceResultWithOptions(request: ListCheckInstanceResultRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckInstanceResultResponse>;
|
|
13126
|
+
listCheckInstanceResult(request: ListCheckInstanceResultRequest): Promise<ListCheckInstanceResultResponse>;
|
|
12918
13127
|
listCheckResultWithOptions(request: ListCheckResultRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckResultResponse>;
|
|
12919
13128
|
listCheckResult(request: ListCheckResultRequest): Promise<ListCheckResultResponse>;
|
|
12920
13129
|
listVulAutoRepairConfigWithOptions(request: ListVulAutoRepairConfigRequest, runtime: $Util.RuntimeOptions): Promise<ListVulAutoRepairConfigResponse>;
|
package/dist/client.js
CHANGED
|
@@ -9037,6 +9037,66 @@ class GetBackupStorageCountResponse extends $tea.Model {
|
|
|
9037
9037
|
}
|
|
9038
9038
|
}
|
|
9039
9039
|
exports.GetBackupStorageCountResponse = GetBackupStorageCountResponse;
|
|
9040
|
+
class GetCheckDetailRequest extends $tea.Model {
|
|
9041
|
+
constructor(map) {
|
|
9042
|
+
super(map);
|
|
9043
|
+
}
|
|
9044
|
+
static names() {
|
|
9045
|
+
return {
|
|
9046
|
+
checkId: 'CheckId',
|
|
9047
|
+
lang: 'Lang',
|
|
9048
|
+
};
|
|
9049
|
+
}
|
|
9050
|
+
static types() {
|
|
9051
|
+
return {
|
|
9052
|
+
checkId: 'number',
|
|
9053
|
+
lang: 'string',
|
|
9054
|
+
};
|
|
9055
|
+
}
|
|
9056
|
+
}
|
|
9057
|
+
exports.GetCheckDetailRequest = GetCheckDetailRequest;
|
|
9058
|
+
class GetCheckDetailResponseBody extends $tea.Model {
|
|
9059
|
+
constructor(map) {
|
|
9060
|
+
super(map);
|
|
9061
|
+
}
|
|
9062
|
+
static names() {
|
|
9063
|
+
return {
|
|
9064
|
+
assistInfo: 'AssistInfo',
|
|
9065
|
+
description: 'Description',
|
|
9066
|
+
requestId: 'RequestId',
|
|
9067
|
+
solution: 'Solution',
|
|
9068
|
+
};
|
|
9069
|
+
}
|
|
9070
|
+
static types() {
|
|
9071
|
+
return {
|
|
9072
|
+
assistInfo: GetCheckDetailResponseBodyAssistInfo,
|
|
9073
|
+
description: GetCheckDetailResponseBodyDescription,
|
|
9074
|
+
requestId: 'string',
|
|
9075
|
+
solution: GetCheckDetailResponseBodySolution,
|
|
9076
|
+
};
|
|
9077
|
+
}
|
|
9078
|
+
}
|
|
9079
|
+
exports.GetCheckDetailResponseBody = GetCheckDetailResponseBody;
|
|
9080
|
+
class GetCheckDetailResponse extends $tea.Model {
|
|
9081
|
+
constructor(map) {
|
|
9082
|
+
super(map);
|
|
9083
|
+
}
|
|
9084
|
+
static names() {
|
|
9085
|
+
return {
|
|
9086
|
+
headers: 'headers',
|
|
9087
|
+
statusCode: 'statusCode',
|
|
9088
|
+
body: 'body',
|
|
9089
|
+
};
|
|
9090
|
+
}
|
|
9091
|
+
static types() {
|
|
9092
|
+
return {
|
|
9093
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9094
|
+
statusCode: 'number',
|
|
9095
|
+
body: GetCheckDetailResponseBody,
|
|
9096
|
+
};
|
|
9097
|
+
}
|
|
9098
|
+
}
|
|
9099
|
+
exports.GetCheckDetailResponse = GetCheckDetailResponse;
|
|
9040
9100
|
class GetFileDetectResultRequest extends $tea.Model {
|
|
9041
9101
|
constructor(map) {
|
|
9042
9102
|
super(map);
|
|
@@ -9531,6 +9591,84 @@ class InstallCloudMonitorResponse extends $tea.Model {
|
|
|
9531
9591
|
}
|
|
9532
9592
|
}
|
|
9533
9593
|
exports.InstallCloudMonitorResponse = InstallCloudMonitorResponse;
|
|
9594
|
+
class ListCheckInstanceResultRequest extends $tea.Model {
|
|
9595
|
+
constructor(map) {
|
|
9596
|
+
super(map);
|
|
9597
|
+
}
|
|
9598
|
+
static names() {
|
|
9599
|
+
return {
|
|
9600
|
+
checkId: 'CheckId',
|
|
9601
|
+
currentPage: 'CurrentPage',
|
|
9602
|
+
instanceIdKey: 'InstanceIdKey',
|
|
9603
|
+
instanceIds: 'InstanceIds',
|
|
9604
|
+
instanceNameKey: 'InstanceNameKey',
|
|
9605
|
+
lang: 'Lang',
|
|
9606
|
+
pageSize: 'PageSize',
|
|
9607
|
+
regionIdKey: 'RegionIdKey',
|
|
9608
|
+
sortTypes: 'SortTypes',
|
|
9609
|
+
statuses: 'Statuses',
|
|
9610
|
+
};
|
|
9611
|
+
}
|
|
9612
|
+
static types() {
|
|
9613
|
+
return {
|
|
9614
|
+
checkId: 'number',
|
|
9615
|
+
currentPage: 'number',
|
|
9616
|
+
instanceIdKey: 'string',
|
|
9617
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
9618
|
+
instanceNameKey: 'string',
|
|
9619
|
+
lang: 'string',
|
|
9620
|
+
pageSize: 'number',
|
|
9621
|
+
regionIdKey: 'string',
|
|
9622
|
+
sortTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9623
|
+
statuses: { 'type': 'array', 'itemType': 'string' },
|
|
9624
|
+
};
|
|
9625
|
+
}
|
|
9626
|
+
}
|
|
9627
|
+
exports.ListCheckInstanceResultRequest = ListCheckInstanceResultRequest;
|
|
9628
|
+
class ListCheckInstanceResultResponseBody extends $tea.Model {
|
|
9629
|
+
constructor(map) {
|
|
9630
|
+
super(map);
|
|
9631
|
+
}
|
|
9632
|
+
static names() {
|
|
9633
|
+
return {
|
|
9634
|
+
basicData: 'BasicData',
|
|
9635
|
+
checks: 'Checks',
|
|
9636
|
+
columns: 'Columns',
|
|
9637
|
+
pageInfo: 'PageInfo',
|
|
9638
|
+
requestId: 'RequestId',
|
|
9639
|
+
};
|
|
9640
|
+
}
|
|
9641
|
+
static types() {
|
|
9642
|
+
return {
|
|
9643
|
+
basicData: { 'type': 'array', 'itemType': ListCheckInstanceResultResponseBodyBasicData },
|
|
9644
|
+
checks: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
9645
|
+
columns: { 'type': 'array', 'itemType': ListCheckInstanceResultResponseBodyColumns },
|
|
9646
|
+
pageInfo: ListCheckInstanceResultResponseBodyPageInfo,
|
|
9647
|
+
requestId: 'string',
|
|
9648
|
+
};
|
|
9649
|
+
}
|
|
9650
|
+
}
|
|
9651
|
+
exports.ListCheckInstanceResultResponseBody = ListCheckInstanceResultResponseBody;
|
|
9652
|
+
class ListCheckInstanceResultResponse extends $tea.Model {
|
|
9653
|
+
constructor(map) {
|
|
9654
|
+
super(map);
|
|
9655
|
+
}
|
|
9656
|
+
static names() {
|
|
9657
|
+
return {
|
|
9658
|
+
headers: 'headers',
|
|
9659
|
+
statusCode: 'statusCode',
|
|
9660
|
+
body: 'body',
|
|
9661
|
+
};
|
|
9662
|
+
}
|
|
9663
|
+
static types() {
|
|
9664
|
+
return {
|
|
9665
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9666
|
+
statusCode: 'number',
|
|
9667
|
+
body: ListCheckInstanceResultResponseBody,
|
|
9668
|
+
};
|
|
9669
|
+
}
|
|
9670
|
+
}
|
|
9671
|
+
exports.ListCheckInstanceResultResponse = ListCheckInstanceResultResponse;
|
|
9534
9672
|
class ListCheckResultRequest extends $tea.Model {
|
|
9535
9673
|
constructor(map) {
|
|
9536
9674
|
super(map);
|
|
@@ -17695,6 +17833,66 @@ class GetBackupStorageCountResponseBodyBackupStorageCount extends $tea.Model {
|
|
|
17695
17833
|
}
|
|
17696
17834
|
}
|
|
17697
17835
|
exports.GetBackupStorageCountResponseBodyBackupStorageCount = GetBackupStorageCountResponseBodyBackupStorageCount;
|
|
17836
|
+
class GetCheckDetailResponseBodyAssistInfo extends $tea.Model {
|
|
17837
|
+
constructor(map) {
|
|
17838
|
+
super(map);
|
|
17839
|
+
}
|
|
17840
|
+
static names() {
|
|
17841
|
+
return {
|
|
17842
|
+
link: 'Link',
|
|
17843
|
+
type: 'Type',
|
|
17844
|
+
value: 'Value',
|
|
17845
|
+
};
|
|
17846
|
+
}
|
|
17847
|
+
static types() {
|
|
17848
|
+
return {
|
|
17849
|
+
link: 'string',
|
|
17850
|
+
type: 'string',
|
|
17851
|
+
value: 'string',
|
|
17852
|
+
};
|
|
17853
|
+
}
|
|
17854
|
+
}
|
|
17855
|
+
exports.GetCheckDetailResponseBodyAssistInfo = GetCheckDetailResponseBodyAssistInfo;
|
|
17856
|
+
class GetCheckDetailResponseBodyDescription extends $tea.Model {
|
|
17857
|
+
constructor(map) {
|
|
17858
|
+
super(map);
|
|
17859
|
+
}
|
|
17860
|
+
static names() {
|
|
17861
|
+
return {
|
|
17862
|
+
link: 'Link',
|
|
17863
|
+
type: 'Type',
|
|
17864
|
+
value: 'Value',
|
|
17865
|
+
};
|
|
17866
|
+
}
|
|
17867
|
+
static types() {
|
|
17868
|
+
return {
|
|
17869
|
+
link: 'string',
|
|
17870
|
+
type: 'string',
|
|
17871
|
+
value: 'string',
|
|
17872
|
+
};
|
|
17873
|
+
}
|
|
17874
|
+
}
|
|
17875
|
+
exports.GetCheckDetailResponseBodyDescription = GetCheckDetailResponseBodyDescription;
|
|
17876
|
+
class GetCheckDetailResponseBodySolution extends $tea.Model {
|
|
17877
|
+
constructor(map) {
|
|
17878
|
+
super(map);
|
|
17879
|
+
}
|
|
17880
|
+
static names() {
|
|
17881
|
+
return {
|
|
17882
|
+
link: 'Link',
|
|
17883
|
+
type: 'Type',
|
|
17884
|
+
value: 'Value',
|
|
17885
|
+
};
|
|
17886
|
+
}
|
|
17887
|
+
static types() {
|
|
17888
|
+
return {
|
|
17889
|
+
link: 'string',
|
|
17890
|
+
type: 'string',
|
|
17891
|
+
value: 'string',
|
|
17892
|
+
};
|
|
17893
|
+
}
|
|
17894
|
+
}
|
|
17895
|
+
exports.GetCheckDetailResponseBodySolution = GetCheckDetailResponseBodySolution;
|
|
17698
17896
|
class GetFileDetectResultResponseBodyResultListExt extends $tea.Model {
|
|
17699
17897
|
constructor(map) {
|
|
17700
17898
|
super(map);
|
|
@@ -17720,6 +17918,8 @@ class GetFileDetectResultResponseBodyResultList extends $tea.Model {
|
|
|
17720
17918
|
ext: 'Ext',
|
|
17721
17919
|
hashKey: 'HashKey',
|
|
17722
17920
|
result: 'Result',
|
|
17921
|
+
score: 'Score',
|
|
17922
|
+
virusType: 'VirusType',
|
|
17723
17923
|
};
|
|
17724
17924
|
}
|
|
17725
17925
|
static types() {
|
|
@@ -17727,6 +17927,8 @@ class GetFileDetectResultResponseBodyResultList extends $tea.Model {
|
|
|
17727
17927
|
ext: GetFileDetectResultResponseBodyResultListExt,
|
|
17728
17928
|
hashKey: 'string',
|
|
17729
17929
|
result: 'number',
|
|
17930
|
+
score: 'number',
|
|
17931
|
+
virusType: 'string',
|
|
17730
17932
|
};
|
|
17731
17933
|
}
|
|
17732
17934
|
}
|
|
@@ -17747,6 +17949,98 @@ class HandleSecurityEventsResponseBodyHandleSecurityEventsResponse extends $tea.
|
|
|
17747
17949
|
}
|
|
17748
17950
|
}
|
|
17749
17951
|
exports.HandleSecurityEventsResponseBodyHandleSecurityEventsResponse = HandleSecurityEventsResponseBodyHandleSecurityEventsResponse;
|
|
17952
|
+
class ListCheckInstanceResultResponseBodyBasicData extends $tea.Model {
|
|
17953
|
+
constructor(map) {
|
|
17954
|
+
super(map);
|
|
17955
|
+
}
|
|
17956
|
+
static names() {
|
|
17957
|
+
return {
|
|
17958
|
+
id: 'Id',
|
|
17959
|
+
instanceId: 'InstanceId',
|
|
17960
|
+
instanceName: 'InstanceName',
|
|
17961
|
+
regionId: 'RegionId',
|
|
17962
|
+
status: 'Status',
|
|
17963
|
+
};
|
|
17964
|
+
}
|
|
17965
|
+
static types() {
|
|
17966
|
+
return {
|
|
17967
|
+
id: 'number',
|
|
17968
|
+
instanceId: 'string',
|
|
17969
|
+
instanceName: 'string',
|
|
17970
|
+
regionId: 'string',
|
|
17971
|
+
status: 'string',
|
|
17972
|
+
};
|
|
17973
|
+
}
|
|
17974
|
+
}
|
|
17975
|
+
exports.ListCheckInstanceResultResponseBodyBasicData = ListCheckInstanceResultResponseBodyBasicData;
|
|
17976
|
+
class ListCheckInstanceResultResponseBodyColumnsGrids extends $tea.Model {
|
|
17977
|
+
constructor(map) {
|
|
17978
|
+
super(map);
|
|
17979
|
+
}
|
|
17980
|
+
static names() {
|
|
17981
|
+
return {
|
|
17982
|
+
key: 'Key',
|
|
17983
|
+
showName: 'ShowName',
|
|
17984
|
+
type: 'Type',
|
|
17985
|
+
};
|
|
17986
|
+
}
|
|
17987
|
+
static types() {
|
|
17988
|
+
return {
|
|
17989
|
+
key: 'string',
|
|
17990
|
+
showName: 'string',
|
|
17991
|
+
type: 'string',
|
|
17992
|
+
};
|
|
17993
|
+
}
|
|
17994
|
+
}
|
|
17995
|
+
exports.ListCheckInstanceResultResponseBodyColumnsGrids = ListCheckInstanceResultResponseBodyColumnsGrids;
|
|
17996
|
+
class ListCheckInstanceResultResponseBodyColumns extends $tea.Model {
|
|
17997
|
+
constructor(map) {
|
|
17998
|
+
super(map);
|
|
17999
|
+
}
|
|
18000
|
+
static names() {
|
|
18001
|
+
return {
|
|
18002
|
+
grids: 'Grids',
|
|
18003
|
+
key: 'Key',
|
|
18004
|
+
search: 'Search',
|
|
18005
|
+
searchKey: 'SearchKey',
|
|
18006
|
+
showName: 'ShowName',
|
|
18007
|
+
type: 'Type',
|
|
18008
|
+
};
|
|
18009
|
+
}
|
|
18010
|
+
static types() {
|
|
18011
|
+
return {
|
|
18012
|
+
grids: { 'type': 'array', 'itemType': ListCheckInstanceResultResponseBodyColumnsGrids },
|
|
18013
|
+
key: 'string',
|
|
18014
|
+
search: 'boolean',
|
|
18015
|
+
searchKey: 'string',
|
|
18016
|
+
showName: 'string',
|
|
18017
|
+
type: 'string',
|
|
18018
|
+
};
|
|
18019
|
+
}
|
|
18020
|
+
}
|
|
18021
|
+
exports.ListCheckInstanceResultResponseBodyColumns = ListCheckInstanceResultResponseBodyColumns;
|
|
18022
|
+
class ListCheckInstanceResultResponseBodyPageInfo extends $tea.Model {
|
|
18023
|
+
constructor(map) {
|
|
18024
|
+
super(map);
|
|
18025
|
+
}
|
|
18026
|
+
static names() {
|
|
18027
|
+
return {
|
|
18028
|
+
count: 'Count',
|
|
18029
|
+
currentPage: 'CurrentPage',
|
|
18030
|
+
pageSize: 'PageSize',
|
|
18031
|
+
totalCount: 'TotalCount',
|
|
18032
|
+
};
|
|
18033
|
+
}
|
|
18034
|
+
static types() {
|
|
18035
|
+
return {
|
|
18036
|
+
count: 'string',
|
|
18037
|
+
currentPage: 'number',
|
|
18038
|
+
pageSize: 'number',
|
|
18039
|
+
totalCount: 'number',
|
|
18040
|
+
};
|
|
18041
|
+
}
|
|
18042
|
+
}
|
|
18043
|
+
exports.ListCheckInstanceResultResponseBodyPageInfo = ListCheckInstanceResultResponseBodyPageInfo;
|
|
17750
18044
|
class ListCheckResultResponseBodyChecksCheckPolicies extends $tea.Model {
|
|
17751
18045
|
constructor(map) {
|
|
17752
18046
|
super(map);
|
|
@@ -23369,6 +23663,35 @@ class Client extends openapi_client_1.default {
|
|
|
23369
23663
|
let runtime = new $Util.RuntimeOptions({});
|
|
23370
23664
|
return await this.getBackupStorageCountWithOptions(runtime);
|
|
23371
23665
|
}
|
|
23666
|
+
async getCheckDetailWithOptions(request, runtime) {
|
|
23667
|
+
tea_util_1.default.validateModel(request);
|
|
23668
|
+
let query = {};
|
|
23669
|
+
if (!tea_util_1.default.isUnset(request.checkId)) {
|
|
23670
|
+
query["CheckId"] = request.checkId;
|
|
23671
|
+
}
|
|
23672
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
23673
|
+
query["Lang"] = request.lang;
|
|
23674
|
+
}
|
|
23675
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23676
|
+
query: openapi_util_1.default.query(query),
|
|
23677
|
+
});
|
|
23678
|
+
let params = new $OpenApi.Params({
|
|
23679
|
+
action: "GetCheckDetail",
|
|
23680
|
+
version: "2018-12-03",
|
|
23681
|
+
protocol: "HTTPS",
|
|
23682
|
+
pathname: "/",
|
|
23683
|
+
method: "POST",
|
|
23684
|
+
authType: "AK",
|
|
23685
|
+
style: "RPC",
|
|
23686
|
+
reqBodyType: "formData",
|
|
23687
|
+
bodyType: "json",
|
|
23688
|
+
});
|
|
23689
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetCheckDetailResponse({}));
|
|
23690
|
+
}
|
|
23691
|
+
async getCheckDetail(request) {
|
|
23692
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
23693
|
+
return await this.getCheckDetailWithOptions(request, runtime);
|
|
23694
|
+
}
|
|
23372
23695
|
async getFileDetectResultWithOptions(request, runtime) {
|
|
23373
23696
|
tea_util_1.default.validateModel(request);
|
|
23374
23697
|
let query = {};
|
|
@@ -23655,6 +23978,59 @@ class Client extends openapi_client_1.default {
|
|
|
23655
23978
|
let runtime = new $Util.RuntimeOptions({});
|
|
23656
23979
|
return await this.installCloudMonitorWithOptions(request, runtime);
|
|
23657
23980
|
}
|
|
23981
|
+
async listCheckInstanceResultWithOptions(request, runtime) {
|
|
23982
|
+
tea_util_1.default.validateModel(request);
|
|
23983
|
+
let query = {};
|
|
23984
|
+
if (!tea_util_1.default.isUnset(request.checkId)) {
|
|
23985
|
+
query["CheckId"] = request.checkId;
|
|
23986
|
+
}
|
|
23987
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
23988
|
+
query["CurrentPage"] = request.currentPage;
|
|
23989
|
+
}
|
|
23990
|
+
if (!tea_util_1.default.isUnset(request.instanceIdKey)) {
|
|
23991
|
+
query["InstanceIdKey"] = request.instanceIdKey;
|
|
23992
|
+
}
|
|
23993
|
+
if (!tea_util_1.default.isUnset(request.instanceIds)) {
|
|
23994
|
+
query["InstanceIds"] = request.instanceIds;
|
|
23995
|
+
}
|
|
23996
|
+
if (!tea_util_1.default.isUnset(request.instanceNameKey)) {
|
|
23997
|
+
query["InstanceNameKey"] = request.instanceNameKey;
|
|
23998
|
+
}
|
|
23999
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
24000
|
+
query["Lang"] = request.lang;
|
|
24001
|
+
}
|
|
24002
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
24003
|
+
query["PageSize"] = request.pageSize;
|
|
24004
|
+
}
|
|
24005
|
+
if (!tea_util_1.default.isUnset(request.regionIdKey)) {
|
|
24006
|
+
query["RegionIdKey"] = request.regionIdKey;
|
|
24007
|
+
}
|
|
24008
|
+
if (!tea_util_1.default.isUnset(request.sortTypes)) {
|
|
24009
|
+
query["SortTypes"] = request.sortTypes;
|
|
24010
|
+
}
|
|
24011
|
+
if (!tea_util_1.default.isUnset(request.statuses)) {
|
|
24012
|
+
query["Statuses"] = request.statuses;
|
|
24013
|
+
}
|
|
24014
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
24015
|
+
query: openapi_util_1.default.query(query),
|
|
24016
|
+
});
|
|
24017
|
+
let params = new $OpenApi.Params({
|
|
24018
|
+
action: "ListCheckInstanceResult",
|
|
24019
|
+
version: "2018-12-03",
|
|
24020
|
+
protocol: "HTTPS",
|
|
24021
|
+
pathname: "/",
|
|
24022
|
+
method: "POST",
|
|
24023
|
+
authType: "AK",
|
|
24024
|
+
style: "RPC",
|
|
24025
|
+
reqBodyType: "formData",
|
|
24026
|
+
bodyType: "json",
|
|
24027
|
+
});
|
|
24028
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListCheckInstanceResultResponse({}));
|
|
24029
|
+
}
|
|
24030
|
+
async listCheckInstanceResult(request) {
|
|
24031
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
24032
|
+
return await this.listCheckInstanceResultWithOptions(request, runtime);
|
|
24033
|
+
}
|
|
23658
24034
|
async listCheckResultWithOptions(request, runtime) {
|
|
23659
24035
|
tea_util_1.default.validateModel(request);
|
|
23660
24036
|
let query = {};
|