@alicloud/sas20181203 2.2.0 → 2.2.1
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 +390 -1
- package/dist/client.js +699 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +855 -2
package/src/client.ts
CHANGED
|
@@ -1193,6 +1193,8 @@ export class ChangeAssetRefreshTaskConfigResponse extends $tea.Model {
|
|
|
1193
1193
|
|
|
1194
1194
|
export class ChangeCheckConfigRequest extends $tea.Model {
|
|
1195
1195
|
addedCheck?: ChangeCheckConfigRequestAddedCheck[];
|
|
1196
|
+
configRequirementIds?: ChangeCheckConfigRequestConfigRequirementIds;
|
|
1197
|
+
configStandardIds?: ChangeCheckConfigRequestConfigStandardIds;
|
|
1196
1198
|
cycleDays?: number[];
|
|
1197
1199
|
enableAddCheck?: boolean;
|
|
1198
1200
|
enableAutoCheck?: boolean;
|
|
@@ -1204,6 +1206,8 @@ export class ChangeCheckConfigRequest extends $tea.Model {
|
|
|
1204
1206
|
static names(): { [key: string]: string } {
|
|
1205
1207
|
return {
|
|
1206
1208
|
addedCheck: 'AddedCheck',
|
|
1209
|
+
configRequirementIds: 'ConfigRequirementIds',
|
|
1210
|
+
configStandardIds: 'ConfigStandardIds',
|
|
1207
1211
|
cycleDays: 'CycleDays',
|
|
1208
1212
|
enableAddCheck: 'EnableAddCheck',
|
|
1209
1213
|
enableAutoCheck: 'EnableAutoCheck',
|
|
@@ -1218,6 +1222,8 @@ export class ChangeCheckConfigRequest extends $tea.Model {
|
|
|
1218
1222
|
static types(): { [key: string]: any } {
|
|
1219
1223
|
return {
|
|
1220
1224
|
addedCheck: { 'type': 'array', 'itemType': ChangeCheckConfigRequestAddedCheck },
|
|
1225
|
+
configRequirementIds: ChangeCheckConfigRequestConfigRequirementIds,
|
|
1226
|
+
configStandardIds: ChangeCheckConfigRequestConfigStandardIds,
|
|
1221
1227
|
cycleDays: { 'type': 'array', 'itemType': 'number' },
|
|
1222
1228
|
enableAddCheck: 'boolean',
|
|
1223
1229
|
enableAutoCheck: 'boolean',
|
|
@@ -1234,6 +1240,55 @@ export class ChangeCheckConfigRequest extends $tea.Model {
|
|
|
1234
1240
|
}
|
|
1235
1241
|
}
|
|
1236
1242
|
|
|
1243
|
+
export class ChangeCheckConfigShrinkRequest extends $tea.Model {
|
|
1244
|
+
addedCheck?: ChangeCheckConfigShrinkRequestAddedCheck[];
|
|
1245
|
+
configRequirementIdsShrink?: string;
|
|
1246
|
+
configStandardIdsShrink?: string;
|
|
1247
|
+
cycleDays?: number[];
|
|
1248
|
+
enableAddCheck?: boolean;
|
|
1249
|
+
enableAutoCheck?: boolean;
|
|
1250
|
+
endTime?: number;
|
|
1251
|
+
regionId?: string;
|
|
1252
|
+
removedCheck?: ChangeCheckConfigShrinkRequestRemovedCheck[];
|
|
1253
|
+
standardIds?: number[];
|
|
1254
|
+
startTime?: number;
|
|
1255
|
+
static names(): { [key: string]: string } {
|
|
1256
|
+
return {
|
|
1257
|
+
addedCheck: 'AddedCheck',
|
|
1258
|
+
configRequirementIdsShrink: 'ConfigRequirementIds',
|
|
1259
|
+
configStandardIdsShrink: 'ConfigStandardIds',
|
|
1260
|
+
cycleDays: 'CycleDays',
|
|
1261
|
+
enableAddCheck: 'EnableAddCheck',
|
|
1262
|
+
enableAutoCheck: 'EnableAutoCheck',
|
|
1263
|
+
endTime: 'EndTime',
|
|
1264
|
+
regionId: 'RegionId',
|
|
1265
|
+
removedCheck: 'RemovedCheck',
|
|
1266
|
+
standardIds: 'StandardIds',
|
|
1267
|
+
startTime: 'StartTime',
|
|
1268
|
+
};
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
static types(): { [key: string]: any } {
|
|
1272
|
+
return {
|
|
1273
|
+
addedCheck: { 'type': 'array', 'itemType': ChangeCheckConfigShrinkRequestAddedCheck },
|
|
1274
|
+
configRequirementIdsShrink: 'string',
|
|
1275
|
+
configStandardIdsShrink: 'string',
|
|
1276
|
+
cycleDays: { 'type': 'array', 'itemType': 'number' },
|
|
1277
|
+
enableAddCheck: 'boolean',
|
|
1278
|
+
enableAutoCheck: 'boolean',
|
|
1279
|
+
endTime: 'number',
|
|
1280
|
+
regionId: 'string',
|
|
1281
|
+
removedCheck: { 'type': 'array', 'itemType': ChangeCheckConfigShrinkRequestRemovedCheck },
|
|
1282
|
+
standardIds: { 'type': 'array', 'itemType': 'number' },
|
|
1283
|
+
startTime: 'number',
|
|
1284
|
+
};
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
constructor(map?: { [key: string]: any }) {
|
|
1288
|
+
super(map);
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1237
1292
|
export class ChangeCheckConfigResponseBody extends $tea.Model {
|
|
1238
1293
|
requestId?: string;
|
|
1239
1294
|
static names(): { [key: string]: string } {
|
|
@@ -6834,6 +6889,75 @@ export class DescribeAssetsSecurityEventSummaryResponse extends $tea.Model {
|
|
|
6834
6889
|
}
|
|
6835
6890
|
}
|
|
6836
6891
|
|
|
6892
|
+
export class DescribeAttachRecordsRequest extends $tea.Model {
|
|
6893
|
+
applicationId?: string;
|
|
6894
|
+
ecsUUIDList?: string[];
|
|
6895
|
+
static names(): { [key: string]: string } {
|
|
6896
|
+
return {
|
|
6897
|
+
applicationId: 'ApplicationId',
|
|
6898
|
+
ecsUUIDList: 'EcsUUIDList',
|
|
6899
|
+
};
|
|
6900
|
+
}
|
|
6901
|
+
|
|
6902
|
+
static types(): { [key: string]: any } {
|
|
6903
|
+
return {
|
|
6904
|
+
applicationId: 'string',
|
|
6905
|
+
ecsUUIDList: { 'type': 'array', 'itemType': 'string' },
|
|
6906
|
+
};
|
|
6907
|
+
}
|
|
6908
|
+
|
|
6909
|
+
constructor(map?: { [key: string]: any }) {
|
|
6910
|
+
super(map);
|
|
6911
|
+
}
|
|
6912
|
+
}
|
|
6913
|
+
|
|
6914
|
+
export class DescribeAttachRecordsResponseBody extends $tea.Model {
|
|
6915
|
+
accessList?: DescribeAttachRecordsResponseBodyAccessList[];
|
|
6916
|
+
requestId?: string;
|
|
6917
|
+
static names(): { [key: string]: string } {
|
|
6918
|
+
return {
|
|
6919
|
+
accessList: 'AccessList',
|
|
6920
|
+
requestId: 'RequestId',
|
|
6921
|
+
};
|
|
6922
|
+
}
|
|
6923
|
+
|
|
6924
|
+
static types(): { [key: string]: any } {
|
|
6925
|
+
return {
|
|
6926
|
+
accessList: { 'type': 'array', 'itemType': DescribeAttachRecordsResponseBodyAccessList },
|
|
6927
|
+
requestId: 'string',
|
|
6928
|
+
};
|
|
6929
|
+
}
|
|
6930
|
+
|
|
6931
|
+
constructor(map?: { [key: string]: any }) {
|
|
6932
|
+
super(map);
|
|
6933
|
+
}
|
|
6934
|
+
}
|
|
6935
|
+
|
|
6936
|
+
export class DescribeAttachRecordsResponse extends $tea.Model {
|
|
6937
|
+
headers: { [key: string]: string };
|
|
6938
|
+
statusCode: number;
|
|
6939
|
+
body: DescribeAttachRecordsResponseBody;
|
|
6940
|
+
static names(): { [key: string]: string } {
|
|
6941
|
+
return {
|
|
6942
|
+
headers: 'headers',
|
|
6943
|
+
statusCode: 'statusCode',
|
|
6944
|
+
body: 'body',
|
|
6945
|
+
};
|
|
6946
|
+
}
|
|
6947
|
+
|
|
6948
|
+
static types(): { [key: string]: any } {
|
|
6949
|
+
return {
|
|
6950
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6951
|
+
statusCode: 'number',
|
|
6952
|
+
body: DescribeAttachRecordsResponseBody,
|
|
6953
|
+
};
|
|
6954
|
+
}
|
|
6955
|
+
|
|
6956
|
+
constructor(map?: { [key: string]: any }) {
|
|
6957
|
+
super(map);
|
|
6958
|
+
}
|
|
6959
|
+
}
|
|
6960
|
+
|
|
6837
6961
|
export class DescribeAttackAnalysisDataRequest extends $tea.Model {
|
|
6838
6962
|
base64?: string;
|
|
6839
6963
|
currentPage?: number;
|
|
@@ -27722,6 +27846,72 @@ export class InstallPmAgentResponse extends $tea.Model {
|
|
|
27722
27846
|
}
|
|
27723
27847
|
}
|
|
27724
27848
|
|
|
27849
|
+
export class InstallRaspAttachRequest extends $tea.Model {
|
|
27850
|
+
applicationId?: string;
|
|
27851
|
+
ecsUUIDList?: string[];
|
|
27852
|
+
static names(): { [key: string]: string } {
|
|
27853
|
+
return {
|
|
27854
|
+
applicationId: 'ApplicationId',
|
|
27855
|
+
ecsUUIDList: 'EcsUUIDList',
|
|
27856
|
+
};
|
|
27857
|
+
}
|
|
27858
|
+
|
|
27859
|
+
static types(): { [key: string]: any } {
|
|
27860
|
+
return {
|
|
27861
|
+
applicationId: 'string',
|
|
27862
|
+
ecsUUIDList: { 'type': 'array', 'itemType': 'string' },
|
|
27863
|
+
};
|
|
27864
|
+
}
|
|
27865
|
+
|
|
27866
|
+
constructor(map?: { [key: string]: any }) {
|
|
27867
|
+
super(map);
|
|
27868
|
+
}
|
|
27869
|
+
}
|
|
27870
|
+
|
|
27871
|
+
export class InstallRaspAttachResponseBody extends $tea.Model {
|
|
27872
|
+
requestId?: string;
|
|
27873
|
+
static names(): { [key: string]: string } {
|
|
27874
|
+
return {
|
|
27875
|
+
requestId: 'RequestId',
|
|
27876
|
+
};
|
|
27877
|
+
}
|
|
27878
|
+
|
|
27879
|
+
static types(): { [key: string]: any } {
|
|
27880
|
+
return {
|
|
27881
|
+
requestId: 'string',
|
|
27882
|
+
};
|
|
27883
|
+
}
|
|
27884
|
+
|
|
27885
|
+
constructor(map?: { [key: string]: any }) {
|
|
27886
|
+
super(map);
|
|
27887
|
+
}
|
|
27888
|
+
}
|
|
27889
|
+
|
|
27890
|
+
export class InstallRaspAttachResponse extends $tea.Model {
|
|
27891
|
+
headers: { [key: string]: string };
|
|
27892
|
+
statusCode: number;
|
|
27893
|
+
body: InstallRaspAttachResponseBody;
|
|
27894
|
+
static names(): { [key: string]: string } {
|
|
27895
|
+
return {
|
|
27896
|
+
headers: 'headers',
|
|
27897
|
+
statusCode: 'statusCode',
|
|
27898
|
+
body: 'body',
|
|
27899
|
+
};
|
|
27900
|
+
}
|
|
27901
|
+
|
|
27902
|
+
static types(): { [key: string]: any } {
|
|
27903
|
+
return {
|
|
27904
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
27905
|
+
statusCode: 'number',
|
|
27906
|
+
body: InstallRaspAttachResponseBody,
|
|
27907
|
+
};
|
|
27908
|
+
}
|
|
27909
|
+
|
|
27910
|
+
constructor(map?: { [key: string]: any }) {
|
|
27911
|
+
super(map);
|
|
27912
|
+
}
|
|
27913
|
+
}
|
|
27914
|
+
|
|
27725
27915
|
export class InstallUniBackupAgentRequest extends $tea.Model {
|
|
27726
27916
|
policyId?: number;
|
|
27727
27917
|
static names(): { [key: string]: string } {
|
|
@@ -28171,6 +28361,56 @@ export class ListAgentlessTaskResponse extends $tea.Model {
|
|
|
28171
28361
|
}
|
|
28172
28362
|
}
|
|
28173
28363
|
|
|
28364
|
+
export class ListAssetCleanConfigResponseBody extends $tea.Model {
|
|
28365
|
+
count?: number;
|
|
28366
|
+
data?: ListAssetCleanConfigResponseBodyData[];
|
|
28367
|
+
requestId?: string;
|
|
28368
|
+
static names(): { [key: string]: string } {
|
|
28369
|
+
return {
|
|
28370
|
+
count: 'Count',
|
|
28371
|
+
data: 'Data',
|
|
28372
|
+
requestId: 'RequestId',
|
|
28373
|
+
};
|
|
28374
|
+
}
|
|
28375
|
+
|
|
28376
|
+
static types(): { [key: string]: any } {
|
|
28377
|
+
return {
|
|
28378
|
+
count: 'number',
|
|
28379
|
+
data: { 'type': 'array', 'itemType': ListAssetCleanConfigResponseBodyData },
|
|
28380
|
+
requestId: 'string',
|
|
28381
|
+
};
|
|
28382
|
+
}
|
|
28383
|
+
|
|
28384
|
+
constructor(map?: { [key: string]: any }) {
|
|
28385
|
+
super(map);
|
|
28386
|
+
}
|
|
28387
|
+
}
|
|
28388
|
+
|
|
28389
|
+
export class ListAssetCleanConfigResponse extends $tea.Model {
|
|
28390
|
+
headers: { [key: string]: string };
|
|
28391
|
+
statusCode: number;
|
|
28392
|
+
body: ListAssetCleanConfigResponseBody;
|
|
28393
|
+
static names(): { [key: string]: string } {
|
|
28394
|
+
return {
|
|
28395
|
+
headers: 'headers',
|
|
28396
|
+
statusCode: 'statusCode',
|
|
28397
|
+
body: 'body',
|
|
28398
|
+
};
|
|
28399
|
+
}
|
|
28400
|
+
|
|
28401
|
+
static types(): { [key: string]: any } {
|
|
28402
|
+
return {
|
|
28403
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28404
|
+
statusCode: 'number',
|
|
28405
|
+
body: ListAssetCleanConfigResponseBody,
|
|
28406
|
+
};
|
|
28407
|
+
}
|
|
28408
|
+
|
|
28409
|
+
constructor(map?: { [key: string]: any }) {
|
|
28410
|
+
super(map);
|
|
28411
|
+
}
|
|
28412
|
+
}
|
|
28413
|
+
|
|
28174
28414
|
export class ListAssetRefreshTaskConfigRequest extends $tea.Model {
|
|
28175
28415
|
regionId?: string;
|
|
28176
28416
|
static names(): { [key: string]: string } {
|
|
@@ -29160,6 +29400,90 @@ export class ListCloudAssetInstancesResponse extends $tea.Model {
|
|
|
29160
29400
|
}
|
|
29161
29401
|
}
|
|
29162
29402
|
|
|
29403
|
+
export class ListCloudVendorRegionsRequest extends $tea.Model {
|
|
29404
|
+
lang?: string;
|
|
29405
|
+
vendor?: string;
|
|
29406
|
+
static names(): { [key: string]: string } {
|
|
29407
|
+
return {
|
|
29408
|
+
lang: 'Lang',
|
|
29409
|
+
vendor: 'Vendor',
|
|
29410
|
+
};
|
|
29411
|
+
}
|
|
29412
|
+
|
|
29413
|
+
static types(): { [key: string]: any } {
|
|
29414
|
+
return {
|
|
29415
|
+
lang: 'string',
|
|
29416
|
+
vendor: 'string',
|
|
29417
|
+
};
|
|
29418
|
+
}
|
|
29419
|
+
|
|
29420
|
+
constructor(map?: { [key: string]: any }) {
|
|
29421
|
+
super(map);
|
|
29422
|
+
}
|
|
29423
|
+
}
|
|
29424
|
+
|
|
29425
|
+
export class ListCloudVendorRegionsResponseBody extends $tea.Model {
|
|
29426
|
+
code?: string;
|
|
29427
|
+
count?: number;
|
|
29428
|
+
data?: ListCloudVendorRegionsResponseBodyData[];
|
|
29429
|
+
httpStatusCode?: number;
|
|
29430
|
+
message?: string;
|
|
29431
|
+
requestId?: string;
|
|
29432
|
+
success?: boolean;
|
|
29433
|
+
static names(): { [key: string]: string } {
|
|
29434
|
+
return {
|
|
29435
|
+
code: 'Code',
|
|
29436
|
+
count: 'Count',
|
|
29437
|
+
data: 'Data',
|
|
29438
|
+
httpStatusCode: 'HttpStatusCode',
|
|
29439
|
+
message: 'Message',
|
|
29440
|
+
requestId: 'RequestId',
|
|
29441
|
+
success: 'Success',
|
|
29442
|
+
};
|
|
29443
|
+
}
|
|
29444
|
+
|
|
29445
|
+
static types(): { [key: string]: any } {
|
|
29446
|
+
return {
|
|
29447
|
+
code: 'string',
|
|
29448
|
+
count: 'number',
|
|
29449
|
+
data: { 'type': 'array', 'itemType': ListCloudVendorRegionsResponseBodyData },
|
|
29450
|
+
httpStatusCode: 'number',
|
|
29451
|
+
message: 'string',
|
|
29452
|
+
requestId: 'string',
|
|
29453
|
+
success: 'boolean',
|
|
29454
|
+
};
|
|
29455
|
+
}
|
|
29456
|
+
|
|
29457
|
+
constructor(map?: { [key: string]: any }) {
|
|
29458
|
+
super(map);
|
|
29459
|
+
}
|
|
29460
|
+
}
|
|
29461
|
+
|
|
29462
|
+
export class ListCloudVendorRegionsResponse extends $tea.Model {
|
|
29463
|
+
headers: { [key: string]: string };
|
|
29464
|
+
statusCode: number;
|
|
29465
|
+
body: ListCloudVendorRegionsResponseBody;
|
|
29466
|
+
static names(): { [key: string]: string } {
|
|
29467
|
+
return {
|
|
29468
|
+
headers: 'headers',
|
|
29469
|
+
statusCode: 'statusCode',
|
|
29470
|
+
body: 'body',
|
|
29471
|
+
};
|
|
29472
|
+
}
|
|
29473
|
+
|
|
29474
|
+
static types(): { [key: string]: any } {
|
|
29475
|
+
return {
|
|
29476
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
29477
|
+
statusCode: 'number',
|
|
29478
|
+
body: ListCloudVendorRegionsResponseBody,
|
|
29479
|
+
};
|
|
29480
|
+
}
|
|
29481
|
+
|
|
29482
|
+
constructor(map?: { [key: string]: any }) {
|
|
29483
|
+
super(map);
|
|
29484
|
+
}
|
|
29485
|
+
}
|
|
29486
|
+
|
|
29163
29487
|
export class ListClusterCnnfStatusDetailRequest extends $tea.Model {
|
|
29164
29488
|
clusterIds?: string[];
|
|
29165
29489
|
static names(): { [key: string]: string } {
|
|
@@ -31478,6 +31802,72 @@ export class ModifyAppVulScanCycleResponse extends $tea.Model {
|
|
|
31478
31802
|
}
|
|
31479
31803
|
}
|
|
31480
31804
|
|
|
31805
|
+
export class ModifyAssetCleanConfigRequest extends $tea.Model {
|
|
31806
|
+
assetCleanConfigs?: ModifyAssetCleanConfigRequestAssetCleanConfigs[];
|
|
31807
|
+
static names(): { [key: string]: string } {
|
|
31808
|
+
return {
|
|
31809
|
+
assetCleanConfigs: 'AssetCleanConfigs',
|
|
31810
|
+
};
|
|
31811
|
+
}
|
|
31812
|
+
|
|
31813
|
+
static types(): { [key: string]: any } {
|
|
31814
|
+
return {
|
|
31815
|
+
assetCleanConfigs: { 'type': 'array', 'itemType': ModifyAssetCleanConfigRequestAssetCleanConfigs },
|
|
31816
|
+
};
|
|
31817
|
+
}
|
|
31818
|
+
|
|
31819
|
+
constructor(map?: { [key: string]: any }) {
|
|
31820
|
+
super(map);
|
|
31821
|
+
}
|
|
31822
|
+
}
|
|
31823
|
+
|
|
31824
|
+
export class ModifyAssetCleanConfigResponseBody extends $tea.Model {
|
|
31825
|
+
data?: boolean;
|
|
31826
|
+
requestId?: string;
|
|
31827
|
+
static names(): { [key: string]: string } {
|
|
31828
|
+
return {
|
|
31829
|
+
data: 'Data',
|
|
31830
|
+
requestId: 'RequestId',
|
|
31831
|
+
};
|
|
31832
|
+
}
|
|
31833
|
+
|
|
31834
|
+
static types(): { [key: string]: any } {
|
|
31835
|
+
return {
|
|
31836
|
+
data: 'boolean',
|
|
31837
|
+
requestId: 'string',
|
|
31838
|
+
};
|
|
31839
|
+
}
|
|
31840
|
+
|
|
31841
|
+
constructor(map?: { [key: string]: any }) {
|
|
31842
|
+
super(map);
|
|
31843
|
+
}
|
|
31844
|
+
}
|
|
31845
|
+
|
|
31846
|
+
export class ModifyAssetCleanConfigResponse extends $tea.Model {
|
|
31847
|
+
headers: { [key: string]: string };
|
|
31848
|
+
statusCode: number;
|
|
31849
|
+
body: ModifyAssetCleanConfigResponseBody;
|
|
31850
|
+
static names(): { [key: string]: string } {
|
|
31851
|
+
return {
|
|
31852
|
+
headers: 'headers',
|
|
31853
|
+
statusCode: 'statusCode',
|
|
31854
|
+
body: 'body',
|
|
31855
|
+
};
|
|
31856
|
+
}
|
|
31857
|
+
|
|
31858
|
+
static types(): { [key: string]: any } {
|
|
31859
|
+
return {
|
|
31860
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
31861
|
+
statusCode: 'number',
|
|
31862
|
+
body: ModifyAssetCleanConfigResponseBody,
|
|
31863
|
+
};
|
|
31864
|
+
}
|
|
31865
|
+
|
|
31866
|
+
constructor(map?: { [key: string]: any }) {
|
|
31867
|
+
super(map);
|
|
31868
|
+
}
|
|
31869
|
+
}
|
|
31870
|
+
|
|
31481
31871
|
export class ModifyAssetGroupRequest extends $tea.Model {
|
|
31482
31872
|
groupId?: number;
|
|
31483
31873
|
sourceIp?: string;
|
|
@@ -38398,6 +38788,72 @@ export class UninstallBackupClientResponse extends $tea.Model {
|
|
|
38398
38788
|
}
|
|
38399
38789
|
}
|
|
38400
38790
|
|
|
38791
|
+
export class UninstallRaspAttachRequest extends $tea.Model {
|
|
38792
|
+
applicationId?: string;
|
|
38793
|
+
ecsUUIDList?: string[];
|
|
38794
|
+
static names(): { [key: string]: string } {
|
|
38795
|
+
return {
|
|
38796
|
+
applicationId: 'ApplicationId',
|
|
38797
|
+
ecsUUIDList: 'EcsUUIDList',
|
|
38798
|
+
};
|
|
38799
|
+
}
|
|
38800
|
+
|
|
38801
|
+
static types(): { [key: string]: any } {
|
|
38802
|
+
return {
|
|
38803
|
+
applicationId: 'string',
|
|
38804
|
+
ecsUUIDList: { 'type': 'array', 'itemType': 'string' },
|
|
38805
|
+
};
|
|
38806
|
+
}
|
|
38807
|
+
|
|
38808
|
+
constructor(map?: { [key: string]: any }) {
|
|
38809
|
+
super(map);
|
|
38810
|
+
}
|
|
38811
|
+
}
|
|
38812
|
+
|
|
38813
|
+
export class UninstallRaspAttachResponseBody extends $tea.Model {
|
|
38814
|
+
requestId?: string;
|
|
38815
|
+
static names(): { [key: string]: string } {
|
|
38816
|
+
return {
|
|
38817
|
+
requestId: 'RequestId',
|
|
38818
|
+
};
|
|
38819
|
+
}
|
|
38820
|
+
|
|
38821
|
+
static types(): { [key: string]: any } {
|
|
38822
|
+
return {
|
|
38823
|
+
requestId: 'string',
|
|
38824
|
+
};
|
|
38825
|
+
}
|
|
38826
|
+
|
|
38827
|
+
constructor(map?: { [key: string]: any }) {
|
|
38828
|
+
super(map);
|
|
38829
|
+
}
|
|
38830
|
+
}
|
|
38831
|
+
|
|
38832
|
+
export class UninstallRaspAttachResponse extends $tea.Model {
|
|
38833
|
+
headers: { [key: string]: string };
|
|
38834
|
+
statusCode: number;
|
|
38835
|
+
body: UninstallRaspAttachResponseBody;
|
|
38836
|
+
static names(): { [key: string]: string } {
|
|
38837
|
+
return {
|
|
38838
|
+
headers: 'headers',
|
|
38839
|
+
statusCode: 'statusCode',
|
|
38840
|
+
body: 'body',
|
|
38841
|
+
};
|
|
38842
|
+
}
|
|
38843
|
+
|
|
38844
|
+
static types(): { [key: string]: any } {
|
|
38845
|
+
return {
|
|
38846
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
38847
|
+
statusCode: 'number',
|
|
38848
|
+
body: UninstallRaspAttachResponseBody,
|
|
38849
|
+
};
|
|
38850
|
+
}
|
|
38851
|
+
|
|
38852
|
+
constructor(map?: { [key: string]: any }) {
|
|
38853
|
+
super(map);
|
|
38854
|
+
}
|
|
38855
|
+
}
|
|
38856
|
+
|
|
38401
38857
|
export class UninstallUniBackupAgentRequest extends $tea.Model {
|
|
38402
38858
|
policyId?: number;
|
|
38403
38859
|
static names(): { [key: string]: string } {
|
|
@@ -39474,6 +39930,50 @@ export class ChangeCheckConfigRequestAddedCheck extends $tea.Model {
|
|
|
39474
39930
|
}
|
|
39475
39931
|
}
|
|
39476
39932
|
|
|
39933
|
+
export class ChangeCheckConfigRequestConfigRequirementIds extends $tea.Model {
|
|
39934
|
+
addIds?: number[];
|
|
39935
|
+
removeIds?: number[];
|
|
39936
|
+
static names(): { [key: string]: string } {
|
|
39937
|
+
return {
|
|
39938
|
+
addIds: 'AddIds',
|
|
39939
|
+
removeIds: 'RemoveIds',
|
|
39940
|
+
};
|
|
39941
|
+
}
|
|
39942
|
+
|
|
39943
|
+
static types(): { [key: string]: any } {
|
|
39944
|
+
return {
|
|
39945
|
+
addIds: { 'type': 'array', 'itemType': 'number' },
|
|
39946
|
+
removeIds: { 'type': 'array', 'itemType': 'number' },
|
|
39947
|
+
};
|
|
39948
|
+
}
|
|
39949
|
+
|
|
39950
|
+
constructor(map?: { [key: string]: any }) {
|
|
39951
|
+
super(map);
|
|
39952
|
+
}
|
|
39953
|
+
}
|
|
39954
|
+
|
|
39955
|
+
export class ChangeCheckConfigRequestConfigStandardIds extends $tea.Model {
|
|
39956
|
+
addIds?: number[];
|
|
39957
|
+
removeIds?: number[];
|
|
39958
|
+
static names(): { [key: string]: string } {
|
|
39959
|
+
return {
|
|
39960
|
+
addIds: 'AddIds',
|
|
39961
|
+
removeIds: 'RemoveIds',
|
|
39962
|
+
};
|
|
39963
|
+
}
|
|
39964
|
+
|
|
39965
|
+
static types(): { [key: string]: any } {
|
|
39966
|
+
return {
|
|
39967
|
+
addIds: { 'type': 'array', 'itemType': 'number' },
|
|
39968
|
+
removeIds: { 'type': 'array', 'itemType': 'number' },
|
|
39969
|
+
};
|
|
39970
|
+
}
|
|
39971
|
+
|
|
39972
|
+
constructor(map?: { [key: string]: any }) {
|
|
39973
|
+
super(map);
|
|
39974
|
+
}
|
|
39975
|
+
}
|
|
39976
|
+
|
|
39477
39977
|
export class ChangeCheckConfigRequestRemovedCheck extends $tea.Model {
|
|
39478
39978
|
checkId?: number;
|
|
39479
39979
|
sectionId?: number;
|
|
@@ -39496,6 +39996,50 @@ export class ChangeCheckConfigRequestRemovedCheck extends $tea.Model {
|
|
|
39496
39996
|
}
|
|
39497
39997
|
}
|
|
39498
39998
|
|
|
39999
|
+
export class ChangeCheckConfigShrinkRequestAddedCheck extends $tea.Model {
|
|
40000
|
+
checkId?: number;
|
|
40001
|
+
sectionId?: number;
|
|
40002
|
+
static names(): { [key: string]: string } {
|
|
40003
|
+
return {
|
|
40004
|
+
checkId: 'CheckId',
|
|
40005
|
+
sectionId: 'SectionId',
|
|
40006
|
+
};
|
|
40007
|
+
}
|
|
40008
|
+
|
|
40009
|
+
static types(): { [key: string]: any } {
|
|
40010
|
+
return {
|
|
40011
|
+
checkId: 'number',
|
|
40012
|
+
sectionId: 'number',
|
|
40013
|
+
};
|
|
40014
|
+
}
|
|
40015
|
+
|
|
40016
|
+
constructor(map?: { [key: string]: any }) {
|
|
40017
|
+
super(map);
|
|
40018
|
+
}
|
|
40019
|
+
}
|
|
40020
|
+
|
|
40021
|
+
export class ChangeCheckConfigShrinkRequestRemovedCheck extends $tea.Model {
|
|
40022
|
+
checkId?: number;
|
|
40023
|
+
sectionId?: number;
|
|
40024
|
+
static names(): { [key: string]: string } {
|
|
40025
|
+
return {
|
|
40026
|
+
checkId: 'CheckId',
|
|
40027
|
+
sectionId: 'SectionId',
|
|
40028
|
+
};
|
|
40029
|
+
}
|
|
40030
|
+
|
|
40031
|
+
static types(): { [key: string]: any } {
|
|
40032
|
+
return {
|
|
40033
|
+
checkId: 'number',
|
|
40034
|
+
sectionId: 'number',
|
|
40035
|
+
};
|
|
40036
|
+
}
|
|
40037
|
+
|
|
40038
|
+
constructor(map?: { [key: string]: any }) {
|
|
40039
|
+
super(map);
|
|
40040
|
+
}
|
|
40041
|
+
}
|
|
40042
|
+
|
|
39499
40043
|
export class ChangeCheckCustomConfigRequestCustomConfigs extends $tea.Model {
|
|
39500
40044
|
name?: string;
|
|
39501
40045
|
operation?: string;
|
|
@@ -40882,6 +41426,37 @@ export class DescribeAssetsSecurityEventSummaryResponseBodyAssets extends $tea.M
|
|
|
40882
41426
|
}
|
|
40883
41427
|
}
|
|
40884
41428
|
|
|
41429
|
+
export class DescribeAttachRecordsResponseBodyAccessList extends $tea.Model {
|
|
41430
|
+
attachState?: number;
|
|
41431
|
+
attachSwitch?: string;
|
|
41432
|
+
ecsUUID?: string;
|
|
41433
|
+
installMsg?: string;
|
|
41434
|
+
installState?: number;
|
|
41435
|
+
static names(): { [key: string]: string } {
|
|
41436
|
+
return {
|
|
41437
|
+
attachState: 'AttachState',
|
|
41438
|
+
attachSwitch: 'AttachSwitch',
|
|
41439
|
+
ecsUUID: 'EcsUUID',
|
|
41440
|
+
installMsg: 'InstallMsg',
|
|
41441
|
+
installState: 'InstallState',
|
|
41442
|
+
};
|
|
41443
|
+
}
|
|
41444
|
+
|
|
41445
|
+
static types(): { [key: string]: any } {
|
|
41446
|
+
return {
|
|
41447
|
+
attachState: 'number',
|
|
41448
|
+
attachSwitch: 'string',
|
|
41449
|
+
ecsUUID: 'string',
|
|
41450
|
+
installMsg: 'string',
|
|
41451
|
+
installState: 'number',
|
|
41452
|
+
};
|
|
41453
|
+
}
|
|
41454
|
+
|
|
41455
|
+
constructor(map?: { [key: string]: any }) {
|
|
41456
|
+
super(map);
|
|
41457
|
+
}
|
|
41458
|
+
}
|
|
41459
|
+
|
|
40885
41460
|
export class DescribeBackUpExportInfoResponseBodyData extends $tea.Model {
|
|
40886
41461
|
currentCount?: number;
|
|
40887
41462
|
fileName?: string;
|
|
@@ -53801,6 +54376,31 @@ export class ListAgentlessTaskResponseBodyPageInfo extends $tea.Model {
|
|
|
53801
54376
|
}
|
|
53802
54377
|
}
|
|
53803
54378
|
|
|
54379
|
+
export class ListAssetCleanConfigResponseBodyData extends $tea.Model {
|
|
54380
|
+
cleanDays?: number;
|
|
54381
|
+
status?: number;
|
|
54382
|
+
type?: number;
|
|
54383
|
+
static names(): { [key: string]: string } {
|
|
54384
|
+
return {
|
|
54385
|
+
cleanDays: 'CleanDays',
|
|
54386
|
+
status: 'Status',
|
|
54387
|
+
type: 'Type',
|
|
54388
|
+
};
|
|
54389
|
+
}
|
|
54390
|
+
|
|
54391
|
+
static types(): { [key: string]: any } {
|
|
54392
|
+
return {
|
|
54393
|
+
cleanDays: 'number',
|
|
54394
|
+
status: 'number',
|
|
54395
|
+
type: 'number',
|
|
54396
|
+
};
|
|
54397
|
+
}
|
|
54398
|
+
|
|
54399
|
+
constructor(map?: { [key: string]: any }) {
|
|
54400
|
+
super(map);
|
|
54401
|
+
}
|
|
54402
|
+
}
|
|
54403
|
+
|
|
53804
54404
|
export class ListAssetRefreshTaskConfigResponseBodyAssetRefreshConfig extends $tea.Model {
|
|
53805
54405
|
schedulePeriod?: number;
|
|
53806
54406
|
status?: number;
|
|
@@ -54603,6 +55203,34 @@ export class ListCloudAssetInstancesResponseBodyPageInfo extends $tea.Model {
|
|
|
54603
55203
|
}
|
|
54604
55204
|
}
|
|
54605
55205
|
|
|
55206
|
+
export class ListCloudVendorRegionsResponseBodyData extends $tea.Model {
|
|
55207
|
+
area?: string;
|
|
55208
|
+
disable?: number;
|
|
55209
|
+
regionId?: string;
|
|
55210
|
+
selected?: number;
|
|
55211
|
+
static names(): { [key: string]: string } {
|
|
55212
|
+
return {
|
|
55213
|
+
area: 'Area',
|
|
55214
|
+
disable: 'Disable',
|
|
55215
|
+
regionId: 'RegionId',
|
|
55216
|
+
selected: 'Selected',
|
|
55217
|
+
};
|
|
55218
|
+
}
|
|
55219
|
+
|
|
55220
|
+
static types(): { [key: string]: any } {
|
|
55221
|
+
return {
|
|
55222
|
+
area: 'string',
|
|
55223
|
+
disable: 'number',
|
|
55224
|
+
regionId: 'string',
|
|
55225
|
+
selected: 'number',
|
|
55226
|
+
};
|
|
55227
|
+
}
|
|
55228
|
+
|
|
55229
|
+
constructor(map?: { [key: string]: any }) {
|
|
55230
|
+
super(map);
|
|
55231
|
+
}
|
|
55232
|
+
}
|
|
55233
|
+
|
|
54606
55234
|
export class ListClusterCnnfStatusDetailResponseBodyData extends $tea.Model {
|
|
54607
55235
|
clusterId?: string;
|
|
54608
55236
|
installed?: boolean;
|
|
@@ -56314,6 +56942,31 @@ export class ListVulAutoRepairConfigResponseBodyVulAutoRepairConfigList extends
|
|
|
56314
56942
|
}
|
|
56315
56943
|
}
|
|
56316
56944
|
|
|
56945
|
+
export class ModifyAssetCleanConfigRequestAssetCleanConfigs extends $tea.Model {
|
|
56946
|
+
cleanDays?: number;
|
|
56947
|
+
status?: number;
|
|
56948
|
+
type?: number;
|
|
56949
|
+
static names(): { [key: string]: string } {
|
|
56950
|
+
return {
|
|
56951
|
+
cleanDays: 'CleanDays',
|
|
56952
|
+
status: 'Status',
|
|
56953
|
+
type: 'Type',
|
|
56954
|
+
};
|
|
56955
|
+
}
|
|
56956
|
+
|
|
56957
|
+
static types(): { [key: string]: any } {
|
|
56958
|
+
return {
|
|
56959
|
+
cleanDays: 'number',
|
|
56960
|
+
status: 'number',
|
|
56961
|
+
type: 'number',
|
|
56962
|
+
};
|
|
56963
|
+
}
|
|
56964
|
+
|
|
56965
|
+
constructor(map?: { [key: string]: any }) {
|
|
56966
|
+
super(map);
|
|
56967
|
+
}
|
|
56968
|
+
}
|
|
56969
|
+
|
|
56317
56970
|
export class ModifyCreateVulWhitelistResponseBodyVulWhitelistList extends $tea.Model {
|
|
56318
56971
|
id?: number;
|
|
56319
56972
|
static names(): { [key: string]: string } {
|
|
@@ -57601,13 +58254,31 @@ export default class Client extends OpenApi {
|
|
|
57601
58254
|
return await this.changeAssetRefreshTaskConfigWithOptions(request, runtime);
|
|
57602
58255
|
}
|
|
57603
58256
|
|
|
57604
|
-
async changeCheckConfigWithOptions(
|
|
57605
|
-
Util.validateModel(
|
|
58257
|
+
async changeCheckConfigWithOptions(tmpReq: ChangeCheckConfigRequest, runtime: $Util.RuntimeOptions): Promise<ChangeCheckConfigResponse> {
|
|
58258
|
+
Util.validateModel(tmpReq);
|
|
58259
|
+
let request = new ChangeCheckConfigShrinkRequest({ });
|
|
58260
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
58261
|
+
if (!Util.isUnset(tmpReq.configRequirementIds)) {
|
|
58262
|
+
request.configRequirementIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configRequirementIds, "ConfigRequirementIds", "json");
|
|
58263
|
+
}
|
|
58264
|
+
|
|
58265
|
+
if (!Util.isUnset(tmpReq.configStandardIds)) {
|
|
58266
|
+
request.configStandardIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configStandardIds, "ConfigStandardIds", "json");
|
|
58267
|
+
}
|
|
58268
|
+
|
|
57606
58269
|
let query = { };
|
|
57607
58270
|
if (!Util.isUnset(request.addedCheck)) {
|
|
57608
58271
|
query["AddedCheck"] = request.addedCheck;
|
|
57609
58272
|
}
|
|
57610
58273
|
|
|
58274
|
+
if (!Util.isUnset(request.configRequirementIdsShrink)) {
|
|
58275
|
+
query["ConfigRequirementIds"] = request.configRequirementIdsShrink;
|
|
58276
|
+
}
|
|
58277
|
+
|
|
58278
|
+
if (!Util.isUnset(request.configStandardIdsShrink)) {
|
|
58279
|
+
query["ConfigStandardIds"] = request.configStandardIdsShrink;
|
|
58280
|
+
}
|
|
58281
|
+
|
|
57611
58282
|
if (!Util.isUnset(request.cycleDays)) {
|
|
57612
58283
|
query["CycleDays"] = request.cycleDays;
|
|
57613
58284
|
}
|
|
@@ -60648,6 +61319,39 @@ export default class Client extends OpenApi {
|
|
|
60648
61319
|
return await this.describeAssetsSecurityEventSummaryWithOptions(request, runtime);
|
|
60649
61320
|
}
|
|
60650
61321
|
|
|
61322
|
+
async describeAttachRecordsWithOptions(request: DescribeAttachRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAttachRecordsResponse> {
|
|
61323
|
+
Util.validateModel(request);
|
|
61324
|
+
let query = { };
|
|
61325
|
+
if (!Util.isUnset(request.applicationId)) {
|
|
61326
|
+
query["ApplicationId"] = request.applicationId;
|
|
61327
|
+
}
|
|
61328
|
+
|
|
61329
|
+
if (!Util.isUnset(request.ecsUUIDList)) {
|
|
61330
|
+
query["EcsUUIDList"] = request.ecsUUIDList;
|
|
61331
|
+
}
|
|
61332
|
+
|
|
61333
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
61334
|
+
query: OpenApiUtil.query(query),
|
|
61335
|
+
});
|
|
61336
|
+
let params = new $OpenApi.Params({
|
|
61337
|
+
action: "DescribeAttachRecords",
|
|
61338
|
+
version: "2018-12-03",
|
|
61339
|
+
protocol: "HTTPS",
|
|
61340
|
+
pathname: "/",
|
|
61341
|
+
method: "POST",
|
|
61342
|
+
authType: "AK",
|
|
61343
|
+
style: "RPC",
|
|
61344
|
+
reqBodyType: "formData",
|
|
61345
|
+
bodyType: "json",
|
|
61346
|
+
});
|
|
61347
|
+
return $tea.cast<DescribeAttachRecordsResponse>(await this.callApi(params, req, runtime), new DescribeAttachRecordsResponse({}));
|
|
61348
|
+
}
|
|
61349
|
+
|
|
61350
|
+
async describeAttachRecords(request: DescribeAttachRecordsRequest): Promise<DescribeAttachRecordsResponse> {
|
|
61351
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
61352
|
+
return await this.describeAttachRecordsWithOptions(request, runtime);
|
|
61353
|
+
}
|
|
61354
|
+
|
|
60651
61355
|
async describeAttackAnalysisDataWithOptions(request: DescribeAttackAnalysisDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAttackAnalysisDataResponse> {
|
|
60652
61356
|
Util.validateModel(request);
|
|
60653
61357
|
let query = { };
|
|
@@ -71727,6 +72431,39 @@ export default class Client extends OpenApi {
|
|
|
71727
72431
|
return await this.installPmAgentWithOptions(request, runtime);
|
|
71728
72432
|
}
|
|
71729
72433
|
|
|
72434
|
+
async installRaspAttachWithOptions(request: InstallRaspAttachRequest, runtime: $Util.RuntimeOptions): Promise<InstallRaspAttachResponse> {
|
|
72435
|
+
Util.validateModel(request);
|
|
72436
|
+
let query = { };
|
|
72437
|
+
if (!Util.isUnset(request.applicationId)) {
|
|
72438
|
+
query["ApplicationId"] = request.applicationId;
|
|
72439
|
+
}
|
|
72440
|
+
|
|
72441
|
+
if (!Util.isUnset(request.ecsUUIDList)) {
|
|
72442
|
+
query["EcsUUIDList"] = request.ecsUUIDList;
|
|
72443
|
+
}
|
|
72444
|
+
|
|
72445
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
72446
|
+
query: OpenApiUtil.query(query),
|
|
72447
|
+
});
|
|
72448
|
+
let params = new $OpenApi.Params({
|
|
72449
|
+
action: "InstallRaspAttach",
|
|
72450
|
+
version: "2018-12-03",
|
|
72451
|
+
protocol: "HTTPS",
|
|
72452
|
+
pathname: "/",
|
|
72453
|
+
method: "POST",
|
|
72454
|
+
authType: "AK",
|
|
72455
|
+
style: "RPC",
|
|
72456
|
+
reqBodyType: "formData",
|
|
72457
|
+
bodyType: "json",
|
|
72458
|
+
});
|
|
72459
|
+
return $tea.cast<InstallRaspAttachResponse>(await this.callApi(params, req, runtime), new InstallRaspAttachResponse({}));
|
|
72460
|
+
}
|
|
72461
|
+
|
|
72462
|
+
async installRaspAttach(request: InstallRaspAttachRequest): Promise<InstallRaspAttachResponse> {
|
|
72463
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
72464
|
+
return await this.installRaspAttachWithOptions(request, runtime);
|
|
72465
|
+
}
|
|
72466
|
+
|
|
71730
72467
|
async installUniBackupAgentWithOptions(request: InstallUniBackupAgentRequest, runtime: $Util.RuntimeOptions): Promise<InstallUniBackupAgentResponse> {
|
|
71731
72468
|
Util.validateModel(request);
|
|
71732
72469
|
let query = { };
|
|
@@ -71985,6 +72722,27 @@ export default class Client extends OpenApi {
|
|
|
71985
72722
|
return await this.listAgentlessTaskWithOptions(request, runtime);
|
|
71986
72723
|
}
|
|
71987
72724
|
|
|
72725
|
+
async listAssetCleanConfigWithOptions(runtime: $Util.RuntimeOptions): Promise<ListAssetCleanConfigResponse> {
|
|
72726
|
+
let req = new $OpenApi.OpenApiRequest({ });
|
|
72727
|
+
let params = new $OpenApi.Params({
|
|
72728
|
+
action: "ListAssetCleanConfig",
|
|
72729
|
+
version: "2018-12-03",
|
|
72730
|
+
protocol: "HTTPS",
|
|
72731
|
+
pathname: "/",
|
|
72732
|
+
method: "POST",
|
|
72733
|
+
authType: "AK",
|
|
72734
|
+
style: "RPC",
|
|
72735
|
+
reqBodyType: "formData",
|
|
72736
|
+
bodyType: "json",
|
|
72737
|
+
});
|
|
72738
|
+
return $tea.cast<ListAssetCleanConfigResponse>(await this.callApi(params, req, runtime), new ListAssetCleanConfigResponse({}));
|
|
72739
|
+
}
|
|
72740
|
+
|
|
72741
|
+
async listAssetCleanConfig(): Promise<ListAssetCleanConfigResponse> {
|
|
72742
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
72743
|
+
return await this.listAssetCleanConfigWithOptions(runtime);
|
|
72744
|
+
}
|
|
72745
|
+
|
|
71988
72746
|
async listAssetRefreshTaskConfigWithOptions(request: ListAssetRefreshTaskConfigRequest, runtime: $Util.RuntimeOptions): Promise<ListAssetRefreshTaskConfigResponse> {
|
|
71989
72747
|
Util.validateModel(request);
|
|
71990
72748
|
let query = { };
|
|
@@ -72553,6 +73311,39 @@ export default class Client extends OpenApi {
|
|
|
72553
73311
|
return await this.listCloudAssetInstancesWithOptions(request, runtime);
|
|
72554
73312
|
}
|
|
72555
73313
|
|
|
73314
|
+
async listCloudVendorRegionsWithOptions(request: ListCloudVendorRegionsRequest, runtime: $Util.RuntimeOptions): Promise<ListCloudVendorRegionsResponse> {
|
|
73315
|
+
Util.validateModel(request);
|
|
73316
|
+
let query = { };
|
|
73317
|
+
if (!Util.isUnset(request.lang)) {
|
|
73318
|
+
query["Lang"] = request.lang;
|
|
73319
|
+
}
|
|
73320
|
+
|
|
73321
|
+
if (!Util.isUnset(request.vendor)) {
|
|
73322
|
+
query["Vendor"] = request.vendor;
|
|
73323
|
+
}
|
|
73324
|
+
|
|
73325
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
73326
|
+
query: OpenApiUtil.query(query),
|
|
73327
|
+
});
|
|
73328
|
+
let params = new $OpenApi.Params({
|
|
73329
|
+
action: "ListCloudVendorRegions",
|
|
73330
|
+
version: "2018-12-03",
|
|
73331
|
+
protocol: "HTTPS",
|
|
73332
|
+
pathname: "/",
|
|
73333
|
+
method: "POST",
|
|
73334
|
+
authType: "AK",
|
|
73335
|
+
style: "RPC",
|
|
73336
|
+
reqBodyType: "formData",
|
|
73337
|
+
bodyType: "json",
|
|
73338
|
+
});
|
|
73339
|
+
return $tea.cast<ListCloudVendorRegionsResponse>(await this.callApi(params, req, runtime), new ListCloudVendorRegionsResponse({}));
|
|
73340
|
+
}
|
|
73341
|
+
|
|
73342
|
+
async listCloudVendorRegions(request: ListCloudVendorRegionsRequest): Promise<ListCloudVendorRegionsResponse> {
|
|
73343
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
73344
|
+
return await this.listCloudVendorRegionsWithOptions(request, runtime);
|
|
73345
|
+
}
|
|
73346
|
+
|
|
72556
73347
|
async listClusterCnnfStatusDetailWithOptions(request: ListClusterCnnfStatusDetailRequest, runtime: $Util.RuntimeOptions): Promise<ListClusterCnnfStatusDetailResponse> {
|
|
72557
73348
|
Util.validateModel(request);
|
|
72558
73349
|
let query = { };
|
|
@@ -73724,6 +74515,35 @@ export default class Client extends OpenApi {
|
|
|
73724
74515
|
return await this.modifyAppVulScanCycleWithOptions(request, runtime);
|
|
73725
74516
|
}
|
|
73726
74517
|
|
|
74518
|
+
async modifyAssetCleanConfigWithOptions(request: ModifyAssetCleanConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAssetCleanConfigResponse> {
|
|
74519
|
+
Util.validateModel(request);
|
|
74520
|
+
let query = { };
|
|
74521
|
+
if (!Util.isUnset(request.assetCleanConfigs)) {
|
|
74522
|
+
query["AssetCleanConfigs"] = request.assetCleanConfigs;
|
|
74523
|
+
}
|
|
74524
|
+
|
|
74525
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
74526
|
+
query: OpenApiUtil.query(query),
|
|
74527
|
+
});
|
|
74528
|
+
let params = new $OpenApi.Params({
|
|
74529
|
+
action: "ModifyAssetCleanConfig",
|
|
74530
|
+
version: "2018-12-03",
|
|
74531
|
+
protocol: "HTTPS",
|
|
74532
|
+
pathname: "/",
|
|
74533
|
+
method: "POST",
|
|
74534
|
+
authType: "AK",
|
|
74535
|
+
style: "RPC",
|
|
74536
|
+
reqBodyType: "formData",
|
|
74537
|
+
bodyType: "json",
|
|
74538
|
+
});
|
|
74539
|
+
return $tea.cast<ModifyAssetCleanConfigResponse>(await this.callApi(params, req, runtime), new ModifyAssetCleanConfigResponse({}));
|
|
74540
|
+
}
|
|
74541
|
+
|
|
74542
|
+
async modifyAssetCleanConfig(request: ModifyAssetCleanConfigRequest): Promise<ModifyAssetCleanConfigResponse> {
|
|
74543
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
74544
|
+
return await this.modifyAssetCleanConfigWithOptions(request, runtime);
|
|
74545
|
+
}
|
|
74546
|
+
|
|
73727
74547
|
/**
|
|
73728
74548
|
* You can call the ModifyAssetGroup operation to change the server group to which one or more servers belong. After you create a server group by calling the [CreateOrUpdateAssetGroup](~~CreateOrUpdateAssetGroup~~) operation, you can call the ModifyAssetGroup operation to change the server group to which your servers belong.
|
|
73729
74549
|
* ### Limits
|
|
@@ -77680,6 +78500,39 @@ export default class Client extends OpenApi {
|
|
|
77680
78500
|
return await this.uninstallBackupClientWithOptions(request, runtime);
|
|
77681
78501
|
}
|
|
77682
78502
|
|
|
78503
|
+
async uninstallRaspAttachWithOptions(request: UninstallRaspAttachRequest, runtime: $Util.RuntimeOptions): Promise<UninstallRaspAttachResponse> {
|
|
78504
|
+
Util.validateModel(request);
|
|
78505
|
+
let query = { };
|
|
78506
|
+
if (!Util.isUnset(request.applicationId)) {
|
|
78507
|
+
query["ApplicationId"] = request.applicationId;
|
|
78508
|
+
}
|
|
78509
|
+
|
|
78510
|
+
if (!Util.isUnset(request.ecsUUIDList)) {
|
|
78511
|
+
query["EcsUUIDList"] = request.ecsUUIDList;
|
|
78512
|
+
}
|
|
78513
|
+
|
|
78514
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
78515
|
+
query: OpenApiUtil.query(query),
|
|
78516
|
+
});
|
|
78517
|
+
let params = new $OpenApi.Params({
|
|
78518
|
+
action: "UninstallRaspAttach",
|
|
78519
|
+
version: "2018-12-03",
|
|
78520
|
+
protocol: "HTTPS",
|
|
78521
|
+
pathname: "/",
|
|
78522
|
+
method: "POST",
|
|
78523
|
+
authType: "AK",
|
|
78524
|
+
style: "RPC",
|
|
78525
|
+
reqBodyType: "formData",
|
|
78526
|
+
bodyType: "json",
|
|
78527
|
+
});
|
|
78528
|
+
return $tea.cast<UninstallRaspAttachResponse>(await this.callApi(params, req, runtime), new UninstallRaspAttachResponse({}));
|
|
78529
|
+
}
|
|
78530
|
+
|
|
78531
|
+
async uninstallRaspAttach(request: UninstallRaspAttachRequest): Promise<UninstallRaspAttachResponse> {
|
|
78532
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
78533
|
+
return await this.uninstallRaspAttachWithOptions(request, runtime);
|
|
78534
|
+
}
|
|
78535
|
+
|
|
77683
78536
|
async uninstallUniBackupAgentWithOptions(request: UninstallUniBackupAgentRequest, runtime: $Util.RuntimeOptions): Promise<UninstallUniBackupAgentResponse> {
|
|
77684
78537
|
Util.validateModel(request);
|
|
77685
78538
|
let query = { };
|