@alicloud/cloudfw20171207 1.2.8 → 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 +414 -0
- package/dist/client.js +1036 -75
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1420 -189
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);
|
|
@@ -2275,10 +2651,14 @@ class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
|
|
|
2275
2651
|
firewallId: 'FirewallId',
|
|
2276
2652
|
firewallName: 'FirewallName',
|
|
2277
2653
|
firewallStatus: 'FirewallStatus',
|
|
2654
|
+
firewallSubnetCidr: 'FirewallSubnetCidr',
|
|
2278
2655
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2656
|
+
firewallVpcCidr: 'FirewallVpcCidr',
|
|
2279
2657
|
regionNo: 'RegionNo',
|
|
2280
2658
|
requestId: 'RequestId',
|
|
2281
2659
|
routeMode: 'RouteMode',
|
|
2660
|
+
trAttachmentMasterCidr: 'TrAttachmentMasterCidr',
|
|
2661
|
+
trAttachmentSlaveCidr: 'TrAttachmentSlaveCidr',
|
|
2282
2662
|
transitRouterId: 'TransitRouterId',
|
|
2283
2663
|
};
|
|
2284
2664
|
}
|
|
@@ -2292,10 +2672,14 @@ class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
|
|
|
2292
2672
|
firewallId: 'string',
|
|
2293
2673
|
firewallName: 'string',
|
|
2294
2674
|
firewallStatus: 'string',
|
|
2675
|
+
firewallSubnetCidr: 'string',
|
|
2295
2676
|
firewallSwitchStatus: 'string',
|
|
2677
|
+
firewallVpcCidr: 'string',
|
|
2296
2678
|
regionNo: 'string',
|
|
2297
2679
|
requestId: 'string',
|
|
2298
2680
|
routeMode: 'string',
|
|
2681
|
+
trAttachmentMasterCidr: 'string',
|
|
2682
|
+
trAttachmentSlaveCidr: 'string',
|
|
2299
2683
|
transitRouterId: 'string',
|
|
2300
2684
|
};
|
|
2301
2685
|
}
|
|
@@ -3402,14 +3786,144 @@ class ModifyControlPolicyPositionRequest extends $tea.Model {
|
|
|
3402
3786
|
return {
|
|
3403
3787
|
direction: 'string',
|
|
3404
3788
|
lang: 'string',
|
|
3405
|
-
newOrder: 'string',
|
|
3406
|
-
oldOrder: 'string',
|
|
3407
|
-
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',
|
|
3408
3922
|
};
|
|
3409
3923
|
}
|
|
3410
3924
|
}
|
|
3411
|
-
exports.
|
|
3412
|
-
class
|
|
3925
|
+
exports.ModifyFirewallV2RoutePolicySwitchRequest = ModifyFirewallV2RoutePolicySwitchRequest;
|
|
3926
|
+
class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
|
|
3413
3927
|
constructor(map) {
|
|
3414
3928
|
super(map);
|
|
3415
3929
|
}
|
|
@@ -3424,8 +3938,8 @@ class ModifyControlPolicyPositionResponseBody extends $tea.Model {
|
|
|
3424
3938
|
};
|
|
3425
3939
|
}
|
|
3426
3940
|
}
|
|
3427
|
-
exports.
|
|
3428
|
-
class
|
|
3941
|
+
exports.ModifyFirewallV2RoutePolicySwitchResponseBody = ModifyFirewallV2RoutePolicySwitchResponseBody;
|
|
3942
|
+
class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
|
|
3429
3943
|
constructor(map) {
|
|
3430
3944
|
super(map);
|
|
3431
3945
|
}
|
|
@@ -3440,46 +3954,28 @@ class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
|
3440
3954
|
return {
|
|
3441
3955
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3442
3956
|
statusCode: 'number',
|
|
3443
|
-
body:
|
|
3957
|
+
body: ModifyFirewallV2RoutePolicySwitchResponseBody,
|
|
3444
3958
|
};
|
|
3445
3959
|
}
|
|
3446
3960
|
}
|
|
3447
|
-
exports.
|
|
3448
|
-
class
|
|
3961
|
+
exports.ModifyFirewallV2RoutePolicySwitchResponse = ModifyFirewallV2RoutePolicySwitchResponse;
|
|
3962
|
+
class ModifyInstanceMemberAttributesRequest extends $tea.Model {
|
|
3449
3963
|
constructor(map) {
|
|
3450
3964
|
super(map);
|
|
3451
3965
|
}
|
|
3452
3966
|
static names() {
|
|
3453
3967
|
return {
|
|
3454
|
-
|
|
3455
|
-
basicRules: 'BasicRules',
|
|
3456
|
-
ctiRules: 'CtiRules',
|
|
3457
|
-
enableAllPatch: 'EnableAllPatch',
|
|
3458
|
-
enableDefault: 'EnableDefault',
|
|
3459
|
-
lang: 'Lang',
|
|
3460
|
-
patchRules: 'PatchRules',
|
|
3461
|
-
ruleClass: 'RuleClass',
|
|
3462
|
-
runMode: 'RunMode',
|
|
3463
|
-
sourceIp: 'SourceIp',
|
|
3968
|
+
members: 'Members',
|
|
3464
3969
|
};
|
|
3465
3970
|
}
|
|
3466
3971
|
static types() {
|
|
3467
3972
|
return {
|
|
3468
|
-
|
|
3469
|
-
basicRules: 'string',
|
|
3470
|
-
ctiRules: 'string',
|
|
3471
|
-
enableAllPatch: 'string',
|
|
3472
|
-
enableDefault: 'string',
|
|
3473
|
-
lang: 'string',
|
|
3474
|
-
patchRules: 'string',
|
|
3475
|
-
ruleClass: 'string',
|
|
3476
|
-
runMode: 'string',
|
|
3477
|
-
sourceIp: 'string',
|
|
3973
|
+
members: { 'type': 'array', 'itemType': ModifyInstanceMemberAttributesRequestMembers },
|
|
3478
3974
|
};
|
|
3479
3975
|
}
|
|
3480
3976
|
}
|
|
3481
|
-
exports.
|
|
3482
|
-
class
|
|
3977
|
+
exports.ModifyInstanceMemberAttributesRequest = ModifyInstanceMemberAttributesRequest;
|
|
3978
|
+
class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
|
|
3483
3979
|
constructor(map) {
|
|
3484
3980
|
super(map);
|
|
3485
3981
|
}
|
|
@@ -3494,8 +3990,8 @@ class ModifyDefaultIPSConfigResponseBody extends $tea.Model {
|
|
|
3494
3990
|
};
|
|
3495
3991
|
}
|
|
3496
3992
|
}
|
|
3497
|
-
exports.
|
|
3498
|
-
class
|
|
3993
|
+
exports.ModifyInstanceMemberAttributesResponseBody = ModifyInstanceMemberAttributesResponseBody;
|
|
3994
|
+
class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
3499
3995
|
constructor(map) {
|
|
3500
3996
|
super(map);
|
|
3501
3997
|
}
|
|
@@ -3510,36 +4006,58 @@ class ModifyDefaultIPSConfigResponse extends $tea.Model {
|
|
|
3510
4006
|
return {
|
|
3511
4007
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3512
4008
|
statusCode: 'number',
|
|
3513
|
-
body:
|
|
4009
|
+
body: ModifyInstanceMemberAttributesResponseBody,
|
|
3514
4010
|
};
|
|
3515
4011
|
}
|
|
3516
4012
|
}
|
|
3517
|
-
exports.
|
|
3518
|
-
class
|
|
4013
|
+
exports.ModifyInstanceMemberAttributesResponse = ModifyInstanceMemberAttributesResponse;
|
|
4014
|
+
class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
|
|
3519
4015
|
constructor(map) {
|
|
3520
4016
|
super(map);
|
|
3521
4017
|
}
|
|
3522
4018
|
static names() {
|
|
3523
4019
|
return {
|
|
3524
|
-
|
|
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',
|
|
3525
4030
|
lang: 'Lang',
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
4031
|
+
natGatewayId: 'NatGatewayId',
|
|
4032
|
+
proto: 'Proto',
|
|
4033
|
+
release: 'Release',
|
|
4034
|
+
source: 'Source',
|
|
4035
|
+
sourceType: 'SourceType',
|
|
3529
4036
|
};
|
|
3530
4037
|
}
|
|
3531
4038
|
static types() {
|
|
3532
4039
|
return {
|
|
3533
|
-
|
|
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',
|
|
3534
4050
|
lang: 'string',
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
4051
|
+
natGatewayId: 'string',
|
|
4052
|
+
proto: 'string',
|
|
4053
|
+
release: 'string',
|
|
4054
|
+
source: 'string',
|
|
4055
|
+
sourceType: 'string',
|
|
3538
4056
|
};
|
|
3539
4057
|
}
|
|
3540
4058
|
}
|
|
3541
|
-
exports.
|
|
3542
|
-
class
|
|
4059
|
+
exports.ModifyNatFirewallControlPolicyRequest = ModifyNatFirewallControlPolicyRequest;
|
|
4060
|
+
class ModifyNatFirewallControlPolicyResponseBody extends $tea.Model {
|
|
3543
4061
|
constructor(map) {
|
|
3544
4062
|
super(map);
|
|
3545
4063
|
}
|
|
@@ -3554,8 +4072,8 @@ class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
|
|
|
3554
4072
|
};
|
|
3555
4073
|
}
|
|
3556
4074
|
}
|
|
3557
|
-
exports.
|
|
3558
|
-
class
|
|
4075
|
+
exports.ModifyNatFirewallControlPolicyResponseBody = ModifyNatFirewallControlPolicyResponseBody;
|
|
4076
|
+
class ModifyNatFirewallControlPolicyResponse extends $tea.Model {
|
|
3559
4077
|
constructor(map) {
|
|
3560
4078
|
super(map);
|
|
3561
4079
|
}
|
|
@@ -3570,28 +4088,34 @@ class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
|
|
|
3570
4088
|
return {
|
|
3571
4089
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3572
4090
|
statusCode: 'number',
|
|
3573
|
-
body:
|
|
4091
|
+
body: ModifyNatFirewallControlPolicyResponseBody,
|
|
3574
4092
|
};
|
|
3575
4093
|
}
|
|
3576
4094
|
}
|
|
3577
|
-
exports.
|
|
3578
|
-
class
|
|
4095
|
+
exports.ModifyNatFirewallControlPolicyResponse = ModifyNatFirewallControlPolicyResponse;
|
|
4096
|
+
class ModifyNatFirewallControlPolicyPositionRequest extends $tea.Model {
|
|
3579
4097
|
constructor(map) {
|
|
3580
4098
|
super(map);
|
|
3581
4099
|
}
|
|
3582
4100
|
static names() {
|
|
3583
4101
|
return {
|
|
3584
|
-
|
|
4102
|
+
aclUuid: 'AclUuid',
|
|
4103
|
+
lang: 'Lang',
|
|
4104
|
+
natGatewayId: 'NatGatewayId',
|
|
4105
|
+
newOrder: 'NewOrder',
|
|
3585
4106
|
};
|
|
3586
4107
|
}
|
|
3587
4108
|
static types() {
|
|
3588
4109
|
return {
|
|
3589
|
-
|
|
4110
|
+
aclUuid: 'string',
|
|
4111
|
+
lang: 'string',
|
|
4112
|
+
natGatewayId: 'string',
|
|
4113
|
+
newOrder: 'number',
|
|
3590
4114
|
};
|
|
3591
4115
|
}
|
|
3592
4116
|
}
|
|
3593
|
-
exports.
|
|
3594
|
-
class
|
|
4117
|
+
exports.ModifyNatFirewallControlPolicyPositionRequest = ModifyNatFirewallControlPolicyPositionRequest;
|
|
4118
|
+
class ModifyNatFirewallControlPolicyPositionResponseBody extends $tea.Model {
|
|
3595
4119
|
constructor(map) {
|
|
3596
4120
|
super(map);
|
|
3597
4121
|
}
|
|
@@ -3606,8 +4130,8 @@ class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
|
|
|
3606
4130
|
};
|
|
3607
4131
|
}
|
|
3608
4132
|
}
|
|
3609
|
-
exports.
|
|
3610
|
-
class
|
|
4133
|
+
exports.ModifyNatFirewallControlPolicyPositionResponseBody = ModifyNatFirewallControlPolicyPositionResponseBody;
|
|
4134
|
+
class ModifyNatFirewallControlPolicyPositionResponse extends $tea.Model {
|
|
3611
4135
|
constructor(map) {
|
|
3612
4136
|
super(map);
|
|
3613
4137
|
}
|
|
@@ -3622,11 +4146,11 @@ class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
|
3622
4146
|
return {
|
|
3623
4147
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3624
4148
|
statusCode: 'number',
|
|
3625
|
-
body:
|
|
4149
|
+
body: ModifyNatFirewallControlPolicyPositionResponseBody,
|
|
3626
4150
|
};
|
|
3627
4151
|
}
|
|
3628
4152
|
}
|
|
3629
|
-
exports.
|
|
4153
|
+
exports.ModifyNatFirewallControlPolicyPositionResponse = ModifyNatFirewallControlPolicyPositionResponse;
|
|
3630
4154
|
class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
|
|
3631
4155
|
constructor(map) {
|
|
3632
4156
|
super(map);
|
|
@@ -4153,6 +4677,7 @@ class ModifyVpcFirewallControlPolicyPositionRequest extends $tea.Model {
|
|
|
4153
4677
|
}
|
|
4154
4678
|
static names() {
|
|
4155
4679
|
return {
|
|
4680
|
+
aclUuid: 'AclUuid',
|
|
4156
4681
|
lang: 'Lang',
|
|
4157
4682
|
newOrder: 'NewOrder',
|
|
4158
4683
|
oldOrder: 'OldOrder',
|
|
@@ -4161,6 +4686,7 @@ class ModifyVpcFirewallControlPolicyPositionRequest extends $tea.Model {
|
|
|
4161
4686
|
}
|
|
4162
4687
|
static types() {
|
|
4163
4688
|
return {
|
|
4689
|
+
aclUuid: 'string',
|
|
4164
4690
|
lang: 'string',
|
|
4165
4691
|
newOrder: 'string',
|
|
4166
4692
|
oldOrder: 'string',
|
|
@@ -5029,6 +5555,76 @@ class DescribeInvadeEventListResponseBodyPageInfo extends $tea.Model {
|
|
|
5029
5555
|
}
|
|
5030
5556
|
}
|
|
5031
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;
|
|
5032
5628
|
class DescribeOutgoingDestinationIPResponseBodyDstIPListAddressGroupList extends $tea.Model {
|
|
5033
5629
|
constructor(map) {
|
|
5034
5630
|
super(map);
|
|
@@ -6724,7 +7320,95 @@ class Client extends openapi_client_1.default {
|
|
|
6724
7320
|
query: openapi_util_1.default.query(query),
|
|
6725
7321
|
});
|
|
6726
7322
|
let params = new $OpenApi.Params({
|
|
6727
|
-
action: "BatchCopyVpcFirewallControlPolicy",
|
|
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;
|
|
7406
|
+
}
|
|
7407
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7408
|
+
query: openapi_util_1.default.query(query),
|
|
7409
|
+
});
|
|
7410
|
+
let params = new $OpenApi.Params({
|
|
7411
|
+
action: "CreateNatFirewallControlPolicy",
|
|
6728
7412
|
version: "2017-12-07",
|
|
6729
7413
|
protocol: "HTTPS",
|
|
6730
7414
|
pathname: "/",
|
|
@@ -6734,22 +7418,11 @@ class Client extends openapi_client_1.default {
|
|
|
6734
7418
|
reqBodyType: "formData",
|
|
6735
7419
|
bodyType: "json",
|
|
6736
7420
|
});
|
|
6737
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
7421
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateNatFirewallControlPolicyResponse({}));
|
|
6738
7422
|
}
|
|
6739
|
-
|
|
6740
|
-
* 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.
|
|
6741
|
-
* 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).
|
|
6742
|
-
* After you call this operation, all the access control policies in the policy group of the destination VPC firewall are replaced.
|
|
6743
|
-
* The policy groups of the source VPC firewall and the destination VPC firewall must belong to the same Alibaba Cloud account.
|
|
6744
|
-
* ## Limits
|
|
6745
|
-
* 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.
|
|
6746
|
-
*
|
|
6747
|
-
* @param request BatchCopyVpcFirewallControlPolicyRequest
|
|
6748
|
-
* @return BatchCopyVpcFirewallControlPolicyResponse
|
|
6749
|
-
*/
|
|
6750
|
-
async batchCopyVpcFirewallControlPolicy(request) {
|
|
7423
|
+
async createNatFirewallControlPolicy(request) {
|
|
6751
7424
|
let runtime = new $Util.RuntimeOptions({});
|
|
6752
|
-
return await this.
|
|
7425
|
+
return await this.createNatFirewallControlPolicyWithOptions(request, runtime);
|
|
6753
7426
|
}
|
|
6754
7427
|
async createTrFirewallV2WithOptions(request, runtime) {
|
|
6755
7428
|
tea_util_1.default.validateModel(request);
|
|
@@ -7272,6 +7945,41 @@ class Client extends openapi_client_1.default {
|
|
|
7272
7945
|
let runtime = new $Util.RuntimeOptions({});
|
|
7273
7946
|
return await this.deleteInstanceMembersWithOptions(request, runtime);
|
|
7274
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
|
+
}
|
|
7275
7983
|
async deleteTrFirewallV2WithOptions(request, runtime) {
|
|
7276
7984
|
tea_util_1.default.validateModel(request);
|
|
7277
7985
|
let query = {};
|
|
@@ -7927,6 +8635,100 @@ class Client extends openapi_client_1.default {
|
|
|
7927
8635
|
let runtime = new $Util.RuntimeOptions({});
|
|
7928
8636
|
return await this.describeInvadeEventListWithOptions(request, runtime);
|
|
7929
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
|
+
}
|
|
7930
8732
|
async describeOutgoingDestinationIPWithOptions(request, runtime) {
|
|
7931
8733
|
tea_util_1.default.validateModel(request);
|
|
7932
8734
|
let query = {};
|
|
@@ -8258,6 +9060,56 @@ class Client extends openapi_client_1.default {
|
|
|
8258
9060
|
let runtime = new $Util.RuntimeOptions({});
|
|
8259
9061
|
return await this.describeRiskEventGroupWithOptions(request, runtime);
|
|
8260
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
|
+
}
|
|
8261
9113
|
async describeTrFirewallPolicyBackUpAssociationListWithOptions(request, runtime) {
|
|
8262
9114
|
tea_util_1.default.validateModel(request);
|
|
8263
9115
|
let query = {};
|
|
@@ -9417,6 +10269,112 @@ class Client extends openapi_client_1.default {
|
|
|
9417
10269
|
let runtime = new $Util.RuntimeOptions({});
|
|
9418
10270
|
return await this.modifyInstanceMemberAttributesWithOptions(request, runtime);
|
|
9419
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
|
+
}
|
|
9420
10378
|
/**
|
|
9421
10379
|
* You can call the ModifyPolicyAdvancedConfig operation to enable or disable the strict mode for an access control policy.
|
|
9422
10380
|
* ## Limits
|
|
@@ -9852,6 +10810,9 @@ class Client extends openapi_client_1.default {
|
|
|
9852
10810
|
async modifyVpcFirewallControlPolicyPositionWithOptions(request, runtime) {
|
|
9853
10811
|
tea_util_1.default.validateModel(request);
|
|
9854
10812
|
let query = {};
|
|
10813
|
+
if (!tea_util_1.default.isUnset(request.aclUuid)) {
|
|
10814
|
+
query["AclUuid"] = request.aclUuid;
|
|
10815
|
+
}
|
|
9855
10816
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
9856
10817
|
query["Lang"] = request.lang;
|
|
9857
10818
|
}
|