@alicloud/cloudfw20171207 1.2.9 → 1.3.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 +409 -0
- package/dist/client.js +1025 -77
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1312 -100
package/dist/client.js
CHANGED
|
@@ -287,6 +287,94 @@ class BatchCopyVpcFirewallControlPolicyResponse extends $tea.Model {
|
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
exports.BatchCopyVpcFirewallControlPolicyResponse = BatchCopyVpcFirewallControlPolicyResponse;
|
|
290
|
+
class CreateNatFirewallControlPolicyRequest extends $tea.Model {
|
|
291
|
+
constructor(map) {
|
|
292
|
+
super(map);
|
|
293
|
+
}
|
|
294
|
+
static names() {
|
|
295
|
+
return {
|
|
296
|
+
aclAction: 'AclAction',
|
|
297
|
+
applicationNameList: 'ApplicationNameList',
|
|
298
|
+
description: 'Description',
|
|
299
|
+
destPort: 'DestPort',
|
|
300
|
+
destPortGroup: 'DestPortGroup',
|
|
301
|
+
destPortType: 'DestPortType',
|
|
302
|
+
destination: 'Destination',
|
|
303
|
+
destinationType: 'DestinationType',
|
|
304
|
+
direction: 'Direction',
|
|
305
|
+
domainResolveType: 'DomainResolveType',
|
|
306
|
+
ipVersion: 'IpVersion',
|
|
307
|
+
lang: 'Lang',
|
|
308
|
+
natGatewayId: 'NatGatewayId',
|
|
309
|
+
newOrder: 'NewOrder',
|
|
310
|
+
proto: 'Proto',
|
|
311
|
+
release: 'Release',
|
|
312
|
+
source: 'Source',
|
|
313
|
+
sourceType: 'SourceType',
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
static types() {
|
|
317
|
+
return {
|
|
318
|
+
aclAction: 'string',
|
|
319
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
320
|
+
description: 'string',
|
|
321
|
+
destPort: 'string',
|
|
322
|
+
destPortGroup: 'string',
|
|
323
|
+
destPortType: 'string',
|
|
324
|
+
destination: 'string',
|
|
325
|
+
destinationType: 'string',
|
|
326
|
+
direction: 'string',
|
|
327
|
+
domainResolveType: 'number',
|
|
328
|
+
ipVersion: 'string',
|
|
329
|
+
lang: 'string',
|
|
330
|
+
natGatewayId: 'string',
|
|
331
|
+
newOrder: 'string',
|
|
332
|
+
proto: 'string',
|
|
333
|
+
release: 'string',
|
|
334
|
+
source: 'string',
|
|
335
|
+
sourceType: 'string',
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
exports.CreateNatFirewallControlPolicyRequest = CreateNatFirewallControlPolicyRequest;
|
|
340
|
+
class CreateNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
341
|
+
constructor(map) {
|
|
342
|
+
super(map);
|
|
343
|
+
}
|
|
344
|
+
static names() {
|
|
345
|
+
return {
|
|
346
|
+
aclUuid: 'AclUuid',
|
|
347
|
+
requestId: 'RequestId',
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
static types() {
|
|
351
|
+
return {
|
|
352
|
+
aclUuid: 'string',
|
|
353
|
+
requestId: 'string',
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
exports.CreateNatFirewallControlPolicyResponseBody = CreateNatFirewallControlPolicyResponseBody;
|
|
358
|
+
class CreateNatFirewallControlPolicyResponse extends $tea.Model {
|
|
359
|
+
constructor(map) {
|
|
360
|
+
super(map);
|
|
361
|
+
}
|
|
362
|
+
static names() {
|
|
363
|
+
return {
|
|
364
|
+
headers: 'headers',
|
|
365
|
+
statusCode: 'statusCode',
|
|
366
|
+
body: 'body',
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
static types() {
|
|
370
|
+
return {
|
|
371
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
372
|
+
statusCode: 'number',
|
|
373
|
+
body: CreateNatFirewallControlPolicyResponseBody,
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
exports.CreateNatFirewallControlPolicyResponse = CreateNatFirewallControlPolicyResponse;
|
|
290
378
|
class CreateTrFirewallV2Request extends $tea.Model {
|
|
291
379
|
constructor(map) {
|
|
292
380
|
super(map);
|
|
@@ -911,6 +999,64 @@ class DeleteInstanceMembersResponse extends $tea.Model {
|
|
|
911
999
|
}
|
|
912
1000
|
}
|
|
913
1001
|
exports.DeleteInstanceMembersResponse = DeleteInstanceMembersResponse;
|
|
1002
|
+
class DeleteNatFirewallControlPolicyRequest extends $tea.Model {
|
|
1003
|
+
constructor(map) {
|
|
1004
|
+
super(map);
|
|
1005
|
+
}
|
|
1006
|
+
static names() {
|
|
1007
|
+
return {
|
|
1008
|
+
aclUuid: 'AclUuid',
|
|
1009
|
+
direction: 'Direction',
|
|
1010
|
+
lang: 'Lang',
|
|
1011
|
+
natGatewayId: 'NatGatewayId',
|
|
1012
|
+
};
|
|
1013
|
+
}
|
|
1014
|
+
static types() {
|
|
1015
|
+
return {
|
|
1016
|
+
aclUuid: 'string',
|
|
1017
|
+
direction: 'string',
|
|
1018
|
+
lang: 'string',
|
|
1019
|
+
natGatewayId: 'string',
|
|
1020
|
+
};
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
exports.DeleteNatFirewallControlPolicyRequest = DeleteNatFirewallControlPolicyRequest;
|
|
1024
|
+
class DeleteNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
1025
|
+
constructor(map) {
|
|
1026
|
+
super(map);
|
|
1027
|
+
}
|
|
1028
|
+
static names() {
|
|
1029
|
+
return {
|
|
1030
|
+
requestId: 'RequestId',
|
|
1031
|
+
};
|
|
1032
|
+
}
|
|
1033
|
+
static types() {
|
|
1034
|
+
return {
|
|
1035
|
+
requestId: 'string',
|
|
1036
|
+
};
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
exports.DeleteNatFirewallControlPolicyResponseBody = DeleteNatFirewallControlPolicyResponseBody;
|
|
1040
|
+
class DeleteNatFirewallControlPolicyResponse extends $tea.Model {
|
|
1041
|
+
constructor(map) {
|
|
1042
|
+
super(map);
|
|
1043
|
+
}
|
|
1044
|
+
static names() {
|
|
1045
|
+
return {
|
|
1046
|
+
headers: 'headers',
|
|
1047
|
+
statusCode: 'statusCode',
|
|
1048
|
+
body: 'body',
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
static types() {
|
|
1052
|
+
return {
|
|
1053
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1054
|
+
statusCode: 'number',
|
|
1055
|
+
body: DeleteNatFirewallControlPolicyResponseBody,
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
exports.DeleteNatFirewallControlPolicyResponse = DeleteNatFirewallControlPolicyResponse;
|
|
914
1060
|
class DeleteTrFirewallV2Request extends $tea.Model {
|
|
915
1061
|
constructor(map) {
|
|
916
1062
|
super(map);
|
|
@@ -1747,6 +1893,146 @@ class DescribeInvadeEventListResponse extends $tea.Model {
|
|
|
1747
1893
|
}
|
|
1748
1894
|
}
|
|
1749
1895
|
exports.DescribeInvadeEventListResponse = DescribeInvadeEventListResponse;
|
|
1896
|
+
class DescribeNatFirewallControlPolicyRequest extends $tea.Model {
|
|
1897
|
+
constructor(map) {
|
|
1898
|
+
super(map);
|
|
1899
|
+
}
|
|
1900
|
+
static names() {
|
|
1901
|
+
return {
|
|
1902
|
+
aclAction: 'AclAction',
|
|
1903
|
+
aclUuid: 'AclUuid',
|
|
1904
|
+
currentPage: 'CurrentPage',
|
|
1905
|
+
description: 'Description',
|
|
1906
|
+
destination: 'Destination',
|
|
1907
|
+
direction: 'Direction',
|
|
1908
|
+
lang: 'Lang',
|
|
1909
|
+
natGatewayId: 'NatGatewayId',
|
|
1910
|
+
pageSize: 'PageSize',
|
|
1911
|
+
proto: 'Proto',
|
|
1912
|
+
release: 'Release',
|
|
1913
|
+
source: 'Source',
|
|
1914
|
+
};
|
|
1915
|
+
}
|
|
1916
|
+
static types() {
|
|
1917
|
+
return {
|
|
1918
|
+
aclAction: 'string',
|
|
1919
|
+
aclUuid: 'string',
|
|
1920
|
+
currentPage: 'string',
|
|
1921
|
+
description: 'string',
|
|
1922
|
+
destination: 'string',
|
|
1923
|
+
direction: 'string',
|
|
1924
|
+
lang: 'string',
|
|
1925
|
+
natGatewayId: 'string',
|
|
1926
|
+
pageSize: 'string',
|
|
1927
|
+
proto: 'string',
|
|
1928
|
+
release: 'string',
|
|
1929
|
+
source: 'string',
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
exports.DescribeNatFirewallControlPolicyRequest = DescribeNatFirewallControlPolicyRequest;
|
|
1934
|
+
class DescribeNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
1935
|
+
constructor(map) {
|
|
1936
|
+
super(map);
|
|
1937
|
+
}
|
|
1938
|
+
static names() {
|
|
1939
|
+
return {
|
|
1940
|
+
policys: 'Policys',
|
|
1941
|
+
requestId: 'RequestId',
|
|
1942
|
+
totalCount: 'TotalCount',
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
static types() {
|
|
1946
|
+
return {
|
|
1947
|
+
policys: { 'type': 'array', 'itemType': DescribeNatFirewallControlPolicyResponseBodyPolicys },
|
|
1948
|
+
requestId: 'string',
|
|
1949
|
+
totalCount: 'string',
|
|
1950
|
+
};
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
exports.DescribeNatFirewallControlPolicyResponseBody = DescribeNatFirewallControlPolicyResponseBody;
|
|
1954
|
+
class DescribeNatFirewallControlPolicyResponse extends $tea.Model {
|
|
1955
|
+
constructor(map) {
|
|
1956
|
+
super(map);
|
|
1957
|
+
}
|
|
1958
|
+
static names() {
|
|
1959
|
+
return {
|
|
1960
|
+
headers: 'headers',
|
|
1961
|
+
statusCode: 'statusCode',
|
|
1962
|
+
body: 'body',
|
|
1963
|
+
};
|
|
1964
|
+
}
|
|
1965
|
+
static types() {
|
|
1966
|
+
return {
|
|
1967
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1968
|
+
statusCode: 'number',
|
|
1969
|
+
body: DescribeNatFirewallControlPolicyResponseBody,
|
|
1970
|
+
};
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
exports.DescribeNatFirewallControlPolicyResponse = DescribeNatFirewallControlPolicyResponse;
|
|
1974
|
+
class DescribeNatFirewallPolicyPriorUsedRequest extends $tea.Model {
|
|
1975
|
+
constructor(map) {
|
|
1976
|
+
super(map);
|
|
1977
|
+
}
|
|
1978
|
+
static names() {
|
|
1979
|
+
return {
|
|
1980
|
+
direction: 'Direction',
|
|
1981
|
+
ipVersion: 'IpVersion',
|
|
1982
|
+
lang: 'Lang',
|
|
1983
|
+
natGatewayId: 'NatGatewayId',
|
|
1984
|
+
};
|
|
1985
|
+
}
|
|
1986
|
+
static types() {
|
|
1987
|
+
return {
|
|
1988
|
+
direction: 'string',
|
|
1989
|
+
ipVersion: 'string',
|
|
1990
|
+
lang: 'string',
|
|
1991
|
+
natGatewayId: 'string',
|
|
1992
|
+
};
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
exports.DescribeNatFirewallPolicyPriorUsedRequest = DescribeNatFirewallPolicyPriorUsedRequest;
|
|
1996
|
+
class DescribeNatFirewallPolicyPriorUsedResponseBody extends $tea.Model {
|
|
1997
|
+
constructor(map) {
|
|
1998
|
+
super(map);
|
|
1999
|
+
}
|
|
2000
|
+
static names() {
|
|
2001
|
+
return {
|
|
2002
|
+
end: 'End',
|
|
2003
|
+
requestId: 'RequestId',
|
|
2004
|
+
start: 'Start',
|
|
2005
|
+
};
|
|
2006
|
+
}
|
|
2007
|
+
static types() {
|
|
2008
|
+
return {
|
|
2009
|
+
end: 'number',
|
|
2010
|
+
requestId: 'string',
|
|
2011
|
+
start: 'number',
|
|
2012
|
+
};
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
exports.DescribeNatFirewallPolicyPriorUsedResponseBody = DescribeNatFirewallPolicyPriorUsedResponseBody;
|
|
2016
|
+
class DescribeNatFirewallPolicyPriorUsedResponse extends $tea.Model {
|
|
2017
|
+
constructor(map) {
|
|
2018
|
+
super(map);
|
|
2019
|
+
}
|
|
2020
|
+
static names() {
|
|
2021
|
+
return {
|
|
2022
|
+
headers: 'headers',
|
|
2023
|
+
statusCode: 'statusCode',
|
|
2024
|
+
body: 'body',
|
|
2025
|
+
};
|
|
2026
|
+
}
|
|
2027
|
+
static types() {
|
|
2028
|
+
return {
|
|
2029
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2030
|
+
statusCode: 'number',
|
|
2031
|
+
body: DescribeNatFirewallPolicyPriorUsedResponseBody,
|
|
2032
|
+
};
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
exports.DescribeNatFirewallPolicyPriorUsedResponse = DescribeNatFirewallPolicyPriorUsedResponse;
|
|
1750
2036
|
class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
1751
2037
|
constructor(map) {
|
|
1752
2038
|
super(map);
|
|
@@ -2121,6 +2407,96 @@ class DescribeRiskEventGroupResponse extends $tea.Model {
|
|
|
2121
2407
|
}
|
|
2122
2408
|
}
|
|
2123
2409
|
exports.DescribeRiskEventGroupResponse = DescribeRiskEventGroupResponse;
|
|
2410
|
+
class DescribeRiskEventPayloadRequest extends $tea.Model {
|
|
2411
|
+
constructor(map) {
|
|
2412
|
+
super(map);
|
|
2413
|
+
}
|
|
2414
|
+
static names() {
|
|
2415
|
+
return {
|
|
2416
|
+
dstIP: 'DstIP',
|
|
2417
|
+
dstVpcId: 'DstVpcId',
|
|
2418
|
+
endTime: 'EndTime',
|
|
2419
|
+
firewallType: 'FirewallType',
|
|
2420
|
+
publicIP: 'PublicIP',
|
|
2421
|
+
srcIP: 'SrcIP',
|
|
2422
|
+
srcVpcId: 'SrcVpcId',
|
|
2423
|
+
startTime: 'StartTime',
|
|
2424
|
+
UUID: 'UUID',
|
|
2425
|
+
};
|
|
2426
|
+
}
|
|
2427
|
+
static types() {
|
|
2428
|
+
return {
|
|
2429
|
+
dstIP: 'string',
|
|
2430
|
+
dstVpcId: 'string',
|
|
2431
|
+
endTime: 'string',
|
|
2432
|
+
firewallType: 'string',
|
|
2433
|
+
publicIP: 'string',
|
|
2434
|
+
srcIP: 'string',
|
|
2435
|
+
srcVpcId: 'string',
|
|
2436
|
+
startTime: 'string',
|
|
2437
|
+
UUID: 'string',
|
|
2438
|
+
};
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
exports.DescribeRiskEventPayloadRequest = DescribeRiskEventPayloadRequest;
|
|
2442
|
+
class DescribeRiskEventPayloadResponseBody extends $tea.Model {
|
|
2443
|
+
constructor(map) {
|
|
2444
|
+
super(map);
|
|
2445
|
+
}
|
|
2446
|
+
static names() {
|
|
2447
|
+
return {
|
|
2448
|
+
dstIP: 'DstIP',
|
|
2449
|
+
dstPort: 'DstPort',
|
|
2450
|
+
dstVpcId: 'DstVpcId',
|
|
2451
|
+
payload: 'Payload',
|
|
2452
|
+
payloadLen: 'PayloadLen',
|
|
2453
|
+
proto: 'Proto',
|
|
2454
|
+
realIp: 'RealIp',
|
|
2455
|
+
requestId: 'RequestId',
|
|
2456
|
+
srcIP: 'SrcIP',
|
|
2457
|
+
srcPort: 'SrcPort',
|
|
2458
|
+
srcVpcId: 'SrcVpcId',
|
|
2459
|
+
XForwardFor: 'XForwardFor',
|
|
2460
|
+
};
|
|
2461
|
+
}
|
|
2462
|
+
static types() {
|
|
2463
|
+
return {
|
|
2464
|
+
dstIP: 'string',
|
|
2465
|
+
dstPort: 'number',
|
|
2466
|
+
dstVpcId: 'string',
|
|
2467
|
+
payload: 'string',
|
|
2468
|
+
payloadLen: 'number',
|
|
2469
|
+
proto: 'string',
|
|
2470
|
+
realIp: 'string',
|
|
2471
|
+
requestId: 'string',
|
|
2472
|
+
srcIP: 'string',
|
|
2473
|
+
srcPort: 'number',
|
|
2474
|
+
srcVpcId: 'string',
|
|
2475
|
+
XForwardFor: 'string',
|
|
2476
|
+
};
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
exports.DescribeRiskEventPayloadResponseBody = DescribeRiskEventPayloadResponseBody;
|
|
2480
|
+
class DescribeRiskEventPayloadResponse extends $tea.Model {
|
|
2481
|
+
constructor(map) {
|
|
2482
|
+
super(map);
|
|
2483
|
+
}
|
|
2484
|
+
static names() {
|
|
2485
|
+
return {
|
|
2486
|
+
headers: 'headers',
|
|
2487
|
+
statusCode: 'statusCode',
|
|
2488
|
+
body: 'body',
|
|
2489
|
+
};
|
|
2490
|
+
}
|
|
2491
|
+
static types() {
|
|
2492
|
+
return {
|
|
2493
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2494
|
+
statusCode: 'number',
|
|
2495
|
+
body: DescribeRiskEventPayloadResponseBody,
|
|
2496
|
+
};
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
exports.DescribeRiskEventPayloadResponse = DescribeRiskEventPayloadResponse;
|
|
2124
2500
|
class DescribeTrFirewallPolicyBackUpAssociationListRequest extends $tea.Model {
|
|
2125
2501
|
constructor(map) {
|
|
2126
2502
|
super(map);
|
|
@@ -3410,14 +3786,144 @@ class ModifyControlPolicyPositionRequest extends $tea.Model {
|
|
|
3410
3786
|
return {
|
|
3411
3787
|
direction: 'string',
|
|
3412
3788
|
lang: 'string',
|
|
3413
|
-
newOrder: 'string',
|
|
3414
|
-
oldOrder: 'string',
|
|
3415
|
-
sourceIp: 'string',
|
|
3789
|
+
newOrder: 'string',
|
|
3790
|
+
oldOrder: 'string',
|
|
3791
|
+
sourceIp: 'string',
|
|
3792
|
+
};
|
|
3793
|
+
}
|
|
3794
|
+
}
|
|
3795
|
+
exports.ModifyControlPolicyPositionRequest = ModifyControlPolicyPositionRequest;
|
|
3796
|
+
class ModifyControlPolicyPositionResponseBody extends $tea.Model {
|
|
3797
|
+
constructor(map) {
|
|
3798
|
+
super(map);
|
|
3799
|
+
}
|
|
3800
|
+
static names() {
|
|
3801
|
+
return {
|
|
3802
|
+
requestId: 'RequestId',
|
|
3803
|
+
};
|
|
3804
|
+
}
|
|
3805
|
+
static types() {
|
|
3806
|
+
return {
|
|
3807
|
+
requestId: 'string',
|
|
3808
|
+
};
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
exports.ModifyControlPolicyPositionResponseBody = ModifyControlPolicyPositionResponseBody;
|
|
3812
|
+
class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
3813
|
+
constructor(map) {
|
|
3814
|
+
super(map);
|
|
3815
|
+
}
|
|
3816
|
+
static names() {
|
|
3817
|
+
return {
|
|
3818
|
+
headers: 'headers',
|
|
3819
|
+
statusCode: 'statusCode',
|
|
3820
|
+
body: 'body',
|
|
3821
|
+
};
|
|
3822
|
+
}
|
|
3823
|
+
static types() {
|
|
3824
|
+
return {
|
|
3825
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3826
|
+
statusCode: 'number',
|
|
3827
|
+
body: ModifyControlPolicyPositionResponseBody,
|
|
3828
|
+
};
|
|
3829
|
+
}
|
|
3830
|
+
}
|
|
3831
|
+
exports.ModifyControlPolicyPositionResponse = ModifyControlPolicyPositionResponse;
|
|
3832
|
+
class ModifyDefaultIPSConfigRequest extends $tea.Model {
|
|
3833
|
+
constructor(map) {
|
|
3834
|
+
super(map);
|
|
3835
|
+
}
|
|
3836
|
+
static names() {
|
|
3837
|
+
return {
|
|
3838
|
+
aiRules: 'AiRules',
|
|
3839
|
+
basicRules: 'BasicRules',
|
|
3840
|
+
ctiRules: 'CtiRules',
|
|
3841
|
+
enableAllPatch: 'EnableAllPatch',
|
|
3842
|
+
enableDefault: 'EnableDefault',
|
|
3843
|
+
lang: 'Lang',
|
|
3844
|
+
patchRules: 'PatchRules',
|
|
3845
|
+
ruleClass: 'RuleClass',
|
|
3846
|
+
runMode: 'RunMode',
|
|
3847
|
+
sourceIp: 'SourceIp',
|
|
3848
|
+
};
|
|
3849
|
+
}
|
|
3850
|
+
static types() {
|
|
3851
|
+
return {
|
|
3852
|
+
aiRules: 'string',
|
|
3853
|
+
basicRules: 'string',
|
|
3854
|
+
ctiRules: 'string',
|
|
3855
|
+
enableAllPatch: 'string',
|
|
3856
|
+
enableDefault: 'string',
|
|
3857
|
+
lang: 'string',
|
|
3858
|
+
patchRules: 'string',
|
|
3859
|
+
ruleClass: 'string',
|
|
3860
|
+
runMode: 'string',
|
|
3861
|
+
sourceIp: 'string',
|
|
3862
|
+
};
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
exports.ModifyDefaultIPSConfigRequest = ModifyDefaultIPSConfigRequest;
|
|
3866
|
+
class ModifyDefaultIPSConfigResponseBody extends $tea.Model {
|
|
3867
|
+
constructor(map) {
|
|
3868
|
+
super(map);
|
|
3869
|
+
}
|
|
3870
|
+
static names() {
|
|
3871
|
+
return {
|
|
3872
|
+
requestId: 'RequestId',
|
|
3873
|
+
};
|
|
3874
|
+
}
|
|
3875
|
+
static types() {
|
|
3876
|
+
return {
|
|
3877
|
+
requestId: 'string',
|
|
3878
|
+
};
|
|
3879
|
+
}
|
|
3880
|
+
}
|
|
3881
|
+
exports.ModifyDefaultIPSConfigResponseBody = ModifyDefaultIPSConfigResponseBody;
|
|
3882
|
+
class ModifyDefaultIPSConfigResponse extends $tea.Model {
|
|
3883
|
+
constructor(map) {
|
|
3884
|
+
super(map);
|
|
3885
|
+
}
|
|
3886
|
+
static names() {
|
|
3887
|
+
return {
|
|
3888
|
+
headers: 'headers',
|
|
3889
|
+
statusCode: 'statusCode',
|
|
3890
|
+
body: 'body',
|
|
3891
|
+
};
|
|
3892
|
+
}
|
|
3893
|
+
static types() {
|
|
3894
|
+
return {
|
|
3895
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3896
|
+
statusCode: 'number',
|
|
3897
|
+
body: ModifyDefaultIPSConfigResponseBody,
|
|
3898
|
+
};
|
|
3899
|
+
}
|
|
3900
|
+
}
|
|
3901
|
+
exports.ModifyDefaultIPSConfigResponse = ModifyDefaultIPSConfigResponse;
|
|
3902
|
+
class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
|
|
3903
|
+
constructor(map) {
|
|
3904
|
+
super(map);
|
|
3905
|
+
}
|
|
3906
|
+
static names() {
|
|
3907
|
+
return {
|
|
3908
|
+
firewallId: 'FirewallId',
|
|
3909
|
+
lang: 'Lang',
|
|
3910
|
+
shouldRecover: 'ShouldRecover',
|
|
3911
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
3912
|
+
trFirewallRoutePolicySwitchStatus: 'TrFirewallRoutePolicySwitchStatus',
|
|
3913
|
+
};
|
|
3914
|
+
}
|
|
3915
|
+
static types() {
|
|
3916
|
+
return {
|
|
3917
|
+
firewallId: 'string',
|
|
3918
|
+
lang: 'string',
|
|
3919
|
+
shouldRecover: 'string',
|
|
3920
|
+
trFirewallRoutePolicyId: 'string',
|
|
3921
|
+
trFirewallRoutePolicySwitchStatus: 'string',
|
|
3416
3922
|
};
|
|
3417
3923
|
}
|
|
3418
3924
|
}
|
|
3419
|
-
exports.
|
|
3420
|
-
class
|
|
3925
|
+
exports.ModifyFirewallV2RoutePolicySwitchRequest = ModifyFirewallV2RoutePolicySwitchRequest;
|
|
3926
|
+
class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
|
|
3421
3927
|
constructor(map) {
|
|
3422
3928
|
super(map);
|
|
3423
3929
|
}
|
|
@@ -3432,8 +3938,8 @@ class ModifyControlPolicyPositionResponseBody extends $tea.Model {
|
|
|
3432
3938
|
};
|
|
3433
3939
|
}
|
|
3434
3940
|
}
|
|
3435
|
-
exports.
|
|
3436
|
-
class
|
|
3941
|
+
exports.ModifyFirewallV2RoutePolicySwitchResponseBody = ModifyFirewallV2RoutePolicySwitchResponseBody;
|
|
3942
|
+
class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
|
|
3437
3943
|
constructor(map) {
|
|
3438
3944
|
super(map);
|
|
3439
3945
|
}
|
|
@@ -3448,46 +3954,28 @@ class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
|
3448
3954
|
return {
|
|
3449
3955
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3450
3956
|
statusCode: 'number',
|
|
3451
|
-
body:
|
|
3957
|
+
body: ModifyFirewallV2RoutePolicySwitchResponseBody,
|
|
3452
3958
|
};
|
|
3453
3959
|
}
|
|
3454
3960
|
}
|
|
3455
|
-
exports.
|
|
3456
|
-
class
|
|
3961
|
+
exports.ModifyFirewallV2RoutePolicySwitchResponse = ModifyFirewallV2RoutePolicySwitchResponse;
|
|
3962
|
+
class ModifyInstanceMemberAttributesRequest extends $tea.Model {
|
|
3457
3963
|
constructor(map) {
|
|
3458
3964
|
super(map);
|
|
3459
3965
|
}
|
|
3460
3966
|
static names() {
|
|
3461
3967
|
return {
|
|
3462
|
-
|
|
3463
|
-
basicRules: 'BasicRules',
|
|
3464
|
-
ctiRules: 'CtiRules',
|
|
3465
|
-
enableAllPatch: 'EnableAllPatch',
|
|
3466
|
-
enableDefault: 'EnableDefault',
|
|
3467
|
-
lang: 'Lang',
|
|
3468
|
-
patchRules: 'PatchRules',
|
|
3469
|
-
ruleClass: 'RuleClass',
|
|
3470
|
-
runMode: 'RunMode',
|
|
3471
|
-
sourceIp: 'SourceIp',
|
|
3968
|
+
members: 'Members',
|
|
3472
3969
|
};
|
|
3473
3970
|
}
|
|
3474
3971
|
static types() {
|
|
3475
3972
|
return {
|
|
3476
|
-
|
|
3477
|
-
basicRules: 'string',
|
|
3478
|
-
ctiRules: 'string',
|
|
3479
|
-
enableAllPatch: 'string',
|
|
3480
|
-
enableDefault: 'string',
|
|
3481
|
-
lang: 'string',
|
|
3482
|
-
patchRules: 'string',
|
|
3483
|
-
ruleClass: 'string',
|
|
3484
|
-
runMode: 'string',
|
|
3485
|
-
sourceIp: 'string',
|
|
3973
|
+
members: { 'type': 'array', 'itemType': ModifyInstanceMemberAttributesRequestMembers },
|
|
3486
3974
|
};
|
|
3487
3975
|
}
|
|
3488
3976
|
}
|
|
3489
|
-
exports.
|
|
3490
|
-
class
|
|
3977
|
+
exports.ModifyInstanceMemberAttributesRequest = ModifyInstanceMemberAttributesRequest;
|
|
3978
|
+
class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
|
|
3491
3979
|
constructor(map) {
|
|
3492
3980
|
super(map);
|
|
3493
3981
|
}
|
|
@@ -3502,8 +3990,8 @@ class ModifyDefaultIPSConfigResponseBody extends $tea.Model {
|
|
|
3502
3990
|
};
|
|
3503
3991
|
}
|
|
3504
3992
|
}
|
|
3505
|
-
exports.
|
|
3506
|
-
class
|
|
3993
|
+
exports.ModifyInstanceMemberAttributesResponseBody = ModifyInstanceMemberAttributesResponseBody;
|
|
3994
|
+
class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
3507
3995
|
constructor(map) {
|
|
3508
3996
|
super(map);
|
|
3509
3997
|
}
|
|
@@ -3518,36 +4006,58 @@ class ModifyDefaultIPSConfigResponse extends $tea.Model {
|
|
|
3518
4006
|
return {
|
|
3519
4007
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3520
4008
|
statusCode: 'number',
|
|
3521
|
-
body:
|
|
4009
|
+
body: ModifyInstanceMemberAttributesResponseBody,
|
|
3522
4010
|
};
|
|
3523
4011
|
}
|
|
3524
4012
|
}
|
|
3525
|
-
exports.
|
|
3526
|
-
class
|
|
4013
|
+
exports.ModifyInstanceMemberAttributesResponse = ModifyInstanceMemberAttributesResponse;
|
|
4014
|
+
class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
|
|
3527
4015
|
constructor(map) {
|
|
3528
4016
|
super(map);
|
|
3529
4017
|
}
|
|
3530
4018
|
static names() {
|
|
3531
4019
|
return {
|
|
3532
|
-
|
|
4020
|
+
aclAction: 'AclAction',
|
|
4021
|
+
aclUuid: 'AclUuid',
|
|
4022
|
+
applicationNameList: 'ApplicationNameList',
|
|
4023
|
+
description: 'Description',
|
|
4024
|
+
destPort: 'DestPort',
|
|
4025
|
+
destPortGroup: 'DestPortGroup',
|
|
4026
|
+
destPortType: 'DestPortType',
|
|
4027
|
+
destination: 'Destination',
|
|
4028
|
+
destinationType: 'DestinationType',
|
|
4029
|
+
domainResolveType: 'DomainResolveType',
|
|
3533
4030
|
lang: 'Lang',
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
4031
|
+
natGatewayId: 'NatGatewayId',
|
|
4032
|
+
proto: 'Proto',
|
|
4033
|
+
release: 'Release',
|
|
4034
|
+
source: 'Source',
|
|
4035
|
+
sourceType: 'SourceType',
|
|
3537
4036
|
};
|
|
3538
4037
|
}
|
|
3539
4038
|
static types() {
|
|
3540
4039
|
return {
|
|
3541
|
-
|
|
4040
|
+
aclAction: 'string',
|
|
4041
|
+
aclUuid: 'string',
|
|
4042
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
4043
|
+
description: 'string',
|
|
4044
|
+
destPort: 'string',
|
|
4045
|
+
destPortGroup: 'string',
|
|
4046
|
+
destPortType: 'string',
|
|
4047
|
+
destination: 'string',
|
|
4048
|
+
destinationType: 'string',
|
|
4049
|
+
domainResolveType: 'string',
|
|
3542
4050
|
lang: 'string',
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
4051
|
+
natGatewayId: 'string',
|
|
4052
|
+
proto: 'string',
|
|
4053
|
+
release: 'string',
|
|
4054
|
+
source: 'string',
|
|
4055
|
+
sourceType: 'string',
|
|
3546
4056
|
};
|
|
3547
4057
|
}
|
|
3548
4058
|
}
|
|
3549
|
-
exports.
|
|
3550
|
-
class
|
|
4059
|
+
exports.ModifyNatFirewallControlPolicyRequest = ModifyNatFirewallControlPolicyRequest;
|
|
4060
|
+
class ModifyNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
3551
4061
|
constructor(map) {
|
|
3552
4062
|
super(map);
|
|
3553
4063
|
}
|
|
@@ -3562,8 +4072,8 @@ class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
|
|
|
3562
4072
|
};
|
|
3563
4073
|
}
|
|
3564
4074
|
}
|
|
3565
|
-
exports.
|
|
3566
|
-
class
|
|
4075
|
+
exports.ModifyNatFirewallControlPolicyResponseBody = ModifyNatFirewallControlPolicyResponseBody;
|
|
4076
|
+
class ModifyNatFirewallControlPolicyResponse extends $tea.Model {
|
|
3567
4077
|
constructor(map) {
|
|
3568
4078
|
super(map);
|
|
3569
4079
|
}
|
|
@@ -3578,28 +4088,34 @@ class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
|
|
|
3578
4088
|
return {
|
|
3579
4089
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3580
4090
|
statusCode: 'number',
|
|
3581
|
-
body:
|
|
4091
|
+
body: ModifyNatFirewallControlPolicyResponseBody,
|
|
3582
4092
|
};
|
|
3583
4093
|
}
|
|
3584
4094
|
}
|
|
3585
|
-
exports.
|
|
3586
|
-
class
|
|
4095
|
+
exports.ModifyNatFirewallControlPolicyResponse = ModifyNatFirewallControlPolicyResponse;
|
|
4096
|
+
class ModifyNatFirewallControlPolicyPositionRequest extends $tea.Model {
|
|
3587
4097
|
constructor(map) {
|
|
3588
4098
|
super(map);
|
|
3589
4099
|
}
|
|
3590
4100
|
static names() {
|
|
3591
4101
|
return {
|
|
3592
|
-
|
|
4102
|
+
aclUuid: 'AclUuid',
|
|
4103
|
+
lang: 'Lang',
|
|
4104
|
+
natGatewayId: 'NatGatewayId',
|
|
4105
|
+
newOrder: 'NewOrder',
|
|
3593
4106
|
};
|
|
3594
4107
|
}
|
|
3595
4108
|
static types() {
|
|
3596
4109
|
return {
|
|
3597
|
-
|
|
4110
|
+
aclUuid: 'string',
|
|
4111
|
+
lang: 'string',
|
|
4112
|
+
natGatewayId: 'string',
|
|
4113
|
+
newOrder: 'number',
|
|
3598
4114
|
};
|
|
3599
4115
|
}
|
|
3600
4116
|
}
|
|
3601
|
-
exports.
|
|
3602
|
-
class
|
|
4117
|
+
exports.ModifyNatFirewallControlPolicyPositionRequest = ModifyNatFirewallControlPolicyPositionRequest;
|
|
4118
|
+
class ModifyNatFirewallControlPolicyPositionResponseBody extends $tea.Model {
|
|
3603
4119
|
constructor(map) {
|
|
3604
4120
|
super(map);
|
|
3605
4121
|
}
|
|
@@ -3614,8 +4130,8 @@ class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
|
|
|
3614
4130
|
};
|
|
3615
4131
|
}
|
|
3616
4132
|
}
|
|
3617
|
-
exports.
|
|
3618
|
-
class
|
|
4133
|
+
exports.ModifyNatFirewallControlPolicyPositionResponseBody = ModifyNatFirewallControlPolicyPositionResponseBody;
|
|
4134
|
+
class ModifyNatFirewallControlPolicyPositionResponse extends $tea.Model {
|
|
3619
4135
|
constructor(map) {
|
|
3620
4136
|
super(map);
|
|
3621
4137
|
}
|
|
@@ -3630,11 +4146,11 @@ class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
|
3630
4146
|
return {
|
|
3631
4147
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3632
4148
|
statusCode: 'number',
|
|
3633
|
-
body:
|
|
4149
|
+
body: ModifyNatFirewallControlPolicyPositionResponseBody,
|
|
3634
4150
|
};
|
|
3635
4151
|
}
|
|
3636
4152
|
}
|
|
3637
|
-
exports.
|
|
4153
|
+
exports.ModifyNatFirewallControlPolicyPositionResponse = ModifyNatFirewallControlPolicyPositionResponse;
|
|
3638
4154
|
class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
|
|
3639
4155
|
constructor(map) {
|
|
3640
4156
|
super(map);
|
|
@@ -5039,6 +5555,76 @@ class DescribeInvadeEventListResponseBodyPageInfo extends $tea.Model {
|
|
|
5039
5555
|
}
|
|
5040
5556
|
}
|
|
5041
5557
|
exports.DescribeInvadeEventListResponseBodyPageInfo = DescribeInvadeEventListResponseBodyPageInfo;
|
|
5558
|
+
class DescribeNatFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
5559
|
+
constructor(map) {
|
|
5560
|
+
super(map);
|
|
5561
|
+
}
|
|
5562
|
+
static names() {
|
|
5563
|
+
return {
|
|
5564
|
+
aclAction: 'AclAction',
|
|
5565
|
+
aclUuid: 'AclUuid',
|
|
5566
|
+
applicationNameList: 'ApplicationNameList',
|
|
5567
|
+
createTime: 'CreateTime',
|
|
5568
|
+
description: 'Description',
|
|
5569
|
+
destPort: 'DestPort',
|
|
5570
|
+
destPortGroup: 'DestPortGroup',
|
|
5571
|
+
destPortGroupPorts: 'DestPortGroupPorts',
|
|
5572
|
+
destPortType: 'DestPortType',
|
|
5573
|
+
destination: 'Destination',
|
|
5574
|
+
destinationGroupCidrs: 'DestinationGroupCidrs',
|
|
5575
|
+
destinationGroupType: 'DestinationGroupType',
|
|
5576
|
+
destinationType: 'DestinationType',
|
|
5577
|
+
dnsResult: 'DnsResult',
|
|
5578
|
+
dnsResultTime: 'DnsResultTime',
|
|
5579
|
+
domainResolveType: 'DomainResolveType',
|
|
5580
|
+
hitLastTime: 'HitLastTime',
|
|
5581
|
+
hitTimes: 'HitTimes',
|
|
5582
|
+
modifyTime: 'ModifyTime',
|
|
5583
|
+
natGatewayId: 'NatGatewayId',
|
|
5584
|
+
order: 'Order',
|
|
5585
|
+
proto: 'Proto',
|
|
5586
|
+
release: 'Release',
|
|
5587
|
+
source: 'Source',
|
|
5588
|
+
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
5589
|
+
sourceGroupType: 'SourceGroupType',
|
|
5590
|
+
sourceType: 'SourceType',
|
|
5591
|
+
spreadCnt: 'SpreadCnt',
|
|
5592
|
+
};
|
|
5593
|
+
}
|
|
5594
|
+
static types() {
|
|
5595
|
+
return {
|
|
5596
|
+
aclAction: 'string',
|
|
5597
|
+
aclUuid: 'string',
|
|
5598
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
5599
|
+
createTime: 'number',
|
|
5600
|
+
description: 'string',
|
|
5601
|
+
destPort: 'string',
|
|
5602
|
+
destPortGroup: 'string',
|
|
5603
|
+
destPortGroupPorts: { 'type': 'array', 'itemType': 'string' },
|
|
5604
|
+
destPortType: 'string',
|
|
5605
|
+
destination: 'string',
|
|
5606
|
+
destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
5607
|
+
destinationGroupType: 'string',
|
|
5608
|
+
destinationType: 'string',
|
|
5609
|
+
dnsResult: 'string',
|
|
5610
|
+
dnsResultTime: 'number',
|
|
5611
|
+
domainResolveType: 'number',
|
|
5612
|
+
hitLastTime: 'number',
|
|
5613
|
+
hitTimes: 'number',
|
|
5614
|
+
modifyTime: 'number',
|
|
5615
|
+
natGatewayId: 'string',
|
|
5616
|
+
order: 'number',
|
|
5617
|
+
proto: 'string',
|
|
5618
|
+
release: 'string',
|
|
5619
|
+
source: 'string',
|
|
5620
|
+
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
5621
|
+
sourceGroupType: 'string',
|
|
5622
|
+
sourceType: 'string',
|
|
5623
|
+
spreadCnt: 'string',
|
|
5624
|
+
};
|
|
5625
|
+
}
|
|
5626
|
+
}
|
|
5627
|
+
exports.DescribeNatFirewallControlPolicyResponseBodyPolicys = DescribeNatFirewallControlPolicyResponseBodyPolicys;
|
|
5042
5628
|
class DescribeOutgoingDestinationIPResponseBodyDstIPListAddressGroupList extends $tea.Model {
|
|
5043
5629
|
constructor(map) {
|
|
5044
5630
|
super(map);
|
|
@@ -6727,14 +7313,102 @@ class Client extends openapi_client_1.default {
|
|
|
6727
7313
|
if (!tea_util_1.default.isUnset(request.sourceVpcFirewallId)) {
|
|
6728
7314
|
query["SourceVpcFirewallId"] = request.sourceVpcFirewallId;
|
|
6729
7315
|
}
|
|
6730
|
-
if (!tea_util_1.default.isUnset(request.targetVpcFirewallId)) {
|
|
6731
|
-
query["TargetVpcFirewallId"] = request.targetVpcFirewallId;
|
|
7316
|
+
if (!tea_util_1.default.isUnset(request.targetVpcFirewallId)) {
|
|
7317
|
+
query["TargetVpcFirewallId"] = request.targetVpcFirewallId;
|
|
7318
|
+
}
|
|
7319
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7320
|
+
query: openapi_util_1.default.query(query),
|
|
7321
|
+
});
|
|
7322
|
+
let params = new $OpenApi.Params({
|
|
7323
|
+
action: "BatchCopyVpcFirewallControlPolicy",
|
|
7324
|
+
version: "2017-12-07",
|
|
7325
|
+
protocol: "HTTPS",
|
|
7326
|
+
pathname: "/",
|
|
7327
|
+
method: "POST",
|
|
7328
|
+
authType: "AK",
|
|
7329
|
+
style: "RPC",
|
|
7330
|
+
reqBodyType: "formData",
|
|
7331
|
+
bodyType: "json",
|
|
7332
|
+
});
|
|
7333
|
+
return $tea.cast(await this.callApi(params, req, runtime), new BatchCopyVpcFirewallControlPolicyResponse({}));
|
|
7334
|
+
}
|
|
7335
|
+
/**
|
|
7336
|
+
* You can call the BatchCopyVpcFirewallControlPolicy operation to copy all access control policies from a policy group of a source VPC firewall to a policy group of a destination VPC firewall.
|
|
7337
|
+
* Before you call this operation, we recommend that you back up access control policies. For more information about how to back up an access control policy, see [Back up an access control policy](https://www.alibabacloud.com/help/en/cloud-firewall/latest/back-up-and-roll-back-an-access-control-policy).
|
|
7338
|
+
* After you call this operation, all the access control policies in the policy group of the destination VPC firewall are replaced.
|
|
7339
|
+
* The policy groups of the source VPC firewall and the destination VPC firewall must belong to the same Alibaba Cloud account.
|
|
7340
|
+
* ## Limits
|
|
7341
|
+
* You can call this operation up to 10 times per second per account. When the number of calls to this operation per second exceeds the limit, throttling is triggered. Throttling may affect your business. We recommend that you take note of the limit on this operation.
|
|
7342
|
+
*
|
|
7343
|
+
* @param request BatchCopyVpcFirewallControlPolicyRequest
|
|
7344
|
+
* @return BatchCopyVpcFirewallControlPolicyResponse
|
|
7345
|
+
*/
|
|
7346
|
+
async batchCopyVpcFirewallControlPolicy(request) {
|
|
7347
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7348
|
+
return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
7349
|
+
}
|
|
7350
|
+
async createNatFirewallControlPolicyWithOptions(request, runtime) {
|
|
7351
|
+
tea_util_1.default.validateModel(request);
|
|
7352
|
+
let query = {};
|
|
7353
|
+
if (!tea_util_1.default.isUnset(request.aclAction)) {
|
|
7354
|
+
query["AclAction"] = request.aclAction;
|
|
7355
|
+
}
|
|
7356
|
+
if (!tea_util_1.default.isUnset(request.applicationNameList)) {
|
|
7357
|
+
query["ApplicationNameList"] = request.applicationNameList;
|
|
7358
|
+
}
|
|
7359
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
7360
|
+
query["Description"] = request.description;
|
|
7361
|
+
}
|
|
7362
|
+
if (!tea_util_1.default.isUnset(request.destPort)) {
|
|
7363
|
+
query["DestPort"] = request.destPort;
|
|
7364
|
+
}
|
|
7365
|
+
if (!tea_util_1.default.isUnset(request.destPortGroup)) {
|
|
7366
|
+
query["DestPortGroup"] = request.destPortGroup;
|
|
7367
|
+
}
|
|
7368
|
+
if (!tea_util_1.default.isUnset(request.destPortType)) {
|
|
7369
|
+
query["DestPortType"] = request.destPortType;
|
|
7370
|
+
}
|
|
7371
|
+
if (!tea_util_1.default.isUnset(request.destination)) {
|
|
7372
|
+
query["Destination"] = request.destination;
|
|
7373
|
+
}
|
|
7374
|
+
if (!tea_util_1.default.isUnset(request.destinationType)) {
|
|
7375
|
+
query["DestinationType"] = request.destinationType;
|
|
7376
|
+
}
|
|
7377
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
7378
|
+
query["Direction"] = request.direction;
|
|
7379
|
+
}
|
|
7380
|
+
if (!tea_util_1.default.isUnset(request.domainResolveType)) {
|
|
7381
|
+
query["DomainResolveType"] = request.domainResolveType;
|
|
7382
|
+
}
|
|
7383
|
+
if (!tea_util_1.default.isUnset(request.ipVersion)) {
|
|
7384
|
+
query["IpVersion"] = request.ipVersion;
|
|
7385
|
+
}
|
|
7386
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7387
|
+
query["Lang"] = request.lang;
|
|
7388
|
+
}
|
|
7389
|
+
if (!tea_util_1.default.isUnset(request.natGatewayId)) {
|
|
7390
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
7391
|
+
}
|
|
7392
|
+
if (!tea_util_1.default.isUnset(request.newOrder)) {
|
|
7393
|
+
query["NewOrder"] = request.newOrder;
|
|
7394
|
+
}
|
|
7395
|
+
if (!tea_util_1.default.isUnset(request.proto)) {
|
|
7396
|
+
query["Proto"] = request.proto;
|
|
7397
|
+
}
|
|
7398
|
+
if (!tea_util_1.default.isUnset(request.release)) {
|
|
7399
|
+
query["Release"] = request.release;
|
|
7400
|
+
}
|
|
7401
|
+
if (!tea_util_1.default.isUnset(request.source)) {
|
|
7402
|
+
query["Source"] = request.source;
|
|
7403
|
+
}
|
|
7404
|
+
if (!tea_util_1.default.isUnset(request.sourceType)) {
|
|
7405
|
+
query["SourceType"] = request.sourceType;
|
|
6732
7406
|
}
|
|
6733
7407
|
let req = new $OpenApi.OpenApiRequest({
|
|
6734
7408
|
query: openapi_util_1.default.query(query),
|
|
6735
7409
|
});
|
|
6736
7410
|
let params = new $OpenApi.Params({
|
|
6737
|
-
action: "
|
|
7411
|
+
action: "CreateNatFirewallControlPolicy",
|
|
6738
7412
|
version: "2017-12-07",
|
|
6739
7413
|
protocol: "HTTPS",
|
|
6740
7414
|
pathname: "/",
|
|
@@ -6744,22 +7418,11 @@ class Client extends openapi_client_1.default {
|
|
|
6744
7418
|
reqBodyType: "formData",
|
|
6745
7419
|
bodyType: "json",
|
|
6746
7420
|
});
|
|
6747
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
7421
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateNatFirewallControlPolicyResponse({}));
|
|
6748
7422
|
}
|
|
6749
|
-
|
|
6750
|
-
* You can call the BatchCopyVpcFirewallControlPolicy operation to copy all access control policies from a policy group of a source VPC firewall to a policy group of a destination VPC firewall.
|
|
6751
|
-
* Before you call this operation, we recommend that you back up access control policies. For more information about how to back up an access control policy, see [Back up an access control policy](https://www.alibabacloud.com/help/en/cloud-firewall/latest/back-up-and-roll-back-an-access-control-policy).
|
|
6752
|
-
* After you call this operation, all the access control policies in the policy group of the destination VPC firewall are replaced.
|
|
6753
|
-
* The policy groups of the source VPC firewall and the destination VPC firewall must belong to the same Alibaba Cloud account.
|
|
6754
|
-
* ## Limits
|
|
6755
|
-
* You can call this operation up to 10 times per second per account. When the number of calls to this operation per second exceeds the limit, throttling is triggered. Throttling may affect your business. We recommend that you take note of the limit on this operation.
|
|
6756
|
-
*
|
|
6757
|
-
* @param request BatchCopyVpcFirewallControlPolicyRequest
|
|
6758
|
-
* @return BatchCopyVpcFirewallControlPolicyResponse
|
|
6759
|
-
*/
|
|
6760
|
-
async batchCopyVpcFirewallControlPolicy(request) {
|
|
7423
|
+
async createNatFirewallControlPolicy(request) {
|
|
6761
7424
|
let runtime = new $Util.RuntimeOptions({});
|
|
6762
|
-
return await this.
|
|
7425
|
+
return await this.createNatFirewallControlPolicyWithOptions(request, runtime);
|
|
6763
7426
|
}
|
|
6764
7427
|
async createTrFirewallV2WithOptions(request, runtime) {
|
|
6765
7428
|
tea_util_1.default.validateModel(request);
|
|
@@ -7282,6 +7945,41 @@ class Client extends openapi_client_1.default {
|
|
|
7282
7945
|
let runtime = new $Util.RuntimeOptions({});
|
|
7283
7946
|
return await this.deleteInstanceMembersWithOptions(request, runtime);
|
|
7284
7947
|
}
|
|
7948
|
+
async deleteNatFirewallControlPolicyWithOptions(request, runtime) {
|
|
7949
|
+
tea_util_1.default.validateModel(request);
|
|
7950
|
+
let query = {};
|
|
7951
|
+
if (!tea_util_1.default.isUnset(request.aclUuid)) {
|
|
7952
|
+
query["AclUuid"] = request.aclUuid;
|
|
7953
|
+
}
|
|
7954
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
7955
|
+
query["Direction"] = request.direction;
|
|
7956
|
+
}
|
|
7957
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7958
|
+
query["Lang"] = request.lang;
|
|
7959
|
+
}
|
|
7960
|
+
if (!tea_util_1.default.isUnset(request.natGatewayId)) {
|
|
7961
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
7962
|
+
}
|
|
7963
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7964
|
+
query: openapi_util_1.default.query(query),
|
|
7965
|
+
});
|
|
7966
|
+
let params = new $OpenApi.Params({
|
|
7967
|
+
action: "DeleteNatFirewallControlPolicy",
|
|
7968
|
+
version: "2017-12-07",
|
|
7969
|
+
protocol: "HTTPS",
|
|
7970
|
+
pathname: "/",
|
|
7971
|
+
method: "POST",
|
|
7972
|
+
authType: "AK",
|
|
7973
|
+
style: "RPC",
|
|
7974
|
+
reqBodyType: "formData",
|
|
7975
|
+
bodyType: "json",
|
|
7976
|
+
});
|
|
7977
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteNatFirewallControlPolicyResponse({}));
|
|
7978
|
+
}
|
|
7979
|
+
async deleteNatFirewallControlPolicy(request) {
|
|
7980
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7981
|
+
return await this.deleteNatFirewallControlPolicyWithOptions(request, runtime);
|
|
7982
|
+
}
|
|
7285
7983
|
async deleteTrFirewallV2WithOptions(request, runtime) {
|
|
7286
7984
|
tea_util_1.default.validateModel(request);
|
|
7287
7985
|
let query = {};
|
|
@@ -7937,6 +8635,100 @@ class Client extends openapi_client_1.default {
|
|
|
7937
8635
|
let runtime = new $Util.RuntimeOptions({});
|
|
7938
8636
|
return await this.describeInvadeEventListWithOptions(request, runtime);
|
|
7939
8637
|
}
|
|
8638
|
+
async describeNatFirewallControlPolicyWithOptions(request, runtime) {
|
|
8639
|
+
tea_util_1.default.validateModel(request);
|
|
8640
|
+
let query = {};
|
|
8641
|
+
if (!tea_util_1.default.isUnset(request.aclAction)) {
|
|
8642
|
+
query["AclAction"] = request.aclAction;
|
|
8643
|
+
}
|
|
8644
|
+
if (!tea_util_1.default.isUnset(request.aclUuid)) {
|
|
8645
|
+
query["AclUuid"] = request.aclUuid;
|
|
8646
|
+
}
|
|
8647
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
8648
|
+
query["CurrentPage"] = request.currentPage;
|
|
8649
|
+
}
|
|
8650
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
8651
|
+
query["Description"] = request.description;
|
|
8652
|
+
}
|
|
8653
|
+
if (!tea_util_1.default.isUnset(request.destination)) {
|
|
8654
|
+
query["Destination"] = request.destination;
|
|
8655
|
+
}
|
|
8656
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
8657
|
+
query["Direction"] = request.direction;
|
|
8658
|
+
}
|
|
8659
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8660
|
+
query["Lang"] = request.lang;
|
|
8661
|
+
}
|
|
8662
|
+
if (!tea_util_1.default.isUnset(request.natGatewayId)) {
|
|
8663
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
8664
|
+
}
|
|
8665
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
8666
|
+
query["PageSize"] = request.pageSize;
|
|
8667
|
+
}
|
|
8668
|
+
if (!tea_util_1.default.isUnset(request.proto)) {
|
|
8669
|
+
query["Proto"] = request.proto;
|
|
8670
|
+
}
|
|
8671
|
+
if (!tea_util_1.default.isUnset(request.release)) {
|
|
8672
|
+
query["Release"] = request.release;
|
|
8673
|
+
}
|
|
8674
|
+
if (!tea_util_1.default.isUnset(request.source)) {
|
|
8675
|
+
query["Source"] = request.source;
|
|
8676
|
+
}
|
|
8677
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8678
|
+
query: openapi_util_1.default.query(query),
|
|
8679
|
+
});
|
|
8680
|
+
let params = new $OpenApi.Params({
|
|
8681
|
+
action: "DescribeNatFirewallControlPolicy",
|
|
8682
|
+
version: "2017-12-07",
|
|
8683
|
+
protocol: "HTTPS",
|
|
8684
|
+
pathname: "/",
|
|
8685
|
+
method: "POST",
|
|
8686
|
+
authType: "AK",
|
|
8687
|
+
style: "RPC",
|
|
8688
|
+
reqBodyType: "formData",
|
|
8689
|
+
bodyType: "json",
|
|
8690
|
+
});
|
|
8691
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNatFirewallControlPolicyResponse({}));
|
|
8692
|
+
}
|
|
8693
|
+
async describeNatFirewallControlPolicy(request) {
|
|
8694
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8695
|
+
return await this.describeNatFirewallControlPolicyWithOptions(request, runtime);
|
|
8696
|
+
}
|
|
8697
|
+
async describeNatFirewallPolicyPriorUsedWithOptions(request, runtime) {
|
|
8698
|
+
tea_util_1.default.validateModel(request);
|
|
8699
|
+
let query = {};
|
|
8700
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
8701
|
+
query["Direction"] = request.direction;
|
|
8702
|
+
}
|
|
8703
|
+
if (!tea_util_1.default.isUnset(request.ipVersion)) {
|
|
8704
|
+
query["IpVersion"] = request.ipVersion;
|
|
8705
|
+
}
|
|
8706
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8707
|
+
query["Lang"] = request.lang;
|
|
8708
|
+
}
|
|
8709
|
+
if (!tea_util_1.default.isUnset(request.natGatewayId)) {
|
|
8710
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
8711
|
+
}
|
|
8712
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8713
|
+
query: openapi_util_1.default.query(query),
|
|
8714
|
+
});
|
|
8715
|
+
let params = new $OpenApi.Params({
|
|
8716
|
+
action: "DescribeNatFirewallPolicyPriorUsed",
|
|
8717
|
+
version: "2017-12-07",
|
|
8718
|
+
protocol: "HTTPS",
|
|
8719
|
+
pathname: "/",
|
|
8720
|
+
method: "POST",
|
|
8721
|
+
authType: "AK",
|
|
8722
|
+
style: "RPC",
|
|
8723
|
+
reqBodyType: "formData",
|
|
8724
|
+
bodyType: "json",
|
|
8725
|
+
});
|
|
8726
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNatFirewallPolicyPriorUsedResponse({}));
|
|
8727
|
+
}
|
|
8728
|
+
async describeNatFirewallPolicyPriorUsed(request) {
|
|
8729
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8730
|
+
return await this.describeNatFirewallPolicyPriorUsedWithOptions(request, runtime);
|
|
8731
|
+
}
|
|
7940
8732
|
async describeOutgoingDestinationIPWithOptions(request, runtime) {
|
|
7941
8733
|
tea_util_1.default.validateModel(request);
|
|
7942
8734
|
let query = {};
|
|
@@ -8268,6 +9060,56 @@ class Client extends openapi_client_1.default {
|
|
|
8268
9060
|
let runtime = new $Util.RuntimeOptions({});
|
|
8269
9061
|
return await this.describeRiskEventGroupWithOptions(request, runtime);
|
|
8270
9062
|
}
|
|
9063
|
+
async describeRiskEventPayloadWithOptions(request, runtime) {
|
|
9064
|
+
tea_util_1.default.validateModel(request);
|
|
9065
|
+
let query = {};
|
|
9066
|
+
if (!tea_util_1.default.isUnset(request.dstIP)) {
|
|
9067
|
+
query["DstIP"] = request.dstIP;
|
|
9068
|
+
}
|
|
9069
|
+
if (!tea_util_1.default.isUnset(request.dstVpcId)) {
|
|
9070
|
+
query["DstVpcId"] = request.dstVpcId;
|
|
9071
|
+
}
|
|
9072
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
9073
|
+
query["EndTime"] = request.endTime;
|
|
9074
|
+
}
|
|
9075
|
+
if (!tea_util_1.default.isUnset(request.firewallType)) {
|
|
9076
|
+
query["FirewallType"] = request.firewallType;
|
|
9077
|
+
}
|
|
9078
|
+
if (!tea_util_1.default.isUnset(request.publicIP)) {
|
|
9079
|
+
query["PublicIP"] = request.publicIP;
|
|
9080
|
+
}
|
|
9081
|
+
if (!tea_util_1.default.isUnset(request.srcIP)) {
|
|
9082
|
+
query["SrcIP"] = request.srcIP;
|
|
9083
|
+
}
|
|
9084
|
+
if (!tea_util_1.default.isUnset(request.srcVpcId)) {
|
|
9085
|
+
query["SrcVpcId"] = request.srcVpcId;
|
|
9086
|
+
}
|
|
9087
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
9088
|
+
query["StartTime"] = request.startTime;
|
|
9089
|
+
}
|
|
9090
|
+
if (!tea_util_1.default.isUnset(request.UUID)) {
|
|
9091
|
+
query["UUID"] = request.UUID;
|
|
9092
|
+
}
|
|
9093
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9094
|
+
query: openapi_util_1.default.query(query),
|
|
9095
|
+
});
|
|
9096
|
+
let params = new $OpenApi.Params({
|
|
9097
|
+
action: "DescribeRiskEventPayload",
|
|
9098
|
+
version: "2017-12-07",
|
|
9099
|
+
protocol: "HTTPS",
|
|
9100
|
+
pathname: "/",
|
|
9101
|
+
method: "POST",
|
|
9102
|
+
authType: "AK",
|
|
9103
|
+
style: "RPC",
|
|
9104
|
+
reqBodyType: "formData",
|
|
9105
|
+
bodyType: "json",
|
|
9106
|
+
});
|
|
9107
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRiskEventPayloadResponse({}));
|
|
9108
|
+
}
|
|
9109
|
+
async describeRiskEventPayload(request) {
|
|
9110
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9111
|
+
return await this.describeRiskEventPayloadWithOptions(request, runtime);
|
|
9112
|
+
}
|
|
8271
9113
|
async describeTrFirewallPolicyBackUpAssociationListWithOptions(request, runtime) {
|
|
8272
9114
|
tea_util_1.default.validateModel(request);
|
|
8273
9115
|
let query = {};
|
|
@@ -9427,6 +10269,112 @@ class Client extends openapi_client_1.default {
|
|
|
9427
10269
|
let runtime = new $Util.RuntimeOptions({});
|
|
9428
10270
|
return await this.modifyInstanceMemberAttributesWithOptions(request, runtime);
|
|
9429
10271
|
}
|
|
10272
|
+
async modifyNatFirewallControlPolicyWithOptions(request, runtime) {
|
|
10273
|
+
tea_util_1.default.validateModel(request);
|
|
10274
|
+
let query = {};
|
|
10275
|
+
if (!tea_util_1.default.isUnset(request.aclAction)) {
|
|
10276
|
+
query["AclAction"] = request.aclAction;
|
|
10277
|
+
}
|
|
10278
|
+
if (!tea_util_1.default.isUnset(request.aclUuid)) {
|
|
10279
|
+
query["AclUuid"] = request.aclUuid;
|
|
10280
|
+
}
|
|
10281
|
+
if (!tea_util_1.default.isUnset(request.applicationNameList)) {
|
|
10282
|
+
query["ApplicationNameList"] = request.applicationNameList;
|
|
10283
|
+
}
|
|
10284
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
10285
|
+
query["Description"] = request.description;
|
|
10286
|
+
}
|
|
10287
|
+
if (!tea_util_1.default.isUnset(request.destPort)) {
|
|
10288
|
+
query["DestPort"] = request.destPort;
|
|
10289
|
+
}
|
|
10290
|
+
if (!tea_util_1.default.isUnset(request.destPortGroup)) {
|
|
10291
|
+
query["DestPortGroup"] = request.destPortGroup;
|
|
10292
|
+
}
|
|
10293
|
+
if (!tea_util_1.default.isUnset(request.destPortType)) {
|
|
10294
|
+
query["DestPortType"] = request.destPortType;
|
|
10295
|
+
}
|
|
10296
|
+
if (!tea_util_1.default.isUnset(request.destination)) {
|
|
10297
|
+
query["Destination"] = request.destination;
|
|
10298
|
+
}
|
|
10299
|
+
if (!tea_util_1.default.isUnset(request.destinationType)) {
|
|
10300
|
+
query["DestinationType"] = request.destinationType;
|
|
10301
|
+
}
|
|
10302
|
+
if (!tea_util_1.default.isUnset(request.domainResolveType)) {
|
|
10303
|
+
query["DomainResolveType"] = request.domainResolveType;
|
|
10304
|
+
}
|
|
10305
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
10306
|
+
query["Lang"] = request.lang;
|
|
10307
|
+
}
|
|
10308
|
+
if (!tea_util_1.default.isUnset(request.natGatewayId)) {
|
|
10309
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
10310
|
+
}
|
|
10311
|
+
if (!tea_util_1.default.isUnset(request.proto)) {
|
|
10312
|
+
query["Proto"] = request.proto;
|
|
10313
|
+
}
|
|
10314
|
+
if (!tea_util_1.default.isUnset(request.release)) {
|
|
10315
|
+
query["Release"] = request.release;
|
|
10316
|
+
}
|
|
10317
|
+
if (!tea_util_1.default.isUnset(request.source)) {
|
|
10318
|
+
query["Source"] = request.source;
|
|
10319
|
+
}
|
|
10320
|
+
if (!tea_util_1.default.isUnset(request.sourceType)) {
|
|
10321
|
+
query["SourceType"] = request.sourceType;
|
|
10322
|
+
}
|
|
10323
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10324
|
+
query: openapi_util_1.default.query(query),
|
|
10325
|
+
});
|
|
10326
|
+
let params = new $OpenApi.Params({
|
|
10327
|
+
action: "ModifyNatFirewallControlPolicy",
|
|
10328
|
+
version: "2017-12-07",
|
|
10329
|
+
protocol: "HTTPS",
|
|
10330
|
+
pathname: "/",
|
|
10331
|
+
method: "POST",
|
|
10332
|
+
authType: "AK",
|
|
10333
|
+
style: "RPC",
|
|
10334
|
+
reqBodyType: "formData",
|
|
10335
|
+
bodyType: "json",
|
|
10336
|
+
});
|
|
10337
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNatFirewallControlPolicyResponse({}));
|
|
10338
|
+
}
|
|
10339
|
+
async modifyNatFirewallControlPolicy(request) {
|
|
10340
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10341
|
+
return await this.modifyNatFirewallControlPolicyWithOptions(request, runtime);
|
|
10342
|
+
}
|
|
10343
|
+
async modifyNatFirewallControlPolicyPositionWithOptions(request, runtime) {
|
|
10344
|
+
tea_util_1.default.validateModel(request);
|
|
10345
|
+
let query = {};
|
|
10346
|
+
if (!tea_util_1.default.isUnset(request.aclUuid)) {
|
|
10347
|
+
query["AclUuid"] = request.aclUuid;
|
|
10348
|
+
}
|
|
10349
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
10350
|
+
query["Lang"] = request.lang;
|
|
10351
|
+
}
|
|
10352
|
+
if (!tea_util_1.default.isUnset(request.natGatewayId)) {
|
|
10353
|
+
query["NatGatewayId"] = request.natGatewayId;
|
|
10354
|
+
}
|
|
10355
|
+
if (!tea_util_1.default.isUnset(request.newOrder)) {
|
|
10356
|
+
query["NewOrder"] = request.newOrder;
|
|
10357
|
+
}
|
|
10358
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10359
|
+
query: openapi_util_1.default.query(query),
|
|
10360
|
+
});
|
|
10361
|
+
let params = new $OpenApi.Params({
|
|
10362
|
+
action: "ModifyNatFirewallControlPolicyPosition",
|
|
10363
|
+
version: "2017-12-07",
|
|
10364
|
+
protocol: "HTTPS",
|
|
10365
|
+
pathname: "/",
|
|
10366
|
+
method: "POST",
|
|
10367
|
+
authType: "AK",
|
|
10368
|
+
style: "RPC",
|
|
10369
|
+
reqBodyType: "formData",
|
|
10370
|
+
bodyType: "json",
|
|
10371
|
+
});
|
|
10372
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNatFirewallControlPolicyPositionResponse({}));
|
|
10373
|
+
}
|
|
10374
|
+
async modifyNatFirewallControlPolicyPosition(request) {
|
|
10375
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10376
|
+
return await this.modifyNatFirewallControlPolicyPositionWithOptions(request, runtime);
|
|
10377
|
+
}
|
|
9430
10378
|
/**
|
|
9431
10379
|
* You can call the ModifyPolicyAdvancedConfig operation to enable or disable the strict mode for an access control policy.
|
|
9432
10380
|
* ## Limits
|