@alicloud/cloudfw20171207 1.1.8 → 1.2.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 +123 -52
- package/dist/client.js +290 -125
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +389 -158
package/dist/client.js
CHANGED
|
@@ -353,78 +353,6 @@ class CreateVpcFirewallCenConfigureResponse extends $tea.Model {
|
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
exports.CreateVpcFirewallCenConfigureResponse = CreateVpcFirewallCenConfigureResponse;
|
|
356
|
-
class CreateVpcFirewallConfigureRequest extends $tea.Model {
|
|
357
|
-
constructor(map) {
|
|
358
|
-
super(map);
|
|
359
|
-
}
|
|
360
|
-
static names() {
|
|
361
|
-
return {
|
|
362
|
-
firewallSwitch: 'FirewallSwitch',
|
|
363
|
-
lang: 'Lang',
|
|
364
|
-
localVpcCidrTableList: 'LocalVpcCidrTableList',
|
|
365
|
-
localVpcId: 'LocalVpcId',
|
|
366
|
-
localVpcRegion: 'LocalVpcRegion',
|
|
367
|
-
memberUid: 'MemberUid',
|
|
368
|
-
peerVpcCidrTableList: 'PeerVpcCidrTableList',
|
|
369
|
-
peerVpcId: 'PeerVpcId',
|
|
370
|
-
peerVpcRegion: 'PeerVpcRegion',
|
|
371
|
-
vpcFirewallName: 'VpcFirewallName',
|
|
372
|
-
};
|
|
373
|
-
}
|
|
374
|
-
static types() {
|
|
375
|
-
return {
|
|
376
|
-
firewallSwitch: 'string',
|
|
377
|
-
lang: 'string',
|
|
378
|
-
localVpcCidrTableList: 'string',
|
|
379
|
-
localVpcId: 'string',
|
|
380
|
-
localVpcRegion: 'string',
|
|
381
|
-
memberUid: 'string',
|
|
382
|
-
peerVpcCidrTableList: 'string',
|
|
383
|
-
peerVpcId: 'string',
|
|
384
|
-
peerVpcRegion: 'string',
|
|
385
|
-
vpcFirewallName: 'string',
|
|
386
|
-
};
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
exports.CreateVpcFirewallConfigureRequest = CreateVpcFirewallConfigureRequest;
|
|
390
|
-
class CreateVpcFirewallConfigureResponseBody extends $tea.Model {
|
|
391
|
-
constructor(map) {
|
|
392
|
-
super(map);
|
|
393
|
-
}
|
|
394
|
-
static names() {
|
|
395
|
-
return {
|
|
396
|
-
requestId: 'RequestId',
|
|
397
|
-
vpcFirewallId: 'VpcFirewallId',
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
static types() {
|
|
401
|
-
return {
|
|
402
|
-
requestId: 'string',
|
|
403
|
-
vpcFirewallId: 'string',
|
|
404
|
-
};
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
exports.CreateVpcFirewallConfigureResponseBody = CreateVpcFirewallConfigureResponseBody;
|
|
408
|
-
class CreateVpcFirewallConfigureResponse extends $tea.Model {
|
|
409
|
-
constructor(map) {
|
|
410
|
-
super(map);
|
|
411
|
-
}
|
|
412
|
-
static names() {
|
|
413
|
-
return {
|
|
414
|
-
headers: 'headers',
|
|
415
|
-
statusCode: 'statusCode',
|
|
416
|
-
body: 'body',
|
|
417
|
-
};
|
|
418
|
-
}
|
|
419
|
-
static types() {
|
|
420
|
-
return {
|
|
421
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
422
|
-
statusCode: 'number',
|
|
423
|
-
body: CreateVpcFirewallConfigureResponseBody,
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
exports.CreateVpcFirewallConfigureResponse = CreateVpcFirewallConfigureResponse;
|
|
428
356
|
class CreateVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
429
357
|
constructor(map) {
|
|
430
358
|
super(map);
|
|
@@ -1296,6 +1224,7 @@ class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
1296
1224
|
static names() {
|
|
1297
1225
|
return {
|
|
1298
1226
|
applicationName: 'ApplicationName',
|
|
1227
|
+
categoryId: 'CategoryId',
|
|
1299
1228
|
currentPage: 'CurrentPage',
|
|
1300
1229
|
dstIP: 'DstIP',
|
|
1301
1230
|
endTime: 'EndTime',
|
|
@@ -1307,11 +1236,13 @@ class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
1307
1236
|
publicIP: 'PublicIP',
|
|
1308
1237
|
sort: 'Sort',
|
|
1309
1238
|
startTime: 'StartTime',
|
|
1239
|
+
tagIdNew: 'TagIdNew',
|
|
1310
1240
|
};
|
|
1311
1241
|
}
|
|
1312
1242
|
static types() {
|
|
1313
1243
|
return {
|
|
1314
1244
|
applicationName: 'string',
|
|
1245
|
+
categoryId: 'string',
|
|
1315
1246
|
currentPage: 'string',
|
|
1316
1247
|
dstIP: 'string',
|
|
1317
1248
|
endTime: 'string',
|
|
@@ -1323,6 +1254,7 @@ class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
1323
1254
|
publicIP: 'string',
|
|
1324
1255
|
sort: 'string',
|
|
1325
1256
|
startTime: 'string',
|
|
1257
|
+
tagIdNew: 'string',
|
|
1326
1258
|
};
|
|
1327
1259
|
}
|
|
1328
1260
|
}
|
|
@@ -1373,6 +1305,7 @@ class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
1373
1305
|
}
|
|
1374
1306
|
static names() {
|
|
1375
1307
|
return {
|
|
1308
|
+
categoryId: 'CategoryId',
|
|
1376
1309
|
currentPage: 'CurrentPage',
|
|
1377
1310
|
domain: 'Domain',
|
|
1378
1311
|
endTime: 'EndTime',
|
|
@@ -1382,10 +1315,12 @@ class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
1382
1315
|
publicIP: 'PublicIP',
|
|
1383
1316
|
sort: 'Sort',
|
|
1384
1317
|
startTime: 'StartTime',
|
|
1318
|
+
tagIdNew: 'TagIdNew',
|
|
1385
1319
|
};
|
|
1386
1320
|
}
|
|
1387
1321
|
static types() {
|
|
1388
1322
|
return {
|
|
1323
|
+
categoryId: 'string',
|
|
1389
1324
|
currentPage: 'string',
|
|
1390
1325
|
domain: 'string',
|
|
1391
1326
|
endTime: 'string',
|
|
@@ -1395,6 +1330,7 @@ class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
1395
1330
|
publicIP: 'string',
|
|
1396
1331
|
sort: 'string',
|
|
1397
1332
|
startTime: 'string',
|
|
1333
|
+
tagIdNew: 'string',
|
|
1398
1334
|
};
|
|
1399
1335
|
}
|
|
1400
1336
|
}
|
|
@@ -2103,6 +2039,7 @@ class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
|
|
|
2103
2039
|
connectType: 'ConnectType',
|
|
2104
2040
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2105
2041
|
localVpc: 'LocalVpc',
|
|
2042
|
+
memberUid: 'MemberUid',
|
|
2106
2043
|
peerVpc: 'PeerVpc',
|
|
2107
2044
|
requestId: 'RequestId',
|
|
2108
2045
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -2115,6 +2052,7 @@ class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
|
|
|
2115
2052
|
connectType: 'string',
|
|
2116
2053
|
firewallSwitchStatus: 'string',
|
|
2117
2054
|
localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
|
|
2055
|
+
memberUid: 'string',
|
|
2118
2056
|
peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
|
|
2119
2057
|
requestId: 'string',
|
|
2120
2058
|
vpcFirewallId: 'string',
|
|
@@ -2149,11 +2087,13 @@ class DescribeVpcFirewallListRequest extends $tea.Model {
|
|
|
2149
2087
|
}
|
|
2150
2088
|
static names() {
|
|
2151
2089
|
return {
|
|
2090
|
+
connectSubType: 'ConnectSubType',
|
|
2152
2091
|
currentPage: 'CurrentPage',
|
|
2153
2092
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2154
2093
|
lang: 'Lang',
|
|
2155
2094
|
memberUid: 'MemberUid',
|
|
2156
2095
|
pageSize: 'PageSize',
|
|
2096
|
+
peerUid: 'PeerUid',
|
|
2157
2097
|
regionNo: 'RegionNo',
|
|
2158
2098
|
vpcFirewallId: 'VpcFirewallId',
|
|
2159
2099
|
vpcFirewallName: 'VpcFirewallName',
|
|
@@ -2162,11 +2102,13 @@ class DescribeVpcFirewallListRequest extends $tea.Model {
|
|
|
2162
2102
|
}
|
|
2163
2103
|
static types() {
|
|
2164
2104
|
return {
|
|
2105
|
+
connectSubType: 'string',
|
|
2165
2106
|
currentPage: 'string',
|
|
2166
2107
|
firewallSwitchStatus: 'string',
|
|
2167
2108
|
lang: 'string',
|
|
2168
2109
|
memberUid: 'string',
|
|
2169
2110
|
pageSize: 'string',
|
|
2111
|
+
peerUid: 'string',
|
|
2170
2112
|
regionNo: 'string',
|
|
2171
2113
|
vpcFirewallId: 'string',
|
|
2172
2114
|
vpcFirewallName: 'string',
|
|
@@ -2273,6 +2215,94 @@ class DescribeVpcFirewallPolicyPriorUsedResponse extends $tea.Model {
|
|
|
2273
2215
|
}
|
|
2274
2216
|
}
|
|
2275
2217
|
exports.DescribeVpcFirewallPolicyPriorUsedResponse = DescribeVpcFirewallPolicyPriorUsedResponse;
|
|
2218
|
+
class DescribeVulnerabilityProtectedListRequest extends $tea.Model {
|
|
2219
|
+
constructor(map) {
|
|
2220
|
+
super(map);
|
|
2221
|
+
}
|
|
2222
|
+
static names() {
|
|
2223
|
+
return {
|
|
2224
|
+
attackType: 'AttackType',
|
|
2225
|
+
buyVersion: 'BuyVersion',
|
|
2226
|
+
currentPage: 'CurrentPage',
|
|
2227
|
+
endTime: 'EndTime',
|
|
2228
|
+
lang: 'Lang',
|
|
2229
|
+
order: 'Order',
|
|
2230
|
+
pageSize: 'PageSize',
|
|
2231
|
+
sortKey: 'SortKey',
|
|
2232
|
+
sourceIp: 'SourceIp',
|
|
2233
|
+
startTime: 'StartTime',
|
|
2234
|
+
userType: 'UserType',
|
|
2235
|
+
vulnCveName: 'VulnCveName',
|
|
2236
|
+
vulnLevel: 'VulnLevel',
|
|
2237
|
+
vulnResource: 'VulnResource',
|
|
2238
|
+
vulnStatus: 'VulnStatus',
|
|
2239
|
+
vulnType: 'VulnType',
|
|
2240
|
+
};
|
|
2241
|
+
}
|
|
2242
|
+
static types() {
|
|
2243
|
+
return {
|
|
2244
|
+
attackType: 'string',
|
|
2245
|
+
buyVersion: 'number',
|
|
2246
|
+
currentPage: 'string',
|
|
2247
|
+
endTime: 'string',
|
|
2248
|
+
lang: 'string',
|
|
2249
|
+
order: 'string',
|
|
2250
|
+
pageSize: 'string',
|
|
2251
|
+
sortKey: 'string',
|
|
2252
|
+
sourceIp: 'string',
|
|
2253
|
+
startTime: 'string',
|
|
2254
|
+
userType: 'string',
|
|
2255
|
+
vulnCveName: 'string',
|
|
2256
|
+
vulnLevel: 'string',
|
|
2257
|
+
vulnResource: 'string',
|
|
2258
|
+
vulnStatus: 'string',
|
|
2259
|
+
vulnType: 'string',
|
|
2260
|
+
};
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
exports.DescribeVulnerabilityProtectedListRequest = DescribeVulnerabilityProtectedListRequest;
|
|
2264
|
+
class DescribeVulnerabilityProtectedListResponseBody extends $tea.Model {
|
|
2265
|
+
constructor(map) {
|
|
2266
|
+
super(map);
|
|
2267
|
+
}
|
|
2268
|
+
static names() {
|
|
2269
|
+
return {
|
|
2270
|
+
requestId: 'RequestId',
|
|
2271
|
+
totalCount: 'TotalCount',
|
|
2272
|
+
vulnList: 'VulnList',
|
|
2273
|
+
zeroResourceCount: 'ZeroResourceCount',
|
|
2274
|
+
};
|
|
2275
|
+
}
|
|
2276
|
+
static types() {
|
|
2277
|
+
return {
|
|
2278
|
+
requestId: 'string',
|
|
2279
|
+
totalCount: 'number',
|
|
2280
|
+
vulnList: { 'type': 'array', 'itemType': DescribeVulnerabilityProtectedListResponseBodyVulnList },
|
|
2281
|
+
zeroResourceCount: 'number',
|
|
2282
|
+
};
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
exports.DescribeVulnerabilityProtectedListResponseBody = DescribeVulnerabilityProtectedListResponseBody;
|
|
2286
|
+
class DescribeVulnerabilityProtectedListResponse extends $tea.Model {
|
|
2287
|
+
constructor(map) {
|
|
2288
|
+
super(map);
|
|
2289
|
+
}
|
|
2290
|
+
static names() {
|
|
2291
|
+
return {
|
|
2292
|
+
headers: 'headers',
|
|
2293
|
+
statusCode: 'statusCode',
|
|
2294
|
+
body: 'body',
|
|
2295
|
+
};
|
|
2296
|
+
}
|
|
2297
|
+
static types() {
|
|
2298
|
+
return {
|
|
2299
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2300
|
+
statusCode: 'number',
|
|
2301
|
+
body: DescribeVulnerabilityProtectedListResponseBody,
|
|
2302
|
+
};
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
exports.DescribeVulnerabilityProtectedListResponse = DescribeVulnerabilityProtectedListResponse;
|
|
2276
2306
|
class ModifyAddressBookRequest extends $tea.Model {
|
|
2277
2307
|
constructor(map) {
|
|
2278
2308
|
super(map);
|
|
@@ -3980,6 +4010,7 @@ class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
3980
4010
|
ruleResult: 'RuleResult',
|
|
3981
4011
|
ruleSource: 'RuleSource',
|
|
3982
4012
|
srcIP: 'SrcIP',
|
|
4013
|
+
srcIPTag: 'SrcIPTag',
|
|
3983
4014
|
srcPrivateIPList: 'SrcPrivateIPList',
|
|
3984
4015
|
tag: 'Tag',
|
|
3985
4016
|
vpcDstInfo: 'VpcDstInfo',
|
|
@@ -4006,6 +4037,7 @@ class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
4006
4037
|
ruleResult: 'number',
|
|
4007
4038
|
ruleSource: 'number',
|
|
4008
4039
|
srcIP: 'string',
|
|
4040
|
+
srcIPTag: 'string',
|
|
4009
4041
|
srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
|
|
4010
4042
|
tag: 'string',
|
|
4011
4043
|
vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
|
|
@@ -4290,6 +4322,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4290
4322
|
destPortType: 'DestPortType',
|
|
4291
4323
|
destination: 'Destination',
|
|
4292
4324
|
destinationGroupCidrs: 'DestinationGroupCidrs',
|
|
4325
|
+
destinationGroupType: 'DestinationGroupType',
|
|
4293
4326
|
destinationType: 'DestinationType',
|
|
4294
4327
|
hitTimes: 'HitTimes',
|
|
4295
4328
|
memberUid: 'MemberUid',
|
|
@@ -4298,6 +4331,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4298
4331
|
release: 'Release',
|
|
4299
4332
|
source: 'Source',
|
|
4300
4333
|
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
4334
|
+
sourceGroupType: 'SourceGroupType',
|
|
4301
4335
|
sourceType: 'SourceType',
|
|
4302
4336
|
};
|
|
4303
4337
|
}
|
|
@@ -4314,6 +4348,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4314
4348
|
destPortType: 'string',
|
|
4315
4349
|
destination: 'string',
|
|
4316
4350
|
destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
4351
|
+
destinationGroupType: 'string',
|
|
4317
4352
|
destinationType: 'string',
|
|
4318
4353
|
hitTimes: 'number',
|
|
4319
4354
|
memberUid: 'string',
|
|
@@ -4322,6 +4357,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4322
4357
|
release: 'string',
|
|
4323
4358
|
source: 'string',
|
|
4324
4359
|
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
4360
|
+
sourceGroupType: 'string',
|
|
4325
4361
|
sourceType: 'string',
|
|
4326
4362
|
};
|
|
4327
4363
|
}
|
|
@@ -4606,6 +4642,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4606
4642
|
static names() {
|
|
4607
4643
|
return {
|
|
4608
4644
|
bandwidth: 'Bandwidth',
|
|
4645
|
+
connectSubType: 'ConnectSubType',
|
|
4609
4646
|
connectType: 'ConnectType',
|
|
4610
4647
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
4611
4648
|
ipsConfig: 'IpsConfig',
|
|
@@ -4613,6 +4650,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4613
4650
|
memberUid: 'MemberUid',
|
|
4614
4651
|
peerVpc: 'PeerVpc',
|
|
4615
4652
|
regionStatus: 'RegionStatus',
|
|
4653
|
+
resultCode: 'ResultCode',
|
|
4616
4654
|
vpcFirewallId: 'VpcFirewallId',
|
|
4617
4655
|
vpcFirewallName: 'VpcFirewallName',
|
|
4618
4656
|
};
|
|
@@ -4620,6 +4658,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4620
4658
|
static types() {
|
|
4621
4659
|
return {
|
|
4622
4660
|
bandwidth: 'number',
|
|
4661
|
+
connectSubType: 'string',
|
|
4623
4662
|
connectType: 'string',
|
|
4624
4663
|
firewallSwitchStatus: 'string',
|
|
4625
4664
|
ipsConfig: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig,
|
|
@@ -4627,12 +4666,99 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4627
4666
|
memberUid: 'string',
|
|
4628
4667
|
peerVpc: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc,
|
|
4629
4668
|
regionStatus: 'string',
|
|
4669
|
+
resultCode: 'string',
|
|
4630
4670
|
vpcFirewallId: 'string',
|
|
4631
4671
|
vpcFirewallName: 'string',
|
|
4632
4672
|
};
|
|
4633
4673
|
}
|
|
4634
4674
|
}
|
|
4635
4675
|
exports.DescribeVpcFirewallListResponseBodyVpcFirewalls = DescribeVpcFirewallListResponseBodyVpcFirewalls;
|
|
4676
|
+
class DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList extends $tea.Model {
|
|
4677
|
+
constructor(map) {
|
|
4678
|
+
super(map);
|
|
4679
|
+
}
|
|
4680
|
+
static names() {
|
|
4681
|
+
return {
|
|
4682
|
+
eip: 'Eip',
|
|
4683
|
+
internetIp: 'InternetIp',
|
|
4684
|
+
intranetIp: 'IntranetIp',
|
|
4685
|
+
regionId: 'RegionId',
|
|
4686
|
+
resourceId: 'ResourceId',
|
|
4687
|
+
resourceName: 'ResourceName',
|
|
4688
|
+
resourceType: 'ResourceType',
|
|
4689
|
+
vulnStatus: 'VulnStatus',
|
|
4690
|
+
};
|
|
4691
|
+
}
|
|
4692
|
+
static types() {
|
|
4693
|
+
return {
|
|
4694
|
+
eip: 'string',
|
|
4695
|
+
internetIp: 'string',
|
|
4696
|
+
intranetIp: 'string',
|
|
4697
|
+
regionId: 'string',
|
|
4698
|
+
resourceId: 'string',
|
|
4699
|
+
resourceName: 'string',
|
|
4700
|
+
resourceType: 'string',
|
|
4701
|
+
vulnStatus: 'string',
|
|
4702
|
+
};
|
|
4703
|
+
}
|
|
4704
|
+
}
|
|
4705
|
+
exports.DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList = DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList;
|
|
4706
|
+
class DescribeVulnerabilityProtectedListResponseBodyVulnList extends $tea.Model {
|
|
4707
|
+
constructor(map) {
|
|
4708
|
+
super(map);
|
|
4709
|
+
}
|
|
4710
|
+
static names() {
|
|
4711
|
+
return {
|
|
4712
|
+
attackCnt: 'AttackCnt',
|
|
4713
|
+
attackType: 'AttackType',
|
|
4714
|
+
basicRuleIds: 'BasicRuleIds',
|
|
4715
|
+
cveId: 'CveId',
|
|
4716
|
+
firstTime: 'FirstTime',
|
|
4717
|
+
highlightTag: 'HighlightTag',
|
|
4718
|
+
lastTime: 'LastTime',
|
|
4719
|
+
needOpenBasicRule: 'NeedOpenBasicRule',
|
|
4720
|
+
needOpenBasicRuleUuids: 'NeedOpenBasicRuleUuids',
|
|
4721
|
+
needOpenRunMode: 'NeedOpenRunMode',
|
|
4722
|
+
needOpenVirtualPatche: 'NeedOpenVirtualPatche',
|
|
4723
|
+
needOpenVirtualPatcheUuids: 'NeedOpenVirtualPatcheUuids',
|
|
4724
|
+
needRuleClass: 'NeedRuleClass',
|
|
4725
|
+
resourceCnt: 'ResourceCnt',
|
|
4726
|
+
resourceList: 'ResourceList',
|
|
4727
|
+
virtualPatcheIds: 'VirtualPatcheIds',
|
|
4728
|
+
vulnKey: 'VulnKey',
|
|
4729
|
+
vulnLevel: 'VulnLevel',
|
|
4730
|
+
vulnName: 'VulnName',
|
|
4731
|
+
vulnStatus: 'VulnStatus',
|
|
4732
|
+
vulnType: 'VulnType',
|
|
4733
|
+
};
|
|
4734
|
+
}
|
|
4735
|
+
static types() {
|
|
4736
|
+
return {
|
|
4737
|
+
attackCnt: 'number',
|
|
4738
|
+
attackType: 'number',
|
|
4739
|
+
basicRuleIds: 'string',
|
|
4740
|
+
cveId: 'string',
|
|
4741
|
+
firstTime: 'number',
|
|
4742
|
+
highlightTag: 'number',
|
|
4743
|
+
lastTime: 'number',
|
|
4744
|
+
needOpenBasicRule: 'boolean',
|
|
4745
|
+
needOpenBasicRuleUuids: 'string',
|
|
4746
|
+
needOpenRunMode: 'boolean',
|
|
4747
|
+
needOpenVirtualPatche: 'boolean',
|
|
4748
|
+
needOpenVirtualPatcheUuids: 'string',
|
|
4749
|
+
needRuleClass: 'number',
|
|
4750
|
+
resourceCnt: 'number',
|
|
4751
|
+
resourceList: { 'type': 'array', 'itemType': DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList },
|
|
4752
|
+
virtualPatcheIds: 'string',
|
|
4753
|
+
vulnKey: 'string',
|
|
4754
|
+
vulnLevel: 'string',
|
|
4755
|
+
vulnName: 'string',
|
|
4756
|
+
vulnStatus: 'string',
|
|
4757
|
+
vulnType: 'string',
|
|
4758
|
+
};
|
|
4759
|
+
}
|
|
4760
|
+
}
|
|
4761
|
+
exports.DescribeVulnerabilityProtectedListResponseBodyVulnList = DescribeVulnerabilityProtectedListResponseBodyVulnList;
|
|
4636
4762
|
class ModifyAddressBookRequestTagList extends $tea.Model {
|
|
4637
4763
|
constructor(map) {
|
|
4638
4764
|
super(map);
|
|
@@ -4921,59 +5047,6 @@ class Client extends openapi_client_1.default {
|
|
|
4921
5047
|
let runtime = new $Util.RuntimeOptions({});
|
|
4922
5048
|
return await this.createVpcFirewallCenConfigureWithOptions(request, runtime);
|
|
4923
5049
|
}
|
|
4924
|
-
async createVpcFirewallConfigureWithOptions(request, runtime) {
|
|
4925
|
-
tea_util_1.default.validateModel(request);
|
|
4926
|
-
let query = {};
|
|
4927
|
-
if (!tea_util_1.default.isUnset(request.firewallSwitch)) {
|
|
4928
|
-
query["FirewallSwitch"] = request.firewallSwitch;
|
|
4929
|
-
}
|
|
4930
|
-
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
4931
|
-
query["Lang"] = request.lang;
|
|
4932
|
-
}
|
|
4933
|
-
if (!tea_util_1.default.isUnset(request.localVpcCidrTableList)) {
|
|
4934
|
-
query["LocalVpcCidrTableList"] = request.localVpcCidrTableList;
|
|
4935
|
-
}
|
|
4936
|
-
if (!tea_util_1.default.isUnset(request.localVpcId)) {
|
|
4937
|
-
query["LocalVpcId"] = request.localVpcId;
|
|
4938
|
-
}
|
|
4939
|
-
if (!tea_util_1.default.isUnset(request.localVpcRegion)) {
|
|
4940
|
-
query["LocalVpcRegion"] = request.localVpcRegion;
|
|
4941
|
-
}
|
|
4942
|
-
if (!tea_util_1.default.isUnset(request.memberUid)) {
|
|
4943
|
-
query["MemberUid"] = request.memberUid;
|
|
4944
|
-
}
|
|
4945
|
-
if (!tea_util_1.default.isUnset(request.peerVpcCidrTableList)) {
|
|
4946
|
-
query["PeerVpcCidrTableList"] = request.peerVpcCidrTableList;
|
|
4947
|
-
}
|
|
4948
|
-
if (!tea_util_1.default.isUnset(request.peerVpcId)) {
|
|
4949
|
-
query["PeerVpcId"] = request.peerVpcId;
|
|
4950
|
-
}
|
|
4951
|
-
if (!tea_util_1.default.isUnset(request.peerVpcRegion)) {
|
|
4952
|
-
query["PeerVpcRegion"] = request.peerVpcRegion;
|
|
4953
|
-
}
|
|
4954
|
-
if (!tea_util_1.default.isUnset(request.vpcFirewallName)) {
|
|
4955
|
-
query["VpcFirewallName"] = request.vpcFirewallName;
|
|
4956
|
-
}
|
|
4957
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4958
|
-
query: openapi_util_1.default.query(query),
|
|
4959
|
-
});
|
|
4960
|
-
let params = new $OpenApi.Params({
|
|
4961
|
-
action: "CreateVpcFirewallConfigure",
|
|
4962
|
-
version: "2017-12-07",
|
|
4963
|
-
protocol: "HTTPS",
|
|
4964
|
-
pathname: "/",
|
|
4965
|
-
method: "POST",
|
|
4966
|
-
authType: "AK",
|
|
4967
|
-
style: "RPC",
|
|
4968
|
-
reqBodyType: "formData",
|
|
4969
|
-
bodyType: "json",
|
|
4970
|
-
});
|
|
4971
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateVpcFirewallConfigureResponse({}));
|
|
4972
|
-
}
|
|
4973
|
-
async createVpcFirewallConfigure(request) {
|
|
4974
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4975
|
-
return await this.createVpcFirewallConfigureWithOptions(request, runtime);
|
|
4976
|
-
}
|
|
4977
5050
|
async createVpcFirewallControlPolicyWithOptions(request, runtime) {
|
|
4978
5051
|
tea_util_1.default.validateModel(request);
|
|
4979
5052
|
let query = {};
|
|
@@ -5549,6 +5622,9 @@ class Client extends openapi_client_1.default {
|
|
|
5549
5622
|
if (!tea_util_1.default.isUnset(request.applicationName)) {
|
|
5550
5623
|
query["ApplicationName"] = request.applicationName;
|
|
5551
5624
|
}
|
|
5625
|
+
if (!tea_util_1.default.isUnset(request.categoryId)) {
|
|
5626
|
+
query["CategoryId"] = request.categoryId;
|
|
5627
|
+
}
|
|
5552
5628
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
5553
5629
|
query["CurrentPage"] = request.currentPage;
|
|
5554
5630
|
}
|
|
@@ -5582,6 +5658,9 @@ class Client extends openapi_client_1.default {
|
|
|
5582
5658
|
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
5583
5659
|
query["StartTime"] = request.startTime;
|
|
5584
5660
|
}
|
|
5661
|
+
if (!tea_util_1.default.isUnset(request.tagIdNew)) {
|
|
5662
|
+
query["TagIdNew"] = request.tagIdNew;
|
|
5663
|
+
}
|
|
5585
5664
|
let req = new $OpenApi.OpenApiRequest({
|
|
5586
5665
|
query: openapi_util_1.default.query(query),
|
|
5587
5666
|
});
|
|
@@ -5605,6 +5684,9 @@ class Client extends openapi_client_1.default {
|
|
|
5605
5684
|
async describeOutgoingDomainWithOptions(request, runtime) {
|
|
5606
5685
|
tea_util_1.default.validateModel(request);
|
|
5607
5686
|
let query = {};
|
|
5687
|
+
if (!tea_util_1.default.isUnset(request.categoryId)) {
|
|
5688
|
+
query["CategoryId"] = request.categoryId;
|
|
5689
|
+
}
|
|
5608
5690
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
5609
5691
|
query["CurrentPage"] = request.currentPage;
|
|
5610
5692
|
}
|
|
@@ -5632,6 +5714,9 @@ class Client extends openapi_client_1.default {
|
|
|
5632
5714
|
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
5633
5715
|
query["StartTime"] = request.startTime;
|
|
5634
5716
|
}
|
|
5717
|
+
if (!tea_util_1.default.isUnset(request.tagIdNew)) {
|
|
5718
|
+
query["TagIdNew"] = request.tagIdNew;
|
|
5719
|
+
}
|
|
5635
5720
|
let req = new $OpenApi.OpenApiRequest({
|
|
5636
5721
|
query: openapi_util_1.default.query(query),
|
|
5637
5722
|
});
|
|
@@ -6098,6 +6183,9 @@ class Client extends openapi_client_1.default {
|
|
|
6098
6183
|
async describeVpcFirewallListWithOptions(request, runtime) {
|
|
6099
6184
|
tea_util_1.default.validateModel(request);
|
|
6100
6185
|
let query = {};
|
|
6186
|
+
if (!tea_util_1.default.isUnset(request.connectSubType)) {
|
|
6187
|
+
query["ConnectSubType"] = request.connectSubType;
|
|
6188
|
+
}
|
|
6101
6189
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
6102
6190
|
query["CurrentPage"] = request.currentPage;
|
|
6103
6191
|
}
|
|
@@ -6116,6 +6204,9 @@ class Client extends openapi_client_1.default {
|
|
|
6116
6204
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
6117
6205
|
query["PageSize"] = request.pageSize;
|
|
6118
6206
|
}
|
|
6207
|
+
if (!tea_util_1.default.isUnset(request.peerUid)) {
|
|
6208
|
+
query["PeerUid"] = request.peerUid;
|
|
6209
|
+
}
|
|
6119
6210
|
if (!tea_util_1.default.isUnset(request.regionNo)) {
|
|
6120
6211
|
query["RegionNo"] = request.regionNo;
|
|
6121
6212
|
}
|
|
@@ -6177,6 +6268,80 @@ class Client extends openapi_client_1.default {
|
|
|
6177
6268
|
let runtime = new $Util.RuntimeOptions({});
|
|
6178
6269
|
return await this.describeVpcFirewallPolicyPriorUsedWithOptions(request, runtime);
|
|
6179
6270
|
}
|
|
6271
|
+
async describeVulnerabilityProtectedListWithOptions(request, runtime) {
|
|
6272
|
+
tea_util_1.default.validateModel(request);
|
|
6273
|
+
let query = {};
|
|
6274
|
+
if (!tea_util_1.default.isUnset(request.attackType)) {
|
|
6275
|
+
query["AttackType"] = request.attackType;
|
|
6276
|
+
}
|
|
6277
|
+
if (!tea_util_1.default.isUnset(request.buyVersion)) {
|
|
6278
|
+
query["BuyVersion"] = request.buyVersion;
|
|
6279
|
+
}
|
|
6280
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
6281
|
+
query["CurrentPage"] = request.currentPage;
|
|
6282
|
+
}
|
|
6283
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
6284
|
+
query["EndTime"] = request.endTime;
|
|
6285
|
+
}
|
|
6286
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6287
|
+
query["Lang"] = request.lang;
|
|
6288
|
+
}
|
|
6289
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6290
|
+
query["Lang"] = request.lang;
|
|
6291
|
+
}
|
|
6292
|
+
if (!tea_util_1.default.isUnset(request.order)) {
|
|
6293
|
+
query["Order"] = request.order;
|
|
6294
|
+
}
|
|
6295
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
6296
|
+
query["PageSize"] = request.pageSize;
|
|
6297
|
+
}
|
|
6298
|
+
if (!tea_util_1.default.isUnset(request.sortKey)) {
|
|
6299
|
+
query["SortKey"] = request.sortKey;
|
|
6300
|
+
}
|
|
6301
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
6302
|
+
query["SourceIp"] = request.sourceIp;
|
|
6303
|
+
}
|
|
6304
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
6305
|
+
query["StartTime"] = request.startTime;
|
|
6306
|
+
}
|
|
6307
|
+
if (!tea_util_1.default.isUnset(request.userType)) {
|
|
6308
|
+
query["UserType"] = request.userType;
|
|
6309
|
+
}
|
|
6310
|
+
if (!tea_util_1.default.isUnset(request.vulnCveName)) {
|
|
6311
|
+
query["VulnCveName"] = request.vulnCveName;
|
|
6312
|
+
}
|
|
6313
|
+
if (!tea_util_1.default.isUnset(request.vulnLevel)) {
|
|
6314
|
+
query["VulnLevel"] = request.vulnLevel;
|
|
6315
|
+
}
|
|
6316
|
+
if (!tea_util_1.default.isUnset(request.vulnResource)) {
|
|
6317
|
+
query["VulnResource"] = request.vulnResource;
|
|
6318
|
+
}
|
|
6319
|
+
if (!tea_util_1.default.isUnset(request.vulnStatus)) {
|
|
6320
|
+
query["VulnStatus"] = request.vulnStatus;
|
|
6321
|
+
}
|
|
6322
|
+
if (!tea_util_1.default.isUnset(request.vulnType)) {
|
|
6323
|
+
query["VulnType"] = request.vulnType;
|
|
6324
|
+
}
|
|
6325
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6326
|
+
query: openapi_util_1.default.query(query),
|
|
6327
|
+
});
|
|
6328
|
+
let params = new $OpenApi.Params({
|
|
6329
|
+
action: "DescribeVulnerabilityProtectedList",
|
|
6330
|
+
version: "2017-12-07",
|
|
6331
|
+
protocol: "HTTPS",
|
|
6332
|
+
pathname: "/",
|
|
6333
|
+
method: "POST",
|
|
6334
|
+
authType: "AK",
|
|
6335
|
+
style: "RPC",
|
|
6336
|
+
reqBodyType: "formData",
|
|
6337
|
+
bodyType: "json",
|
|
6338
|
+
});
|
|
6339
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeVulnerabilityProtectedListResponse({}));
|
|
6340
|
+
}
|
|
6341
|
+
async describeVulnerabilityProtectedList(request) {
|
|
6342
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6343
|
+
return await this.describeVulnerabilityProtectedListWithOptions(request, runtime);
|
|
6344
|
+
}
|
|
6180
6345
|
async modifyAddressBookWithOptions(request, runtime) {
|
|
6181
6346
|
tea_util_1.default.validateModel(request);
|
|
6182
6347
|
let query = {};
|