@alicloud/sas20181203 2.9.0 → 2.10.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 +155 -0
- package/dist/client.js +278 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +345 -0
package/dist/client.d.ts
CHANGED
|
@@ -471,6 +471,48 @@ export declare class AddPrivateRegistryResponse extends $tea.Model {
|
|
|
471
471
|
[key: string]: any;
|
|
472
472
|
});
|
|
473
473
|
}
|
|
474
|
+
export declare class AddSasModuleTrialRequest extends $tea.Model {
|
|
475
|
+
lang?: string;
|
|
476
|
+
moduleCode?: string;
|
|
477
|
+
static names(): {
|
|
478
|
+
[key: string]: string;
|
|
479
|
+
};
|
|
480
|
+
static types(): {
|
|
481
|
+
[key: string]: any;
|
|
482
|
+
};
|
|
483
|
+
constructor(map?: {
|
|
484
|
+
[key: string]: any;
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
export declare class AddSasModuleTrialResponseBody extends $tea.Model {
|
|
488
|
+
data?: AddSasModuleTrialResponseBodyData;
|
|
489
|
+
requestId?: string;
|
|
490
|
+
static names(): {
|
|
491
|
+
[key: string]: string;
|
|
492
|
+
};
|
|
493
|
+
static types(): {
|
|
494
|
+
[key: string]: any;
|
|
495
|
+
};
|
|
496
|
+
constructor(map?: {
|
|
497
|
+
[key: string]: any;
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
export declare class AddSasModuleTrialResponse extends $tea.Model {
|
|
501
|
+
headers: {
|
|
502
|
+
[key: string]: string;
|
|
503
|
+
};
|
|
504
|
+
statusCode: number;
|
|
505
|
+
body: AddSasModuleTrialResponseBody;
|
|
506
|
+
static names(): {
|
|
507
|
+
[key: string]: string;
|
|
508
|
+
};
|
|
509
|
+
static types(): {
|
|
510
|
+
[key: string]: any;
|
|
511
|
+
};
|
|
512
|
+
constructor(map?: {
|
|
513
|
+
[key: string]: any;
|
|
514
|
+
});
|
|
515
|
+
}
|
|
474
516
|
export declare class AddTagWithUuidRequest extends $tea.Model {
|
|
475
517
|
tagName?: string;
|
|
476
518
|
uuidList?: string;
|
|
@@ -13211,11 +13253,16 @@ export declare class DescribeVersionConfigResponseBody extends $tea.Model {
|
|
|
13211
13253
|
isNewContainerVersion?: boolean;
|
|
13212
13254
|
isNewMultiVersion?: boolean;
|
|
13213
13255
|
isOverBalance?: boolean;
|
|
13256
|
+
isPostpay?: boolean;
|
|
13214
13257
|
isTrialVersion?: number;
|
|
13215
13258
|
lastTrailEndTime?: number;
|
|
13216
13259
|
MVAuthCount?: number;
|
|
13217
13260
|
MVUnusedAuthCount?: number;
|
|
13218
13261
|
openTime?: number;
|
|
13262
|
+
postPayInstanceId?: string;
|
|
13263
|
+
postPayModuleSwitch?: string;
|
|
13264
|
+
postPayOpenTime?: number;
|
|
13265
|
+
postPayStatus?: number;
|
|
13219
13266
|
raspCapacity?: number;
|
|
13220
13267
|
releaseTime?: number;
|
|
13221
13268
|
requestId?: string;
|
|
@@ -15926,6 +15973,7 @@ export declare class GetCloudAssetSummaryResponse extends $tea.Model {
|
|
|
15926
15973
|
}
|
|
15927
15974
|
export declare class GetClusterCheckItemWarningStatisticsRequest extends $tea.Model {
|
|
15928
15975
|
clusterId?: string;
|
|
15976
|
+
uuid?: string;
|
|
15929
15977
|
static names(): {
|
|
15930
15978
|
[key: string]: string;
|
|
15931
15979
|
};
|
|
@@ -17111,6 +17159,48 @@ export declare class GetModuleConfigResponse extends $tea.Model {
|
|
|
17111
17159
|
[key: string]: any;
|
|
17112
17160
|
});
|
|
17113
17161
|
}
|
|
17162
|
+
export declare class GetModuleTrialAuthInfoRequest extends $tea.Model {
|
|
17163
|
+
lang?: string;
|
|
17164
|
+
moduleCode?: string;
|
|
17165
|
+
static names(): {
|
|
17166
|
+
[key: string]: string;
|
|
17167
|
+
};
|
|
17168
|
+
static types(): {
|
|
17169
|
+
[key: string]: any;
|
|
17170
|
+
};
|
|
17171
|
+
constructor(map?: {
|
|
17172
|
+
[key: string]: any;
|
|
17173
|
+
});
|
|
17174
|
+
}
|
|
17175
|
+
export declare class GetModuleTrialAuthInfoResponseBody extends $tea.Model {
|
|
17176
|
+
data?: GetModuleTrialAuthInfoResponseBodyData;
|
|
17177
|
+
requestId?: string;
|
|
17178
|
+
static names(): {
|
|
17179
|
+
[key: string]: string;
|
|
17180
|
+
};
|
|
17181
|
+
static types(): {
|
|
17182
|
+
[key: string]: any;
|
|
17183
|
+
};
|
|
17184
|
+
constructor(map?: {
|
|
17185
|
+
[key: string]: any;
|
|
17186
|
+
});
|
|
17187
|
+
}
|
|
17188
|
+
export declare class GetModuleTrialAuthInfoResponse extends $tea.Model {
|
|
17189
|
+
headers: {
|
|
17190
|
+
[key: string]: string;
|
|
17191
|
+
};
|
|
17192
|
+
statusCode: number;
|
|
17193
|
+
body: GetModuleTrialAuthInfoResponseBody;
|
|
17194
|
+
static names(): {
|
|
17195
|
+
[key: string]: string;
|
|
17196
|
+
};
|
|
17197
|
+
static types(): {
|
|
17198
|
+
[key: string]: any;
|
|
17199
|
+
};
|
|
17200
|
+
constructor(map?: {
|
|
17201
|
+
[key: string]: any;
|
|
17202
|
+
});
|
|
17203
|
+
}
|
|
17114
17204
|
export declare class GetObjectScanEventRequest extends $tea.Model {
|
|
17115
17205
|
eventId?: string;
|
|
17116
17206
|
lang?: string;
|
|
@@ -19070,6 +19160,7 @@ export declare class ListCheckItemWarningSummaryRequest extends $tea.Model {
|
|
|
19070
19160
|
pageSize?: number;
|
|
19071
19161
|
riskType?: string;
|
|
19072
19162
|
source?: string;
|
|
19163
|
+
uuidList?: string[];
|
|
19073
19164
|
static names(): {
|
|
19074
19165
|
[key: string]: string;
|
|
19075
19166
|
};
|
|
@@ -27297,6 +27388,34 @@ export declare class AddPrivateRegistryResponseBodyData extends $tea.Model {
|
|
|
27297
27388
|
[key: string]: any;
|
|
27298
27389
|
});
|
|
27299
27390
|
}
|
|
27391
|
+
export declare class AddSasModuleTrialResponseBodyDataTrialRecordList extends $tea.Model {
|
|
27392
|
+
authLimit?: number;
|
|
27393
|
+
gmtEnd?: number;
|
|
27394
|
+
gmtStart?: number;
|
|
27395
|
+
moduleCode?: string;
|
|
27396
|
+
status?: number;
|
|
27397
|
+
static names(): {
|
|
27398
|
+
[key: string]: string;
|
|
27399
|
+
};
|
|
27400
|
+
static types(): {
|
|
27401
|
+
[key: string]: any;
|
|
27402
|
+
};
|
|
27403
|
+
constructor(map?: {
|
|
27404
|
+
[key: string]: any;
|
|
27405
|
+
});
|
|
27406
|
+
}
|
|
27407
|
+
export declare class AddSasModuleTrialResponseBodyData extends $tea.Model {
|
|
27408
|
+
trialRecordList?: AddSasModuleTrialResponseBodyDataTrialRecordList[];
|
|
27409
|
+
static names(): {
|
|
27410
|
+
[key: string]: string;
|
|
27411
|
+
};
|
|
27412
|
+
static types(): {
|
|
27413
|
+
[key: string]: any;
|
|
27414
|
+
};
|
|
27415
|
+
constructor(map?: {
|
|
27416
|
+
[key: string]: any;
|
|
27417
|
+
});
|
|
27418
|
+
}
|
|
27300
27419
|
export declare class AdvanceSecurityEventOperationsResponseBodySecurityEventOperationsResponseMarkField extends $tea.Model {
|
|
27301
27420
|
filedAliasName?: string;
|
|
27302
27421
|
filedName?: string;
|
|
@@ -34922,6 +35041,36 @@ export declare class GetModuleConfigResponseBodyPageInfo extends $tea.Model {
|
|
|
34922
35041
|
[key: string]: any;
|
|
34923
35042
|
});
|
|
34924
35043
|
}
|
|
35044
|
+
export declare class GetModuleTrialAuthInfoResponseBodyDataTrialRecordList extends $tea.Model {
|
|
35045
|
+
authLimit?: number;
|
|
35046
|
+
gmtEnd?: number;
|
|
35047
|
+
gmtStart?: number;
|
|
35048
|
+
moduleCode?: string;
|
|
35049
|
+
status?: number;
|
|
35050
|
+
static names(): {
|
|
35051
|
+
[key: string]: string;
|
|
35052
|
+
};
|
|
35053
|
+
static types(): {
|
|
35054
|
+
[key: string]: any;
|
|
35055
|
+
};
|
|
35056
|
+
constructor(map?: {
|
|
35057
|
+
[key: string]: any;
|
|
35058
|
+
});
|
|
35059
|
+
}
|
|
35060
|
+
export declare class GetModuleTrialAuthInfoResponseBodyData extends $tea.Model {
|
|
35061
|
+
canTry?: boolean;
|
|
35062
|
+
moduleCode?: string;
|
|
35063
|
+
trialRecordList?: GetModuleTrialAuthInfoResponseBodyDataTrialRecordList[];
|
|
35064
|
+
static names(): {
|
|
35065
|
+
[key: string]: string;
|
|
35066
|
+
};
|
|
35067
|
+
static types(): {
|
|
35068
|
+
[key: string]: any;
|
|
35069
|
+
};
|
|
35070
|
+
constructor(map?: {
|
|
35071
|
+
[key: string]: any;
|
|
35072
|
+
});
|
|
35073
|
+
}
|
|
34925
35074
|
export declare class GetObjectScanEventResponseBodyDataDetails extends $tea.Model {
|
|
34926
35075
|
infoType?: string;
|
|
34927
35076
|
name?: string;
|
|
@@ -35905,6 +36054,8 @@ export declare class ListCheckItemWarningMachineResponseBodyPageInfo extends $te
|
|
|
35905
36054
|
}
|
|
35906
36055
|
export declare class ListCheckItemWarningSummaryResponseBodyList extends $tea.Model {
|
|
35907
36056
|
advice?: string;
|
|
36057
|
+
affiliatedRiskTypes?: string[];
|
|
36058
|
+
affiliatedRisks?: string[];
|
|
35908
36059
|
alias?: string;
|
|
35909
36060
|
checkId?: number;
|
|
35910
36061
|
checkItem?: string;
|
|
@@ -37963,6 +38114,8 @@ export default class Client extends OpenApi {
|
|
|
37963
38114
|
addInstallCode(request: AddInstallCodeRequest): Promise<AddInstallCodeResponse>;
|
|
37964
38115
|
addPrivateRegistryWithOptions(request: AddPrivateRegistryRequest, runtime: $Util.RuntimeOptions): Promise<AddPrivateRegistryResponse>;
|
|
37965
38116
|
addPrivateRegistry(request: AddPrivateRegistryRequest): Promise<AddPrivateRegistryResponse>;
|
|
38117
|
+
addSasModuleTrialWithOptions(request: AddSasModuleTrialRequest, runtime: $Util.RuntimeOptions): Promise<AddSasModuleTrialResponse>;
|
|
38118
|
+
addSasModuleTrial(request: AddSasModuleTrialRequest): Promise<AddSasModuleTrialResponse>;
|
|
37966
38119
|
/**
|
|
37967
38120
|
* Security Center provides asset importance tags and custom tags. You can call the AddTagWithUuid operation to add only a custom tag to assets.
|
|
37968
38121
|
*
|
|
@@ -39103,6 +39256,8 @@ export default class Client extends OpenApi {
|
|
|
39103
39256
|
getLogMeta(request: GetLogMetaRequest): Promise<GetLogMetaResponse>;
|
|
39104
39257
|
getModuleConfigWithOptions(request: GetModuleConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetModuleConfigResponse>;
|
|
39105
39258
|
getModuleConfig(request: GetModuleConfigRequest): Promise<GetModuleConfigResponse>;
|
|
39259
|
+
getModuleTrialAuthInfoWithOptions(request: GetModuleTrialAuthInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetModuleTrialAuthInfoResponse>;
|
|
39260
|
+
getModuleTrialAuthInfo(request: GetModuleTrialAuthInfoRequest): Promise<GetModuleTrialAuthInfoResponse>;
|
|
39106
39261
|
getObjectScanEventWithOptions(request: GetObjectScanEventRequest, runtime: $Util.RuntimeOptions): Promise<GetObjectScanEventResponse>;
|
|
39107
39262
|
getObjectScanEvent(request: GetObjectScanEventRequest): Promise<GetObjectScanEventResponse>;
|
|
39108
39263
|
getOnceTaskResultInfoWithOptions(request: GetOnceTaskResultInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetOnceTaskResultInfoResponse>;
|
package/dist/client.js
CHANGED
|
@@ -677,6 +677,62 @@ class AddPrivateRegistryResponse extends $tea.Model {
|
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
exports.AddPrivateRegistryResponse = AddPrivateRegistryResponse;
|
|
680
|
+
class AddSasModuleTrialRequest extends $tea.Model {
|
|
681
|
+
constructor(map) {
|
|
682
|
+
super(map);
|
|
683
|
+
}
|
|
684
|
+
static names() {
|
|
685
|
+
return {
|
|
686
|
+
lang: 'Lang',
|
|
687
|
+
moduleCode: 'ModuleCode',
|
|
688
|
+
};
|
|
689
|
+
}
|
|
690
|
+
static types() {
|
|
691
|
+
return {
|
|
692
|
+
lang: 'string',
|
|
693
|
+
moduleCode: 'string',
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
exports.AddSasModuleTrialRequest = AddSasModuleTrialRequest;
|
|
698
|
+
class AddSasModuleTrialResponseBody extends $tea.Model {
|
|
699
|
+
constructor(map) {
|
|
700
|
+
super(map);
|
|
701
|
+
}
|
|
702
|
+
static names() {
|
|
703
|
+
return {
|
|
704
|
+
data: 'Data',
|
|
705
|
+
requestId: 'RequestId',
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
static types() {
|
|
709
|
+
return {
|
|
710
|
+
data: AddSasModuleTrialResponseBodyData,
|
|
711
|
+
requestId: 'string',
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
exports.AddSasModuleTrialResponseBody = AddSasModuleTrialResponseBody;
|
|
716
|
+
class AddSasModuleTrialResponse extends $tea.Model {
|
|
717
|
+
constructor(map) {
|
|
718
|
+
super(map);
|
|
719
|
+
}
|
|
720
|
+
static names() {
|
|
721
|
+
return {
|
|
722
|
+
headers: 'headers',
|
|
723
|
+
statusCode: 'statusCode',
|
|
724
|
+
body: 'body',
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
static types() {
|
|
728
|
+
return {
|
|
729
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
730
|
+
statusCode: 'number',
|
|
731
|
+
body: AddSasModuleTrialResponseBody,
|
|
732
|
+
};
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
exports.AddSasModuleTrialResponse = AddSasModuleTrialResponse;
|
|
680
736
|
class AddTagWithUuidRequest extends $tea.Model {
|
|
681
737
|
constructor(map) {
|
|
682
738
|
super(map);
|
|
@@ -18328,11 +18384,16 @@ class DescribeVersionConfigResponseBody extends $tea.Model {
|
|
|
18328
18384
|
isNewContainerVersion: 'IsNewContainerVersion',
|
|
18329
18385
|
isNewMultiVersion: 'IsNewMultiVersion',
|
|
18330
18386
|
isOverBalance: 'IsOverBalance',
|
|
18387
|
+
isPostpay: 'IsPostpay',
|
|
18331
18388
|
isTrialVersion: 'IsTrialVersion',
|
|
18332
18389
|
lastTrailEndTime: 'LastTrailEndTime',
|
|
18333
18390
|
MVAuthCount: 'MVAuthCount',
|
|
18334
18391
|
MVUnusedAuthCount: 'MVUnusedAuthCount',
|
|
18335
18392
|
openTime: 'OpenTime',
|
|
18393
|
+
postPayInstanceId: 'PostPayInstanceId',
|
|
18394
|
+
postPayModuleSwitch: 'PostPayModuleSwitch',
|
|
18395
|
+
postPayOpenTime: 'PostPayOpenTime',
|
|
18396
|
+
postPayStatus: 'PostPayStatus',
|
|
18336
18397
|
raspCapacity: 'RaspCapacity',
|
|
18337
18398
|
releaseTime: 'ReleaseTime',
|
|
18338
18399
|
requestId: 'RequestId',
|
|
@@ -18363,11 +18424,16 @@ class DescribeVersionConfigResponseBody extends $tea.Model {
|
|
|
18363
18424
|
isNewContainerVersion: 'boolean',
|
|
18364
18425
|
isNewMultiVersion: 'boolean',
|
|
18365
18426
|
isOverBalance: 'boolean',
|
|
18427
|
+
isPostpay: 'boolean',
|
|
18366
18428
|
isTrialVersion: 'number',
|
|
18367
18429
|
lastTrailEndTime: 'number',
|
|
18368
18430
|
MVAuthCount: 'number',
|
|
18369
18431
|
MVUnusedAuthCount: 'number',
|
|
18370
18432
|
openTime: 'number',
|
|
18433
|
+
postPayInstanceId: 'string',
|
|
18434
|
+
postPayModuleSwitch: 'string',
|
|
18435
|
+
postPayOpenTime: 'number',
|
|
18436
|
+
postPayStatus: 'number',
|
|
18371
18437
|
raspCapacity: 'number',
|
|
18372
18438
|
releaseTime: 'number',
|
|
18373
18439
|
requestId: 'string',
|
|
@@ -22122,11 +22188,13 @@ class GetClusterCheckItemWarningStatisticsRequest extends $tea.Model {
|
|
|
22122
22188
|
static names() {
|
|
22123
22189
|
return {
|
|
22124
22190
|
clusterId: 'ClusterId',
|
|
22191
|
+
uuid: 'Uuid',
|
|
22125
22192
|
};
|
|
22126
22193
|
}
|
|
22127
22194
|
static types() {
|
|
22128
22195
|
return {
|
|
22129
22196
|
clusterId: 'string',
|
|
22197
|
+
uuid: 'string',
|
|
22130
22198
|
};
|
|
22131
22199
|
}
|
|
22132
22200
|
}
|
|
@@ -23729,6 +23797,62 @@ class GetModuleConfigResponse extends $tea.Model {
|
|
|
23729
23797
|
}
|
|
23730
23798
|
}
|
|
23731
23799
|
exports.GetModuleConfigResponse = GetModuleConfigResponse;
|
|
23800
|
+
class GetModuleTrialAuthInfoRequest extends $tea.Model {
|
|
23801
|
+
constructor(map) {
|
|
23802
|
+
super(map);
|
|
23803
|
+
}
|
|
23804
|
+
static names() {
|
|
23805
|
+
return {
|
|
23806
|
+
lang: 'Lang',
|
|
23807
|
+
moduleCode: 'ModuleCode',
|
|
23808
|
+
};
|
|
23809
|
+
}
|
|
23810
|
+
static types() {
|
|
23811
|
+
return {
|
|
23812
|
+
lang: 'string',
|
|
23813
|
+
moduleCode: 'string',
|
|
23814
|
+
};
|
|
23815
|
+
}
|
|
23816
|
+
}
|
|
23817
|
+
exports.GetModuleTrialAuthInfoRequest = GetModuleTrialAuthInfoRequest;
|
|
23818
|
+
class GetModuleTrialAuthInfoResponseBody extends $tea.Model {
|
|
23819
|
+
constructor(map) {
|
|
23820
|
+
super(map);
|
|
23821
|
+
}
|
|
23822
|
+
static names() {
|
|
23823
|
+
return {
|
|
23824
|
+
data: 'Data',
|
|
23825
|
+
requestId: 'RequestId',
|
|
23826
|
+
};
|
|
23827
|
+
}
|
|
23828
|
+
static types() {
|
|
23829
|
+
return {
|
|
23830
|
+
data: GetModuleTrialAuthInfoResponseBodyData,
|
|
23831
|
+
requestId: 'string',
|
|
23832
|
+
};
|
|
23833
|
+
}
|
|
23834
|
+
}
|
|
23835
|
+
exports.GetModuleTrialAuthInfoResponseBody = GetModuleTrialAuthInfoResponseBody;
|
|
23836
|
+
class GetModuleTrialAuthInfoResponse extends $tea.Model {
|
|
23837
|
+
constructor(map) {
|
|
23838
|
+
super(map);
|
|
23839
|
+
}
|
|
23840
|
+
static names() {
|
|
23841
|
+
return {
|
|
23842
|
+
headers: 'headers',
|
|
23843
|
+
statusCode: 'statusCode',
|
|
23844
|
+
body: 'body',
|
|
23845
|
+
};
|
|
23846
|
+
}
|
|
23847
|
+
static types() {
|
|
23848
|
+
return {
|
|
23849
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
23850
|
+
statusCode: 'number',
|
|
23851
|
+
body: GetModuleTrialAuthInfoResponseBody,
|
|
23852
|
+
};
|
|
23853
|
+
}
|
|
23854
|
+
}
|
|
23855
|
+
exports.GetModuleTrialAuthInfoResponse = GetModuleTrialAuthInfoResponse;
|
|
23732
23856
|
class GetObjectScanEventRequest extends $tea.Model {
|
|
23733
23857
|
constructor(map) {
|
|
23734
23858
|
super(map);
|
|
@@ -26411,6 +26535,7 @@ class ListCheckItemWarningSummaryRequest extends $tea.Model {
|
|
|
26411
26535
|
pageSize: 'PageSize',
|
|
26412
26536
|
riskType: 'RiskType',
|
|
26413
26537
|
source: 'Source',
|
|
26538
|
+
uuidList: 'UuidList',
|
|
26414
26539
|
};
|
|
26415
26540
|
}
|
|
26416
26541
|
static types() {
|
|
@@ -26427,6 +26552,7 @@ class ListCheckItemWarningSummaryRequest extends $tea.Model {
|
|
|
26427
26552
|
pageSize: 'number',
|
|
26428
26553
|
riskType: 'string',
|
|
26429
26554
|
source: 'string',
|
|
26555
|
+
uuidList: { 'type': 'array', 'itemType': 'string' },
|
|
26430
26556
|
};
|
|
26431
26557
|
}
|
|
26432
26558
|
}
|
|
@@ -37717,6 +37843,46 @@ class AddPrivateRegistryResponseBodyData extends $tea.Model {
|
|
|
37717
37843
|
}
|
|
37718
37844
|
}
|
|
37719
37845
|
exports.AddPrivateRegistryResponseBodyData = AddPrivateRegistryResponseBodyData;
|
|
37846
|
+
class AddSasModuleTrialResponseBodyDataTrialRecordList extends $tea.Model {
|
|
37847
|
+
constructor(map) {
|
|
37848
|
+
super(map);
|
|
37849
|
+
}
|
|
37850
|
+
static names() {
|
|
37851
|
+
return {
|
|
37852
|
+
authLimit: 'AuthLimit',
|
|
37853
|
+
gmtEnd: 'GmtEnd',
|
|
37854
|
+
gmtStart: 'GmtStart',
|
|
37855
|
+
moduleCode: 'ModuleCode',
|
|
37856
|
+
status: 'Status',
|
|
37857
|
+
};
|
|
37858
|
+
}
|
|
37859
|
+
static types() {
|
|
37860
|
+
return {
|
|
37861
|
+
authLimit: 'number',
|
|
37862
|
+
gmtEnd: 'number',
|
|
37863
|
+
gmtStart: 'number',
|
|
37864
|
+
moduleCode: 'string',
|
|
37865
|
+
status: 'number',
|
|
37866
|
+
};
|
|
37867
|
+
}
|
|
37868
|
+
}
|
|
37869
|
+
exports.AddSasModuleTrialResponseBodyDataTrialRecordList = AddSasModuleTrialResponseBodyDataTrialRecordList;
|
|
37870
|
+
class AddSasModuleTrialResponseBodyData extends $tea.Model {
|
|
37871
|
+
constructor(map) {
|
|
37872
|
+
super(map);
|
|
37873
|
+
}
|
|
37874
|
+
static names() {
|
|
37875
|
+
return {
|
|
37876
|
+
trialRecordList: 'TrialRecordList',
|
|
37877
|
+
};
|
|
37878
|
+
}
|
|
37879
|
+
static types() {
|
|
37880
|
+
return {
|
|
37881
|
+
trialRecordList: { 'type': 'array', 'itemType': AddSasModuleTrialResponseBodyDataTrialRecordList },
|
|
37882
|
+
};
|
|
37883
|
+
}
|
|
37884
|
+
}
|
|
37885
|
+
exports.AddSasModuleTrialResponseBodyData = AddSasModuleTrialResponseBodyData;
|
|
37720
37886
|
class AdvanceSecurityEventOperationsResponseBodySecurityEventOperationsResponseMarkField extends $tea.Model {
|
|
37721
37887
|
constructor(map) {
|
|
37722
37888
|
super(map);
|
|
@@ -49499,6 +49665,50 @@ class GetModuleConfigResponseBodyPageInfo extends $tea.Model {
|
|
|
49499
49665
|
}
|
|
49500
49666
|
}
|
|
49501
49667
|
exports.GetModuleConfigResponseBodyPageInfo = GetModuleConfigResponseBodyPageInfo;
|
|
49668
|
+
class GetModuleTrialAuthInfoResponseBodyDataTrialRecordList extends $tea.Model {
|
|
49669
|
+
constructor(map) {
|
|
49670
|
+
super(map);
|
|
49671
|
+
}
|
|
49672
|
+
static names() {
|
|
49673
|
+
return {
|
|
49674
|
+
authLimit: 'AuthLimit',
|
|
49675
|
+
gmtEnd: 'GmtEnd',
|
|
49676
|
+
gmtStart: 'GmtStart',
|
|
49677
|
+
moduleCode: 'ModuleCode',
|
|
49678
|
+
status: 'Status',
|
|
49679
|
+
};
|
|
49680
|
+
}
|
|
49681
|
+
static types() {
|
|
49682
|
+
return {
|
|
49683
|
+
authLimit: 'number',
|
|
49684
|
+
gmtEnd: 'number',
|
|
49685
|
+
gmtStart: 'number',
|
|
49686
|
+
moduleCode: 'string',
|
|
49687
|
+
status: 'number',
|
|
49688
|
+
};
|
|
49689
|
+
}
|
|
49690
|
+
}
|
|
49691
|
+
exports.GetModuleTrialAuthInfoResponseBodyDataTrialRecordList = GetModuleTrialAuthInfoResponseBodyDataTrialRecordList;
|
|
49692
|
+
class GetModuleTrialAuthInfoResponseBodyData extends $tea.Model {
|
|
49693
|
+
constructor(map) {
|
|
49694
|
+
super(map);
|
|
49695
|
+
}
|
|
49696
|
+
static names() {
|
|
49697
|
+
return {
|
|
49698
|
+
canTry: 'CanTry',
|
|
49699
|
+
moduleCode: 'ModuleCode',
|
|
49700
|
+
trialRecordList: 'TrialRecordList',
|
|
49701
|
+
};
|
|
49702
|
+
}
|
|
49703
|
+
static types() {
|
|
49704
|
+
return {
|
|
49705
|
+
canTry: 'boolean',
|
|
49706
|
+
moduleCode: 'string',
|
|
49707
|
+
trialRecordList: { 'type': 'array', 'itemType': GetModuleTrialAuthInfoResponseBodyDataTrialRecordList },
|
|
49708
|
+
};
|
|
49709
|
+
}
|
|
49710
|
+
}
|
|
49711
|
+
exports.GetModuleTrialAuthInfoResponseBodyData = GetModuleTrialAuthInfoResponseBodyData;
|
|
49502
49712
|
class GetObjectScanEventResponseBodyDataDetails extends $tea.Model {
|
|
49503
49713
|
constructor(map) {
|
|
49504
49714
|
super(map);
|
|
@@ -50972,6 +51182,8 @@ class ListCheckItemWarningSummaryResponseBodyList extends $tea.Model {
|
|
|
50972
51182
|
static names() {
|
|
50973
51183
|
return {
|
|
50974
51184
|
advice: 'Advice',
|
|
51185
|
+
affiliatedRiskTypes: 'AffiliatedRiskTypes',
|
|
51186
|
+
affiliatedRisks: 'AffiliatedRisks',
|
|
50975
51187
|
alias: 'Alias',
|
|
50976
51188
|
checkId: 'CheckId',
|
|
50977
51189
|
checkItem: 'CheckItem',
|
|
@@ -50987,6 +51199,8 @@ class ListCheckItemWarningSummaryResponseBodyList extends $tea.Model {
|
|
|
50987
51199
|
static types() {
|
|
50988
51200
|
return {
|
|
50989
51201
|
advice: 'string',
|
|
51202
|
+
affiliatedRiskTypes: { 'type': 'array', 'itemType': 'string' },
|
|
51203
|
+
affiliatedRisks: { 'type': 'array', 'itemType': 'string' },
|
|
50990
51204
|
alias: 'string',
|
|
50991
51205
|
checkId: 'number',
|
|
50992
51206
|
checkItem: 'string',
|
|
@@ -54523,6 +54737,35 @@ class Client extends openapi_client_1.default {
|
|
|
54523
54737
|
let runtime = new $Util.RuntimeOptions({});
|
|
54524
54738
|
return await this.addPrivateRegistryWithOptions(request, runtime);
|
|
54525
54739
|
}
|
|
54740
|
+
async addSasModuleTrialWithOptions(request, runtime) {
|
|
54741
|
+
tea_util_1.default.validateModel(request);
|
|
54742
|
+
let query = {};
|
|
54743
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
54744
|
+
query["Lang"] = request.lang;
|
|
54745
|
+
}
|
|
54746
|
+
if (!tea_util_1.default.isUnset(request.moduleCode)) {
|
|
54747
|
+
query["ModuleCode"] = request.moduleCode;
|
|
54748
|
+
}
|
|
54749
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
54750
|
+
query: openapi_util_1.default.query(query),
|
|
54751
|
+
});
|
|
54752
|
+
let params = new $OpenApi.Params({
|
|
54753
|
+
action: "AddSasModuleTrial",
|
|
54754
|
+
version: "2018-12-03",
|
|
54755
|
+
protocol: "HTTPS",
|
|
54756
|
+
pathname: "/",
|
|
54757
|
+
method: "POST",
|
|
54758
|
+
authType: "AK",
|
|
54759
|
+
style: "RPC",
|
|
54760
|
+
reqBodyType: "formData",
|
|
54761
|
+
bodyType: "json",
|
|
54762
|
+
});
|
|
54763
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddSasModuleTrialResponse({}));
|
|
54764
|
+
}
|
|
54765
|
+
async addSasModuleTrial(request) {
|
|
54766
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
54767
|
+
return await this.addSasModuleTrialWithOptions(request, runtime);
|
|
54768
|
+
}
|
|
54526
54769
|
/**
|
|
54527
54770
|
* Security Center provides asset importance tags and custom tags. You can call the AddTagWithUuid operation to add only a custom tag to assets.
|
|
54528
54771
|
*
|
|
@@ -66963,6 +67206,9 @@ class Client extends openapi_client_1.default {
|
|
|
66963
67206
|
if (!tea_util_1.default.isUnset(request.clusterId)) {
|
|
66964
67207
|
query["ClusterId"] = request.clusterId;
|
|
66965
67208
|
}
|
|
67209
|
+
if (!tea_util_1.default.isUnset(request.uuid)) {
|
|
67210
|
+
query["Uuid"] = request.uuid;
|
|
67211
|
+
}
|
|
66966
67212
|
let req = new $OpenApi.OpenApiRequest({
|
|
66967
67213
|
query: openapi_util_1.default.query(query),
|
|
66968
67214
|
});
|
|
@@ -67776,6 +68022,35 @@ class Client extends openapi_client_1.default {
|
|
|
67776
68022
|
let runtime = new $Util.RuntimeOptions({});
|
|
67777
68023
|
return await this.getModuleConfigWithOptions(request, runtime);
|
|
67778
68024
|
}
|
|
68025
|
+
async getModuleTrialAuthInfoWithOptions(request, runtime) {
|
|
68026
|
+
tea_util_1.default.validateModel(request);
|
|
68027
|
+
let query = {};
|
|
68028
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
68029
|
+
query["Lang"] = request.lang;
|
|
68030
|
+
}
|
|
68031
|
+
if (!tea_util_1.default.isUnset(request.moduleCode)) {
|
|
68032
|
+
query["ModuleCode"] = request.moduleCode;
|
|
68033
|
+
}
|
|
68034
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
68035
|
+
query: openapi_util_1.default.query(query),
|
|
68036
|
+
});
|
|
68037
|
+
let params = new $OpenApi.Params({
|
|
68038
|
+
action: "GetModuleTrialAuthInfo",
|
|
68039
|
+
version: "2018-12-03",
|
|
68040
|
+
protocol: "HTTPS",
|
|
68041
|
+
pathname: "/",
|
|
68042
|
+
method: "POST",
|
|
68043
|
+
authType: "AK",
|
|
68044
|
+
style: "RPC",
|
|
68045
|
+
reqBodyType: "formData",
|
|
68046
|
+
bodyType: "json",
|
|
68047
|
+
});
|
|
68048
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetModuleTrialAuthInfoResponse({}));
|
|
68049
|
+
}
|
|
68050
|
+
async getModuleTrialAuthInfo(request) {
|
|
68051
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
68052
|
+
return await this.getModuleTrialAuthInfoWithOptions(request, runtime);
|
|
68053
|
+
}
|
|
67779
68054
|
async getObjectScanEventWithOptions(request, runtime) {
|
|
67780
68055
|
tea_util_1.default.validateModel(request);
|
|
67781
68056
|
let query = {};
|
|
@@ -69292,6 +69567,9 @@ class Client extends openapi_client_1.default {
|
|
|
69292
69567
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
69293
69568
|
query["Source"] = request.source;
|
|
69294
69569
|
}
|
|
69570
|
+
if (!tea_util_1.default.isUnset(request.uuidList)) {
|
|
69571
|
+
query["UuidList"] = request.uuidList;
|
|
69572
|
+
}
|
|
69295
69573
|
let req = new $OpenApi.OpenApiRequest({
|
|
69296
69574
|
query: openapi_util_1.default.query(query),
|
|
69297
69575
|
});
|