alibabacloud-cloudfw20171207 3.4.0__py3-none-any.whl → 3.6.0__py3-none-any.whl

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.

Potentially problematic release.


This version of alibabacloud-cloudfw20171207 might be problematic. Click here for more details.

@@ -66,8 +66,12 @@ class AddAddressBookRequest(TeaModel):
66
66
  # * **0** (default): no
67
67
  self.auto_add_tag_ecs = auto_add_tag_ecs
68
68
  # The description of the address book.
69
+ #
70
+ # This parameter is required.
69
71
  self.description = description
70
72
  # The name of the address book.
73
+ #
74
+ # This parameter is required.
71
75
  self.group_name = group_name
72
76
  # The type of the address book. Valid values:
73
77
  #
@@ -75,6 +79,8 @@ class AddAddressBookRequest(TeaModel):
75
79
  # * **domain**: domain address book
76
80
  # * **port**: port address book
77
81
  # * **tag**: ECS tag-based address book
82
+ #
83
+ # This parameter is required.
78
84
  self.group_type = group_type
79
85
  # The language of the content within the response. Valid values:
80
86
  #
@@ -260,6 +266,8 @@ class AddControlPolicyRequest(TeaModel):
260
266
  # * **accept**: allows the traffic.
261
267
  # * **drop**: denies the traffic.
262
268
  # * **log**: monitors the traffic.
269
+ #
270
+ # This parameter is required.
263
271
  self.acl_action = acl_action
264
272
  # The application type supported by the access control policy. Valid values:
265
273
  #
@@ -285,6 +293,8 @@ class AddControlPolicyRequest(TeaModel):
285
293
  # The application types supported by the access control policy.
286
294
  self.application_name_list = application_name_list
287
295
  # The description of the access control policy.
296
+ #
297
+ # This parameter is required.
288
298
  self.description = description
289
299
  # The destination port in the access control policy. Valid values:
290
300
  #
@@ -323,11 +333,13 @@ class AddControlPolicyRequest(TeaModel):
323
333
  #
324
334
  # * If DestinationType is set to domain, the value of this parameter is a domain name.
325
335
  #
326
- # Example: \*.aliyuncs.com
336
+ # Example: \\*.aliyuncs.com
327
337
  #
328
338
  # * If DestinationType is set to location, the value of this parameter is a location.
329
339
  #
330
- # Example: \["BJ11", "ZB"]
340
+ # Example: ["BJ11", "ZB"]
341
+ #
342
+ # This parameter is required.
331
343
  self.destination = destination
332
344
  # The type of the destination address in the access control policy. Valid values:
333
345
  #
@@ -335,11 +347,15 @@ class AddControlPolicyRequest(TeaModel):
335
347
  # * **group**: address book
336
348
  # * **domain**: domain name
337
349
  # * **location**: location
350
+ #
351
+ # This parameter is required.
338
352
  self.destination_type = destination_type
339
353
  # The direction of the traffic to which the access control policy applies. Valid values:
340
354
  #
341
355
  # * **in**: inbound traffic
342
356
  # * **out**: outbound traffic
357
+ #
358
+ # This parameter is required.
343
359
  self.direction = direction
344
360
  # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.
345
361
  #
@@ -358,6 +374,8 @@ class AddControlPolicyRequest(TeaModel):
358
374
  # * **en**: English
359
375
  self.lang = lang
360
376
  # The priority of the access control policy. The priority value starts from 1. A smaller priority value indicates a higher priority.
377
+ #
378
+ # This parameter is required.
361
379
  self.new_order = new_order
362
380
  # The protocol type supported by the access control policy. Valid values:
363
381
  #
@@ -365,6 +383,8 @@ class AddControlPolicyRequest(TeaModel):
365
383
  # * **TCP**\
366
384
  # * **UDP**\
367
385
  # * **ICMP**\
386
+ #
387
+ # This parameter is required.
368
388
  self.proto = proto
369
389
  # Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:
370
390
  #
@@ -373,12 +393,12 @@ class AddControlPolicyRequest(TeaModel):
373
393
  self.release = release
374
394
  # The days of a week or of a month on which the access control policy takes effect.
375
395
  #
376
- # * If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: \[].
377
- # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6].
396
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: [].
397
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: [0, 6].
378
398
  #
379
399
  # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
380
400
  #
381
- # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31].
401
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: [1, 31].
382
402
  #
383
403
  # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
384
404
  self.repeat_days = repeat_days
@@ -410,7 +430,9 @@ class AddControlPolicyRequest(TeaModel):
410
430
  #
411
431
  # * If SourceType is set to location, the value of this parameter is a location.
412
432
  #
413
- # Example: \["BJ11", "ZB"]
433
+ # Example: ["BJ11", "ZB"]
434
+ #
435
+ # This parameter is required.
414
436
  self.source = source
415
437
  # The source IP address of the request.
416
438
  self.source_ip = source_ip
@@ -419,6 +441,8 @@ class AddControlPolicyRequest(TeaModel):
419
441
  # * **net**: CIDR block
420
442
  # * **group**: address book
421
443
  # * **location**: location
444
+ #
445
+ # This parameter is required.
422
446
  self.source_type = source_type
423
447
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.
424
448
  #
@@ -622,6 +646,8 @@ class AddInstanceMembersRequestMembers(TeaModel):
622
646
  # The remarks of member that you want to add to Cloud Firewall. The remarks must be 1 to 256 characters in length.
623
647
  self.member_desc = member_desc
624
648
  # The UID of member that you want to add to Cloud Firewall.
649
+ #
650
+ # This parameter is required.
625
651
  self.member_uid = member_uid
626
652
 
627
653
  def validate(self):
@@ -654,6 +680,8 @@ class AddInstanceMembersRequest(TeaModel):
654
680
  members: List[AddInstanceMembersRequestMembers] = None,
655
681
  ):
656
682
  # The members that you want to add to Cloud Firewall.
683
+ #
684
+ # This parameter is required.
657
685
  self.members = members
658
686
 
659
687
  def validate(self):
@@ -773,14 +801,18 @@ class BatchCopyVpcFirewallControlPolicyRequest(TeaModel):
773
801
  # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
774
802
  # * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.
775
803
  #
776
- # > You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the IDs of policy groups.
804
+ # > You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the IDs of policy groups.
805
+ #
806
+ # This parameter is required.
777
807
  self.source_vpc_firewall_id = source_vpc_firewall_id
778
808
  # The ID of the policy group of the destination VPC firewall. Valid values:
779
809
  #
780
810
  # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a VBR, or a CCN instance.
781
811
  # * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.
782
812
  #
783
- # > You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the IDs of policy groups.
813
+ # > You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the IDs of policy groups.
814
+ #
815
+ # This parameter is required.
784
816
  self.target_vpc_firewall_id = target_vpc_firewall_id
785
817
 
786
818
  def validate(self):
@@ -890,7 +922,13 @@ class BatchDeleteVpcFirewallControlPolicyRequest(TeaModel):
890
922
  acl_uuid_list: List[str] = None,
891
923
  vpc_firewall_id: str = None,
892
924
  ):
925
+ # The UUIDs of access control policies.
926
+ #
927
+ # This parameter is required.
893
928
  self.acl_uuid_list = acl_uuid_list
929
+ # The instance ID of the VPC firewall.
930
+ #
931
+ # This parameter is required.
894
932
  self.vpc_firewall_id = vpc_firewall_id
895
933
 
896
934
  def validate(self):
@@ -922,6 +960,7 @@ class BatchDeleteVpcFirewallControlPolicyResponseBody(TeaModel):
922
960
  self,
923
961
  request_id: str = None,
924
962
  ):
963
+ # The ID of the request.
925
964
  self.request_id = request_id
926
965
 
927
966
  def validate(self):
@@ -1037,11 +1076,11 @@ class CreateDownloadTaskResponseBody(TeaModel):
1037
1076
  self.request_id = request_id
1038
1077
  # The status of the task. Valid values:
1039
1078
  #
1040
- # finish: You can query the task to obtain the download link of the file.
1079
+ # finish: The task finished. You can query the task to obtain the download link of the file.
1041
1080
  #
1042
- # start
1081
+ # start: The task start.
1043
1082
  #
1044
- # error
1083
+ # error: An error occurred.
1045
1084
  #
1046
1085
  # expire: The task file is invalid and cannot be downloaded.
1047
1086
  self.status = status
@@ -1158,10 +1197,16 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1158
1197
  # * **accept**: allows the traffic.
1159
1198
  # * **drop**: denies the traffic.
1160
1199
  # * **log**: monitors the traffic.
1200
+ #
1201
+ # This parameter is required.
1161
1202
  self.acl_action = acl_action
1162
1203
  # The application types supported by the access control policy.
1204
+ #
1205
+ # This parameter is required.
1163
1206
  self.application_name_list = application_name_list
1164
1207
  # The description of the access control policy.
1208
+ #
1209
+ # This parameter is required.
1165
1210
  self.description = description
1166
1211
  # The destination port in the access control policy. Valid values:
1167
1212
  #
@@ -1198,11 +1243,13 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1198
1243
  #
1199
1244
  # * If DestinationType is set to domain, the value of this parameter is a domain name.
1200
1245
  #
1201
- # Example: \*.aliyuncs.com
1246
+ # Example: \\*.aliyuncs.com
1202
1247
  #
1203
1248
  # * If DestinationType is set to location, the value of this parameter is a location.
1204
1249
  #
1205
- # Example: \["BJ11", "ZB"]
1250
+ # Example: ["BJ11", "ZB"]
1251
+ #
1252
+ # This parameter is required.
1206
1253
  self.destination = destination
1207
1254
  # The type of the destination address in the access control policy.
1208
1255
  #
@@ -1211,10 +1258,14 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1211
1258
  # * **net**: CIDR block
1212
1259
  # * **group**: address book
1213
1260
  # * **domain**: domain name
1261
+ #
1262
+ # This parameter is required.
1214
1263
  self.destination_type = destination_type
1215
1264
  # The direction of the traffic to which the access control policy applies. Valid values:
1216
1265
  #
1217
1266
  # * **out**: outbound traffic
1267
+ #
1268
+ # This parameter is required.
1218
1269
  self.direction = direction
1219
1270
  # The domain name resolution method of the access control policy. Valid values:
1220
1271
  #
@@ -1238,8 +1289,12 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1238
1289
  # * **en**: English
1239
1290
  self.lang = lang
1240
1291
  # The ID of the NAT gateway.
1292
+ #
1293
+ # This parameter is required.
1241
1294
  self.nat_gateway_id = nat_gateway_id
1242
1295
  # The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority.
1296
+ #
1297
+ # This parameter is required.
1243
1298
  self.new_order = new_order
1244
1299
  # The protocol type in the access control policy.
1245
1300
  #
@@ -1249,6 +1304,8 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1249
1304
  # * TCP
1250
1305
  # * UDP
1251
1306
  # * ICMP
1307
+ #
1308
+ # This parameter is required.
1252
1309
  self.proto = proto
1253
1310
  # Specifies whether to enable the access control policy. By default, an access control policy is enabled after it is created. Valid values:
1254
1311
  #
@@ -1257,12 +1314,12 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1257
1314
  self.release = release
1258
1315
  # The days of a week or of a month on which the access control policy takes effect.
1259
1316
  #
1260
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \[].
1261
- # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: \[0, 6].
1317
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: [].
1318
+ # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: [0, 6].
1262
1319
  #
1263
1320
  # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
1264
1321
  #
1265
- # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \[1, 31].
1322
+ # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: [1, 31].
1266
1323
  #
1267
1324
  # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
1268
1325
  self.repeat_days = repeat_days
@@ -1293,6 +1350,8 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1293
1350
  # * If **SourceType** is set to `group`, the value of this parameter must be an address book name.
1294
1351
  #
1295
1352
  # Example: db_group
1353
+ #
1354
+ # This parameter is required.
1296
1355
  self.source = source
1297
1356
  # The type of the source address in the access control policy.
1298
1357
  #
@@ -1300,6 +1359,8 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1300
1359
  #
1301
1360
  # * **net**: source CIDR block
1302
1361
  # * **group**: source address book
1362
+ #
1363
+ # This parameter is required.
1303
1364
  self.source_type = source_type
1304
1365
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
1305
1366
  #
@@ -1496,6 +1557,229 @@ class CreateNatFirewallControlPolicyResponse(TeaModel):
1496
1557
  return self
1497
1558
 
1498
1559
 
1560
+ class CreateSecurityProxyRequestNatRouteEntryList(TeaModel):
1561
+ def __init__(
1562
+ self,
1563
+ destination_cidr: str = None,
1564
+ next_hop_id: str = None,
1565
+ next_hop_type: str = None,
1566
+ route_table_id: str = None,
1567
+ ):
1568
+ # This parameter is required.
1569
+ self.destination_cidr = destination_cidr
1570
+ # This parameter is required.
1571
+ self.next_hop_id = next_hop_id
1572
+ # This parameter is required.
1573
+ self.next_hop_type = next_hop_type
1574
+ # This parameter is required.
1575
+ self.route_table_id = route_table_id
1576
+
1577
+ def validate(self):
1578
+ pass
1579
+
1580
+ def to_map(self):
1581
+ _map = super().to_map()
1582
+ if _map is not None:
1583
+ return _map
1584
+
1585
+ result = dict()
1586
+ if self.destination_cidr is not None:
1587
+ result['DestinationCidr'] = self.destination_cidr
1588
+ if self.next_hop_id is not None:
1589
+ result['NextHopId'] = self.next_hop_id
1590
+ if self.next_hop_type is not None:
1591
+ result['NextHopType'] = self.next_hop_type
1592
+ if self.route_table_id is not None:
1593
+ result['RouteTableId'] = self.route_table_id
1594
+ return result
1595
+
1596
+ def from_map(self, m: dict = None):
1597
+ m = m or dict()
1598
+ if m.get('DestinationCidr') is not None:
1599
+ self.destination_cidr = m.get('DestinationCidr')
1600
+ if m.get('NextHopId') is not None:
1601
+ self.next_hop_id = m.get('NextHopId')
1602
+ if m.get('NextHopType') is not None:
1603
+ self.next_hop_type = m.get('NextHopType')
1604
+ if m.get('RouteTableId') is not None:
1605
+ self.route_table_id = m.get('RouteTableId')
1606
+ return self
1607
+
1608
+
1609
+ class CreateSecurityProxyRequest(TeaModel):
1610
+ def __init__(
1611
+ self,
1612
+ firewall_switch: str = None,
1613
+ lang: str = None,
1614
+ nat_gateway_id: str = None,
1615
+ nat_route_entry_list: List[CreateSecurityProxyRequestNatRouteEntryList] = None,
1616
+ proxy_name: str = None,
1617
+ region_no: str = None,
1618
+ strict_mode: int = None,
1619
+ vpc_id: str = None,
1620
+ vswitch_auto: str = None,
1621
+ vswitch_cidr: str = None,
1622
+ vswitch_id: str = None,
1623
+ ):
1624
+ self.firewall_switch = firewall_switch
1625
+ self.lang = lang
1626
+ # This parameter is required.
1627
+ self.nat_gateway_id = nat_gateway_id
1628
+ # This parameter is required.
1629
+ self.nat_route_entry_list = nat_route_entry_list
1630
+ # This parameter is required.
1631
+ self.proxy_name = proxy_name
1632
+ # This parameter is required.
1633
+ self.region_no = region_no
1634
+ self.strict_mode = strict_mode
1635
+ # This parameter is required.
1636
+ self.vpc_id = vpc_id
1637
+ self.vswitch_auto = vswitch_auto
1638
+ self.vswitch_cidr = vswitch_cidr
1639
+ self.vswitch_id = vswitch_id
1640
+
1641
+ def validate(self):
1642
+ if self.nat_route_entry_list:
1643
+ for k in self.nat_route_entry_list:
1644
+ if k:
1645
+ k.validate()
1646
+
1647
+ def to_map(self):
1648
+ _map = super().to_map()
1649
+ if _map is not None:
1650
+ return _map
1651
+
1652
+ result = dict()
1653
+ if self.firewall_switch is not None:
1654
+ result['FirewallSwitch'] = self.firewall_switch
1655
+ if self.lang is not None:
1656
+ result['Lang'] = self.lang
1657
+ if self.nat_gateway_id is not None:
1658
+ result['NatGatewayId'] = self.nat_gateway_id
1659
+ result['NatRouteEntryList'] = []
1660
+ if self.nat_route_entry_list is not None:
1661
+ for k in self.nat_route_entry_list:
1662
+ result['NatRouteEntryList'].append(k.to_map() if k else None)
1663
+ if self.proxy_name is not None:
1664
+ result['ProxyName'] = self.proxy_name
1665
+ if self.region_no is not None:
1666
+ result['RegionNo'] = self.region_no
1667
+ if self.strict_mode is not None:
1668
+ result['StrictMode'] = self.strict_mode
1669
+ if self.vpc_id is not None:
1670
+ result['VpcId'] = self.vpc_id
1671
+ if self.vswitch_auto is not None:
1672
+ result['VswitchAuto'] = self.vswitch_auto
1673
+ if self.vswitch_cidr is not None:
1674
+ result['VswitchCidr'] = self.vswitch_cidr
1675
+ if self.vswitch_id is not None:
1676
+ result['VswitchId'] = self.vswitch_id
1677
+ return result
1678
+
1679
+ def from_map(self, m: dict = None):
1680
+ m = m or dict()
1681
+ if m.get('FirewallSwitch') is not None:
1682
+ self.firewall_switch = m.get('FirewallSwitch')
1683
+ if m.get('Lang') is not None:
1684
+ self.lang = m.get('Lang')
1685
+ if m.get('NatGatewayId') is not None:
1686
+ self.nat_gateway_id = m.get('NatGatewayId')
1687
+ self.nat_route_entry_list = []
1688
+ if m.get('NatRouteEntryList') is not None:
1689
+ for k in m.get('NatRouteEntryList'):
1690
+ temp_model = CreateSecurityProxyRequestNatRouteEntryList()
1691
+ self.nat_route_entry_list.append(temp_model.from_map(k))
1692
+ if m.get('ProxyName') is not None:
1693
+ self.proxy_name = m.get('ProxyName')
1694
+ if m.get('RegionNo') is not None:
1695
+ self.region_no = m.get('RegionNo')
1696
+ if m.get('StrictMode') is not None:
1697
+ self.strict_mode = m.get('StrictMode')
1698
+ if m.get('VpcId') is not None:
1699
+ self.vpc_id = m.get('VpcId')
1700
+ if m.get('VswitchAuto') is not None:
1701
+ self.vswitch_auto = m.get('VswitchAuto')
1702
+ if m.get('VswitchCidr') is not None:
1703
+ self.vswitch_cidr = m.get('VswitchCidr')
1704
+ if m.get('VswitchId') is not None:
1705
+ self.vswitch_id = m.get('VswitchId')
1706
+ return self
1707
+
1708
+
1709
+ class CreateSecurityProxyResponseBody(TeaModel):
1710
+ def __init__(
1711
+ self,
1712
+ proxy_id: str = None,
1713
+ request_id: str = None,
1714
+ ):
1715
+ self.proxy_id = proxy_id
1716
+ self.request_id = request_id
1717
+
1718
+ def validate(self):
1719
+ pass
1720
+
1721
+ def to_map(self):
1722
+ _map = super().to_map()
1723
+ if _map is not None:
1724
+ return _map
1725
+
1726
+ result = dict()
1727
+ if self.proxy_id is not None:
1728
+ result['ProxyId'] = self.proxy_id
1729
+ if self.request_id is not None:
1730
+ result['RequestId'] = self.request_id
1731
+ return result
1732
+
1733
+ def from_map(self, m: dict = None):
1734
+ m = m or dict()
1735
+ if m.get('ProxyId') is not None:
1736
+ self.proxy_id = m.get('ProxyId')
1737
+ if m.get('RequestId') is not None:
1738
+ self.request_id = m.get('RequestId')
1739
+ return self
1740
+
1741
+
1742
+ class CreateSecurityProxyResponse(TeaModel):
1743
+ def __init__(
1744
+ self,
1745
+ headers: Dict[str, str] = None,
1746
+ status_code: int = None,
1747
+ body: CreateSecurityProxyResponseBody = None,
1748
+ ):
1749
+ self.headers = headers
1750
+ self.status_code = status_code
1751
+ self.body = body
1752
+
1753
+ def validate(self):
1754
+ if self.body:
1755
+ self.body.validate()
1756
+
1757
+ def to_map(self):
1758
+ _map = super().to_map()
1759
+ if _map is not None:
1760
+ return _map
1761
+
1762
+ result = dict()
1763
+ if self.headers is not None:
1764
+ result['headers'] = self.headers
1765
+ if self.status_code is not None:
1766
+ result['statusCode'] = self.status_code
1767
+ if self.body is not None:
1768
+ result['body'] = self.body.to_map()
1769
+ return result
1770
+
1771
+ def from_map(self, m: dict = None):
1772
+ m = m or dict()
1773
+ if m.get('headers') is not None:
1774
+ self.headers = m.get('headers')
1775
+ if m.get('statusCode') is not None:
1776
+ self.status_code = m.get('statusCode')
1777
+ if m.get('body') is not None:
1778
+ temp_model = CreateSecurityProxyResponseBody()
1779
+ self.body = temp_model.from_map(m['body'])
1780
+ return self
1781
+
1782
+
1499
1783
  class CreateTrFirewallV2Request(TeaModel):
1500
1784
  def __init__(
1501
1785
  self,
@@ -2003,11 +2287,15 @@ class CreateVpcFirewallCenConfigureRequest(TeaModel):
2003
2287
  vpc_region: str = None,
2004
2288
  ):
2005
2289
  # The ID of the CEN instance.
2290
+ #
2291
+ # This parameter is required.
2006
2292
  self.cen_id = cen_id
2007
2293
  # Specifies whether to enable the VPC firewall. Valid values:
2008
2294
  #
2009
2295
  # * **open**: After you create the VPC firewall, the VPC firewall is automatically enabled. This is the default value.
2010
- # * **close**: After you create the VPC firewall, the VPC firewall is disabled. You can call the [ModifyVpcFirewallCenSwitchStatus](~~345780~~) operation to manually enable the VPC firewall.
2296
+ # * **close**: After you create the VPC firewall, the VPC firewall is disabled. You can call the [ModifyVpcFirewallCenSwitchStatus](https://help.aliyun.com/document_detail/345780.html) operation to manually enable the VPC firewall.
2297
+ #
2298
+ # This parameter is required.
2011
2299
  self.firewall_switch = firewall_switch
2012
2300
  # The CIDR block of the vSwitch that is automatically created for the VPC firewall. You must specify a CIDR block for the Cloud_Firewall_VSWITCH VPC that is automatically created for the VPC firewall for traffic redirection. The CIDR block does not conflict with your network plan. The subnet mask of the CIDR block must be less than or equal to 29 bits in length. The CIDR block of the vSwitch must be within the network segment of the VPC.
2013
2301
  #
@@ -2025,7 +2313,7 @@ class CreateVpcFirewallCenConfigureRequest(TeaModel):
2025
2313
  #
2026
2314
  # If you do not specify a value, a zone is automatically assigned for the vSwitch.
2027
2315
  #
2028
- # > This parameter takes effect only when you create a VPC firewall for the first time in the current CEN instance and region. For more information about zones that are supported by each region, see [Query zones](~~36064~~).
2316
+ # > This parameter takes effect only when you create a VPC firewall for the first time in the current CEN instance and region. For more information about zones that are supported by each region, see [Query zones](https://help.aliyun.com/document_detail/36064.html).
2029
2317
  self.firewall_vpc_zone_id = firewall_vpc_zone_id
2030
2318
  # The language of the content within the request and response. Valid values:
2031
2319
  #
@@ -2035,14 +2323,20 @@ class CreateVpcFirewallCenConfigureRequest(TeaModel):
2035
2323
  # The UID of the member that is managed by your Alibaba Cloud account.
2036
2324
  self.member_uid = member_uid
2037
2325
  # The ID of the VPC for which you want to create the VPC firewall.
2326
+ #
2327
+ # This parameter is required.
2038
2328
  self.network_instance_id = network_instance_id
2039
2329
  # The ID of the vSwitch that is used to associate with the elastic network interface (ENI) required by the VPC firewall.
2040
2330
  self.v_switch_id = v_switch_id
2041
2331
  # The instance name of the VPC firewall.
2332
+ #
2333
+ # This parameter is required.
2042
2334
  self.vpc_firewall_name = vpc_firewall_name
2043
2335
  # The ID of the region to which the VPC belongs.
2044
2336
  #
2045
- # > For more information about the regions, see [Supported regions](~~195657~~).
2337
+ # > For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
2338
+ #
2339
+ # This parameter is required.
2046
2340
  self.vpc_region = vpc_region
2047
2341
 
2048
2342
  def validate(self):
@@ -2198,7 +2492,9 @@ class CreateVpcFirewallConfigureRequest(TeaModel):
2198
2492
  # The status of the VPC firewall after you create the firewall. Valid values:
2199
2493
  #
2200
2494
  # * **open**: After you create the VPC firewall, the VPC firewall is automatically enabled. This is the default value.
2201
- # * **close**: After you create the VPC firewall, the VPC firewall is disabled. To enable the firewall, you can call the [ModifyVpcFirewallSwitchStatus](~~342935~~) operation.
2495
+ # * **close**: After you create the VPC firewall, the VPC firewall is disabled. To enable the firewall, you can call the [ModifyVpcFirewallSwitchStatus](https://help.aliyun.com/document_detail/342935.html) operation.
2496
+ #
2497
+ # This parameter is required.
2202
2498
  self.firewall_switch = firewall_switch
2203
2499
  # The language of the content within the request and the response. Valid values:
2204
2500
  #
@@ -2209,12 +2505,18 @@ class CreateVpcFirewallConfigureRequest(TeaModel):
2209
2505
  #
2210
2506
  # * **RouteTableId**: the ID of the route table for the local VPC.
2211
2507
  # * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the local VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the local VPC.
2508
+ #
2509
+ # This parameter is required.
2212
2510
  self.local_vpc_cidr_table_list = local_vpc_cidr_table_list
2213
2511
  # The ID of the local VPC.
2512
+ #
2513
+ # This parameter is required.
2214
2514
  self.local_vpc_id = local_vpc_id
2215
2515
  # The region ID of the local VPC.
2216
2516
  #
2217
- # > For more information about the regions in which Cloud Firewall is available, see [Supported regions](~~195657~~).
2517
+ # > For more information about the regions in which Cloud Firewall is available, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
2518
+ #
2519
+ # This parameter is required.
2218
2520
  self.local_vpc_region = local_vpc_region
2219
2521
  # The UID of the member that is managed by your Alibaba Cloud account.
2220
2522
  self.member_uid = member_uid
@@ -2222,14 +2524,22 @@ class CreateVpcFirewallConfigureRequest(TeaModel):
2222
2524
  #
2223
2525
  # * **RouteTableId**: the ID of the route table for the peer VPC.
2224
2526
  # * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the peer VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the peer VPC.
2527
+ #
2528
+ # This parameter is required.
2225
2529
  self.peer_vpc_cidr_table_list = peer_vpc_cidr_table_list
2226
2530
  # The ID of the peer VPC.
2531
+ #
2532
+ # This parameter is required.
2227
2533
  self.peer_vpc_id = peer_vpc_id
2228
2534
  # The region ID of the peer VPC.
2229
2535
  #
2230
- # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
2536
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
2537
+ #
2538
+ # This parameter is required.
2231
2539
  self.peer_vpc_region = peer_vpc_region
2232
2540
  # The instance name of the VPC firewall.
2541
+ #
2542
+ # This parameter is required.
2233
2543
  self.vpc_firewall_name = vpc_firewall_name
2234
2544
 
2235
2545
  def validate(self):
@@ -2396,6 +2706,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2396
2706
  # - **accept**: allows the traffic.
2397
2707
  # - **drop**: blocks the traffic.
2398
2708
  # - **log**: monitors the traffic.
2709
+ #
2710
+ # This parameter is required.
2399
2711
  self.acl_action = acl_action
2400
2712
  # The type of the applications that the access control policy supports. Valid values:
2401
2713
  #
@@ -2418,6 +2730,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2418
2730
  # The application types supported by the access control policy.
2419
2731
  self.application_name_list = application_name_list
2420
2732
  # The description of the access control policy.
2733
+ #
2734
+ # This parameter is required.
2421
2735
  self.description = description
2422
2736
  # The destination port in the access control policy.
2423
2737
  #
@@ -2437,12 +2751,16 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2437
2751
  # - If **DestinationType** is set to `net`, the value of **Destination** must be a CIDR block.
2438
2752
  # - If **DestinationType** is set to `group`, the value of **Destination** must be an address book.
2439
2753
  # - If **DestinationType** is set to `domain`, the value of **Destination** must be a domain name.
2754
+ #
2755
+ # This parameter is required.
2440
2756
  self.destination = destination
2441
2757
  # The type of the destination address in the access control policy. Valid values:
2442
2758
  #
2443
2759
  # - **net**: CIDR block
2444
2760
  # - **group**: address book
2445
2761
  # - **domain**: domain name
2762
+ #
2763
+ # This parameter is required.
2446
2764
  self.destination_type = destination_type
2447
2765
  # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.
2448
2766
  #
@@ -2458,6 +2776,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2458
2776
  # The priority of the access control policy.
2459
2777
  #
2460
2778
  # The priority value starts from 1. A smaller priority value indicates a higher priority.
2779
+ #
2780
+ # This parameter is required.
2461
2781
  self.new_order = new_order
2462
2782
  # The type of the protocol in the access control policy. Valid values:
2463
2783
  #
@@ -2465,6 +2785,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2465
2785
  # - **TCP**\
2466
2786
  # - **UDP**\
2467
2787
  # - **ICMP**\
2788
+ #
2789
+ # This parameter is required.
2468
2790
  self.proto = proto
2469
2791
  # Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:
2470
2792
  #
@@ -2473,12 +2795,12 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2473
2795
  self.release = release
2474
2796
  # The days of a week or of a month on which the access control policy takes effect.
2475
2797
  #
2476
- # * If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: \[].
2477
- # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6].
2798
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: [].
2799
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: [0, 6].
2478
2800
  #
2479
2801
  # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
2480
2802
  #
2481
- # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31].
2803
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: [1, 31].
2482
2804
  #
2483
2805
  # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
2484
2806
  self.repeat_days = repeat_days
@@ -2502,11 +2824,15 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2502
2824
  #
2503
2825
  # - If SourceType is set to `net`, the value of Source must be a CIDR block.
2504
2826
  # - If SourceType is set to `group`, the value of Source must be an address book.
2827
+ #
2828
+ # This parameter is required.
2505
2829
  self.source = source
2506
2830
  # The type of the source address in the access control policy. Valid values:
2507
2831
  #
2508
2832
  # - **net**: CIDR block
2509
2833
  # - **group**: address book
2834
+ #
2835
+ # This parameter is required.
2510
2836
  self.source_type = source_type
2511
2837
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.
2512
2838
  #
@@ -2518,6 +2844,8 @@ class CreateVpcFirewallControlPolicyRequest(TeaModel):
2518
2844
  # - If a VPC firewall protects the traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.
2519
2845
  #
2520
2846
  # > You can call the [DescribeVpcFirewallAclGroupList](https://www.alibabacloud.com/help/en/cloud-firewall/latest/describevpcfirewallaclgrouplist) operation to query the IDs.
2847
+ #
2848
+ # This parameter is required.
2521
2849
  self.vpc_firewall_id = vpc_firewall_id
2522
2850
 
2523
2851
  def validate(self):
@@ -2714,6 +3042,8 @@ class DeleteAddressBookRequest(TeaModel):
2714
3042
  # The ID of the address book.
2715
3043
  #
2716
3044
  # To delete the address book, you must provide the ID of the address book. You can call the DescribeAddressBook operation to query the ID.
3045
+ #
3046
+ # This parameter is required.
2717
3047
  self.group_uuid = group_uuid
2718
3048
  # The natural language of the request and response. Valid values:
2719
3049
  #
@@ -2830,7 +3160,9 @@ class DeleteControlPolicyRequest(TeaModel):
2830
3160
  ):
2831
3161
  # The ID of the access control policy.
2832
3162
  #
2833
- # To delete an access control policy, you must provide the ID of the policy. You can call the [DescribeControlPolicy](~~138866~~) operation to query the ID.
3163
+ # To delete an access control policy, you must provide the ID of the policy. You can call the [DescribeControlPolicy](https://help.aliyun.com/document_detail/138866.html) operation to query the ID.
3164
+ #
3165
+ # This parameter is required.
2834
3166
  self.acl_uuid = acl_uuid
2835
3167
  # The direction of the traffic to which the access control policy applies.
2836
3168
  #
@@ -2838,6 +3170,8 @@ class DeleteControlPolicyRequest(TeaModel):
2838
3170
  #
2839
3171
  # * **in**: inbound traffic
2840
3172
  # * **out**: outbound traffic
3173
+ #
3174
+ # This parameter is required.
2841
3175
  self.direction = direction
2842
3176
  # The natural language of the request and response.
2843
3177
  #
@@ -2965,6 +3299,8 @@ class DeleteControlPolicyTemplateRequest(TeaModel):
2965
3299
  # The source IP address of the request.
2966
3300
  self.source_ip = source_ip
2967
3301
  # The ID of the access control policy template.
3302
+ #
3303
+ # This parameter is required.
2968
3304
  self.template_id = template_id
2969
3305
 
2970
3306
  def validate(self):
@@ -3284,6 +3620,8 @@ class DeleteInstanceMembersRequest(TeaModel):
3284
3620
  member_uids: List[int] = None,
3285
3621
  ):
3286
3622
  # The unique identifiers (UID) of members that you want to remove from Cloud Firewall.
3623
+ #
3624
+ # This parameter is required.
3287
3625
  self.member_uids = member_uids
3288
3626
 
3289
3627
  def validate(self):
@@ -3386,12 +3724,16 @@ class DeleteNatFirewallControlPolicyRequest(TeaModel):
3386
3724
  # The UUID of the access control policy.
3387
3725
  #
3388
3726
  # To delete an access control policy, you must provide the ID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.
3727
+ #
3728
+ # This parameter is required.
3389
3729
  self.acl_uuid = acl_uuid
3390
3730
  # The direction of the traffic to which the access control policy applies.
3391
3731
  #
3392
3732
  # Valid values:
3393
3733
  #
3394
3734
  # * **out**: outbound traffic
3735
+ #
3736
+ # This parameter is required.
3395
3737
  self.direction = direction
3396
3738
  # The language of the content within the response. Valid values:
3397
3739
  #
@@ -3399,6 +3741,8 @@ class DeleteNatFirewallControlPolicyRequest(TeaModel):
3399
3741
  # * **en**: English
3400
3742
  self.lang = lang
3401
3743
  # The ID of the NAT gateway.
3744
+ #
3745
+ # This parameter is required.
3402
3746
  self.nat_gateway_id = nat_gateway_id
3403
3747
 
3404
3748
  def validate(self):
@@ -3522,6 +3866,8 @@ class DeleteNatFirewallControlPolicyBatchRequest(TeaModel):
3522
3866
  # * **en**: English
3523
3867
  self.lang = lang
3524
3868
  # The ID of the NAT gateway.
3869
+ #
3870
+ # This parameter is required.
3525
3871
  self.nat_gateway_id = nat_gateway_id
3526
3872
 
3527
3873
  def validate(self):
@@ -3625,19 +3971,15 @@ class DeleteNatFirewallControlPolicyBatchResponse(TeaModel):
3625
3971
  return self
3626
3972
 
3627
3973
 
3628
- class DeleteTrFirewallV2Request(TeaModel):
3974
+ class DeleteSecurityProxyRequest(TeaModel):
3629
3975
  def __init__(
3630
3976
  self,
3631
- firewall_id: str = None,
3632
3977
  lang: str = None,
3978
+ proxy_id: str = None,
3633
3979
  ):
3634
- # The instance ID of the VPC firewall.
3635
- self.firewall_id = firewall_id
3636
- # The language of the content within the response. Valid values:
3637
- #
3638
- # * **zh**: Chinese (default)
3639
- # * **en**: English
3640
3980
  self.lang = lang
3981
+ # This parameter is required.
3982
+ self.proxy_id = proxy_id
3641
3983
 
3642
3984
  def validate(self):
3643
3985
  pass
@@ -3648,27 +3990,26 @@ class DeleteTrFirewallV2Request(TeaModel):
3648
3990
  return _map
3649
3991
 
3650
3992
  result = dict()
3651
- if self.firewall_id is not None:
3652
- result['FirewallId'] = self.firewall_id
3653
3993
  if self.lang is not None:
3654
3994
  result['Lang'] = self.lang
3995
+ if self.proxy_id is not None:
3996
+ result['ProxyId'] = self.proxy_id
3655
3997
  return result
3656
3998
 
3657
3999
  def from_map(self, m: dict = None):
3658
4000
  m = m or dict()
3659
- if m.get('FirewallId') is not None:
3660
- self.firewall_id = m.get('FirewallId')
3661
4001
  if m.get('Lang') is not None:
3662
4002
  self.lang = m.get('Lang')
4003
+ if m.get('ProxyId') is not None:
4004
+ self.proxy_id = m.get('ProxyId')
3663
4005
  return self
3664
4006
 
3665
4007
 
3666
- class DeleteTrFirewallV2ResponseBody(TeaModel):
4008
+ class DeleteSecurityProxyResponseBody(TeaModel):
3667
4009
  def __init__(
3668
4010
  self,
3669
4011
  request_id: str = None,
3670
4012
  ):
3671
- # The request ID.
3672
4013
  self.request_id = request_id
3673
4014
 
3674
4015
  def validate(self):
@@ -3691,12 +4032,12 @@ class DeleteTrFirewallV2ResponseBody(TeaModel):
3691
4032
  return self
3692
4033
 
3693
4034
 
3694
- class DeleteTrFirewallV2Response(TeaModel):
4035
+ class DeleteSecurityProxyResponse(TeaModel):
3695
4036
  def __init__(
3696
4037
  self,
3697
4038
  headers: Dict[str, str] = None,
3698
4039
  status_code: int = None,
3699
- body: DeleteTrFirewallV2ResponseBody = None,
4040
+ body: DeleteSecurityProxyResponseBody = None,
3700
4041
  ):
3701
4042
  self.headers = headers
3702
4043
  self.status_code = status_code
@@ -3727,27 +4068,24 @@ class DeleteTrFirewallV2Response(TeaModel):
3727
4068
  if m.get('statusCode') is not None:
3728
4069
  self.status_code = m.get('statusCode')
3729
4070
  if m.get('body') is not None:
3730
- temp_model = DeleteTrFirewallV2ResponseBody()
4071
+ temp_model = DeleteSecurityProxyResponseBody()
3731
4072
  self.body = temp_model.from_map(m['body'])
3732
4073
  return self
3733
4074
 
3734
4075
 
3735
- class DeleteVpcFirewallCenConfigureRequest(TeaModel):
4076
+ class DeleteTrFirewallV2Request(TeaModel):
3736
4077
  def __init__(
3737
4078
  self,
4079
+ firewall_id: str = None,
3738
4080
  lang: str = None,
3739
- member_uid: str = None,
3740
- vpc_firewall_id_list: List[str] = None,
3741
4081
  ):
3742
- # The language of the content within the request and response. Valid values:
4082
+ # The instance ID of the VPC firewall.
4083
+ self.firewall_id = firewall_id
4084
+ # The language of the content within the response. Valid values:
3743
4085
  #
3744
4086
  # * **zh**: Chinese (default)
3745
4087
  # * **en**: English
3746
4088
  self.lang = lang
3747
- # The UID of the member that is managed by your Alibaba Cloud account.
3748
- self.member_uid = member_uid
3749
- # The instance IDs of VPC firewalls.
3750
- self.vpc_firewall_id_list = vpc_firewall_id_list
3751
4089
 
3752
4090
  def validate(self):
3753
4091
  pass
@@ -3758,10 +4096,122 @@ class DeleteVpcFirewallCenConfigureRequest(TeaModel):
3758
4096
  return _map
3759
4097
 
3760
4098
  result = dict()
4099
+ if self.firewall_id is not None:
4100
+ result['FirewallId'] = self.firewall_id
3761
4101
  if self.lang is not None:
3762
4102
  result['Lang'] = self.lang
3763
- if self.member_uid is not None:
3764
- result['MemberUid'] = self.member_uid
4103
+ return result
4104
+
4105
+ def from_map(self, m: dict = None):
4106
+ m = m or dict()
4107
+ if m.get('FirewallId') is not None:
4108
+ self.firewall_id = m.get('FirewallId')
4109
+ if m.get('Lang') is not None:
4110
+ self.lang = m.get('Lang')
4111
+ return self
4112
+
4113
+
4114
+ class DeleteTrFirewallV2ResponseBody(TeaModel):
4115
+ def __init__(
4116
+ self,
4117
+ request_id: str = None,
4118
+ ):
4119
+ # The request ID.
4120
+ self.request_id = request_id
4121
+
4122
+ def validate(self):
4123
+ pass
4124
+
4125
+ def to_map(self):
4126
+ _map = super().to_map()
4127
+ if _map is not None:
4128
+ return _map
4129
+
4130
+ result = dict()
4131
+ if self.request_id is not None:
4132
+ result['RequestId'] = self.request_id
4133
+ return result
4134
+
4135
+ def from_map(self, m: dict = None):
4136
+ m = m or dict()
4137
+ if m.get('RequestId') is not None:
4138
+ self.request_id = m.get('RequestId')
4139
+ return self
4140
+
4141
+
4142
+ class DeleteTrFirewallV2Response(TeaModel):
4143
+ def __init__(
4144
+ self,
4145
+ headers: Dict[str, str] = None,
4146
+ status_code: int = None,
4147
+ body: DeleteTrFirewallV2ResponseBody = None,
4148
+ ):
4149
+ self.headers = headers
4150
+ self.status_code = status_code
4151
+ self.body = body
4152
+
4153
+ def validate(self):
4154
+ if self.body:
4155
+ self.body.validate()
4156
+
4157
+ def to_map(self):
4158
+ _map = super().to_map()
4159
+ if _map is not None:
4160
+ return _map
4161
+
4162
+ result = dict()
4163
+ if self.headers is not None:
4164
+ result['headers'] = self.headers
4165
+ if self.status_code is not None:
4166
+ result['statusCode'] = self.status_code
4167
+ if self.body is not None:
4168
+ result['body'] = self.body.to_map()
4169
+ return result
4170
+
4171
+ def from_map(self, m: dict = None):
4172
+ m = m or dict()
4173
+ if m.get('headers') is not None:
4174
+ self.headers = m.get('headers')
4175
+ if m.get('statusCode') is not None:
4176
+ self.status_code = m.get('statusCode')
4177
+ if m.get('body') is not None:
4178
+ temp_model = DeleteTrFirewallV2ResponseBody()
4179
+ self.body = temp_model.from_map(m['body'])
4180
+ return self
4181
+
4182
+
4183
+ class DeleteVpcFirewallCenConfigureRequest(TeaModel):
4184
+ def __init__(
4185
+ self,
4186
+ lang: str = None,
4187
+ member_uid: str = None,
4188
+ vpc_firewall_id_list: List[str] = None,
4189
+ ):
4190
+ # The language of the content within the request and response. Valid values:
4191
+ #
4192
+ # * **zh**: Chinese (default)
4193
+ # * **en**: English
4194
+ self.lang = lang
4195
+ # The UID of the member that is managed by your Alibaba Cloud account.
4196
+ self.member_uid = member_uid
4197
+ # The instance IDs of VPC firewalls.
4198
+ #
4199
+ # This parameter is required.
4200
+ self.vpc_firewall_id_list = vpc_firewall_id_list
4201
+
4202
+ def validate(self):
4203
+ pass
4204
+
4205
+ def to_map(self):
4206
+ _map = super().to_map()
4207
+ if _map is not None:
4208
+ return _map
4209
+
4210
+ result = dict()
4211
+ if self.lang is not None:
4212
+ result['Lang'] = self.lang
4213
+ if self.member_uid is not None:
4214
+ result['MemberUid'] = self.member_uid
3765
4215
  if self.vpc_firewall_id_list is not None:
3766
4216
  result['VpcFirewallIdList'] = self.vpc_firewall_id_list
3767
4217
  return result
@@ -3861,6 +4311,8 @@ class DeleteVpcFirewallConfigureRequest(TeaModel):
3861
4311
  # The UID of the member that is managed by your Alibaba Cloud account.
3862
4312
  self.member_uid = member_uid
3863
4313
  # The instance IDs of VPC firewalls.
4314
+ #
4315
+ # This parameter is required.
3864
4316
  self.vpc_firewall_id_list = vpc_firewall_id_list
3865
4317
 
3866
4318
  def validate(self):
@@ -3970,6 +4422,8 @@ class DeleteVpcFirewallControlPolicyRequest(TeaModel):
3970
4422
  # The ID of the access control policy.
3971
4423
  #
3972
4424
  # To delete an access control policy, you must provide the ID of the policy. You can call the **DescribeVpcFirewallControlPolicy** operation to query the ID.
4425
+ #
4426
+ # This parameter is required.
3973
4427
  self.acl_uuid = acl_uuid
3974
4428
  # The natural language of the request and response. Valid values:
3975
4429
  #
@@ -3986,6 +4440,8 @@ class DeleteVpcFirewallControlPolicyRequest(TeaModel):
3986
4440
  # - If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the ID of the VPC firewall.
3987
4441
  #
3988
4442
  # Example: vfw-a42bbb7b887148c9****\
4443
+ #
4444
+ # This parameter is required.
3989
4445
  self.vpc_firewall_id = vpc_firewall_id
3990
4446
 
3991
4447
  def validate(self):
@@ -4640,6 +5096,8 @@ class DescribeAssetListRequest(TeaModel):
4640
5096
  user_type: str = None,
4641
5097
  ):
4642
5098
  # The page number. Valid values: 1 to 50.
5099
+ #
5100
+ # This parameter is required.
4643
5101
  self.current_page = current_page
4644
5102
  # The IP version of the asset that is protected by Cloud Firewall. Valid values:
4645
5103
  #
@@ -4660,10 +5118,12 @@ class DescribeAssetListRequest(TeaModel):
4660
5118
  # * **discovered in 7 days**: within seven days.
4661
5119
  self.new_resource_tag = new_resource_tag
4662
5120
  # The number of entries per page. Valid values: 1 to 50.
5121
+ #
5122
+ # This parameter is required.
4663
5123
  self.page_size = page_size
4664
5124
  # The region ID of your Cloud Firewall.
4665
5125
  #
4666
- # > For more information about the regions, see [Supported regions](~~195657~~).
5126
+ # > For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
4667
5127
  self.region_no = region_no
4668
5128
  # The type of the asset. Valid values:
4669
5129
  #
@@ -5094,7 +5554,7 @@ class DescribeAssetRiskListRequest(TeaModel):
5094
5554
  #
5095
5555
  # * Example of an IPv4 address: 47.97.221.164
5096
5556
  #
5097
- # * Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:\*\*\*\*:ffff
5557
+ # * Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:\\*\\*\\*\\*:ffff
5098
5558
  self.ip_addr_list = ip_addr_list
5099
5559
  # The IP version of the asset that is protected by Cloud Firewall.
5100
5560
  #
@@ -5102,6 +5562,8 @@ class DescribeAssetRiskListRequest(TeaModel):
5102
5562
  #
5103
5563
  # * **4** (default): IPv4
5104
5564
  # * **6**: IPv6
5565
+ #
5566
+ # This parameter is required.
5105
5567
  self.ip_version = ip_version
5106
5568
  # The language of the content within the response. Valid values:
5107
5569
  #
@@ -5310,7 +5772,7 @@ class DescribeCfwRiskLevelSummaryRequest(TeaModel):
5310
5772
  self.lang = lang
5311
5773
  # The region ID of your Cloud Firewall.
5312
5774
  #
5313
- # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
5775
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
5314
5776
  self.region_id = region_id
5315
5777
 
5316
5778
  def validate(self):
@@ -5499,6 +5961,8 @@ class DescribeControlPolicyRequest(TeaModel):
5499
5961
  # The number of the page to return.
5500
5962
  #
5501
5963
  # Default value: 1.
5964
+ #
5965
+ # This parameter is required.
5502
5966
  self.current_page = current_page
5503
5967
  # The description of the access control policy. Fuzzy match is supported.
5504
5968
  #
@@ -5517,6 +5981,8 @@ class DescribeControlPolicyRequest(TeaModel):
5517
5981
  #
5518
5982
  # * **in**: inbound traffic
5519
5983
  # * **out**: outbound traffic
5984
+ #
5985
+ # This parameter is required.
5520
5986
  self.direction = direction
5521
5987
  # The IP version of the address in the access control policy. Valid values:
5522
5988
  #
@@ -5529,6 +5995,8 @@ class DescribeControlPolicyRequest(TeaModel):
5529
5995
  # * **en**: English
5530
5996
  self.lang = lang
5531
5997
  # The number of entries to return on each page.
5998
+ #
5999
+ # This parameter is required.
5532
6000
  self.page_size = page_size
5533
6001
  # The type of the protocol in the access control policy. Valid values:
5534
6002
  #
@@ -5719,7 +6187,7 @@ class DescribeControlPolicyResponseBodyPolicys(TeaModel):
5719
6187
  # * If **DestinationType** is set to **net**, the value of Destination is a CIDR block. Example: 192.0.XX.XX/24.
5720
6188
  # * If **DestinationType** is set to **domain**, the value of Destination is a domain name. Example: aliyuncs.com.
5721
6189
  # * If **DestinationType** is set to **group**, the value of Destination is the name of an address book. Example: db_group.
5722
- # * If **DestinationType** is set to **location**, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \["BJ11", "ZB"].
6190
+ # * If **DestinationType** is set to **location**, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
5723
6191
  self.destination = destination
5724
6192
  # The CIDR blocks in the destination address book.
5725
6193
  self.destination_group_cidrs = destination_group_cidrs
@@ -5780,12 +6248,12 @@ class DescribeControlPolicyResponseBodyPolicys(TeaModel):
5780
6248
  self.release = release
5781
6249
  # The days of a week or of a month on which the access control policy takes effect.
5782
6250
  #
5783
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, this parameter is left empty. Example: \[].
5784
- # * If RepeatType is set to Weekly, this parameter must be specified. Example: \[0, 6].
6251
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, this parameter is left empty. Example: [].
6252
+ # * If RepeatType is set to Weekly, this parameter must be specified. Example: [0, 6].
5785
6253
  #
5786
6254
  # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
5787
6255
  #
5788
- # * If RepeatType is set to `Monthly`, this parameter must be specified. Example: \[1, 31].
6256
+ # * If RepeatType is set to `Monthly`, this parameter must be specified. Example: [1, 31].
5789
6257
  #
5790
6258
  # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
5791
6259
  self.repeat_days = repeat_days
@@ -5809,7 +6277,7 @@ class DescribeControlPolicyResponseBodyPolicys(TeaModel):
5809
6277
  #
5810
6278
  # * If **SourceType** is set to `net`, the value of Source is a CIDR block. Example: 192.0.XX.XX/24.
5811
6279
  # * If **SourceType** is set to `group`, the value of Source is the name of an address book. Example: db_group.
5812
- # * If **SourceType** is set to `location`, the value of Source is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \["BJ11", "ZB"].
6280
+ # * If **SourceType** is set to `location`, the value of Source is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
5813
6281
  self.source = source
5814
6282
  # The CIDR blocks in the source address book.
5815
6283
  self.source_group_cidrs = source_group_cidrs
@@ -6257,6 +6725,8 @@ class DescribeDomainResolveRequest(TeaModel):
6257
6725
  source_ip: str = None,
6258
6726
  ):
6259
6727
  # The domain name whose DNS record you want to query.
6728
+ #
6729
+ # This parameter is required.
6260
6730
  self.domain = domain
6261
6731
  # The IP version of the asset that is protected by Cloud Firewall. Valid values:
6262
6732
  #
@@ -6484,11 +6954,11 @@ class DescribeDownloadTaskResponseBodyTasks(TeaModel):
6484
6954
  ):
6485
6955
  # The time when the task was created. The value is a UNIX timestamp. Unit: seconds.
6486
6956
  self.create_time = create_time
6487
- # The expiration time of the task. The value is a UNIX timestamp. Unit: seconds.
6957
+ # The time when the task expires. The value is a UNIX timestamp. Unit: seconds.
6488
6958
  self.expire_time = expire_time
6489
6959
  # The size of the file.
6490
6960
  self.file_size = file_size
6491
- # The URL of the OSS object.
6961
+ # The URL of the OSS file.
6492
6962
  self.file_url = file_url
6493
6963
  # The status of the task. Valid values:
6494
6964
  #
@@ -7089,9 +7559,13 @@ class DescribeInstanceRiskLevelsRequestInstances(TeaModel):
7089
7559
  intranet_ip: str = None,
7090
7560
  uuid: str = None,
7091
7561
  ):
7562
+ # The instance ID of your Cloud Firewall.
7092
7563
  self.instance_id = instance_id
7564
+ # The public IP addresses of instances.
7093
7565
  self.internet_ip = internet_ip
7566
+ # The private IP address of the instance.
7094
7567
  self.intranet_ip = intranet_ip
7568
+ # The UUID of the instance.
7095
7569
  self.uuid = uuid
7096
7570
 
7097
7571
  def validate(self):
@@ -7132,7 +7606,12 @@ class DescribeInstanceRiskLevelsRequest(TeaModel):
7132
7606
  instances: List[DescribeInstanceRiskLevelsRequestInstances] = None,
7133
7607
  lang: str = None,
7134
7608
  ):
7609
+ # The information about the instances.
7135
7610
  self.instances = instances
7611
+ # The language of the content within the response. Valid values:
7612
+ #
7613
+ # * **zh** (default): Chinese
7614
+ # * **en**: English
7136
7615
  self.lang = lang
7137
7616
 
7138
7617
  def validate(self):
@@ -7174,8 +7653,13 @@ class DescribeInstanceRiskLevelsResponseBodyInstanceRisksDetails(TeaModel):
7174
7653
  level: str = None,
7175
7654
  type: str = None,
7176
7655
  ):
7656
+ # The IP addresses of servers.
7177
7657
  self.ip = ip
7658
+ # The risk levels. Valid values:
7659
+ #
7660
+ # * **medium**\
7178
7661
  self.level = level
7662
+ # The type.
7179
7663
  self.type = type
7180
7664
 
7181
7665
  def validate(self):
@@ -7213,8 +7697,13 @@ class DescribeInstanceRiskLevelsResponseBodyInstanceRisks(TeaModel):
7213
7697
  instance_id: str = None,
7214
7698
  level: str = None,
7215
7699
  ):
7700
+ # The risk levels of the Elastic Compute Service (ECS) instance.
7216
7701
  self.details = details
7702
+ # The instance ID of your Cloud Firewall.
7217
7703
  self.instance_id = instance_id
7704
+ # The risk levels. Valid values:
7705
+ #
7706
+ # * **medium**\
7218
7707
  self.level = level
7219
7708
 
7220
7709
  def validate(self):
@@ -7259,7 +7748,9 @@ class DescribeInstanceRiskLevelsResponseBody(TeaModel):
7259
7748
  instance_risks: List[DescribeInstanceRiskLevelsResponseBodyInstanceRisks] = None,
7260
7749
  request_id: str = None,
7261
7750
  ):
7751
+ # The information about the instances.
7262
7752
  self.instance_risks = instance_risks
7753
+ # The ID of the request.
7263
7754
  self.request_id = request_id
7264
7755
 
7265
7756
  def validate(self):
@@ -7359,6 +7850,8 @@ class DescribeInternetOpenIpRequest(TeaModel):
7359
7850
  # The asset type of the instance.
7360
7851
  self.assets_type = assets_type
7361
7852
  # The page number.
7853
+ #
7854
+ # This parameter is required.
7362
7855
  self.current_page = current_page
7363
7856
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
7364
7857
  self.end_time = end_time
@@ -7368,6 +7861,8 @@ class DescribeInternetOpenIpRequest(TeaModel):
7368
7861
  # * **en**: English
7369
7862
  self.lang = lang
7370
7863
  # The number of entries per page.
7864
+ #
7865
+ # This parameter is required.
7371
7866
  self.page_size = page_size
7372
7867
  # The port number.
7373
7868
  self.port = port
@@ -7751,6 +8246,8 @@ class DescribeInternetTrafficTrendRequest(TeaModel):
7751
8246
  # * **out**: outbound traffic
7752
8247
  self.direction = direction
7753
8248
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
8249
+ #
8250
+ # This parameter is required.
7754
8251
  self.end_time = end_time
7755
8252
  # The language of the content in the request and response. Valid values:
7756
8253
  #
@@ -7758,6 +8255,8 @@ class DescribeInternetTrafficTrendRequest(TeaModel):
7758
8255
  # * **en**: English
7759
8256
  self.lang = lang
7760
8257
  # The source code.
8258
+ #
8259
+ # This parameter is required.
7761
8260
  self.source_code = source_code
7762
8261
  # The IP address of the access source.
7763
8262
  self.source_ip = source_ip
@@ -7766,6 +8265,8 @@ class DescribeInternetTrafficTrendRequest(TeaModel):
7766
8265
  # The public IP address of the source.
7767
8266
  self.src_public_ip = src_public_ip
7768
8267
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
8268
+ #
8269
+ # This parameter is required.
7769
8270
  self.start_time = start_time
7770
8271
  # The type of the traffic that is captured. Valid values:
7771
8272
  #
@@ -8706,13 +9207,15 @@ class DescribeNatFirewallControlPolicyRequest(TeaModel):
8706
9207
  # * If DestinationType is set to `net`, the value of Destination must be a CIDR block. Example: 10.0.3.0/24.
8707
9208
  # * If DestinationType is set to `domain`, the value of Destination must be a domain name. Example: aliyun.
8708
9209
  # * If DestinationType is set to `group`, the value of Destination must be the name of an address book. Example: db_group.
8709
- # * If DestinationType is set to `location`, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](~~474128~~). Example: \["BJ11", "ZB"].
9210
+ # * If DestinationType is set to `location`, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/474128.html). Example: ["BJ11", "ZB"].
8710
9211
  #
8711
9212
  # > If you do not specify this parameter, all types of destination addresses are queried.
8712
9213
  self.destination = destination
8713
9214
  # The direction of the traffic to which the access control policy applies. Valid values:
8714
9215
  #
8715
9216
  # * **out**: outbound traffic
9217
+ #
9218
+ # This parameter is required.
8716
9219
  self.direction = direction
8717
9220
  # The language of the content within the response. Valid values:
8718
9221
  #
@@ -8720,6 +9223,8 @@ class DescribeNatFirewallControlPolicyRequest(TeaModel):
8720
9223
  # * **en**: English
8721
9224
  self.lang = lang
8722
9225
  # The ID of the NAT gateway.
9226
+ #
9227
+ # This parameter is required.
8723
9228
  self.nat_gateway_id = nat_gateway_id
8724
9229
  # The number of entries per page. Default value: 10.
8725
9230
  self.page_size = page_size
@@ -8890,7 +9395,7 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys(TeaModel):
8890
9395
  # * If the value of **DestinationType** is **net**, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.
8891
9396
  # * If the value of **DestinationType** is **domain**, the value of this parameter is a domain name. Example: aliyuncs.com.
8892
9397
  # * If the value of **DestinationType** is **group**, the value of this parameter is the name of an address book. Example: db_group.
8893
- # * If the value of **DestinationType** is **location**, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \["BJ11", "ZB"].
9398
+ # * If the value of **DestinationType** is **location**, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
8894
9399
  self.destination = destination
8895
9400
  # The CIDR blocks in the destination address book.
8896
9401
  self.destination_group_cidrs = destination_group_cidrs
@@ -8946,12 +9451,12 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys(TeaModel):
8946
9451
  self.release = release
8947
9452
  # The days of a week or of a month on which the access control policy takes effect.
8948
9453
  #
8949
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \[].
8950
- # * If RepeatType is set to Weekly, this parameter must be specified. Example: \[0, 6].
9454
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: [].
9455
+ # * If RepeatType is set to Weekly, this parameter must be specified. Example: [0, 6].
8951
9456
  #
8952
9457
  # > If RepeatType is set to Weekly, the fields in the value of this parameter cannot be repeated.
8953
9458
  #
8954
- # * If RepeatType is set to `Monthly`, this parameter must be specified. Example: \[1, 31].
9459
+ # * If RepeatType is set to `Monthly`, this parameter must be specified. Example: [1, 31].
8955
9460
  #
8956
9461
  # > If RepeatType is set to Monthly, the fields in the value of this parameter cannot be repeated.
8957
9462
  self.repeat_days = repeat_days
@@ -8975,7 +9480,7 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys(TeaModel):
8975
9480
  #
8976
9481
  # * If the value of **SourceType** is `net`, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.
8977
9482
  # * If the value of **SourceType** is `group`, the value of this parameter is the name of an address book. Example: db_group.
8978
- # * If the value of **SourceType** is `location`, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \["BJ11", "ZB"].
9483
+ # * If the value of **SourceType** is `location`, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
8979
9484
  self.source = source
8980
9485
  # The CIDR blocks in the source address book.
8981
9486
  self.source_group_cidrs = source_group_cidrs
@@ -9117,52 +9622,314 @@ class DescribeNatFirewallControlPolicyResponseBodyPolicys(TeaModel):
9117
9622
  self.modify_time = m.get('ModifyTime')
9118
9623
  if m.get('NatGatewayId') is not None:
9119
9624
  self.nat_gateway_id = m.get('NatGatewayId')
9120
- if m.get('Order') is not None:
9121
- self.order = m.get('Order')
9122
- if m.get('Proto') is not None:
9123
- self.proto = m.get('Proto')
9124
- if m.get('Release') is not None:
9125
- self.release = m.get('Release')
9126
- if m.get('RepeatDays') is not None:
9127
- self.repeat_days = m.get('RepeatDays')
9128
- if m.get('RepeatEndTime') is not None:
9129
- self.repeat_end_time = m.get('RepeatEndTime')
9130
- if m.get('RepeatStartTime') is not None:
9131
- self.repeat_start_time = m.get('RepeatStartTime')
9132
- if m.get('RepeatType') is not None:
9133
- self.repeat_type = m.get('RepeatType')
9134
- if m.get('Source') is not None:
9135
- self.source = m.get('Source')
9136
- if m.get('SourceGroupCidrs') is not None:
9137
- self.source_group_cidrs = m.get('SourceGroupCidrs')
9138
- if m.get('SourceGroupType') is not None:
9139
- self.source_group_type = m.get('SourceGroupType')
9140
- if m.get('SourceType') is not None:
9141
- self.source_type = m.get('SourceType')
9142
- if m.get('SpreadCnt') is not None:
9143
- self.spread_cnt = m.get('SpreadCnt')
9144
- if m.get('StartTime') is not None:
9145
- self.start_time = m.get('StartTime')
9625
+ if m.get('Order') is not None:
9626
+ self.order = m.get('Order')
9627
+ if m.get('Proto') is not None:
9628
+ self.proto = m.get('Proto')
9629
+ if m.get('Release') is not None:
9630
+ self.release = m.get('Release')
9631
+ if m.get('RepeatDays') is not None:
9632
+ self.repeat_days = m.get('RepeatDays')
9633
+ if m.get('RepeatEndTime') is not None:
9634
+ self.repeat_end_time = m.get('RepeatEndTime')
9635
+ if m.get('RepeatStartTime') is not None:
9636
+ self.repeat_start_time = m.get('RepeatStartTime')
9637
+ if m.get('RepeatType') is not None:
9638
+ self.repeat_type = m.get('RepeatType')
9639
+ if m.get('Source') is not None:
9640
+ self.source = m.get('Source')
9641
+ if m.get('SourceGroupCidrs') is not None:
9642
+ self.source_group_cidrs = m.get('SourceGroupCidrs')
9643
+ if m.get('SourceGroupType') is not None:
9644
+ self.source_group_type = m.get('SourceGroupType')
9645
+ if m.get('SourceType') is not None:
9646
+ self.source_type = m.get('SourceType')
9647
+ if m.get('SpreadCnt') is not None:
9648
+ self.spread_cnt = m.get('SpreadCnt')
9649
+ if m.get('StartTime') is not None:
9650
+ self.start_time = m.get('StartTime')
9651
+ return self
9652
+
9653
+
9654
+ class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9655
+ def __init__(
9656
+ self,
9657
+ policys: List[DescribeNatFirewallControlPolicyResponseBodyPolicys] = None,
9658
+ request_id: str = None,
9659
+ total_count: str = None,
9660
+ ):
9661
+ # The information about the access control policies.
9662
+ self.policys = policys
9663
+ # The request ID.
9664
+ self.request_id = request_id
9665
+ # The total number of entries returned.
9666
+ self.total_count = total_count
9667
+
9668
+ def validate(self):
9669
+ if self.policys:
9670
+ for k in self.policys:
9671
+ if k:
9672
+ k.validate()
9673
+
9674
+ def to_map(self):
9675
+ _map = super().to_map()
9676
+ if _map is not None:
9677
+ return _map
9678
+
9679
+ result = dict()
9680
+ result['Policys'] = []
9681
+ if self.policys is not None:
9682
+ for k in self.policys:
9683
+ result['Policys'].append(k.to_map() if k else None)
9684
+ if self.request_id is not None:
9685
+ result['RequestId'] = self.request_id
9686
+ if self.total_count is not None:
9687
+ result['TotalCount'] = self.total_count
9688
+ return result
9689
+
9690
+ def from_map(self, m: dict = None):
9691
+ m = m or dict()
9692
+ self.policys = []
9693
+ if m.get('Policys') is not None:
9694
+ for k in m.get('Policys'):
9695
+ temp_model = DescribeNatFirewallControlPolicyResponseBodyPolicys()
9696
+ self.policys.append(temp_model.from_map(k))
9697
+ if m.get('RequestId') is not None:
9698
+ self.request_id = m.get('RequestId')
9699
+ if m.get('TotalCount') is not None:
9700
+ self.total_count = m.get('TotalCount')
9701
+ return self
9702
+
9703
+
9704
+ class DescribeNatFirewallControlPolicyResponse(TeaModel):
9705
+ def __init__(
9706
+ self,
9707
+ headers: Dict[str, str] = None,
9708
+ status_code: int = None,
9709
+ body: DescribeNatFirewallControlPolicyResponseBody = None,
9710
+ ):
9711
+ self.headers = headers
9712
+ self.status_code = status_code
9713
+ self.body = body
9714
+
9715
+ def validate(self):
9716
+ if self.body:
9717
+ self.body.validate()
9718
+
9719
+ def to_map(self):
9720
+ _map = super().to_map()
9721
+ if _map is not None:
9722
+ return _map
9723
+
9724
+ result = dict()
9725
+ if self.headers is not None:
9726
+ result['headers'] = self.headers
9727
+ if self.status_code is not None:
9728
+ result['statusCode'] = self.status_code
9729
+ if self.body is not None:
9730
+ result['body'] = self.body.to_map()
9731
+ return result
9732
+
9733
+ def from_map(self, m: dict = None):
9734
+ m = m or dict()
9735
+ if m.get('headers') is not None:
9736
+ self.headers = m.get('headers')
9737
+ if m.get('statusCode') is not None:
9738
+ self.status_code = m.get('statusCode')
9739
+ if m.get('body') is not None:
9740
+ temp_model = DescribeNatFirewallControlPolicyResponseBody()
9741
+ self.body = temp_model.from_map(m['body'])
9742
+ return self
9743
+
9744
+
9745
+ class DescribeNatFirewallListRequest(TeaModel):
9746
+ def __init__(
9747
+ self,
9748
+ lang: str = None,
9749
+ member_uid: int = None,
9750
+ nat_gateway_id: str = None,
9751
+ page_no: int = None,
9752
+ page_size: int = None,
9753
+ proxy_id: str = None,
9754
+ proxy_name: str = None,
9755
+ region_no: str = None,
9756
+ status: str = None,
9757
+ vpc_id: str = None,
9758
+ ):
9759
+ self.lang = lang
9760
+ self.member_uid = member_uid
9761
+ self.nat_gateway_id = nat_gateway_id
9762
+ self.page_no = page_no
9763
+ self.page_size = page_size
9764
+ self.proxy_id = proxy_id
9765
+ self.proxy_name = proxy_name
9766
+ self.region_no = region_no
9767
+ self.status = status
9768
+ self.vpc_id = vpc_id
9769
+
9770
+ def validate(self):
9771
+ pass
9772
+
9773
+ def to_map(self):
9774
+ _map = super().to_map()
9775
+ if _map is not None:
9776
+ return _map
9777
+
9778
+ result = dict()
9779
+ if self.lang is not None:
9780
+ result['Lang'] = self.lang
9781
+ if self.member_uid is not None:
9782
+ result['MemberUid'] = self.member_uid
9783
+ if self.nat_gateway_id is not None:
9784
+ result['NatGatewayId'] = self.nat_gateway_id
9785
+ if self.page_no is not None:
9786
+ result['PageNo'] = self.page_no
9787
+ if self.page_size is not None:
9788
+ result['PageSize'] = self.page_size
9789
+ if self.proxy_id is not None:
9790
+ result['ProxyId'] = self.proxy_id
9791
+ if self.proxy_name is not None:
9792
+ result['ProxyName'] = self.proxy_name
9793
+ if self.region_no is not None:
9794
+ result['RegionNo'] = self.region_no
9795
+ if self.status is not None:
9796
+ result['Status'] = self.status
9797
+ if self.vpc_id is not None:
9798
+ result['VpcId'] = self.vpc_id
9799
+ return result
9800
+
9801
+ def from_map(self, m: dict = None):
9802
+ m = m or dict()
9803
+ if m.get('Lang') is not None:
9804
+ self.lang = m.get('Lang')
9805
+ if m.get('MemberUid') is not None:
9806
+ self.member_uid = m.get('MemberUid')
9807
+ if m.get('NatGatewayId') is not None:
9808
+ self.nat_gateway_id = m.get('NatGatewayId')
9809
+ if m.get('PageNo') is not None:
9810
+ self.page_no = m.get('PageNo')
9811
+ if m.get('PageSize') is not None:
9812
+ self.page_size = m.get('PageSize')
9813
+ if m.get('ProxyId') is not None:
9814
+ self.proxy_id = m.get('ProxyId')
9815
+ if m.get('ProxyName') is not None:
9816
+ self.proxy_name = m.get('ProxyName')
9817
+ if m.get('RegionNo') is not None:
9818
+ self.region_no = m.get('RegionNo')
9819
+ if m.get('Status') is not None:
9820
+ self.status = m.get('Status')
9821
+ if m.get('VpcId') is not None:
9822
+ self.vpc_id = m.get('VpcId')
9823
+ return self
9824
+
9825
+
9826
+ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9827
+ def __init__(
9828
+ self,
9829
+ ali_uid: int = None,
9830
+ error_detail: str = None,
9831
+ member_uid: int = None,
9832
+ nat_gateway_id: str = None,
9833
+ nat_gateway_name: str = None,
9834
+ proxy_id: str = None,
9835
+ proxy_name: str = None,
9836
+ proxy_status: str = None,
9837
+ region_id: str = None,
9838
+ strict_mode: int = None,
9839
+ vpc_id: str = None,
9840
+ vpc_name: str = None,
9841
+ ):
9842
+ self.ali_uid = ali_uid
9843
+ self.error_detail = error_detail
9844
+ self.member_uid = member_uid
9845
+ self.nat_gateway_id = nat_gateway_id
9846
+ self.nat_gateway_name = nat_gateway_name
9847
+ self.proxy_id = proxy_id
9848
+ self.proxy_name = proxy_name
9849
+ self.proxy_status = proxy_status
9850
+ self.region_id = region_id
9851
+ self.strict_mode = strict_mode
9852
+ self.vpc_id = vpc_id
9853
+ self.vpc_name = vpc_name
9854
+
9855
+ def validate(self):
9856
+ pass
9857
+
9858
+ def to_map(self):
9859
+ _map = super().to_map()
9860
+ if _map is not None:
9861
+ return _map
9862
+
9863
+ result = dict()
9864
+ if self.ali_uid is not None:
9865
+ result['AliUid'] = self.ali_uid
9866
+ if self.error_detail is not None:
9867
+ result['ErrorDetail'] = self.error_detail
9868
+ if self.member_uid is not None:
9869
+ result['MemberUid'] = self.member_uid
9870
+ if self.nat_gateway_id is not None:
9871
+ result['NatGatewayId'] = self.nat_gateway_id
9872
+ if self.nat_gateway_name is not None:
9873
+ result['NatGatewayName'] = self.nat_gateway_name
9874
+ if self.proxy_id is not None:
9875
+ result['ProxyId'] = self.proxy_id
9876
+ if self.proxy_name is not None:
9877
+ result['ProxyName'] = self.proxy_name
9878
+ if self.proxy_status is not None:
9879
+ result['ProxyStatus'] = self.proxy_status
9880
+ if self.region_id is not None:
9881
+ result['RegionId'] = self.region_id
9882
+ if self.strict_mode is not None:
9883
+ result['StrictMode'] = self.strict_mode
9884
+ if self.vpc_id is not None:
9885
+ result['VpcId'] = self.vpc_id
9886
+ if self.vpc_name is not None:
9887
+ result['VpcName'] = self.vpc_name
9888
+ return result
9889
+
9890
+ def from_map(self, m: dict = None):
9891
+ m = m or dict()
9892
+ if m.get('AliUid') is not None:
9893
+ self.ali_uid = m.get('AliUid')
9894
+ if m.get('ErrorDetail') is not None:
9895
+ self.error_detail = m.get('ErrorDetail')
9896
+ if m.get('MemberUid') is not None:
9897
+ self.member_uid = m.get('MemberUid')
9898
+ if m.get('NatGatewayId') is not None:
9899
+ self.nat_gateway_id = m.get('NatGatewayId')
9900
+ if m.get('NatGatewayName') is not None:
9901
+ self.nat_gateway_name = m.get('NatGatewayName')
9902
+ if m.get('ProxyId') is not None:
9903
+ self.proxy_id = m.get('ProxyId')
9904
+ if m.get('ProxyName') is not None:
9905
+ self.proxy_name = m.get('ProxyName')
9906
+ if m.get('ProxyStatus') is not None:
9907
+ self.proxy_status = m.get('ProxyStatus')
9908
+ if m.get('RegionId') is not None:
9909
+ self.region_id = m.get('RegionId')
9910
+ if m.get('StrictMode') is not None:
9911
+ self.strict_mode = m.get('StrictMode')
9912
+ if m.get('VpcId') is not None:
9913
+ self.vpc_id = m.get('VpcId')
9914
+ if m.get('VpcName') is not None:
9915
+ self.vpc_name = m.get('VpcName')
9146
9916
  return self
9147
9917
 
9148
9918
 
9149
- class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9919
+ class DescribeNatFirewallListResponseBody(TeaModel):
9150
9920
  def __init__(
9151
9921
  self,
9152
- policys: List[DescribeNatFirewallControlPolicyResponseBodyPolicys] = None,
9922
+ nat_firewall_list: List[DescribeNatFirewallListResponseBodyNatFirewallList] = None,
9153
9923
  request_id: str = None,
9154
- total_count: str = None,
9924
+ total_count: int = None,
9155
9925
  ):
9156
- # The information about the access control policies.
9157
- self.policys = policys
9158
- # The request ID.
9926
+ self.nat_firewall_list = nat_firewall_list
9159
9927
  self.request_id = request_id
9160
- # The total number of entries returned.
9161
9928
  self.total_count = total_count
9162
9929
 
9163
9930
  def validate(self):
9164
- if self.policys:
9165
- for k in self.policys:
9931
+ if self.nat_firewall_list:
9932
+ for k in self.nat_firewall_list:
9166
9933
  if k:
9167
9934
  k.validate()
9168
9935
 
@@ -9172,10 +9939,10 @@ class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9172
9939
  return _map
9173
9940
 
9174
9941
  result = dict()
9175
- result['Policys'] = []
9176
- if self.policys is not None:
9177
- for k in self.policys:
9178
- result['Policys'].append(k.to_map() if k else None)
9942
+ result['NatFirewallList'] = []
9943
+ if self.nat_firewall_list is not None:
9944
+ for k in self.nat_firewall_list:
9945
+ result['NatFirewallList'].append(k.to_map() if k else None)
9179
9946
  if self.request_id is not None:
9180
9947
  result['RequestId'] = self.request_id
9181
9948
  if self.total_count is not None:
@@ -9184,11 +9951,11 @@ class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9184
9951
 
9185
9952
  def from_map(self, m: dict = None):
9186
9953
  m = m or dict()
9187
- self.policys = []
9188
- if m.get('Policys') is not None:
9189
- for k in m.get('Policys'):
9190
- temp_model = DescribeNatFirewallControlPolicyResponseBodyPolicys()
9191
- self.policys.append(temp_model.from_map(k))
9954
+ self.nat_firewall_list = []
9955
+ if m.get('NatFirewallList') is not None:
9956
+ for k in m.get('NatFirewallList'):
9957
+ temp_model = DescribeNatFirewallListResponseBodyNatFirewallList()
9958
+ self.nat_firewall_list.append(temp_model.from_map(k))
9192
9959
  if m.get('RequestId') is not None:
9193
9960
  self.request_id = m.get('RequestId')
9194
9961
  if m.get('TotalCount') is not None:
@@ -9196,12 +9963,12 @@ class DescribeNatFirewallControlPolicyResponseBody(TeaModel):
9196
9963
  return self
9197
9964
 
9198
9965
 
9199
- class DescribeNatFirewallControlPolicyResponse(TeaModel):
9966
+ class DescribeNatFirewallListResponse(TeaModel):
9200
9967
  def __init__(
9201
9968
  self,
9202
9969
  headers: Dict[str, str] = None,
9203
9970
  status_code: int = None,
9204
- body: DescribeNatFirewallControlPolicyResponseBody = None,
9971
+ body: DescribeNatFirewallListResponseBody = None,
9205
9972
  ):
9206
9973
  self.headers = headers
9207
9974
  self.status_code = status_code
@@ -9232,7 +9999,7 @@ class DescribeNatFirewallControlPolicyResponse(TeaModel):
9232
9999
  if m.get('statusCode') is not None:
9233
10000
  self.status_code = m.get('statusCode')
9234
10001
  if m.get('body') is not None:
9235
- temp_model = DescribeNatFirewallControlPolicyResponseBody()
10002
+ temp_model = DescribeNatFirewallListResponseBody()
9236
10003
  self.body = temp_model.from_map(m['body'])
9237
10004
  return self
9238
10005
 
@@ -9250,6 +10017,8 @@ class DescribeNatFirewallPolicyPriorUsedRequest(TeaModel):
9250
10017
  # Valid values:
9251
10018
  #
9252
10019
  # * **out**: outbound traffic
10020
+ #
10021
+ # This parameter is required.
9253
10022
  self.direction = direction
9254
10023
  # The IP version supported by the access control policy. Valid values:
9255
10024
  #
@@ -9261,6 +10030,8 @@ class DescribeNatFirewallPolicyPriorUsedRequest(TeaModel):
9261
10030
  # * **en**: English
9262
10031
  self.lang = lang
9263
10032
  # The ID of the NAT gateway.
10033
+ #
10034
+ # This parameter is required.
9264
10035
  self.nat_gateway_id = nat_gateway_id
9265
10036
 
9266
10037
  def validate(self):
@@ -9431,6 +10202,8 @@ class DescribeOutgoingDestinationIPRequest(TeaModel):
9431
10202
  # The destination IP address in the outbound connection that is initiated to access a domain name.
9432
10203
  self.dst_ip = dst_ip
9433
10204
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
10205
+ #
10206
+ # This parameter is required.
9434
10207
  self.end_time = end_time
9435
10208
  # The language of the content within the response. Valid values:
9436
10209
  #
@@ -9458,6 +10231,8 @@ class DescribeOutgoingDestinationIPRequest(TeaModel):
9458
10231
  # * **TotalBytes**: the total volume of traffic.
9459
10232
  self.sort = sort
9460
10233
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
10234
+ #
10235
+ # This parameter is required.
9461
10236
  self.start_time = start_time
9462
10237
  # The ID of the tag. Valid values:
9463
10238
  #
@@ -9490,7 +10265,7 @@ class DescribeOutgoingDestinationIPRequest(TeaModel):
9490
10265
  # * **Rogue**: rogue software
9491
10266
  # * **Botnet**: botnet
9492
10267
  # * **Suspicious**: suspicious website
9493
- # * **C\&C**: command and control (C\&C)
10268
+ # * **C\\&C**: command and control (C\\&C)
9494
10269
  # * **Gang**: gang
9495
10270
  # * **CVE**: Common Vulnerabilities and Exposures (CVE)
9496
10271
  # * **Backdoor**: webshell
@@ -10075,6 +10850,8 @@ class DescribeOutgoingDomainRequest(TeaModel):
10075
10850
  # The domain name in outbound connections.
10076
10851
  self.domain = domain
10077
10852
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
10853
+ #
10854
+ # This parameter is required.
10078
10855
  self.end_time = end_time
10079
10856
  # The language of the content within the request. Valid values:
10080
10857
  #
@@ -10098,6 +10875,8 @@ class DescribeOutgoingDomainRequest(TeaModel):
10098
10875
  # * **TotalBytes**: the total volume of traffic.
10099
10876
  self.sort = sort
10100
10877
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
10878
+ #
10879
+ # This parameter is required.
10101
10880
  self.start_time = start_time
10102
10881
  # The ID of the tag. Valid values:
10103
10882
  #
@@ -10130,7 +10909,7 @@ class DescribeOutgoingDomainRequest(TeaModel):
10130
10909
  # * **Rogue**: rogue software
10131
10910
  # * **Botnet**: botnet
10132
10911
  # * **Suspicious**: suspicious website
10133
- # * **C\&C**: command and control (C\&C)
10912
+ # * **C\\&C**: command and control (C\\&C)
10134
10913
  # * **Gang**: gang
10135
10914
  # * **CVE**: Common Vulnerabilities and Exposures (CVE)
10136
10915
  # * **Backdoor**: webshell
@@ -10712,6 +11491,8 @@ class DescribePolicyPriorUsedRequest(TeaModel):
10712
11491
  #
10713
11492
  # * **in**: inbound traffic
10714
11493
  # * **out**: outbound traffic
11494
+ #
11495
+ # This parameter is required.
10715
11496
  self.direction = direction
10716
11497
  # The IP version of the asset that is protected by Cloud Firewall.
10717
11498
  #
@@ -10861,13 +11642,36 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
10861
11642
  start_time: str = None,
10862
11643
  traffic_type: str = None,
10863
11644
  ):
11645
+ # The page number. Default value: 1.
10864
11646
  self.current_page = current_page
11647
+ # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
11648
+ #
11649
+ # This parameter is required.
10865
11650
  self.end_time = end_time
11651
+ # The language of the content within the request and response. Valid values:
11652
+ #
11653
+ # * **zh** (default): Chinese
11654
+ # * **en**: English
10866
11655
  self.lang = lang
11656
+ # The field based on which you want to sort the query results. Valid values:
11657
+ #
11658
+ # * **resourceId**\
11659
+ # * **trafficDay**\
10867
11660
  self.order = order
11661
+ # The number of entries per page. Default value: 10. Maximum value: 50.
10868
11662
  self.page_size = page_size
11663
+ # The instance ID or the IP address of the asset.
10869
11664
  self.search_item = search_item
11665
+ # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
11666
+ #
11667
+ # This parameter is required.
10870
11668
  self.start_time = start_time
11669
+ # The traffic type. This parameter is required. Valid values:
11670
+ #
11671
+ # * **EIP_TRAFFIC**: traffic for the Internet firewall
11672
+ # * **NatGateway_TRAFFIC**: traffic for the NAT firewall
11673
+ #
11674
+ # This parameter is required.
10871
11675
  self.traffic_type = traffic_type
10872
11676
 
10873
11677
  def validate(self):
@@ -10930,13 +11734,24 @@ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
10930
11734
  traffic_day: str = None,
10931
11735
  traffic_type: str = None,
10932
11736
  ):
11737
+ # The inbound network throughput, which indicates the total number of bytes that are received. Unit: bytes.
10933
11738
  self.in_bytes = in_bytes
11739
+ # The instance ID of the asset.
10934
11740
  self.instance_id = instance_id
11741
+ # The type of the asset. This value takes effect only for the Internet firewall.
10935
11742
  self.instance_type = instance_type
11743
+ # The outbound network throughput, which indicates the total number of bytes that are sent. Unit: bytes.
10936
11744
  self.out_bytes = out_bytes
11745
+ # The resource ID. The resource ID for the Internet firewall is the public IP address that is protected the Internet firewall, and the resource ID for a NAT firewall is the instance ID of the NAT firewall.
10937
11746
  self.resource_id = resource_id
11747
+ # The total inbound and outbound network throughput, which indicates the total number of bytes that are sent and received. Unit: bytes.
10938
11748
  self.total_bytes = total_bytes
11749
+ # The date on which the statistics are collected.
10939
11750
  self.traffic_day = traffic_day
11751
+ # The traffic type. Valid values:
11752
+ #
11753
+ # * **EIP_TRAFFIC**: traffic for the Internet firewall
11754
+ # * **NatGateway_TRAFFIC**: traffic for the NAT firewall
10940
11755
  self.traffic_type = traffic_type
10941
11756
 
10942
11757
  def validate(self):
@@ -10994,8 +11809,11 @@ class DescribePostpayTrafficDetailResponseBody(TeaModel):
10994
11809
  total_count: int = None,
10995
11810
  traffic_list: List[DescribePostpayTrafficDetailResponseBodyTrafficList] = None,
10996
11811
  ):
11812
+ # The ID of the request.
10997
11813
  self.request_id = request_id
11814
+ # The total number of entries returned.
10998
11815
  self.total_count = total_count
11816
+ # The traffic statistics.
10999
11817
  self.traffic_list = traffic_list
11000
11818
 
11001
11819
  def validate(self):
@@ -11080,6 +11898,10 @@ class DescribePostpayTrafficTotalRequest(TeaModel):
11080
11898
  self,
11081
11899
  lang: str = None,
11082
11900
  ):
11901
+ # The language of the content within the response. Valid values:
11902
+ #
11903
+ # * **zh** (default): Chinese
11904
+ # * **en**: English
11083
11905
  self.lang = lang
11084
11906
 
11085
11907
  def validate(self):
@@ -11111,10 +11933,15 @@ class DescribePostpayTrafficTotalResponseBody(TeaModel):
11111
11933
  total_nat_traffic: int = None,
11112
11934
  total_traffic: int = None,
11113
11935
  ):
11936
+ # The ID of the request.
11114
11937
  self.request_id = request_id
11938
+ # The total number of the assets that are protected by the Internet firewall.
11115
11939
  self.total_assets = total_assets
11940
+ # The total number of the assets that are protected by the NAT firewall.
11116
11941
  self.total_nat_assets = total_nat_assets
11942
+ # The total traffic for the NAT firewall. Unit: bytes.
11117
11943
  self.total_nat_traffic = total_nat_traffic
11944
+ # The total traffic for the Internet firewall. Unit: bytes.
11118
11945
  self.total_traffic = total_traffic
11119
11946
 
11120
11947
  def validate(self):
@@ -11441,8 +12268,10 @@ class DescribeRiskEventGroupRequest(TeaModel):
11441
12268
  self.buy_version = buy_version
11442
12269
  # The number of the page to return. Default value: **1**.
11443
12270
  self.current_page = current_page
11444
- # The type of the risk events.\
12271
+ # The type of the risk events.\\
11445
12272
  # Set the value to **session**, which indicates intrusion events.
12273
+ #
12274
+ # This parameter is required.
11446
12275
  self.data_type = data_type
11447
12276
  # The direction of the traffic for the intrusion events. Valid values:
11448
12277
  #
@@ -11458,6 +12287,8 @@ class DescribeRiskEventGroupRequest(TeaModel):
11458
12287
  # > If the FirewallType parameter is set to VpcFirewall, you must specify this parameter.
11459
12288
  self.dst_network_instance_id = dst_network_instance_id
11460
12289
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
12290
+ #
12291
+ # This parameter is required.
11461
12292
  self.end_time = end_time
11462
12293
  # The name of the intrusion event.
11463
12294
  self.event_name = event_name
@@ -11512,6 +12343,8 @@ class DescribeRiskEventGroupRequest(TeaModel):
11512
12343
  # > If the FirewallType parameter is set to VpcFirewall, you must specify this parameter.
11513
12344
  self.src_network_instance_id = src_network_instance_id
11514
12345
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
12346
+ #
12347
+ # This parameter is required.
11515
12348
  self.start_time = start_time
11516
12349
  # The risk level of the intrusion events. Valid values:
11517
12350
  #
@@ -11898,12 +12731,12 @@ class DescribeRiskEventGroupResponseBodyDataList(TeaModel):
11898
12731
  self.event_name = event_name
11899
12732
  # The time when the intrusion event was first detected. The value is a UNIX timestamp. Unit: seconds.
11900
12733
  self.first_event_time = first_event_time
11901
- # The geographical information about the IP address. The value is a struct that contains the following parameters: **CityId**, **CityName**, **CountryId**, and **CountryName**.\
12734
+ # The geographical information about the IP address. The value is a struct that contains the following parameters: **CityId**, **CityName**, **CountryId**, and **CountryName**.\\
11902
12735
  # ****************\
11903
12736
  self.iplocation_info = iplocation_info
11904
12737
  # The time when the intrusion event was last detected. The value is a UNIX timestamp. Unit: seconds.
11905
12738
  self.last_event_time = last_event_time
11906
- # The information about the private IP address in the intrusion event. The value is an array that contains the following parameters: **RegionNo**, **ResourceInstanceId**, **ResourceInstanceName**, and **ResourcePrivateIP**.\
12739
+ # The information about the private IP address in the intrusion event. The value is an array that contains the following parameters: **RegionNo**, **ResourceInstanceId**, **ResourceInstanceName**, and **ResourcePrivateIP**.\\
11907
12740
  # ****************\
11908
12741
  self.resource_private_iplist = resource_private_iplist
11909
12742
  # The type of the public IP address in the intrusion event. Valid values:
@@ -11935,10 +12768,10 @@ class DescribeRiskEventGroupResponseBodyDataList(TeaModel):
11935
12768
  self.src_private_iplist = src_private_iplist
11936
12769
  # The tag added to the threat intelligence that is provided for major events.
11937
12770
  self.tag = tag
11938
- # The information about the destination VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\
12771
+ # The information about the destination VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\\
11939
12772
  # ********************\
11940
12773
  self.vpc_dst_info = vpc_dst_info
11941
- # The information about the source VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\
12774
+ # The information about the source VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\\
11942
12775
  # ********************\
11943
12776
  self.vpc_src_info = vpc_src_info
11944
12777
  # The risk level of the intrusion event. Valid values:
@@ -12182,6 +13015,8 @@ class DescribeRiskEventPayloadRequest(TeaModel):
12182
13015
  # The ID of the destination VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the destination VPC are queried.
12183
13016
  self.dst_vpc_id = dst_vpc_id
12184
13017
  # The end of the time range to query. The value is a timestamp. Unit: seconds.
13018
+ #
13019
+ # This parameter is required.
12185
13020
  self.end_time = end_time
12186
13021
  # The type of the firewall. Valid values:
12187
13022
  #
@@ -12195,8 +13030,12 @@ class DescribeRiskEventPayloadRequest(TeaModel):
12195
13030
  # The ID of the source VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the source VPC are queried.
12196
13031
  self.src_vpc_id = src_vpc_id
12197
13032
  # The beginning of the time range to query. The value is a timestamp. Unit: seconds.
13033
+ #
13034
+ # This parameter is required.
12198
13035
  self.start_time = start_time
12199
13036
  # The UUID of the intrusion event.
13037
+ #
13038
+ # This parameter is required.
12200
13039
  self.uuid = uuid
12201
13040
 
12202
13041
  def validate(self):
@@ -12560,7 +13399,9 @@ class DescribeTrFirewallPolicyBackUpAssociationListRequestCandidateList(TeaModel
12560
13399
  candidate_id: str = None,
12561
13400
  candidate_type: str = None,
12562
13401
  ):
13402
+ # The ID of the traffic redirection instance.
12563
13403
  self.candidate_id = candidate_id
13404
+ # The type of the traffic redirection instance.
12564
13405
  self.candidate_type = candidate_type
12565
13406
 
12566
13407
  def validate(self):
@@ -12595,6 +13436,7 @@ class DescribeTrFirewallPolicyBackUpAssociationListRequest(TeaModel):
12595
13436
  lang: str = None,
12596
13437
  tr_firewall_route_policy_id: str = None,
12597
13438
  ):
13439
+ # An array that consists of the details about the traffic redirection instance.
12598
13440
  self.candidate_list = candidate_list
12599
13441
  # The instance ID of the VPC firewall.
12600
13442
  self.firewall_id = firewall_id
@@ -12654,6 +13496,7 @@ class DescribeTrFirewallPolicyBackUpAssociationListShrinkRequest(TeaModel):
12654
13496
  lang: str = None,
12655
13497
  tr_firewall_route_policy_id: str = None,
12656
13498
  ):
13499
+ # An array that consists of the details about the traffic redirection instance.
12657
13500
  self.candidate_list_shrink = candidate_list_shrink
12658
13501
  # The instance ID of the VPC firewall.
12659
13502
  self.firewall_id = firewall_id
@@ -14103,6 +14946,8 @@ class DescribeUserAssetIPTrafficInfoRequest(TeaModel):
14103
14946
  traffic_time: str = None,
14104
14947
  ):
14105
14948
  # The IP address of the asset.
14949
+ #
14950
+ # This parameter is required.
14106
14951
  self.asset_ip = asset_ip
14107
14952
  # The language of the content within the response. Valid values:
14108
14953
  #
@@ -14110,6 +14955,8 @@ class DescribeUserAssetIPTrafficInfoRequest(TeaModel):
14110
14955
  # * **en**: English
14111
14956
  self.lang = lang
14112
14957
  # The time range to query. The value is a UNIX timestamp. Unit: seconds.
14958
+ #
14959
+ # This parameter is required.
14113
14960
  self.traffic_time = traffic_time
14114
14961
 
14115
14962
  def validate(self):
@@ -14568,11 +15415,11 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList(TeaModel):
14568
15415
  #
14569
15416
  # * If the VPC firewall is used to protect a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance.
14570
15417
  #
14571
- # Example: cen-ervw0g12b5jbw\*\*\*\*\
15418
+ # Example: cen-ervw0g12b5jbw\\*\\*\\*\\*\
14572
15419
  #
14573
15420
  # * If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.
14574
15421
  #
14575
- # Example: vfw-a42bbb7b887148c9\*\*\*\*\
15422
+ # Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*\
14576
15423
  self.acl_group_id = acl_group_id
14577
15424
  # The name of the policy group. Valid values:
14578
15425
  #
@@ -14731,7 +15578,9 @@ class DescribeVpcFirewallCenDetailRequest(TeaModel):
14731
15578
  self.network_instance_id = network_instance_id
14732
15579
  # The instance ID of the VPC firewall.
14733
15580
  #
14734
- # > You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.
15581
+ # > You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the instance IDs of VPC firewalls.
15582
+ #
15583
+ # This parameter is required.
14735
15584
  self.vpc_firewall_id = vpc_firewall_id
14736
15585
 
14737
15586
  def validate(self):
@@ -15282,7 +16131,7 @@ class DescribeVpcFirewallCenListRequest(TeaModel):
15282
16131
  self.page_size = page_size
15283
16132
  # The region ID of the VPC.
15284
16133
  #
15285
- # > For more information about the regions, see [Supported regions](~~195657~~).
16134
+ # > For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
15286
16135
  self.region_no = region_no
15287
16136
  # The routing mode of the VPC firewall. Valid values:
15288
16137
  #
@@ -15884,6 +16733,8 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
15884
16733
  # The unique ID of the access control policy.
15885
16734
  self.acl_uuid = acl_uuid
15886
16735
  # The number of the page to return.
16736
+ #
16737
+ # This parameter is required.
15887
16738
  self.current_page = current_page
15888
16739
  # The description of the access control policy. Fuzzy match is supported.
15889
16740
  self.description = description
@@ -15903,6 +16754,8 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
15903
16754
  # The number of entries to return on each page.
15904
16755
  #
15905
16756
  # Maximum value: 50.
16757
+ #
16758
+ # This parameter is required.
15906
16759
  self.page_size = page_size
15907
16760
  # The protocol type in the access control policy. Valid values:
15908
16761
  #
@@ -15935,7 +16788,9 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
15935
16788
  # * If the VPC firewall protects the traffic between two VPCs that are connected by using a CEN instance, the value of this parameter must be the ID of the CEN instance.
15936
16789
  # * If the VPC firewall protects the traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.
15937
16790
  #
15938
- # > You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.
16791
+ # > You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the ID.
16792
+ #
16793
+ # This parameter is required.
15939
16794
  self.vpc_firewall_id = vpc_firewall_id
15940
16795
 
15941
16796
  def validate(self):
@@ -16136,12 +16991,12 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys(TeaModel):
16136
16991
  self.release = release
16137
16992
  # The days of a week or of a month on which the access control policy takes effect.
16138
16993
  #
16139
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \[].
16140
- # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: \[0, 6].
16994
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: [].
16995
+ # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: [0, 6].
16141
16996
  #
16142
16997
  # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
16143
16998
  #
16144
- # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \[1, 31].
16999
+ # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: [1, 31].
16145
17000
  #
16146
17001
  # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
16147
17002
  self.repeat_days = repeat_days
@@ -16431,8 +17286,10 @@ class DescribeVpcFirewallDefaultIPSConfigRequest(TeaModel):
16431
17286
  self.member_uid = member_uid
16432
17287
  # The instance ID of the VPC firewall. Valid values:
16433
17288
  #
16434
- # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the IDs of CEN instances.
16435
- # * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall. You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
17289
+ # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the IDs of CEN instances.
17290
+ # * If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall. You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
17291
+ #
17292
+ # This parameter is required.
16436
17293
  self.vpc_firewall_id = vpc_firewall_id
16437
17294
 
16438
17295
  def validate(self):
@@ -16577,7 +17434,9 @@ class DescribeVpcFirewallDetailRequest(TeaModel):
16577
17434
  self.peer_vpc_id = peer_vpc_id
16578
17435
  # The instance ID of the VPC firewall.
16579
17436
  #
16580
- # > You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
17437
+ # > You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
17438
+ #
17439
+ # This parameter is required.
16581
17440
  self.vpc_firewall_id = vpc_firewall_id
16582
17441
 
16583
17442
  def validate(self):
@@ -17076,6 +17935,8 @@ class DescribeVpcFirewallIPSWhitelistRequest(TeaModel):
17076
17935
  # The UID of the member in Cloud Firewall.
17077
17936
  self.member_uid = member_uid
17078
17937
  # The instance ID of the VPC firewall.
17938
+ #
17939
+ # This parameter is required.
17079
17940
  self.vpc_firewall_id = vpc_firewall_id
17080
17941
 
17081
17942
  def validate(self):
@@ -17300,7 +18161,7 @@ class DescribeVpcFirewallListRequest(TeaModel):
17300
18161
  self.peer_uid = peer_uid
17301
18162
  # The region ID of the VPC.
17302
18163
  #
17303
- # > For more information about the regions, see [Supported regions](~~195657~~).
18164
+ # > For more information about the regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
17304
18165
  self.region_no = region_no
17305
18166
  # The instance ID of the VPC firewall.
17306
18167
  self.vpc_firewall_id = vpc_firewall_id
@@ -17959,6 +18820,8 @@ class DescribeVpcFirewallPolicyPriorUsedRequest(TeaModel):
17959
18820
  # - If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the ID of the VPC firewall instance.
17960
18821
  #
17961
18822
  # Example: vfw-a42bbb7b887148c9****\
18823
+ #
18824
+ # This parameter is required.
17962
18825
  self.vpc_firewall_id = vpc_firewall_id
17963
18826
 
17964
18827
  def validate(self):
@@ -18084,7 +18947,7 @@ class DescribeVpcListLiteRequest(TeaModel):
18084
18947
  self.lang = lang
18085
18948
  # The region ID of the VPC.
18086
18949
  #
18087
- # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
18950
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
18088
18951
  self.region_no = region_no
18089
18952
  # The source IP address of the request.
18090
18953
  self.source_ip = source_ip
@@ -18480,6 +19343,8 @@ class DescribeVulnerabilityProtectedListRequest(TeaModel):
18480
19343
  # The number of the page to return. Default value: 1.
18481
19344
  self.current_page = current_page
18482
19345
  # The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
19346
+ #
19347
+ # This parameter is required.
18483
19348
  self.end_time = end_time
18484
19349
  # The language of the content within the response. Valid values:
18485
19350
  #
@@ -18500,6 +19365,8 @@ class DescribeVulnerabilityProtectedListRequest(TeaModel):
18500
19365
  # The IP address of the access source.
18501
19366
  self.source_ip = source_ip
18502
19367
  # The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
19368
+ #
19369
+ # This parameter is required.
18503
19370
  self.start_time = start_time
18504
19371
  # The type of the user. Set the value to **buy**, which indicates user of a paid edition of Cloud Firewall.
18505
19372
  self.user_type = user_type
@@ -18630,7 +19497,7 @@ class DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList(TeaMode
18630
19497
  self.intranet_ip = intranet_ip
18631
19498
  # The region ID of your Cloud Firewall.
18632
19499
  #
18633
- # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
19500
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](https://help.aliyun.com/document_detail/195657.html).
18634
19501
  self.region_id = region_id
18635
19502
  # The ID of the instance.
18636
19503
  self.resource_id = resource_id
@@ -19084,12 +19951,18 @@ class ModifyAddressBookRequest(TeaModel):
19084
19951
  # * **0**: no
19085
19952
  self.auto_add_tag_ecs = auto_add_tag_ecs
19086
19953
  # The description of the address book.
19954
+ #
19955
+ # This parameter is required.
19087
19956
  self.description = description
19088
19957
  # The name of the address book.
19958
+ #
19959
+ # This parameter is required.
19089
19960
  self.group_name = group_name
19090
19961
  # The ID of the address book.
19091
19962
  #
19092
- # > To modify the address book, you must provide the ID of the address book. You can call the [DescribeAddressBook](~~138869~~) operation to query the ID.
19963
+ # > To modify the address book, you must provide the ID of the address book. You can call the [DescribeAddressBook](https://help.aliyun.com/document_detail/138869.html) operation to query the ID.
19964
+ #
19965
+ # This parameter is required.
19093
19966
  self.group_uuid = group_uuid
19094
19967
  # The language of the content within the request and response. Valid values:
19095
19968
  #
@@ -19266,10 +20139,14 @@ class ModifyControlPolicyRequest(TeaModel):
19266
20139
  # * **accept**: allows the traffic.
19267
20140
  # * **drop**: denies the traffic.
19268
20141
  # * **log**: monitors the traffic.
20142
+ #
20143
+ # This parameter is required.
19269
20144
  self.acl_action = acl_action
19270
20145
  # The UUID of the access control policy.
19271
20146
  #
19272
- # > To modify an access control policy, you must specify the UUID of the policy. You can call the [DescribeControlPolicy](~~138866~~) interface to query the UUID.
20147
+ # > To modify an access control policy, you must specify the UUID of the policy. You can call the [DescribeControlPolicy](https://help.aliyun.com/document_detail/138866.html) interface to query the UUID.
20148
+ #
20149
+ # This parameter is required.
19273
20150
  self.acl_uuid = acl_uuid
19274
20151
  # The type of the application that the access control policy supports. Valid values:
19275
20152
  #
@@ -19293,6 +20170,8 @@ class ModifyControlPolicyRequest(TeaModel):
19293
20170
  # The application names.
19294
20171
  self.application_name_list = application_name_list
19295
20172
  # The description of the access control policy.
20173
+ #
20174
+ # This parameter is required.
19296
20175
  self.description = description
19297
20176
  # The destination port in the access control policy.
19298
20177
  self.dest_port = dest_port
@@ -19307,8 +20186,10 @@ class ModifyControlPolicyRequest(TeaModel):
19307
20186
  #
19308
20187
  # * If **DestinationType** is set to net, the value of **Destination** is a CIDR block. Example: 1.2.XX.XX/24.
19309
20188
  # * If **DestinationType** is set to group, the value of **Destination** is an address book. Example: db_group.
19310
- # * If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \*.aliyuncs.com.
19311
- # * If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \["BJ11", "ZB"].
20189
+ # * If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \\*.aliyuncs.com.
20190
+ # * If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"].
20191
+ #
20192
+ # This parameter is required.
19312
20193
  self.destination = destination
19313
20194
  # The type of the destination address in the access control policy. Valid values:
19314
20195
  #
@@ -19316,11 +20197,15 @@ class ModifyControlPolicyRequest(TeaModel):
19316
20197
  # * **group**: address book
19317
20198
  # * **domain**: domain name
19318
20199
  # * **location**: location
20200
+ #
20201
+ # This parameter is required.
19319
20202
  self.destination_type = destination_type
19320
20203
  # The direction of the traffic to which the access control policy applies. Valid values:
19321
20204
  #
19322
20205
  # * **in**: inbound traffic
19323
20206
  # * **out**: outbound traffic
20207
+ #
20208
+ # This parameter is required.
19324
20209
  self.direction = direction
19325
20210
  # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.
19326
20211
  #
@@ -19339,6 +20224,8 @@ class ModifyControlPolicyRequest(TeaModel):
19339
20224
  # * **ICMP**\
19340
20225
  #
19341
20226
  # > The value *ANY* indicates all types of applications.
20227
+ #
20228
+ # This parameter is required.
19342
20229
  self.proto = proto
19343
20230
  # The status of the access control policy. Valid values:
19344
20231
  #
@@ -19347,12 +20234,12 @@ class ModifyControlPolicyRequest(TeaModel):
19347
20234
  self.release = release
19348
20235
  # The days of a week or of a month on which the access control policy takes effect.
19349
20236
  #
19350
- # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \[]
19351
- # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6]
20237
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: []
20238
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: [0, 6]
19352
20239
  #
19353
20240
  # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
19354
20241
  #
19355
- # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31]
20242
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: [1, 31]
19356
20243
  #
19357
20244
  # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
19358
20245
  self.repeat_days = repeat_days
@@ -19376,13 +20263,17 @@ class ModifyControlPolicyRequest(TeaModel):
19376
20263
  #
19377
20264
  # * If **SourceType** is set to net, the value of **Source** is a CIDR block. Example: 1.2.XX.XX/24.
19378
20265
  # * If **SourceType** is set to group, the value of **Source** is an address book. Example: db_group.
19379
- # * If **SourceType** is set to location, the value of **Source** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \["BJ11", "ZB"]
20266
+ # * If **SourceType** is set to location, the value of **Source** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"]
20267
+ #
20268
+ # This parameter is required.
19380
20269
  self.source = source
19381
20270
  # The type of the source address in the access control policy. Valid values:
19382
20271
  #
19383
20272
  # * **net**: CIDR block
19384
20273
  # * **group**: address book
19385
20274
  # * **location**: location
20275
+ #
20276
+ # This parameter is required.
19386
20277
  self.source_type = source_type
19387
20278
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
19388
20279
  #
@@ -19575,6 +20466,8 @@ class ModifyControlPolicyPositionRequest(TeaModel):
19575
20466
  #
19576
20467
  # * in: inbound traffic
19577
20468
  # * out: outbound traffic
20469
+ #
20470
+ # This parameter is required.
19578
20471
  self.direction = direction
19579
20472
  # The language of the content within the response. Valid values:
19580
20473
  #
@@ -19583,9 +20476,13 @@ class ModifyControlPolicyPositionRequest(TeaModel):
19583
20476
  self.lang = lang
19584
20477
  # The new priority of the IPv4 access control policy. You must specify a numeric value for this parameter. The value 1 indicates the highest priority. A larger value indicates a lower priority.
19585
20478
  #
19586
- # > The new priority cannot exceed the priority range of the IPv4 access control policy. Otherwise, an error occurs when you call this operation. Before you call this operation, we recommend that you use the [DescribePolicyPriorUsed](~~138862~~) operation to query the priority range of the IPv4 access control policy in the specified direction.
20479
+ # > The new priority cannot exceed the priority range of the IPv4 access control policy. Otherwise, an error occurs when you call this operation. Before you call this operation, we recommend that you use the [DescribePolicyPriorUsed](https://help.aliyun.com/document_detail/138862.html) operation to query the priority range of the IPv4 access control policy in the specified direction.
20480
+ #
20481
+ # This parameter is required.
19587
20482
  self.new_order = new_order
19588
20483
  # The original priority of the IPv4 access control policy.
20484
+ #
20485
+ # This parameter is required.
19589
20486
  self.old_order = old_order
19590
20487
  # The source IP address of the request.
19591
20488
  self.source_ip = source_ip
@@ -19710,13 +20607,16 @@ class ModifyDefaultIPSConfigRequest(TeaModel):
19710
20607
  source_ip: str = None,
19711
20608
  ):
19712
20609
  self.ai_rules = ai_rules
20610
+ # This parameter is required.
19713
20611
  self.basic_rules = basic_rules
20612
+ # This parameter is required.
19714
20613
  self.cti_rules = cti_rules
19715
20614
  self.enable_all_patch = enable_all_patch
19716
20615
  self.enable_default = enable_default
19717
20616
  self.lang = lang
19718
20617
  self.patch_rules = patch_rules
19719
20618
  self.rule_class = rule_class
20619
+ # This parameter is required.
19720
20620
  self.run_mode = run_mode
19721
20621
  self.source_ip = source_ip
19722
20622
 
@@ -19985,8 +20885,12 @@ class ModifyInstanceMemberAttributesRequestMembers(TeaModel):
19985
20885
  member_uid: int = None,
19986
20886
  ):
19987
20887
  # The remarks of the member in Cloud Firewall.
20888
+ #
20889
+ # This parameter is required.
19988
20890
  self.member_desc = member_desc
19989
20891
  # The UID of the member in Cloud Firewall.
20892
+ #
20893
+ # This parameter is required.
19990
20894
  self.member_uid = member_uid
19991
20895
 
19992
20896
  def validate(self):
@@ -20019,6 +20923,8 @@ class ModifyInstanceMemberAttributesRequest(TeaModel):
20019
20923
  members: List[ModifyInstanceMemberAttributesRequestMembers] = None,
20020
20924
  ):
20021
20925
  # The members that to be modified.
20926
+ #
20927
+ # This parameter is required.
20022
20928
  self.members = members
20023
20929
 
20024
20930
  def validate(self):
@@ -20150,16 +21056,22 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20150
21056
  # * **accept**: allows the traffic.
20151
21057
  # * **drop**: denies the traffic.
20152
21058
  # * **log**: monitors the traffic.
21059
+ #
21060
+ # This parameter is required.
20153
21061
  self.acl_action = acl_action
20154
21062
  # The UUID of the access control policy.
20155
21063
  #
20156
21064
  # To modify the configurations of an access control policy, you must provide the UUID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.
21065
+ #
21066
+ # This parameter is required.
20157
21067
  self.acl_uuid = acl_uuid
20158
21068
  # The name of the application.
20159
21069
  self.application_name_list = application_name_list
20160
21070
  # The description of the access control policy. Fuzzy match is supported.
20161
21071
  #
20162
21072
  # > If you do not specify this parameter, the descriptions of all policies are queried.
21073
+ #
21074
+ # This parameter is required.
20163
21075
  self.description = description
20164
21076
  # The destination port in the access control policy.
20165
21077
  #
@@ -20176,21 +21088,25 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20176
21088
  #
20177
21089
  # * If **DestinationType** is set to net, the value of **Destination** is a CIDR block. Example: 1.2.3.4/24
20178
21090
  # * If **DestinationType** is set to group, the value of **Destination** is an address book. Example: db_group
20179
- # * If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \*.aliyuncs.com
20180
- # * If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \["BJ11", "ZB"]
21091
+ # * If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \\*.aliyuncs.com
21092
+ # * If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"]
21093
+ #
21094
+ # This parameter is required.
20181
21095
  self.destination = destination
20182
21096
  # The type of the destination address in the access control policy. Valid values:
20183
21097
  #
20184
21098
  # * **net**: CIDR block
20185
21099
  # * **group**: address book
20186
21100
  # * **domain**: domain name
20187
- # * **location**\
21101
+ # * **location**: destination location
21102
+ #
21103
+ # This parameter is required.
20188
21104
  self.destination_type = destination_type
20189
21105
  # The direction of the traffic to which the access control policy applies.
20190
21106
  #
20191
21107
  # * Set the value to **out**.
20192
21108
  self.direction = direction
20193
- # The domain name resolution method of the access control policy. By default, an access control policy is enabled after it is created. Valid values:
21109
+ # The domain name resolution method of the access control policy. Valid values:
20194
21110
  #
20195
21111
  # * **0**: Fully qualified domain name (FQDN)-based resolution
20196
21112
  # * **1**: Domain Name System (DNS)-based dynamic resolution
@@ -20206,6 +21122,8 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20206
21122
  # * **en**: English
20207
21123
  self.lang = lang
20208
21124
  # The ID of the NAT gateway.
21125
+ #
21126
+ # This parameter is required.
20209
21127
  self.nat_gateway_id = nat_gateway_id
20210
21128
  # The protocol type supported by the access control policy. Valid values:
20211
21129
  #
@@ -20215,6 +21133,8 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20215
21133
  # * **ICMP**\
20216
21134
  #
20217
21135
  # > The value **ANY** indicates all types of protocols.
21136
+ #
21137
+ # This parameter is required.
20218
21138
  self.proto = proto
20219
21139
  # The status of the access control policy. Valid values:
20220
21140
  #
@@ -20223,12 +21143,12 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20223
21143
  self.release = release
20224
21144
  # The days of a week or of a month on which the access control policy takes effect.
20225
21145
  #
20226
- # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \[].
20227
- # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: \[0, 6].
21146
+ # * If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: [].
21147
+ # * If RepeatType is set to Weekly, RepeatDays must be specified. Example: [0, 6].
20228
21148
  #
20229
21149
  # > If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.
20230
21150
  #
20231
- # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \[1, 31].
21151
+ # * If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: [1, 31].
20232
21152
  #
20233
21153
  # > If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.
20234
21154
  self.repeat_days = repeat_days
@@ -20252,11 +21172,15 @@ class ModifyNatFirewallControlPolicyRequest(TeaModel):
20252
21172
  #
20253
21173
  # * If **SourceType** is set to `net`, the value of this parameter is a CIDR block. Example: 10.2.XX.XX/24.
20254
21174
  # * If **SourceType** is set to `group`, the value of this parameter is an address book name. Example: db_group.
21175
+ #
21176
+ # This parameter is required.
20255
21177
  self.source = source
20256
21178
  # The type of the source address in the access control policy. Valid values:
20257
21179
  #
20258
21180
  # * **net**: CIDR block
20259
21181
  # * **group**: address book
21182
+ #
21183
+ # This parameter is required.
20260
21184
  self.source_type = source_type
20261
21185
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
20262
21186
  #
@@ -20450,6 +21374,8 @@ class ModifyNatFirewallControlPolicyPositionRequest(TeaModel):
20450
21374
  new_order: int = None,
20451
21375
  ):
20452
21376
  # The UUID of the access control policy.
21377
+ #
21378
+ # This parameter is required.
20453
21379
  self.acl_uuid = acl_uuid
20454
21380
  # The direction of the traffic to which the access control policy applies.
20455
21381
  #
@@ -20461,12 +21387,16 @@ class ModifyNatFirewallControlPolicyPositionRequest(TeaModel):
20461
21387
  # * **en**: English
20462
21388
  self.lang = lang
20463
21389
  # The ID of the NAT gateway.
21390
+ #
21391
+ # This parameter is required.
20464
21392
  self.nat_gateway_id = nat_gateway_id
20465
21393
  # The new priority of the IPv4 access control policy. You must specify a numeric value for this parameter. The value 1 indicates the highest priority. A larger value indicates a lower priority.
20466
21394
  #
20467
21395
  # > Make sure that the value of this parameter is within the priority range of existing IPv4 access control policies. Otherwise, an error occurs when you call this operation.
20468
21396
  #
20469
21397
  # Before you call this operation, we recommend that you call the DescribeNatFirewallPolicyPriorUsed operation to query the priority range of the IPv4 access control policies in the specified traffic direction.
21398
+ #
21399
+ # This parameter is required.
20470
21400
  self.new_order = new_order
20471
21401
 
20472
21402
  def validate(self):
@@ -20585,6 +21515,8 @@ class ModifyPolicyAdvancedConfigRequest(TeaModel):
20585
21515
  #
20586
21516
  # * **on**: enables the strict mode.
20587
21517
  # * **off**: disables the strict mode.
21518
+ #
21519
+ # This parameter is required.
20588
21520
  self.internet_switch = internet_switch
20589
21521
  # The natural language of the request and response. Valid values:
20590
21522
  #
@@ -20875,10 +21807,12 @@ class ModifyTrFirewallV2RoutePolicyScopeRequest(TeaModel):
20875
21807
  tr_firewall_route_policy_id: str = None,
20876
21808
  ):
20877
21809
  self.dest_candidate_list = dest_candidate_list
21810
+ # This parameter is required.
20878
21811
  self.firewall_id = firewall_id
20879
21812
  self.lang = lang
20880
21813
  self.should_recover = should_recover
20881
21814
  self.src_candidate_list = src_candidate_list
21815
+ # This parameter is required.
20882
21816
  self.tr_firewall_route_policy_id = tr_firewall_route_policy_id
20883
21817
 
20884
21818
  def validate(self):
@@ -20949,10 +21883,12 @@ class ModifyTrFirewallV2RoutePolicyScopeShrinkRequest(TeaModel):
20949
21883
  tr_firewall_route_policy_id: str = None,
20950
21884
  ):
20951
21885
  self.dest_candidate_list_shrink = dest_candidate_list_shrink
21886
+ # This parameter is required.
20952
21887
  self.firewall_id = firewall_id
20953
21888
  self.lang = lang
20954
21889
  self.should_recover = should_recover
20955
21890
  self.src_candidate_list_shrink = src_candidate_list_shrink
21891
+ # This parameter is required.
20956
21892
  self.tr_firewall_route_policy_id = tr_firewall_route_policy_id
20957
21893
 
20958
21894
  def validate(self):
@@ -21217,9 +22153,13 @@ class ModifyVpcFirewallCenConfigureRequest(TeaModel):
21217
22153
  self.member_uid = member_uid
21218
22154
  # The instance ID of the VPC firewall.
21219
22155
  #
21220
- # > You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.
22156
+ # > You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the instance IDs of VPC firewalls.
22157
+ #
22158
+ # This parameter is required.
21221
22159
  self.vpc_firewall_id = vpc_firewall_id
21222
22160
  # The instance name of the VPC firewall.
22161
+ #
22162
+ # This parameter is required.
21223
22163
  self.vpc_firewall_name = vpc_firewall_name
21224
22164
 
21225
22165
  def validate(self):
@@ -21335,6 +22275,8 @@ class ModifyVpcFirewallCenSwitchStatusRequest(TeaModel):
21335
22275
  #
21336
22276
  # * **open**: yes
21337
22277
  # * **close**: no
22278
+ #
22279
+ # This parameter is required.
21338
22280
  self.firewall_switch = firewall_switch
21339
22281
  # The language of the content within the request and response. Valid values:
21340
22282
  #
@@ -21345,7 +22287,9 @@ class ModifyVpcFirewallCenSwitchStatusRequest(TeaModel):
21345
22287
  self.member_uid = member_uid
21346
22288
  # The instance ID of the VPC firewall.
21347
22289
  #
21348
- # > You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.
22290
+ # > You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the instance IDs of VPC firewalls.
22291
+ #
22292
+ # This parameter is required.
21349
22293
  self.vpc_firewall_id = vpc_firewall_id
21350
22294
 
21351
22295
  def validate(self):
@@ -21469,7 +22413,9 @@ class ModifyVpcFirewallConfigureRequest(TeaModel):
21469
22413
  # * **RouteTableId**: the ID of the route table for the local VPC.
21470
22414
  # * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the local VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the local VPC.
21471
22415
  #
21472
- # > You can call the [DescribeVpcFirewallDetail](~~342892~~) operation to query the CIDR blocks of local VPCs for VPC firewalls.
22416
+ # > You can call the [DescribeVpcFirewallDetail](https://help.aliyun.com/document_detail/342892.html) operation to query the CIDR blocks of local VPCs for VPC firewalls.
22417
+ #
22418
+ # This parameter is required.
21473
22419
  self.local_vpc_cidr_table_list = local_vpc_cidr_table_list
21474
22420
  # The UID of the member that is managed by your Alibaba Cloud account.
21475
22421
  self.member_uid = member_uid
@@ -21478,13 +22424,19 @@ class ModifyVpcFirewallConfigureRequest(TeaModel):
21478
22424
  # * **RouteTableId**: the ID of the route table for the peer VPC.
21479
22425
  # * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the peer VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the peer VPC.
21480
22426
  #
21481
- # > You can call the [DescribeVpcFirewallDetail](~~342892~~) operation to query the CIDR blocks of peer VPCs for VPC firewalls.
22427
+ # > You can call the [DescribeVpcFirewallDetail](https://help.aliyun.com/document_detail/342892.html) operation to query the CIDR blocks of peer VPCs for VPC firewalls.
22428
+ #
22429
+ # This parameter is required.
21482
22430
  self.peer_vpc_cidr_table_list = peer_vpc_cidr_table_list
21483
22431
  # The instance ID of the VPC firewall.
21484
22432
  #
21485
- # > You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
22433
+ # > You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
22434
+ #
22435
+ # This parameter is required.
21486
22436
  self.vpc_firewall_id = vpc_firewall_id
21487
22437
  # The instance name of the VPC firewall.
22438
+ #
22439
+ # This parameter is required.
21488
22440
  self.vpc_firewall_name = vpc_firewall_name
21489
22441
 
21490
22442
  def validate(self):
@@ -21629,10 +22581,14 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21629
22581
  # * **accept**: allows the traffic.
21630
22582
  # * **drop**: blocks the traffic.
21631
22583
  # * **log**: monitors the traffic.
22584
+ #
22585
+ # This parameter is required.
21632
22586
  self.acl_action = acl_action
21633
22587
  # The unique ID of the access control policy.
21634
22588
  #
21635
- # If you want to modify the configurations of an access control policy, you must provide the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to query the ID.
22589
+ # If you want to modify the configurations of an access control policy, you must provide the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](https://help.aliyun.com/document_detail/159758.html) operation to query the ID.
22590
+ #
22591
+ # This parameter is required.
21636
22592
  self.acl_uuid = acl_uuid
21637
22593
  # The application type used in the access control policy.
21638
22594
  #
@@ -21657,6 +22613,8 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21657
22613
  # The application names.
21658
22614
  self.application_name_list = application_name_list
21659
22615
  # The description of the access control policy.
22616
+ #
22617
+ # This parameter is required.
21660
22618
  self.description = description
21661
22619
  # The destination port in the access control policy.
21662
22620
  self.dest_port = dest_port
@@ -21679,7 +22637,9 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21679
22637
  #
21680
22638
  # * If **DestinationType** is set to `domain`, the value of this parameter must be a domain name.
21681
22639
  #
21682
- # Example: \*.aliyuncs.com
22640
+ # Example: \\*.aliyuncs.com
22641
+ #
22642
+ # This parameter is required.
21683
22643
  self.destination = destination
21684
22644
  # The type of the destination address in the access control policy.
21685
22645
  #
@@ -21688,6 +22648,8 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21688
22648
  # * **net**: CIDR block
21689
22649
  # * **group**: address book
21690
22650
  # * **domain**: domain name
22651
+ #
22652
+ # This parameter is required.
21691
22653
  self.destination_type = destination_type
21692
22654
  # The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.
21693
22655
  #
@@ -21708,6 +22670,8 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21708
22670
  # * TCP
21709
22671
  # * UDP
21710
22672
  # * ICMP
22673
+ #
22674
+ # This parameter is required.
21711
22675
  self.proto = proto
21712
22676
  # Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:
21713
22677
  #
@@ -21716,12 +22680,12 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21716
22680
  self.release = release
21717
22681
  # The days of a week or of a month on which the access control policy takes effect.
21718
22682
  #
21719
- # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \[].
21720
- # * If you set RepeatType to Weekly, you must specify this parameter. Example: \[0, 6].
22683
+ # * If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: [].
22684
+ # * If you set RepeatType to Weekly, you must specify this parameter. Example: [0, 6].
21721
22685
  #
21722
22686
  # > If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.
21723
22687
  #
21724
- # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: \[1, 31].
22688
+ # * If you set RepeatType to `Monthly`, you must specify this parameter. Example: [1, 31].
21725
22689
  #
21726
22690
  # > If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.
21727
22691
  self.repeat_days = repeat_days
@@ -21752,6 +22716,8 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21752
22716
  # * If **SourceType** is set to `group`, the value of this parameter must be an address book name.
21753
22717
  #
21754
22718
  # Example: db_group
22719
+ #
22720
+ # This parameter is required.
21755
22721
  self.source = source
21756
22722
  # The type of the source address in the access control policy.
21757
22723
  #
@@ -21759,20 +22725,24 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
21759
22725
  #
21760
22726
  # * **net**: CIDR block
21761
22727
  # * **group**: address book
22728
+ #
22729
+ # This parameter is required.
21762
22730
  self.source_type = source_type
21763
22731
  # The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.
21764
22732
  #
21765
22733
  # > If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.
21766
22734
  self.start_time = start_time
21767
- # The instance ID of the VPC firewall. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.
22735
+ # The instance ID of the VPC firewall. You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the ID.
21768
22736
  #
21769
22737
  # * If the VPC firewall is used to protect a CEN instance, the value of this parameter must be the ID of the CEN instance.
21770
22738
  #
21771
- # Example: cen-ervw0g12b5jbw\*\*\*\*\
22739
+ # Example: cen-ervw0g12b5jbw\\*\\*\\*\\*\
21772
22740
  #
21773
22741
  # * If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.
21774
22742
  #
21775
- # Example: vfw-a42bbb7b887148c9\*\*\*\*\
22743
+ # Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*\
22744
+ #
22745
+ # This parameter is required.
21776
22746
  self.vpc_firewall_id = vpc_firewall_id
21777
22747
 
21778
22748
  def validate(self):
@@ -21959,7 +22929,7 @@ class ModifyVpcFirewallControlPolicyPositionRequest(TeaModel):
21959
22929
  ):
21960
22930
  # The UUID of the access control policy.
21961
22931
  #
21962
- # If you want to modify the configurations of an access control policy, you must provide the UUID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to query the UUID.
22932
+ # If you want to modify the configurations of an access control policy, you must provide the UUID of the policy. You can call the [DescribeVpcFirewallControlPolicy](https://help.aliyun.com/document_detail/159758.html) operation to query the UUID.
21963
22933
  self.acl_uuid = acl_uuid
21964
22934
  # The language of the content within the request and the response.
21965
22935
  #
@@ -21969,22 +22939,26 @@ class ModifyVpcFirewallControlPolicyPositionRequest(TeaModel):
21969
22939
  # * **en**: English
21970
22940
  self.lang = lang
21971
22941
  # The new priority of the access control policy.
22942
+ #
22943
+ # This parameter is required.
21972
22944
  self.new_order = new_order
21973
22945
  # The original priority of the access control policy.
21974
22946
  #
21975
22947
  # > This parameter is not recommended. We recommend that you use the AclUuid parameter to specify the policy that you want to modify.
21976
22948
  self.old_order = old_order
21977
- # The ID of the group to which the access control policy belongs. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.
22949
+ # The ID of the group to which the access control policy belongs. You can call the [DescribeVpcFirewallAclGroupList](https://help.aliyun.com/document_detail/159760.html) operation to query the ID.
21978
22950
  #
21979
22951
  # Valid values:
21980
22952
  #
21981
22953
  # * If the VPC firewall is used to protect a CEN instance, the value of this parameter must be the ID of the CEN instance.
21982
22954
  #
21983
- # Example: cen-ervw0g12b5jbw\*\*\*\*\
22955
+ # Example: cen-ervw0g12b5jbw\\*\\*\\*\\*\
21984
22956
  #
21985
22957
  # * If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.
21986
22958
  #
21987
- # Example: vfw-a42bbb7b887148c9\*\*\*\*\
22959
+ # Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*\
22960
+ #
22961
+ # This parameter is required.
21988
22962
  self.vpc_firewall_id = vpc_firewall_id
21989
22963
 
21990
22964
  def validate(self):
@@ -22107,11 +23081,15 @@ class ModifyVpcFirewallDefaultIPSConfigRequest(TeaModel):
22107
23081
  #
22108
23082
  # * **1**: yes
22109
23083
  # * **0**: no
23084
+ #
23085
+ # This parameter is required.
22110
23086
  self.basic_rules = basic_rules
22111
23087
  # Specifies whether to enable virtual patching. Valid values:
22112
23088
  #
22113
23089
  # * **1**: yes
22114
23090
  # * **0**: no
23091
+ #
23092
+ # This parameter is required.
22115
23093
  self.enable_all_patch = enable_all_patch
22116
23094
  # The language of the content within the request and response. Valid values:
22117
23095
  #
@@ -22124,13 +23102,17 @@ class ModifyVpcFirewallDefaultIPSConfigRequest(TeaModel):
22124
23102
  #
22125
23103
  # * **1**: block mode
22126
23104
  # * **0**: monitor mode
23105
+ #
23106
+ # This parameter is required.
22127
23107
  self.run_mode = run_mode
22128
23108
  # The source IP address of the request.
22129
23109
  self.source_ip = source_ip
22130
23110
  # The instance ID of the VPC firewall. Valid values:
22131
23111
  #
22132
- # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the IDs of CEN instances.
22133
- # * If the VPC firewall protects mutual access traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the ID of the VPC firewall. You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
23112
+ # * If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](https://help.aliyun.com/document_detail/345777.html) operation to query the IDs of CEN instances.
23113
+ # * If the VPC firewall protects mutual access traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the ID of the VPC firewall. You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
23114
+ #
23115
+ # This parameter is required.
22134
23116
  self.vpc_firewall_id = vpc_firewall_id
22135
23117
 
22136
23118
  def validate(self):
@@ -22265,17 +23247,23 @@ class ModifyVpcFirewallIPSWhitelistRequest(TeaModel):
22265
23247
  #
22266
23248
  # * **1**: user-defined
22267
23249
  # * **2**: address book
23250
+ #
23251
+ # This parameter is required.
22268
23252
  self.list_type = list_type
22269
23253
  # The entry in the list.
22270
23254
  self.list_value = list_value
22271
23255
  # The UID of the member that is managed by your Alibaba Cloud account.
22272
23256
  self.member_uid = member_uid
22273
23257
  # The instance ID of the VPC firewall.
23258
+ #
23259
+ # This parameter is required.
22274
23260
  self.vpc_firewall_id = vpc_firewall_id
22275
23261
  # The type of the whitelist. Valid values:
22276
23262
  #
22277
23263
  # * **1**: destination
22278
23264
  # * **2**: source
23265
+ #
23266
+ # This parameter is required.
22279
23267
  self.white_type = white_type
22280
23268
 
22281
23269
  def validate(self):
@@ -22399,6 +23387,8 @@ class ModifyVpcFirewallSwitchStatusRequest(TeaModel):
22399
23387
  #
22400
23388
  # * **open**: yes
22401
23389
  # * **close**: no
23390
+ #
23391
+ # This parameter is required.
22402
23392
  self.firewall_switch = firewall_switch
22403
23393
  # The language of the content within the request and response. Valid values:
22404
23394
  #
@@ -22409,7 +23399,9 @@ class ModifyVpcFirewallSwitchStatusRequest(TeaModel):
22409
23399
  self.member_uid = member_uid
22410
23400
  # The instance ID of the VPC firewall.
22411
23401
  #
22412
- # > You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.
23402
+ # > You can call the [DescribeVpcFirewallList](https://help.aliyun.com/document_detail/342932.html) operation to query the instance IDs of VPC firewalls.
23403
+ #
23404
+ # This parameter is required.
22413
23405
  self.vpc_firewall_id = vpc_firewall_id
22414
23406
 
22415
23407
  def validate(self):
@@ -23205,6 +24197,8 @@ class ResetNatFirewallRuleHitCountRequest(TeaModel):
23205
24197
  nat_gateway_id: str = None,
23206
24198
  ):
23207
24199
  # The UUID of the access control policy.
24200
+ #
24201
+ # This parameter is required.
23208
24202
  self.acl_uuid = acl_uuid
23209
24203
  # The language of the content within the request and response. Valid values:
23210
24204
  #
@@ -23318,6 +24312,8 @@ class ResetVpcFirewallRuleHitCountRequest(TeaModel):
23318
24312
  lang: str = None,
23319
24313
  ):
23320
24314
  # The ID of the access control policy.
24315
+ #
24316
+ # This parameter is required.
23321
24317
  self.acl_uuid = acl_uuid
23322
24318
  # The natural language of the request and response.
23323
24319
  #
@@ -23420,3 +24416,112 @@ class ResetVpcFirewallRuleHitCountResponse(TeaModel):
23420
24416
  return self
23421
24417
 
23422
24418
 
24419
+ class SwitchSecurityProxyRequest(TeaModel):
24420
+ def __init__(
24421
+ self,
24422
+ lang: str = None,
24423
+ proxy_id: str = None,
24424
+ switch: str = None,
24425
+ ):
24426
+ self.lang = lang
24427
+ # This parameter is required.
24428
+ self.proxy_id = proxy_id
24429
+ # This parameter is required.
24430
+ self.switch = switch
24431
+
24432
+ def validate(self):
24433
+ pass
24434
+
24435
+ def to_map(self):
24436
+ _map = super().to_map()
24437
+ if _map is not None:
24438
+ return _map
24439
+
24440
+ result = dict()
24441
+ if self.lang is not None:
24442
+ result['Lang'] = self.lang
24443
+ if self.proxy_id is not None:
24444
+ result['ProxyId'] = self.proxy_id
24445
+ if self.switch is not None:
24446
+ result['Switch'] = self.switch
24447
+ return result
24448
+
24449
+ def from_map(self, m: dict = None):
24450
+ m = m or dict()
24451
+ if m.get('Lang') is not None:
24452
+ self.lang = m.get('Lang')
24453
+ if m.get('ProxyId') is not None:
24454
+ self.proxy_id = m.get('ProxyId')
24455
+ if m.get('Switch') is not None:
24456
+ self.switch = m.get('Switch')
24457
+ return self
24458
+
24459
+
24460
+ class SwitchSecurityProxyResponseBody(TeaModel):
24461
+ def __init__(
24462
+ self,
24463
+ request_id: str = None,
24464
+ ):
24465
+ self.request_id = request_id
24466
+
24467
+ def validate(self):
24468
+ pass
24469
+
24470
+ def to_map(self):
24471
+ _map = super().to_map()
24472
+ if _map is not None:
24473
+ return _map
24474
+
24475
+ result = dict()
24476
+ if self.request_id is not None:
24477
+ result['RequestId'] = self.request_id
24478
+ return result
24479
+
24480
+ def from_map(self, m: dict = None):
24481
+ m = m or dict()
24482
+ if m.get('RequestId') is not None:
24483
+ self.request_id = m.get('RequestId')
24484
+ return self
24485
+
24486
+
24487
+ class SwitchSecurityProxyResponse(TeaModel):
24488
+ def __init__(
24489
+ self,
24490
+ headers: Dict[str, str] = None,
24491
+ status_code: int = None,
24492
+ body: SwitchSecurityProxyResponseBody = None,
24493
+ ):
24494
+ self.headers = headers
24495
+ self.status_code = status_code
24496
+ self.body = body
24497
+
24498
+ def validate(self):
24499
+ if self.body:
24500
+ self.body.validate()
24501
+
24502
+ def to_map(self):
24503
+ _map = super().to_map()
24504
+ if _map is not None:
24505
+ return _map
24506
+
24507
+ result = dict()
24508
+ if self.headers is not None:
24509
+ result['headers'] = self.headers
24510
+ if self.status_code is not None:
24511
+ result['statusCode'] = self.status_code
24512
+ if self.body is not None:
24513
+ result['body'] = self.body.to_map()
24514
+ return result
24515
+
24516
+ def from_map(self, m: dict = None):
24517
+ m = m or dict()
24518
+ if m.get('headers') is not None:
24519
+ self.headers = m.get('headers')
24520
+ if m.get('statusCode') is not None:
24521
+ self.status_code = m.get('statusCode')
24522
+ if m.get('body') is not None:
24523
+ temp_model = SwitchSecurityProxyResponseBody()
24524
+ self.body = temp_model.from_map(m['body'])
24525
+ return self
24526
+
24527
+