@alicloud/cloudfw20171207 1.3.1 → 1.5.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 +299 -6
- package/dist/client.js +668 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +893 -27
package/dist/client.js
CHANGED
|
@@ -105,14 +105,20 @@ class AddControlPolicyRequest extends $tea.Model {
|
|
|
105
105
|
destination: 'Destination',
|
|
106
106
|
destinationType: 'DestinationType',
|
|
107
107
|
direction: 'Direction',
|
|
108
|
+
endTime: 'EndTime',
|
|
108
109
|
ipVersion: 'IpVersion',
|
|
109
110
|
lang: 'Lang',
|
|
110
111
|
newOrder: 'NewOrder',
|
|
111
112
|
proto: 'Proto',
|
|
112
113
|
release: 'Release',
|
|
114
|
+
repeatDays: 'RepeatDays',
|
|
115
|
+
repeatEndTime: 'RepeatEndTime',
|
|
116
|
+
repeatStartTime: 'RepeatStartTime',
|
|
117
|
+
repeatType: 'RepeatType',
|
|
113
118
|
source: 'Source',
|
|
114
119
|
sourceIp: 'SourceIp',
|
|
115
120
|
sourceType: 'SourceType',
|
|
121
|
+
startTime: 'StartTime',
|
|
116
122
|
};
|
|
117
123
|
}
|
|
118
124
|
static types() {
|
|
@@ -127,14 +133,20 @@ class AddControlPolicyRequest extends $tea.Model {
|
|
|
127
133
|
destination: 'string',
|
|
128
134
|
destinationType: 'string',
|
|
129
135
|
direction: 'string',
|
|
136
|
+
endTime: 'number',
|
|
130
137
|
ipVersion: 'string',
|
|
131
138
|
lang: 'string',
|
|
132
139
|
newOrder: 'string',
|
|
133
140
|
proto: 'string',
|
|
134
141
|
release: 'string',
|
|
142
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
143
|
+
repeatEndTime: 'string',
|
|
144
|
+
repeatStartTime: 'string',
|
|
145
|
+
repeatType: 'string',
|
|
135
146
|
source: 'string',
|
|
136
147
|
sourceIp: 'string',
|
|
137
148
|
sourceType: 'string',
|
|
149
|
+
startTime: 'number',
|
|
138
150
|
};
|
|
139
151
|
}
|
|
140
152
|
}
|
|
@@ -303,14 +315,20 @@ class CreateNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
303
315
|
destinationType: 'DestinationType',
|
|
304
316
|
direction: 'Direction',
|
|
305
317
|
domainResolveType: 'DomainResolveType',
|
|
318
|
+
endTime: 'EndTime',
|
|
306
319
|
ipVersion: 'IpVersion',
|
|
307
320
|
lang: 'Lang',
|
|
308
321
|
natGatewayId: 'NatGatewayId',
|
|
309
322
|
newOrder: 'NewOrder',
|
|
310
323
|
proto: 'Proto',
|
|
311
324
|
release: 'Release',
|
|
325
|
+
repeatDays: 'RepeatDays',
|
|
326
|
+
repeatEndTime: 'RepeatEndTime',
|
|
327
|
+
repeatStartTime: 'RepeatStartTime',
|
|
328
|
+
repeatType: 'RepeatType',
|
|
312
329
|
source: 'Source',
|
|
313
330
|
sourceType: 'SourceType',
|
|
331
|
+
startTime: 'StartTime',
|
|
314
332
|
};
|
|
315
333
|
}
|
|
316
334
|
static types() {
|
|
@@ -325,14 +343,20 @@ class CreateNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
325
343
|
destinationType: 'string',
|
|
326
344
|
direction: 'string',
|
|
327
345
|
domainResolveType: 'number',
|
|
346
|
+
endTime: 'number',
|
|
328
347
|
ipVersion: 'string',
|
|
329
348
|
lang: 'string',
|
|
330
349
|
natGatewayId: 'string',
|
|
331
350
|
newOrder: 'string',
|
|
332
351
|
proto: 'string',
|
|
333
352
|
release: 'string',
|
|
353
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
354
|
+
repeatEndTime: 'string',
|
|
355
|
+
repeatStartTime: 'string',
|
|
356
|
+
repeatType: 'string',
|
|
334
357
|
source: 'string',
|
|
335
358
|
sourceType: 'string',
|
|
359
|
+
startTime: 'number',
|
|
336
360
|
};
|
|
337
361
|
}
|
|
338
362
|
}
|
|
@@ -392,7 +416,9 @@ class CreateTrFirewallV2Request extends $tea.Model {
|
|
|
392
416
|
regionNo: 'RegionNo',
|
|
393
417
|
routeMode: 'RouteMode',
|
|
394
418
|
trAttachmentMasterCidr: 'TrAttachmentMasterCidr',
|
|
419
|
+
trAttachmentMasterZone: 'TrAttachmentMasterZone',
|
|
395
420
|
trAttachmentSlaveCidr: 'TrAttachmentSlaveCidr',
|
|
421
|
+
trAttachmentSlaveZone: 'TrAttachmentSlaveZone',
|
|
396
422
|
transitRouterId: 'TransitRouterId',
|
|
397
423
|
};
|
|
398
424
|
}
|
|
@@ -409,7 +435,9 @@ class CreateTrFirewallV2Request extends $tea.Model {
|
|
|
409
435
|
regionNo: 'string',
|
|
410
436
|
routeMode: 'string',
|
|
411
437
|
trAttachmentMasterCidr: 'string',
|
|
438
|
+
trAttachmentMasterZone: 'string',
|
|
412
439
|
trAttachmentSlaveCidr: 'string',
|
|
440
|
+
trAttachmentSlaveZone: 'string',
|
|
413
441
|
transitRouterId: 'string',
|
|
414
442
|
};
|
|
415
443
|
}
|
|
@@ -701,19 +729,26 @@ class CreateVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
|
701
729
|
return {
|
|
702
730
|
aclAction: 'AclAction',
|
|
703
731
|
applicationName: 'ApplicationName',
|
|
732
|
+
applicationNameList: 'ApplicationNameList',
|
|
704
733
|
description: 'Description',
|
|
705
734
|
destPort: 'DestPort',
|
|
706
735
|
destPortGroup: 'DestPortGroup',
|
|
707
736
|
destPortType: 'DestPortType',
|
|
708
737
|
destination: 'Destination',
|
|
709
738
|
destinationType: 'DestinationType',
|
|
739
|
+
endTime: 'EndTime',
|
|
710
740
|
lang: 'Lang',
|
|
711
741
|
memberUid: 'MemberUid',
|
|
712
742
|
newOrder: 'NewOrder',
|
|
713
743
|
proto: 'Proto',
|
|
714
744
|
release: 'Release',
|
|
745
|
+
repeatDays: 'RepeatDays',
|
|
746
|
+
repeatEndTime: 'RepeatEndTime',
|
|
747
|
+
repeatStartTime: 'RepeatStartTime',
|
|
748
|
+
repeatType: 'RepeatType',
|
|
715
749
|
source: 'Source',
|
|
716
750
|
sourceType: 'SourceType',
|
|
751
|
+
startTime: 'StartTime',
|
|
717
752
|
vpcFirewallId: 'VpcFirewallId',
|
|
718
753
|
};
|
|
719
754
|
}
|
|
@@ -721,19 +756,26 @@ class CreateVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
|
721
756
|
return {
|
|
722
757
|
aclAction: 'string',
|
|
723
758
|
applicationName: 'string',
|
|
759
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
724
760
|
description: 'string',
|
|
725
761
|
destPort: 'string',
|
|
726
762
|
destPortGroup: 'string',
|
|
727
763
|
destPortType: 'string',
|
|
728
764
|
destination: 'string',
|
|
729
765
|
destinationType: 'string',
|
|
766
|
+
endTime: 'number',
|
|
730
767
|
lang: 'string',
|
|
731
768
|
memberUid: 'string',
|
|
732
769
|
newOrder: 'string',
|
|
733
770
|
proto: 'string',
|
|
734
771
|
release: 'string',
|
|
772
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
773
|
+
repeatEndTime: 'string',
|
|
774
|
+
repeatStartTime: 'string',
|
|
775
|
+
repeatType: 'string',
|
|
735
776
|
source: 'string',
|
|
736
777
|
sourceType: 'string',
|
|
778
|
+
startTime: 'number',
|
|
737
779
|
vpcFirewallId: 'string',
|
|
738
780
|
};
|
|
739
781
|
}
|
|
@@ -1279,6 +1321,76 @@ class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
|
|
|
1279
1321
|
}
|
|
1280
1322
|
}
|
|
1281
1323
|
exports.DeleteVpcFirewallControlPolicyResponse = DeleteVpcFirewallControlPolicyResponse;
|
|
1324
|
+
class DescribeACLProtectTrendRequest extends $tea.Model {
|
|
1325
|
+
constructor(map) {
|
|
1326
|
+
super(map);
|
|
1327
|
+
}
|
|
1328
|
+
static names() {
|
|
1329
|
+
return {
|
|
1330
|
+
endTime: 'EndTime',
|
|
1331
|
+
lang: 'Lang',
|
|
1332
|
+
sourceIp: 'SourceIp',
|
|
1333
|
+
startTime: 'StartTime',
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
static types() {
|
|
1337
|
+
return {
|
|
1338
|
+
endTime: 'string',
|
|
1339
|
+
lang: 'string',
|
|
1340
|
+
sourceIp: 'string',
|
|
1341
|
+
startTime: 'string',
|
|
1342
|
+
};
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
exports.DescribeACLProtectTrendRequest = DescribeACLProtectTrendRequest;
|
|
1346
|
+
class DescribeACLProtectTrendResponseBody extends $tea.Model {
|
|
1347
|
+
constructor(map) {
|
|
1348
|
+
super(map);
|
|
1349
|
+
}
|
|
1350
|
+
static names() {
|
|
1351
|
+
return {
|
|
1352
|
+
inProtectCnt: 'InProtectCnt',
|
|
1353
|
+
interVPCProtectCnt: 'InterVPCProtectCnt',
|
|
1354
|
+
interval: 'Interval',
|
|
1355
|
+
outProtectCnt: 'OutProtectCnt',
|
|
1356
|
+
requestId: 'RequestId',
|
|
1357
|
+
totalProtectCnt: 'TotalProtectCnt',
|
|
1358
|
+
trendList: 'TrendList',
|
|
1359
|
+
};
|
|
1360
|
+
}
|
|
1361
|
+
static types() {
|
|
1362
|
+
return {
|
|
1363
|
+
inProtectCnt: 'number',
|
|
1364
|
+
interVPCProtectCnt: 'number',
|
|
1365
|
+
interval: 'number',
|
|
1366
|
+
outProtectCnt: 'number',
|
|
1367
|
+
requestId: 'string',
|
|
1368
|
+
totalProtectCnt: 'number',
|
|
1369
|
+
trendList: { 'type': 'array', 'itemType': DescribeACLProtectTrendResponseBodyTrendList },
|
|
1370
|
+
};
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
exports.DescribeACLProtectTrendResponseBody = DescribeACLProtectTrendResponseBody;
|
|
1374
|
+
class DescribeACLProtectTrendResponse extends $tea.Model {
|
|
1375
|
+
constructor(map) {
|
|
1376
|
+
super(map);
|
|
1377
|
+
}
|
|
1378
|
+
static names() {
|
|
1379
|
+
return {
|
|
1380
|
+
headers: 'headers',
|
|
1381
|
+
statusCode: 'statusCode',
|
|
1382
|
+
body: 'body',
|
|
1383
|
+
};
|
|
1384
|
+
}
|
|
1385
|
+
static types() {
|
|
1386
|
+
return {
|
|
1387
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1388
|
+
statusCode: 'number',
|
|
1389
|
+
body: DescribeACLProtectTrendResponseBody,
|
|
1390
|
+
};
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
exports.DescribeACLProtectTrendResponse = DescribeACLProtectTrendResponse;
|
|
1282
1394
|
class DescribeAddressBookRequest extends $tea.Model {
|
|
1283
1395
|
constructor(map) {
|
|
1284
1396
|
super(map);
|
|
@@ -1446,6 +1558,7 @@ class DescribeControlPolicyRequest extends $tea.Model {
|
|
|
1446
1558
|
pageSize: 'PageSize',
|
|
1447
1559
|
proto: 'Proto',
|
|
1448
1560
|
release: 'Release',
|
|
1561
|
+
repeatType: 'RepeatType',
|
|
1449
1562
|
source: 'Source',
|
|
1450
1563
|
};
|
|
1451
1564
|
}
|
|
@@ -1462,6 +1575,7 @@ class DescribeControlPolicyRequest extends $tea.Model {
|
|
|
1462
1575
|
pageSize: 'string',
|
|
1463
1576
|
proto: 'string',
|
|
1464
1577
|
release: 'string',
|
|
1578
|
+
repeatType: 'string',
|
|
1465
1579
|
source: 'string',
|
|
1466
1580
|
};
|
|
1467
1581
|
}
|
|
@@ -1705,6 +1819,86 @@ class DescribeInstanceMembersResponse extends $tea.Model {
|
|
|
1705
1819
|
}
|
|
1706
1820
|
}
|
|
1707
1821
|
exports.DescribeInstanceMembersResponse = DescribeInstanceMembersResponse;
|
|
1822
|
+
class DescribeInternetOpenIpRequest extends $tea.Model {
|
|
1823
|
+
constructor(map) {
|
|
1824
|
+
super(map);
|
|
1825
|
+
}
|
|
1826
|
+
static names() {
|
|
1827
|
+
return {
|
|
1828
|
+
assetsInstanceId: 'AssetsInstanceId',
|
|
1829
|
+
assetsInstanceName: 'AssetsInstanceName',
|
|
1830
|
+
assetsType: 'AssetsType',
|
|
1831
|
+
currentPage: 'CurrentPage',
|
|
1832
|
+
endTime: 'EndTime',
|
|
1833
|
+
lang: 'Lang',
|
|
1834
|
+
pageSize: 'PageSize',
|
|
1835
|
+
port: 'Port',
|
|
1836
|
+
publicIp: 'PublicIp',
|
|
1837
|
+
regionNo: 'RegionNo',
|
|
1838
|
+
riskLevel: 'RiskLevel',
|
|
1839
|
+
serviceName: 'ServiceName',
|
|
1840
|
+
startTime: 'StartTime',
|
|
1841
|
+
};
|
|
1842
|
+
}
|
|
1843
|
+
static types() {
|
|
1844
|
+
return {
|
|
1845
|
+
assetsInstanceId: 'string',
|
|
1846
|
+
assetsInstanceName: 'string',
|
|
1847
|
+
assetsType: 'string',
|
|
1848
|
+
currentPage: 'string',
|
|
1849
|
+
endTime: 'string',
|
|
1850
|
+
lang: 'string',
|
|
1851
|
+
pageSize: 'string',
|
|
1852
|
+
port: 'string',
|
|
1853
|
+
publicIp: 'string',
|
|
1854
|
+
regionNo: 'string',
|
|
1855
|
+
riskLevel: 'string',
|
|
1856
|
+
serviceName: 'string',
|
|
1857
|
+
startTime: 'string',
|
|
1858
|
+
};
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
exports.DescribeInternetOpenIpRequest = DescribeInternetOpenIpRequest;
|
|
1862
|
+
class DescribeInternetOpenIpResponseBody extends $tea.Model {
|
|
1863
|
+
constructor(map) {
|
|
1864
|
+
super(map);
|
|
1865
|
+
}
|
|
1866
|
+
static names() {
|
|
1867
|
+
return {
|
|
1868
|
+
dataList: 'DataList',
|
|
1869
|
+
pageInfo: 'PageInfo',
|
|
1870
|
+
requestId: 'RequestId',
|
|
1871
|
+
};
|
|
1872
|
+
}
|
|
1873
|
+
static types() {
|
|
1874
|
+
return {
|
|
1875
|
+
dataList: { 'type': 'array', 'itemType': DescribeInternetOpenIpResponseBodyDataList },
|
|
1876
|
+
pageInfo: DescribeInternetOpenIpResponseBodyPageInfo,
|
|
1877
|
+
requestId: 'string',
|
|
1878
|
+
};
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
exports.DescribeInternetOpenIpResponseBody = DescribeInternetOpenIpResponseBody;
|
|
1882
|
+
class DescribeInternetOpenIpResponse extends $tea.Model {
|
|
1883
|
+
constructor(map) {
|
|
1884
|
+
super(map);
|
|
1885
|
+
}
|
|
1886
|
+
static names() {
|
|
1887
|
+
return {
|
|
1888
|
+
headers: 'headers',
|
|
1889
|
+
statusCode: 'statusCode',
|
|
1890
|
+
body: 'body',
|
|
1891
|
+
};
|
|
1892
|
+
}
|
|
1893
|
+
static types() {
|
|
1894
|
+
return {
|
|
1895
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1896
|
+
statusCode: 'number',
|
|
1897
|
+
body: DescribeInternetOpenIpResponseBody,
|
|
1898
|
+
};
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
exports.DescribeInternetOpenIpResponse = DescribeInternetOpenIpResponse;
|
|
1708
1902
|
class DescribeInternetTrafficTrendRequest extends $tea.Model {
|
|
1709
1903
|
constructor(map) {
|
|
1710
1904
|
super(map);
|
|
@@ -1910,6 +2104,7 @@ class DescribeNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
1910
2104
|
pageSize: 'PageSize',
|
|
1911
2105
|
proto: 'Proto',
|
|
1912
2106
|
release: 'Release',
|
|
2107
|
+
repeatType: 'RepeatType',
|
|
1913
2108
|
source: 'Source',
|
|
1914
2109
|
};
|
|
1915
2110
|
}
|
|
@@ -1926,6 +2121,7 @@ class DescribeNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
1926
2121
|
pageSize: 'string',
|
|
1927
2122
|
proto: 'string',
|
|
1928
2123
|
release: 'string',
|
|
2124
|
+
repeatType: 'string',
|
|
1929
2125
|
source: 'string',
|
|
1930
2126
|
};
|
|
1931
2127
|
}
|
|
@@ -3199,6 +3395,7 @@ class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
|
3199
3395
|
pageSize: 'PageSize',
|
|
3200
3396
|
proto: 'Proto',
|
|
3201
3397
|
release: 'Release',
|
|
3398
|
+
repeatType: 'RepeatType',
|
|
3202
3399
|
source: 'Source',
|
|
3203
3400
|
vpcFirewallId: 'VpcFirewallId',
|
|
3204
3401
|
};
|
|
@@ -3215,6 +3412,7 @@ class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
|
3215
3412
|
pageSize: 'string',
|
|
3216
3413
|
proto: 'string',
|
|
3217
3414
|
release: 'string',
|
|
3415
|
+
repeatType: 'string',
|
|
3218
3416
|
source: 'string',
|
|
3219
3417
|
vpcFirewallId: 'string',
|
|
3220
3418
|
};
|
|
@@ -3704,11 +3902,17 @@ class ModifyControlPolicyRequest extends $tea.Model {
|
|
|
3704
3902
|
destination: 'Destination',
|
|
3705
3903
|
destinationType: 'DestinationType',
|
|
3706
3904
|
direction: 'Direction',
|
|
3905
|
+
endTime: 'EndTime',
|
|
3707
3906
|
lang: 'Lang',
|
|
3708
3907
|
proto: 'Proto',
|
|
3709
3908
|
release: 'Release',
|
|
3909
|
+
repeatDays: 'RepeatDays',
|
|
3910
|
+
repeatEndTime: 'RepeatEndTime',
|
|
3911
|
+
repeatStartTime: 'RepeatStartTime',
|
|
3912
|
+
repeatType: 'RepeatType',
|
|
3710
3913
|
source: 'Source',
|
|
3711
3914
|
sourceType: 'SourceType',
|
|
3915
|
+
startTime: 'StartTime',
|
|
3712
3916
|
};
|
|
3713
3917
|
}
|
|
3714
3918
|
static types() {
|
|
@@ -3724,11 +3928,17 @@ class ModifyControlPolicyRequest extends $tea.Model {
|
|
|
3724
3928
|
destination: 'string',
|
|
3725
3929
|
destinationType: 'string',
|
|
3726
3930
|
direction: 'string',
|
|
3931
|
+
endTime: 'number',
|
|
3727
3932
|
lang: 'string',
|
|
3728
3933
|
proto: 'string',
|
|
3729
3934
|
release: 'string',
|
|
3935
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
3936
|
+
repeatEndTime: 'string',
|
|
3937
|
+
repeatStartTime: 'string',
|
|
3938
|
+
repeatType: 'string',
|
|
3730
3939
|
source: 'string',
|
|
3731
3940
|
sourceType: 'string',
|
|
3941
|
+
startTime: 'number',
|
|
3732
3942
|
};
|
|
3733
3943
|
}
|
|
3734
3944
|
}
|
|
@@ -4027,12 +4237,18 @@ class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
4027
4237
|
destination: 'Destination',
|
|
4028
4238
|
destinationType: 'DestinationType',
|
|
4029
4239
|
domainResolveType: 'DomainResolveType',
|
|
4240
|
+
endTime: 'EndTime',
|
|
4030
4241
|
lang: 'Lang',
|
|
4031
4242
|
natGatewayId: 'NatGatewayId',
|
|
4032
4243
|
proto: 'Proto',
|
|
4033
4244
|
release: 'Release',
|
|
4245
|
+
repeatDays: 'RepeatDays',
|
|
4246
|
+
repeatEndTime: 'RepeatEndTime',
|
|
4247
|
+
repeatStartTime: 'RepeatStartTime',
|
|
4248
|
+
repeatType: 'RepeatType',
|
|
4034
4249
|
source: 'Source',
|
|
4035
4250
|
sourceType: 'SourceType',
|
|
4251
|
+
startTime: 'StartTime',
|
|
4036
4252
|
};
|
|
4037
4253
|
}
|
|
4038
4254
|
static types() {
|
|
@@ -4047,12 +4263,18 @@ class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
|
|
|
4047
4263
|
destination: 'string',
|
|
4048
4264
|
destinationType: 'string',
|
|
4049
4265
|
domainResolveType: 'string',
|
|
4266
|
+
endTime: 'number',
|
|
4050
4267
|
lang: 'string',
|
|
4051
4268
|
natGatewayId: 'string',
|
|
4052
4269
|
proto: 'string',
|
|
4053
4270
|
release: 'string',
|
|
4271
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
4272
|
+
repeatEndTime: 'string',
|
|
4273
|
+
repeatStartTime: 'string',
|
|
4274
|
+
repeatType: 'string',
|
|
4054
4275
|
source: 'string',
|
|
4055
4276
|
sourceType: 'string',
|
|
4277
|
+
startTime: 'number',
|
|
4056
4278
|
};
|
|
4057
4279
|
}
|
|
4058
4280
|
}
|
|
@@ -4600,17 +4822,24 @@ class ModifyVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
|
4600
4822
|
aclAction: 'AclAction',
|
|
4601
4823
|
aclUuid: 'AclUuid',
|
|
4602
4824
|
applicationName: 'ApplicationName',
|
|
4825
|
+
applicationNameList: 'ApplicationNameList',
|
|
4603
4826
|
description: 'Description',
|
|
4604
4827
|
destPort: 'DestPort',
|
|
4605
4828
|
destPortGroup: 'DestPortGroup',
|
|
4606
4829
|
destPortType: 'DestPortType',
|
|
4607
4830
|
destination: 'Destination',
|
|
4608
4831
|
destinationType: 'DestinationType',
|
|
4832
|
+
endTime: 'EndTime',
|
|
4609
4833
|
lang: 'Lang',
|
|
4610
4834
|
proto: 'Proto',
|
|
4611
4835
|
release: 'Release',
|
|
4836
|
+
repeatDays: 'RepeatDays',
|
|
4837
|
+
repeatEndTime: 'RepeatEndTime',
|
|
4838
|
+
repeatStartTime: 'RepeatStartTime',
|
|
4839
|
+
repeatType: 'RepeatType',
|
|
4612
4840
|
source: 'Source',
|
|
4613
4841
|
sourceType: 'SourceType',
|
|
4842
|
+
startTime: 'StartTime',
|
|
4614
4843
|
vpcFirewallId: 'VpcFirewallId',
|
|
4615
4844
|
};
|
|
4616
4845
|
}
|
|
@@ -4619,17 +4848,24 @@ class ModifyVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
|
4619
4848
|
aclAction: 'string',
|
|
4620
4849
|
aclUuid: 'string',
|
|
4621
4850
|
applicationName: 'string',
|
|
4851
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
4622
4852
|
description: 'string',
|
|
4623
4853
|
destPort: 'string',
|
|
4624
4854
|
destPortGroup: 'string',
|
|
4625
4855
|
destPortType: 'string',
|
|
4626
4856
|
destination: 'string',
|
|
4627
4857
|
destinationType: 'string',
|
|
4858
|
+
endTime: 'number',
|
|
4628
4859
|
lang: 'string',
|
|
4629
4860
|
proto: 'string',
|
|
4630
4861
|
release: 'string',
|
|
4862
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
4863
|
+
repeatEndTime: 'string',
|
|
4864
|
+
repeatStartTime: 'string',
|
|
4865
|
+
repeatType: 'string',
|
|
4631
4866
|
source: 'string',
|
|
4632
4867
|
sourceType: 'string',
|
|
4868
|
+
startTime: 'number',
|
|
4633
4869
|
vpcFirewallId: 'string',
|
|
4634
4870
|
};
|
|
4635
4871
|
}
|
|
@@ -5213,6 +5449,24 @@ class CreateTrFirewallV2RoutePolicyRequestSrcCandidateList extends $tea.Model {
|
|
|
5213
5449
|
}
|
|
5214
5450
|
}
|
|
5215
5451
|
exports.CreateTrFirewallV2RoutePolicyRequestSrcCandidateList = CreateTrFirewallV2RoutePolicyRequestSrcCandidateList;
|
|
5452
|
+
class DescribeACLProtectTrendResponseBodyTrendList extends $tea.Model {
|
|
5453
|
+
constructor(map) {
|
|
5454
|
+
super(map);
|
|
5455
|
+
}
|
|
5456
|
+
static names() {
|
|
5457
|
+
return {
|
|
5458
|
+
protectCnt: 'ProtectCnt',
|
|
5459
|
+
time: 'Time',
|
|
5460
|
+
};
|
|
5461
|
+
}
|
|
5462
|
+
static types() {
|
|
5463
|
+
return {
|
|
5464
|
+
protectCnt: 'number',
|
|
5465
|
+
time: 'number',
|
|
5466
|
+
};
|
|
5467
|
+
}
|
|
5468
|
+
}
|
|
5469
|
+
exports.DescribeACLProtectTrendResponseBodyTrendList = DescribeACLProtectTrendResponseBodyTrendList;
|
|
5216
5470
|
class DescribeAddressBookResponseBodyAclsTagList extends $tea.Model {
|
|
5217
5471
|
constructor(map) {
|
|
5218
5472
|
super(map);
|
|
@@ -5345,6 +5599,7 @@ class DescribeControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
5345
5599
|
direction: 'Direction',
|
|
5346
5600
|
dnsResult: 'DnsResult',
|
|
5347
5601
|
dnsResultTime: 'DnsResultTime',
|
|
5602
|
+
endTime: 'EndTime',
|
|
5348
5603
|
hitLastTime: 'HitLastTime',
|
|
5349
5604
|
hitTimes: 'HitTimes',
|
|
5350
5605
|
ipVersion: 'IpVersion',
|
|
@@ -5352,11 +5607,16 @@ class DescribeControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
5352
5607
|
order: 'Order',
|
|
5353
5608
|
proto: 'Proto',
|
|
5354
5609
|
release: 'Release',
|
|
5610
|
+
repeatDays: 'RepeatDays',
|
|
5611
|
+
repeatEndTime: 'RepeatEndTime',
|
|
5612
|
+
repeatStartTime: 'RepeatStartTime',
|
|
5613
|
+
repeatType: 'RepeatType',
|
|
5355
5614
|
source: 'Source',
|
|
5356
5615
|
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
5357
5616
|
sourceGroupType: 'SourceGroupType',
|
|
5358
5617
|
sourceType: 'SourceType',
|
|
5359
5618
|
spreadCnt: 'SpreadCnt',
|
|
5619
|
+
startTime: 'StartTime',
|
|
5360
5620
|
};
|
|
5361
5621
|
}
|
|
5362
5622
|
static types() {
|
|
@@ -5379,6 +5639,7 @@ class DescribeControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
5379
5639
|
direction: 'string',
|
|
5380
5640
|
dnsResult: 'string',
|
|
5381
5641
|
dnsResultTime: 'number',
|
|
5642
|
+
endTime: 'number',
|
|
5382
5643
|
hitLastTime: 'number',
|
|
5383
5644
|
hitTimes: 'number',
|
|
5384
5645
|
ipVersion: 'number',
|
|
@@ -5386,11 +5647,16 @@ class DescribeControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
5386
5647
|
order: 'number',
|
|
5387
5648
|
proto: 'string',
|
|
5388
5649
|
release: 'string',
|
|
5650
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
5651
|
+
repeatEndTime: 'string',
|
|
5652
|
+
repeatStartTime: 'string',
|
|
5653
|
+
repeatType: 'string',
|
|
5389
5654
|
source: 'string',
|
|
5390
5655
|
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
5391
5656
|
sourceGroupType: 'string',
|
|
5392
5657
|
sourceType: 'string',
|
|
5393
5658
|
spreadCnt: 'number',
|
|
5659
|
+
startTime: 'number',
|
|
5394
5660
|
};
|
|
5395
5661
|
}
|
|
5396
5662
|
}
|
|
@@ -5459,6 +5725,70 @@ class DescribeInstanceMembersResponseBodyPageInfo extends $tea.Model {
|
|
|
5459
5725
|
}
|
|
5460
5726
|
}
|
|
5461
5727
|
exports.DescribeInstanceMembersResponseBodyPageInfo = DescribeInstanceMembersResponseBodyPageInfo;
|
|
5728
|
+
class DescribeInternetOpenIpResponseBodyDataList extends $tea.Model {
|
|
5729
|
+
constructor(map) {
|
|
5730
|
+
super(map);
|
|
5731
|
+
}
|
|
5732
|
+
static names() {
|
|
5733
|
+
return {
|
|
5734
|
+
aclRecommendDetail: 'AclRecommendDetail',
|
|
5735
|
+
assetsInstanceId: 'AssetsInstanceId',
|
|
5736
|
+
assetsName: 'AssetsName',
|
|
5737
|
+
assetsType: 'AssetsType',
|
|
5738
|
+
detailNum: 'DetailNum',
|
|
5739
|
+
hasAclRecommend: 'HasAclRecommend',
|
|
5740
|
+
portList: 'PortList',
|
|
5741
|
+
publicIp: 'PublicIp',
|
|
5742
|
+
regionNo: 'RegionNo',
|
|
5743
|
+
riskLevel: 'RiskLevel',
|
|
5744
|
+
riskReason: 'RiskReason',
|
|
5745
|
+
serviceNameList: 'ServiceNameList',
|
|
5746
|
+
trafficPercent1Day: 'TrafficPercent1Day',
|
|
5747
|
+
trafficPercent30Day: 'TrafficPercent30Day',
|
|
5748
|
+
trafficPercent7Day: 'TrafficPercent7Day',
|
|
5749
|
+
};
|
|
5750
|
+
}
|
|
5751
|
+
static types() {
|
|
5752
|
+
return {
|
|
5753
|
+
aclRecommendDetail: 'string',
|
|
5754
|
+
assetsInstanceId: 'string',
|
|
5755
|
+
assetsName: 'string',
|
|
5756
|
+
assetsType: 'string',
|
|
5757
|
+
detailNum: 'number',
|
|
5758
|
+
hasAclRecommend: 'boolean',
|
|
5759
|
+
portList: { 'type': 'array', 'itemType': 'string' },
|
|
5760
|
+
publicIp: 'string',
|
|
5761
|
+
regionNo: 'string',
|
|
5762
|
+
riskLevel: 'number',
|
|
5763
|
+
riskReason: 'string',
|
|
5764
|
+
serviceNameList: { 'type': 'array', 'itemType': 'string' },
|
|
5765
|
+
trafficPercent1Day: 'string',
|
|
5766
|
+
trafficPercent30Day: 'string',
|
|
5767
|
+
trafficPercent7Day: 'string',
|
|
5768
|
+
};
|
|
5769
|
+
}
|
|
5770
|
+
}
|
|
5771
|
+
exports.DescribeInternetOpenIpResponseBodyDataList = DescribeInternetOpenIpResponseBodyDataList;
|
|
5772
|
+
class DescribeInternetOpenIpResponseBodyPageInfo extends $tea.Model {
|
|
5773
|
+
constructor(map) {
|
|
5774
|
+
super(map);
|
|
5775
|
+
}
|
|
5776
|
+
static names() {
|
|
5777
|
+
return {
|
|
5778
|
+
currentPage: 'CurrentPage',
|
|
5779
|
+
pageSize: 'PageSize',
|
|
5780
|
+
totalCount: 'TotalCount',
|
|
5781
|
+
};
|
|
5782
|
+
}
|
|
5783
|
+
static types() {
|
|
5784
|
+
return {
|
|
5785
|
+
currentPage: 'number',
|
|
5786
|
+
pageSize: 'number',
|
|
5787
|
+
totalCount: 'number',
|
|
5788
|
+
};
|
|
5789
|
+
}
|
|
5790
|
+
}
|
|
5791
|
+
exports.DescribeInternetOpenIpResponseBodyPageInfo = DescribeInternetOpenIpResponseBodyPageInfo;
|
|
5462
5792
|
class DescribeInternetTrafficTrendResponseBodyDataList extends $tea.Model {
|
|
5463
5793
|
constructor(map) {
|
|
5464
5794
|
super(map);
|
|
@@ -5474,6 +5804,7 @@ class DescribeInternetTrafficTrendResponseBodyDataList extends $tea.Model {
|
|
|
5474
5804
|
outPps: 'OutPps',
|
|
5475
5805
|
sessionCount: 'SessionCount',
|
|
5476
5806
|
time: 'Time',
|
|
5807
|
+
totalBps: 'TotalBps',
|
|
5477
5808
|
};
|
|
5478
5809
|
}
|
|
5479
5810
|
static types() {
|
|
@@ -5487,6 +5818,7 @@ class DescribeInternetTrafficTrendResponseBodyDataList extends $tea.Model {
|
|
|
5487
5818
|
outPps: 'number',
|
|
5488
5819
|
sessionCount: 'number',
|
|
5489
5820
|
time: 'number',
|
|
5821
|
+
totalBps: 'number',
|
|
5490
5822
|
};
|
|
5491
5823
|
}
|
|
5492
5824
|
}
|
|
@@ -5579,6 +5911,7 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
5579
5911
|
dnsResult: 'DnsResult',
|
|
5580
5912
|
dnsResultTime: 'DnsResultTime',
|
|
5581
5913
|
domainResolveType: 'DomainResolveType',
|
|
5914
|
+
endTime: 'EndTime',
|
|
5582
5915
|
hitLastTime: 'HitLastTime',
|
|
5583
5916
|
hitTimes: 'HitTimes',
|
|
5584
5917
|
modifyTime: 'ModifyTime',
|
|
@@ -5586,11 +5919,16 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
5586
5919
|
order: 'Order',
|
|
5587
5920
|
proto: 'Proto',
|
|
5588
5921
|
release: 'Release',
|
|
5922
|
+
repeatDays: 'RepeatDays',
|
|
5923
|
+
repeatEndTime: 'RepeatEndTime',
|
|
5924
|
+
repeatStartTime: 'RepeatStartTime',
|
|
5925
|
+
repeatType: 'RepeatType',
|
|
5589
5926
|
source: 'Source',
|
|
5590
5927
|
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
5591
5928
|
sourceGroupType: 'SourceGroupType',
|
|
5592
5929
|
sourceType: 'SourceType',
|
|
5593
5930
|
spreadCnt: 'SpreadCnt',
|
|
5931
|
+
startTime: 'StartTime',
|
|
5594
5932
|
};
|
|
5595
5933
|
}
|
|
5596
5934
|
static types() {
|
|
@@ -5611,6 +5949,7 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
5611
5949
|
dnsResult: 'string',
|
|
5612
5950
|
dnsResultTime: 'number',
|
|
5613
5951
|
domainResolveType: 'number',
|
|
5952
|
+
endTime: 'number',
|
|
5614
5953
|
hitLastTime: 'number',
|
|
5615
5954
|
hitTimes: 'number',
|
|
5616
5955
|
modifyTime: 'number',
|
|
@@ -5618,11 +5957,16 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
5618
5957
|
order: 'number',
|
|
5619
5958
|
proto: 'string',
|
|
5620
5959
|
release: 'string',
|
|
5960
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
5961
|
+
repeatEndTime: 'string',
|
|
5962
|
+
repeatStartTime: 'string',
|
|
5963
|
+
repeatType: 'string',
|
|
5621
5964
|
source: 'string',
|
|
5622
5965
|
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
5623
5966
|
sourceGroupType: 'string',
|
|
5624
5967
|
sourceType: 'string',
|
|
5625
5968
|
spreadCnt: 'string',
|
|
5969
|
+
startTime: 'number',
|
|
5626
5970
|
};
|
|
5627
5971
|
}
|
|
5628
5972
|
}
|
|
@@ -6261,6 +6605,7 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model
|
|
|
6261
6605
|
return {
|
|
6262
6606
|
aclGroupId: 'AclGroupId',
|
|
6263
6607
|
aclGroupName: 'AclGroupName',
|
|
6608
|
+
aclRuleCount: 'AclRuleCount',
|
|
6264
6609
|
memberUid: 'MemberUid',
|
|
6265
6610
|
};
|
|
6266
6611
|
}
|
|
@@ -6268,6 +6613,7 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model
|
|
|
6268
6613
|
return {
|
|
6269
6614
|
aclGroupId: 'string',
|
|
6270
6615
|
aclGroupName: 'string',
|
|
6616
|
+
aclRuleCount: 'number',
|
|
6271
6617
|
memberUid: 'string',
|
|
6272
6618
|
};
|
|
6273
6619
|
}
|
|
@@ -6549,6 +6895,8 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
6549
6895
|
aclUuid: 'AclUuid',
|
|
6550
6896
|
applicationId: 'ApplicationId',
|
|
6551
6897
|
applicationName: 'ApplicationName',
|
|
6898
|
+
applicationNameList: 'ApplicationNameList',
|
|
6899
|
+
createTime: 'CreateTime',
|
|
6552
6900
|
description: 'Description',
|
|
6553
6901
|
destPort: 'DestPort',
|
|
6554
6902
|
destPortGroup: 'DestPortGroup',
|
|
@@ -6558,15 +6906,24 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
6558
6906
|
destinationGroupCidrs: 'DestinationGroupCidrs',
|
|
6559
6907
|
destinationGroupType: 'DestinationGroupType',
|
|
6560
6908
|
destinationType: 'DestinationType',
|
|
6909
|
+
endTime: 'EndTime',
|
|
6910
|
+
hitLastTime: 'HitLastTime',
|
|
6561
6911
|
hitTimes: 'HitTimes',
|
|
6562
6912
|
memberUid: 'MemberUid',
|
|
6913
|
+
modifyTime: 'ModifyTime',
|
|
6563
6914
|
order: 'Order',
|
|
6564
6915
|
proto: 'Proto',
|
|
6565
6916
|
release: 'Release',
|
|
6917
|
+
repeatDays: 'RepeatDays',
|
|
6918
|
+
repeatEndTime: 'RepeatEndTime',
|
|
6919
|
+
repeatStartTime: 'RepeatStartTime',
|
|
6920
|
+
repeatType: 'RepeatType',
|
|
6566
6921
|
source: 'Source',
|
|
6567
6922
|
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
6568
6923
|
sourceGroupType: 'SourceGroupType',
|
|
6569
6924
|
sourceType: 'SourceType',
|
|
6925
|
+
spreadCnt: 'SpreadCnt',
|
|
6926
|
+
startTime: 'StartTime',
|
|
6570
6927
|
};
|
|
6571
6928
|
}
|
|
6572
6929
|
static types() {
|
|
@@ -6575,6 +6932,8 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
6575
6932
|
aclUuid: 'string',
|
|
6576
6933
|
applicationId: 'string',
|
|
6577
6934
|
applicationName: 'string',
|
|
6935
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
6936
|
+
createTime: 'number',
|
|
6578
6937
|
description: 'string',
|
|
6579
6938
|
destPort: 'string',
|
|
6580
6939
|
destPortGroup: 'string',
|
|
@@ -6584,15 +6943,24 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
6584
6943
|
destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
6585
6944
|
destinationGroupType: 'string',
|
|
6586
6945
|
destinationType: 'string',
|
|
6946
|
+
endTime: 'number',
|
|
6947
|
+
hitLastTime: 'number',
|
|
6587
6948
|
hitTimes: 'number',
|
|
6588
6949
|
memberUid: 'string',
|
|
6950
|
+
modifyTime: 'number',
|
|
6589
6951
|
order: 'number',
|
|
6590
6952
|
proto: 'string',
|
|
6591
6953
|
release: 'string',
|
|
6954
|
+
repeatDays: { 'type': 'array', 'itemType': 'number' },
|
|
6955
|
+
repeatEndTime: 'string',
|
|
6956
|
+
repeatStartTime: 'string',
|
|
6957
|
+
repeatType: 'string',
|
|
6592
6958
|
source: 'string',
|
|
6593
6959
|
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
6594
6960
|
sourceGroupType: 'string',
|
|
6595
6961
|
sourceType: 'string',
|
|
6962
|
+
spreadCnt: 'number',
|
|
6963
|
+
startTime: 'number',
|
|
6596
6964
|
};
|
|
6597
6965
|
}
|
|
6598
6966
|
}
|
|
@@ -7216,6 +7584,9 @@ class Client extends openapi_client_1.default {
|
|
|
7216
7584
|
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
7217
7585
|
query["Direction"] = request.direction;
|
|
7218
7586
|
}
|
|
7587
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
7588
|
+
query["EndTime"] = request.endTime;
|
|
7589
|
+
}
|
|
7219
7590
|
if (!tea_util_1.default.isUnset(request.ipVersion)) {
|
|
7220
7591
|
query["IpVersion"] = request.ipVersion;
|
|
7221
7592
|
}
|
|
@@ -7231,6 +7602,18 @@ class Client extends openapi_client_1.default {
|
|
|
7231
7602
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
7232
7603
|
query["Release"] = request.release;
|
|
7233
7604
|
}
|
|
7605
|
+
if (!tea_util_1.default.isUnset(request.repeatDays)) {
|
|
7606
|
+
query["RepeatDays"] = request.repeatDays;
|
|
7607
|
+
}
|
|
7608
|
+
if (!tea_util_1.default.isUnset(request.repeatEndTime)) {
|
|
7609
|
+
query["RepeatEndTime"] = request.repeatEndTime;
|
|
7610
|
+
}
|
|
7611
|
+
if (!tea_util_1.default.isUnset(request.repeatStartTime)) {
|
|
7612
|
+
query["RepeatStartTime"] = request.repeatStartTime;
|
|
7613
|
+
}
|
|
7614
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
7615
|
+
query["RepeatType"] = request.repeatType;
|
|
7616
|
+
}
|
|
7234
7617
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
7235
7618
|
query["Source"] = request.source;
|
|
7236
7619
|
}
|
|
@@ -7240,6 +7623,9 @@ class Client extends openapi_client_1.default {
|
|
|
7240
7623
|
if (!tea_util_1.default.isUnset(request.sourceType)) {
|
|
7241
7624
|
query["SourceType"] = request.sourceType;
|
|
7242
7625
|
}
|
|
7626
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
7627
|
+
query["StartTime"] = request.startTime;
|
|
7628
|
+
}
|
|
7243
7629
|
let req = new $OpenApi.OpenApiRequest({
|
|
7244
7630
|
query: openapi_util_1.default.query(query),
|
|
7245
7631
|
});
|
|
@@ -7369,6 +7755,13 @@ class Client extends openapi_client_1.default {
|
|
|
7369
7755
|
let runtime = new $Util.RuntimeOptions({});
|
|
7370
7756
|
return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
7371
7757
|
}
|
|
7758
|
+
/**
|
|
7759
|
+
* You can use this operation to create an access control policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
7760
|
+
*
|
|
7761
|
+
* @param request CreateNatFirewallControlPolicyRequest
|
|
7762
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7763
|
+
* @return CreateNatFirewallControlPolicyResponse
|
|
7764
|
+
*/
|
|
7372
7765
|
async createNatFirewallControlPolicyWithOptions(request, runtime) {
|
|
7373
7766
|
tea_util_1.default.validateModel(request);
|
|
7374
7767
|
let query = {};
|
|
@@ -7402,6 +7795,9 @@ class Client extends openapi_client_1.default {
|
|
|
7402
7795
|
if (!tea_util_1.default.isUnset(request.domainResolveType)) {
|
|
7403
7796
|
query["DomainResolveType"] = request.domainResolveType;
|
|
7404
7797
|
}
|
|
7798
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
7799
|
+
query["EndTime"] = request.endTime;
|
|
7800
|
+
}
|
|
7405
7801
|
if (!tea_util_1.default.isUnset(request.ipVersion)) {
|
|
7406
7802
|
query["IpVersion"] = request.ipVersion;
|
|
7407
7803
|
}
|
|
@@ -7420,12 +7816,27 @@ class Client extends openapi_client_1.default {
|
|
|
7420
7816
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
7421
7817
|
query["Release"] = request.release;
|
|
7422
7818
|
}
|
|
7819
|
+
if (!tea_util_1.default.isUnset(request.repeatDays)) {
|
|
7820
|
+
query["RepeatDays"] = request.repeatDays;
|
|
7821
|
+
}
|
|
7822
|
+
if (!tea_util_1.default.isUnset(request.repeatEndTime)) {
|
|
7823
|
+
query["RepeatEndTime"] = request.repeatEndTime;
|
|
7824
|
+
}
|
|
7825
|
+
if (!tea_util_1.default.isUnset(request.repeatStartTime)) {
|
|
7826
|
+
query["RepeatStartTime"] = request.repeatStartTime;
|
|
7827
|
+
}
|
|
7828
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
7829
|
+
query["RepeatType"] = request.repeatType;
|
|
7830
|
+
}
|
|
7423
7831
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
7424
7832
|
query["Source"] = request.source;
|
|
7425
7833
|
}
|
|
7426
7834
|
if (!tea_util_1.default.isUnset(request.sourceType)) {
|
|
7427
7835
|
query["SourceType"] = request.sourceType;
|
|
7428
7836
|
}
|
|
7837
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
7838
|
+
query["StartTime"] = request.startTime;
|
|
7839
|
+
}
|
|
7429
7840
|
let req = new $OpenApi.OpenApiRequest({
|
|
7430
7841
|
query: openapi_util_1.default.query(query),
|
|
7431
7842
|
});
|
|
@@ -7442,6 +7853,12 @@ class Client extends openapi_client_1.default {
|
|
|
7442
7853
|
});
|
|
7443
7854
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateNatFirewallControlPolicyResponse({}));
|
|
7444
7855
|
}
|
|
7856
|
+
/**
|
|
7857
|
+
* You can use this operation to create an access control policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
7858
|
+
*
|
|
7859
|
+
* @param request CreateNatFirewallControlPolicyRequest
|
|
7860
|
+
* @return CreateNatFirewallControlPolicyResponse
|
|
7861
|
+
*/
|
|
7445
7862
|
async createNatFirewallControlPolicy(request) {
|
|
7446
7863
|
let runtime = new $Util.RuntimeOptions({});
|
|
7447
7864
|
return await this.createNatFirewallControlPolicyWithOptions(request, runtime);
|
|
@@ -7482,9 +7899,15 @@ class Client extends openapi_client_1.default {
|
|
|
7482
7899
|
if (!tea_util_1.default.isUnset(request.trAttachmentMasterCidr)) {
|
|
7483
7900
|
query["TrAttachmentMasterCidr"] = request.trAttachmentMasterCidr;
|
|
7484
7901
|
}
|
|
7902
|
+
if (!tea_util_1.default.isUnset(request.trAttachmentMasterZone)) {
|
|
7903
|
+
query["TrAttachmentMasterZone"] = request.trAttachmentMasterZone;
|
|
7904
|
+
}
|
|
7485
7905
|
if (!tea_util_1.default.isUnset(request.trAttachmentSlaveCidr)) {
|
|
7486
7906
|
query["TrAttachmentSlaveCidr"] = request.trAttachmentSlaveCidr;
|
|
7487
7907
|
}
|
|
7908
|
+
if (!tea_util_1.default.isUnset(request.trAttachmentSlaveZone)) {
|
|
7909
|
+
query["TrAttachmentSlaveZone"] = request.trAttachmentSlaveZone;
|
|
7910
|
+
}
|
|
7488
7911
|
if (!tea_util_1.default.isUnset(request.transitRouterId)) {
|
|
7489
7912
|
query["TransitRouterId"] = request.transitRouterId;
|
|
7490
7913
|
}
|
|
@@ -7721,6 +8144,9 @@ class Client extends openapi_client_1.default {
|
|
|
7721
8144
|
if (!tea_util_1.default.isUnset(request.applicationName)) {
|
|
7722
8145
|
query["ApplicationName"] = request.applicationName;
|
|
7723
8146
|
}
|
|
8147
|
+
if (!tea_util_1.default.isUnset(request.applicationNameList)) {
|
|
8148
|
+
query["ApplicationNameList"] = request.applicationNameList;
|
|
8149
|
+
}
|
|
7724
8150
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
7725
8151
|
query["Description"] = request.description;
|
|
7726
8152
|
}
|
|
@@ -7739,6 +8165,9 @@ class Client extends openapi_client_1.default {
|
|
|
7739
8165
|
if (!tea_util_1.default.isUnset(request.destinationType)) {
|
|
7740
8166
|
query["DestinationType"] = request.destinationType;
|
|
7741
8167
|
}
|
|
8168
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
8169
|
+
query["EndTime"] = request.endTime;
|
|
8170
|
+
}
|
|
7742
8171
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7743
8172
|
query["Lang"] = request.lang;
|
|
7744
8173
|
}
|
|
@@ -7754,12 +8183,27 @@ class Client extends openapi_client_1.default {
|
|
|
7754
8183
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
7755
8184
|
query["Release"] = request.release;
|
|
7756
8185
|
}
|
|
8186
|
+
if (!tea_util_1.default.isUnset(request.repeatDays)) {
|
|
8187
|
+
query["RepeatDays"] = request.repeatDays;
|
|
8188
|
+
}
|
|
8189
|
+
if (!tea_util_1.default.isUnset(request.repeatEndTime)) {
|
|
8190
|
+
query["RepeatEndTime"] = request.repeatEndTime;
|
|
8191
|
+
}
|
|
8192
|
+
if (!tea_util_1.default.isUnset(request.repeatStartTime)) {
|
|
8193
|
+
query["RepeatStartTime"] = request.repeatStartTime;
|
|
8194
|
+
}
|
|
8195
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
8196
|
+
query["RepeatType"] = request.repeatType;
|
|
8197
|
+
}
|
|
7757
8198
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
7758
8199
|
query["Source"] = request.source;
|
|
7759
8200
|
}
|
|
7760
8201
|
if (!tea_util_1.default.isUnset(request.sourceType)) {
|
|
7761
8202
|
query["SourceType"] = request.sourceType;
|
|
7762
8203
|
}
|
|
8204
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
8205
|
+
query["StartTime"] = request.startTime;
|
|
8206
|
+
}
|
|
7763
8207
|
if (!tea_util_1.default.isUnset(request.vpcFirewallId)) {
|
|
7764
8208
|
query["VpcFirewallId"] = request.vpcFirewallId;
|
|
7765
8209
|
}
|
|
@@ -7967,6 +8411,13 @@ class Client extends openapi_client_1.default {
|
|
|
7967
8411
|
let runtime = new $Util.RuntimeOptions({});
|
|
7968
8412
|
return await this.deleteInstanceMembersWithOptions(request, runtime);
|
|
7969
8413
|
}
|
|
8414
|
+
/**
|
|
8415
|
+
* You can use this operation to delete an outbound access control policy that is created for a NAT firewall.
|
|
8416
|
+
*
|
|
8417
|
+
* @param request DeleteNatFirewallControlPolicyRequest
|
|
8418
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8419
|
+
* @return DeleteNatFirewallControlPolicyResponse
|
|
8420
|
+
*/
|
|
7970
8421
|
async deleteNatFirewallControlPolicyWithOptions(request, runtime) {
|
|
7971
8422
|
tea_util_1.default.validateModel(request);
|
|
7972
8423
|
let query = {};
|
|
@@ -7998,6 +8449,12 @@ class Client extends openapi_client_1.default {
|
|
|
7998
8449
|
});
|
|
7999
8450
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteNatFirewallControlPolicyResponse({}));
|
|
8000
8451
|
}
|
|
8452
|
+
/**
|
|
8453
|
+
* You can use this operation to delete an outbound access control policy that is created for a NAT firewall.
|
|
8454
|
+
*
|
|
8455
|
+
* @param request DeleteNatFirewallControlPolicyRequest
|
|
8456
|
+
* @return DeleteNatFirewallControlPolicyResponse
|
|
8457
|
+
*/
|
|
8001
8458
|
async deleteNatFirewallControlPolicy(request) {
|
|
8002
8459
|
let runtime = new $Util.RuntimeOptions({});
|
|
8003
8460
|
return await this.deleteNatFirewallControlPolicyWithOptions(request, runtime);
|
|
@@ -8178,6 +8635,44 @@ class Client extends openapi_client_1.default {
|
|
|
8178
8635
|
let runtime = new $Util.RuntimeOptions({});
|
|
8179
8636
|
return await this.deleteVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
8180
8637
|
}
|
|
8638
|
+
async describeACLProtectTrendWithOptions(request, runtime) {
|
|
8639
|
+
tea_util_1.default.validateModel(request);
|
|
8640
|
+
let query = {};
|
|
8641
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
8642
|
+
query["EndTime"] = request.endTime;
|
|
8643
|
+
}
|
|
8644
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8645
|
+
query["Lang"] = request.lang;
|
|
8646
|
+
}
|
|
8647
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8648
|
+
query["Lang"] = request.lang;
|
|
8649
|
+
}
|
|
8650
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
8651
|
+
query["SourceIp"] = request.sourceIp;
|
|
8652
|
+
}
|
|
8653
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
8654
|
+
query["StartTime"] = request.startTime;
|
|
8655
|
+
}
|
|
8656
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8657
|
+
query: openapi_util_1.default.query(query),
|
|
8658
|
+
});
|
|
8659
|
+
let params = new $OpenApi.Params({
|
|
8660
|
+
action: "DescribeACLProtectTrend",
|
|
8661
|
+
version: "2017-12-07",
|
|
8662
|
+
protocol: "HTTPS",
|
|
8663
|
+
pathname: "/",
|
|
8664
|
+
method: "POST",
|
|
8665
|
+
authType: "AK",
|
|
8666
|
+
style: "RPC",
|
|
8667
|
+
reqBodyType: "formData",
|
|
8668
|
+
bodyType: "json",
|
|
8669
|
+
});
|
|
8670
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeACLProtectTrendResponse({}));
|
|
8671
|
+
}
|
|
8672
|
+
async describeACLProtectTrend(request) {
|
|
8673
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8674
|
+
return await this.describeACLProtectTrendWithOptions(request, runtime);
|
|
8675
|
+
}
|
|
8181
8676
|
/**
|
|
8182
8677
|
* You can call the DescribeAddressBook operation to query the details about an address book for an access control policy.
|
|
8183
8678
|
* ## Limits
|
|
@@ -8363,6 +8858,9 @@ class Client extends openapi_client_1.default {
|
|
|
8363
8858
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
8364
8859
|
query["Release"] = request.release;
|
|
8365
8860
|
}
|
|
8861
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
8862
|
+
query["RepeatType"] = request.repeatType;
|
|
8863
|
+
}
|
|
8366
8864
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
8367
8865
|
query["Source"] = request.source;
|
|
8368
8866
|
}
|
|
@@ -8424,7 +8922,7 @@ class Client extends openapi_client_1.default {
|
|
|
8424
8922
|
return await this.describeDefaultIPSConfigWithOptions(request, runtime);
|
|
8425
8923
|
}
|
|
8426
8924
|
/**
|
|
8427
|
-
* You can
|
|
8925
|
+
* You can use this operation to query the DNS record of a domain name. This operation can retrieve DNS records only from Alibaba Cloud DNS. Before you can call this operation, make sure that your domain name is hosted on Alibaba Cloud DNS.
|
|
8428
8926
|
* ## Limits
|
|
8429
8927
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8430
8928
|
*
|
|
@@ -8467,7 +8965,7 @@ class Client extends openapi_client_1.default {
|
|
|
8467
8965
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDomainResolveResponse({}));
|
|
8468
8966
|
}
|
|
8469
8967
|
/**
|
|
8470
|
-
* You can
|
|
8968
|
+
* You can use this operation to query the DNS record of a domain name. This operation can retrieve DNS records only from Alibaba Cloud DNS. Before you can call this operation, make sure that your domain name is hosted on Alibaba Cloud DNS.
|
|
8471
8969
|
* ## Limits
|
|
8472
8970
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8473
8971
|
*
|
|
@@ -8479,7 +8977,7 @@ class Client extends openapi_client_1.default {
|
|
|
8479
8977
|
return await this.describeDomainResolveWithOptions(request, runtime);
|
|
8480
8978
|
}
|
|
8481
8979
|
/**
|
|
8482
|
-
* You can
|
|
8980
|
+
* You can use this operation to query the information about members in Cloud Firewall.
|
|
8483
8981
|
* ## Limits
|
|
8484
8982
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8485
8983
|
*
|
|
@@ -8522,7 +9020,7 @@ class Client extends openapi_client_1.default {
|
|
|
8522
9020
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceMembersResponse({}));
|
|
8523
9021
|
}
|
|
8524
9022
|
/**
|
|
8525
|
-
* You can
|
|
9023
|
+
* You can use this operation to query the information about members in Cloud Firewall.
|
|
8526
9024
|
* ## Limits
|
|
8527
9025
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8528
9026
|
*
|
|
@@ -8533,6 +9031,68 @@ class Client extends openapi_client_1.default {
|
|
|
8533
9031
|
let runtime = new $Util.RuntimeOptions({});
|
|
8534
9032
|
return await this.describeInstanceMembersWithOptions(request, runtime);
|
|
8535
9033
|
}
|
|
9034
|
+
async describeInternetOpenIpWithOptions(request, runtime) {
|
|
9035
|
+
tea_util_1.default.validateModel(request);
|
|
9036
|
+
let query = {};
|
|
9037
|
+
if (!tea_util_1.default.isUnset(request.assetsInstanceId)) {
|
|
9038
|
+
query["AssetsInstanceId"] = request.assetsInstanceId;
|
|
9039
|
+
}
|
|
9040
|
+
if (!tea_util_1.default.isUnset(request.assetsInstanceName)) {
|
|
9041
|
+
query["AssetsInstanceName"] = request.assetsInstanceName;
|
|
9042
|
+
}
|
|
9043
|
+
if (!tea_util_1.default.isUnset(request.assetsType)) {
|
|
9044
|
+
query["AssetsType"] = request.assetsType;
|
|
9045
|
+
}
|
|
9046
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
9047
|
+
query["CurrentPage"] = request.currentPage;
|
|
9048
|
+
}
|
|
9049
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
9050
|
+
query["EndTime"] = request.endTime;
|
|
9051
|
+
}
|
|
9052
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
9053
|
+
query["Lang"] = request.lang;
|
|
9054
|
+
}
|
|
9055
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
9056
|
+
query["PageSize"] = request.pageSize;
|
|
9057
|
+
}
|
|
9058
|
+
if (!tea_util_1.default.isUnset(request.port)) {
|
|
9059
|
+
query["Port"] = request.port;
|
|
9060
|
+
}
|
|
9061
|
+
if (!tea_util_1.default.isUnset(request.publicIp)) {
|
|
9062
|
+
query["PublicIp"] = request.publicIp;
|
|
9063
|
+
}
|
|
9064
|
+
if (!tea_util_1.default.isUnset(request.regionNo)) {
|
|
9065
|
+
query["RegionNo"] = request.regionNo;
|
|
9066
|
+
}
|
|
9067
|
+
if (!tea_util_1.default.isUnset(request.riskLevel)) {
|
|
9068
|
+
query["RiskLevel"] = request.riskLevel;
|
|
9069
|
+
}
|
|
9070
|
+
if (!tea_util_1.default.isUnset(request.serviceName)) {
|
|
9071
|
+
query["ServiceName"] = request.serviceName;
|
|
9072
|
+
}
|
|
9073
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
9074
|
+
query["StartTime"] = request.startTime;
|
|
9075
|
+
}
|
|
9076
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9077
|
+
query: openapi_util_1.default.query(query),
|
|
9078
|
+
});
|
|
9079
|
+
let params = new $OpenApi.Params({
|
|
9080
|
+
action: "DescribeInternetOpenIp",
|
|
9081
|
+
version: "2017-12-07",
|
|
9082
|
+
protocol: "HTTPS",
|
|
9083
|
+
pathname: "/",
|
|
9084
|
+
method: "POST",
|
|
9085
|
+
authType: "AK",
|
|
9086
|
+
style: "RPC",
|
|
9087
|
+
reqBodyType: "formData",
|
|
9088
|
+
bodyType: "json",
|
|
9089
|
+
});
|
|
9090
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInternetOpenIpResponse({}));
|
|
9091
|
+
}
|
|
9092
|
+
async describeInternetOpenIp(request) {
|
|
9093
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9094
|
+
return await this.describeInternetOpenIpWithOptions(request, runtime);
|
|
9095
|
+
}
|
|
8536
9096
|
async describeInternetTrafficTrendWithOptions(request, runtime) {
|
|
8537
9097
|
tea_util_1.default.validateModel(request);
|
|
8538
9098
|
let query = {};
|
|
@@ -8657,6 +9217,13 @@ class Client extends openapi_client_1.default {
|
|
|
8657
9217
|
let runtime = new $Util.RuntimeOptions({});
|
|
8658
9218
|
return await this.describeInvadeEventListWithOptions(request, runtime);
|
|
8659
9219
|
}
|
|
9220
|
+
/**
|
|
9221
|
+
* You can use this operation to query the information about all access control policies that are created for NAT firewalls by page.
|
|
9222
|
+
*
|
|
9223
|
+
* @param request DescribeNatFirewallControlPolicyRequest
|
|
9224
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9225
|
+
* @return DescribeNatFirewallControlPolicyResponse
|
|
9226
|
+
*/
|
|
8660
9227
|
async describeNatFirewallControlPolicyWithOptions(request, runtime) {
|
|
8661
9228
|
tea_util_1.default.validateModel(request);
|
|
8662
9229
|
let query = {};
|
|
@@ -8693,6 +9260,9 @@ class Client extends openapi_client_1.default {
|
|
|
8693
9260
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
8694
9261
|
query["Release"] = request.release;
|
|
8695
9262
|
}
|
|
9263
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
9264
|
+
query["RepeatType"] = request.repeatType;
|
|
9265
|
+
}
|
|
8696
9266
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
8697
9267
|
query["Source"] = request.source;
|
|
8698
9268
|
}
|
|
@@ -8712,10 +9282,23 @@ class Client extends openapi_client_1.default {
|
|
|
8712
9282
|
});
|
|
8713
9283
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNatFirewallControlPolicyResponse({}));
|
|
8714
9284
|
}
|
|
9285
|
+
/**
|
|
9286
|
+
* You can use this operation to query the information about all access control policies that are created for NAT firewalls by page.
|
|
9287
|
+
*
|
|
9288
|
+
* @param request DescribeNatFirewallControlPolicyRequest
|
|
9289
|
+
* @return DescribeNatFirewallControlPolicyResponse
|
|
9290
|
+
*/
|
|
8715
9291
|
async describeNatFirewallControlPolicy(request) {
|
|
8716
9292
|
let runtime = new $Util.RuntimeOptions({});
|
|
8717
9293
|
return await this.describeNatFirewallControlPolicyWithOptions(request, runtime);
|
|
8718
9294
|
}
|
|
9295
|
+
/**
|
|
9296
|
+
* You can use this operation to query the priority range of access control policies that are created for a NAT firewall.
|
|
9297
|
+
*
|
|
9298
|
+
* @param request DescribeNatFirewallPolicyPriorUsedRequest
|
|
9299
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9300
|
+
* @return DescribeNatFirewallPolicyPriorUsedResponse
|
|
9301
|
+
*/
|
|
8719
9302
|
async describeNatFirewallPolicyPriorUsedWithOptions(request, runtime) {
|
|
8720
9303
|
tea_util_1.default.validateModel(request);
|
|
8721
9304
|
let query = {};
|
|
@@ -8747,6 +9330,12 @@ class Client extends openapi_client_1.default {
|
|
|
8747
9330
|
});
|
|
8748
9331
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNatFirewallPolicyPriorUsedResponse({}));
|
|
8749
9332
|
}
|
|
9333
|
+
/**
|
|
9334
|
+
* You can use this operation to query the priority range of access control policies that are created for a NAT firewall.
|
|
9335
|
+
*
|
|
9336
|
+
* @param request DescribeNatFirewallPolicyPriorUsedRequest
|
|
9337
|
+
* @return DescribeNatFirewallPolicyPriorUsedResponse
|
|
9338
|
+
*/
|
|
8750
9339
|
async describeNatFirewallPolicyPriorUsed(request) {
|
|
8751
9340
|
let runtime = new $Util.RuntimeOptions({});
|
|
8752
9341
|
return await this.describeNatFirewallPolicyPriorUsedWithOptions(request, runtime);
|
|
@@ -9611,6 +10200,9 @@ class Client extends openapi_client_1.default {
|
|
|
9611
10200
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
9612
10201
|
query["Release"] = request.release;
|
|
9613
10202
|
}
|
|
10203
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
10204
|
+
query["RepeatType"] = request.repeatType;
|
|
10205
|
+
}
|
|
9614
10206
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
9615
10207
|
query["Source"] = request.source;
|
|
9616
10208
|
}
|
|
@@ -10059,6 +10651,9 @@ class Client extends openapi_client_1.default {
|
|
|
10059
10651
|
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
10060
10652
|
query["Direction"] = request.direction;
|
|
10061
10653
|
}
|
|
10654
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
10655
|
+
query["EndTime"] = request.endTime;
|
|
10656
|
+
}
|
|
10062
10657
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
10063
10658
|
query["Lang"] = request.lang;
|
|
10064
10659
|
}
|
|
@@ -10068,12 +10663,27 @@ class Client extends openapi_client_1.default {
|
|
|
10068
10663
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
10069
10664
|
query["Release"] = request.release;
|
|
10070
10665
|
}
|
|
10666
|
+
if (!tea_util_1.default.isUnset(request.repeatDays)) {
|
|
10667
|
+
query["RepeatDays"] = request.repeatDays;
|
|
10668
|
+
}
|
|
10669
|
+
if (!tea_util_1.default.isUnset(request.repeatEndTime)) {
|
|
10670
|
+
query["RepeatEndTime"] = request.repeatEndTime;
|
|
10671
|
+
}
|
|
10672
|
+
if (!tea_util_1.default.isUnset(request.repeatStartTime)) {
|
|
10673
|
+
query["RepeatStartTime"] = request.repeatStartTime;
|
|
10674
|
+
}
|
|
10675
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
10676
|
+
query["RepeatType"] = request.repeatType;
|
|
10677
|
+
}
|
|
10071
10678
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
10072
10679
|
query["Source"] = request.source;
|
|
10073
10680
|
}
|
|
10074
10681
|
if (!tea_util_1.default.isUnset(request.sourceType)) {
|
|
10075
10682
|
query["SourceType"] = request.sourceType;
|
|
10076
10683
|
}
|
|
10684
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
10685
|
+
query["StartTime"] = request.startTime;
|
|
10686
|
+
}
|
|
10077
10687
|
let req = new $OpenApi.OpenApiRequest({
|
|
10078
10688
|
query: openapi_util_1.default.query(query),
|
|
10079
10689
|
});
|
|
@@ -10291,6 +10901,13 @@ class Client extends openapi_client_1.default {
|
|
|
10291
10901
|
let runtime = new $Util.RuntimeOptions({});
|
|
10292
10902
|
return await this.modifyInstanceMemberAttributesWithOptions(request, runtime);
|
|
10293
10903
|
}
|
|
10904
|
+
/**
|
|
10905
|
+
* You can use this operation to modify the configurations of an access control policy. The policy is used to allow, deny, or monitor traffic that reaches a NAT firewall.
|
|
10906
|
+
*
|
|
10907
|
+
* @param request ModifyNatFirewallControlPolicyRequest
|
|
10908
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10909
|
+
* @return ModifyNatFirewallControlPolicyResponse
|
|
10910
|
+
*/
|
|
10294
10911
|
async modifyNatFirewallControlPolicyWithOptions(request, runtime) {
|
|
10295
10912
|
tea_util_1.default.validateModel(request);
|
|
10296
10913
|
let query = {};
|
|
@@ -10324,6 +10941,9 @@ class Client extends openapi_client_1.default {
|
|
|
10324
10941
|
if (!tea_util_1.default.isUnset(request.domainResolveType)) {
|
|
10325
10942
|
query["DomainResolveType"] = request.domainResolveType;
|
|
10326
10943
|
}
|
|
10944
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
10945
|
+
query["EndTime"] = request.endTime;
|
|
10946
|
+
}
|
|
10327
10947
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
10328
10948
|
query["Lang"] = request.lang;
|
|
10329
10949
|
}
|
|
@@ -10336,12 +10956,27 @@ class Client extends openapi_client_1.default {
|
|
|
10336
10956
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
10337
10957
|
query["Release"] = request.release;
|
|
10338
10958
|
}
|
|
10959
|
+
if (!tea_util_1.default.isUnset(request.repeatDays)) {
|
|
10960
|
+
query["RepeatDays"] = request.repeatDays;
|
|
10961
|
+
}
|
|
10962
|
+
if (!tea_util_1.default.isUnset(request.repeatEndTime)) {
|
|
10963
|
+
query["RepeatEndTime"] = request.repeatEndTime;
|
|
10964
|
+
}
|
|
10965
|
+
if (!tea_util_1.default.isUnset(request.repeatStartTime)) {
|
|
10966
|
+
query["RepeatStartTime"] = request.repeatStartTime;
|
|
10967
|
+
}
|
|
10968
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
10969
|
+
query["RepeatType"] = request.repeatType;
|
|
10970
|
+
}
|
|
10339
10971
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
10340
10972
|
query["Source"] = request.source;
|
|
10341
10973
|
}
|
|
10342
10974
|
if (!tea_util_1.default.isUnset(request.sourceType)) {
|
|
10343
10975
|
query["SourceType"] = request.sourceType;
|
|
10344
10976
|
}
|
|
10977
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
10978
|
+
query["StartTime"] = request.startTime;
|
|
10979
|
+
}
|
|
10345
10980
|
let req = new $OpenApi.OpenApiRequest({
|
|
10346
10981
|
query: openapi_util_1.default.query(query),
|
|
10347
10982
|
});
|
|
@@ -10358,6 +10993,12 @@ class Client extends openapi_client_1.default {
|
|
|
10358
10993
|
});
|
|
10359
10994
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNatFirewallControlPolicyResponse({}));
|
|
10360
10995
|
}
|
|
10996
|
+
/**
|
|
10997
|
+
* You can use this operation to modify the configurations of an access control policy. The policy is used to allow, deny, or monitor traffic that reaches a NAT firewall.
|
|
10998
|
+
*
|
|
10999
|
+
* @param request ModifyNatFirewallControlPolicyRequest
|
|
11000
|
+
* @return ModifyNatFirewallControlPolicyResponse
|
|
11001
|
+
*/
|
|
10361
11002
|
async modifyNatFirewallControlPolicy(request) {
|
|
10362
11003
|
let runtime = new $Util.RuntimeOptions({});
|
|
10363
11004
|
return await this.modifyNatFirewallControlPolicyWithOptions(request, runtime);
|
|
@@ -10756,6 +11397,9 @@ class Client extends openapi_client_1.default {
|
|
|
10756
11397
|
if (!tea_util_1.default.isUnset(request.applicationName)) {
|
|
10757
11398
|
query["ApplicationName"] = request.applicationName;
|
|
10758
11399
|
}
|
|
11400
|
+
if (!tea_util_1.default.isUnset(request.applicationNameList)) {
|
|
11401
|
+
query["ApplicationNameList"] = request.applicationNameList;
|
|
11402
|
+
}
|
|
10759
11403
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
10760
11404
|
query["Description"] = request.description;
|
|
10761
11405
|
}
|
|
@@ -10774,6 +11418,9 @@ class Client extends openapi_client_1.default {
|
|
|
10774
11418
|
if (!tea_util_1.default.isUnset(request.destinationType)) {
|
|
10775
11419
|
query["DestinationType"] = request.destinationType;
|
|
10776
11420
|
}
|
|
11421
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
11422
|
+
query["EndTime"] = request.endTime;
|
|
11423
|
+
}
|
|
10777
11424
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
10778
11425
|
query["Lang"] = request.lang;
|
|
10779
11426
|
}
|
|
@@ -10783,12 +11430,27 @@ class Client extends openapi_client_1.default {
|
|
|
10783
11430
|
if (!tea_util_1.default.isUnset(request.release)) {
|
|
10784
11431
|
query["Release"] = request.release;
|
|
10785
11432
|
}
|
|
11433
|
+
if (!tea_util_1.default.isUnset(request.repeatDays)) {
|
|
11434
|
+
query["RepeatDays"] = request.repeatDays;
|
|
11435
|
+
}
|
|
11436
|
+
if (!tea_util_1.default.isUnset(request.repeatEndTime)) {
|
|
11437
|
+
query["RepeatEndTime"] = request.repeatEndTime;
|
|
11438
|
+
}
|
|
11439
|
+
if (!tea_util_1.default.isUnset(request.repeatStartTime)) {
|
|
11440
|
+
query["RepeatStartTime"] = request.repeatStartTime;
|
|
11441
|
+
}
|
|
11442
|
+
if (!tea_util_1.default.isUnset(request.repeatType)) {
|
|
11443
|
+
query["RepeatType"] = request.repeatType;
|
|
11444
|
+
}
|
|
10786
11445
|
if (!tea_util_1.default.isUnset(request.source)) {
|
|
10787
11446
|
query["Source"] = request.source;
|
|
10788
11447
|
}
|
|
10789
11448
|
if (!tea_util_1.default.isUnset(request.sourceType)) {
|
|
10790
11449
|
query["SourceType"] = request.sourceType;
|
|
10791
11450
|
}
|
|
11451
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
11452
|
+
query["StartTime"] = request.startTime;
|
|
11453
|
+
}
|
|
10792
11454
|
if (!tea_util_1.default.isUnset(request.vpcFirewallId)) {
|
|
10793
11455
|
query["VpcFirewallId"] = request.vpcFirewallId;
|
|
10794
11456
|
}
|
|
@@ -10821,7 +11483,7 @@ class Client extends openapi_client_1.default {
|
|
|
10821
11483
|
return await this.modifyVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
10822
11484
|
}
|
|
10823
11485
|
/**
|
|
10824
|
-
* You can
|
|
11486
|
+
* You can use this operation to modify the priority of an access control policy that is created for a VPC firewall in a specific policy group.
|
|
10825
11487
|
* ## Limits
|
|
10826
11488
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
10827
11489
|
*
|
|
@@ -10864,7 +11526,7 @@ class Client extends openapi_client_1.default {
|
|
|
10864
11526
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyVpcFirewallControlPolicyPositionResponse({}));
|
|
10865
11527
|
}
|
|
10866
11528
|
/**
|
|
10867
|
-
* You can
|
|
11529
|
+
* You can use this operation to modify the priority of an access control policy that is created for a VPC firewall in a specific policy group.
|
|
10868
11530
|
* ## Limits
|
|
10869
11531
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
10870
11532
|
*
|