alibabacloud-cloudfw20171207 3.2.0__py3-none-any.whl → 3.4.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.

@@ -884,13 +884,121 @@ class BatchCopyVpcFirewallControlPolicyResponse(TeaModel):
884
884
  return self
885
885
 
886
886
 
887
+ class BatchDeleteVpcFirewallControlPolicyRequest(TeaModel):
888
+ def __init__(
889
+ self,
890
+ acl_uuid_list: List[str] = None,
891
+ vpc_firewall_id: str = None,
892
+ ):
893
+ self.acl_uuid_list = acl_uuid_list
894
+ self.vpc_firewall_id = vpc_firewall_id
895
+
896
+ def validate(self):
897
+ pass
898
+
899
+ def to_map(self):
900
+ _map = super().to_map()
901
+ if _map is not None:
902
+ return _map
903
+
904
+ result = dict()
905
+ if self.acl_uuid_list is not None:
906
+ result['AclUuidList'] = self.acl_uuid_list
907
+ if self.vpc_firewall_id is not None:
908
+ result['VpcFirewallId'] = self.vpc_firewall_id
909
+ return result
910
+
911
+ def from_map(self, m: dict = None):
912
+ m = m or dict()
913
+ if m.get('AclUuidList') is not None:
914
+ self.acl_uuid_list = m.get('AclUuidList')
915
+ if m.get('VpcFirewallId') is not None:
916
+ self.vpc_firewall_id = m.get('VpcFirewallId')
917
+ return self
918
+
919
+
920
+ class BatchDeleteVpcFirewallControlPolicyResponseBody(TeaModel):
921
+ def __init__(
922
+ self,
923
+ request_id: str = None,
924
+ ):
925
+ self.request_id = request_id
926
+
927
+ def validate(self):
928
+ pass
929
+
930
+ def to_map(self):
931
+ _map = super().to_map()
932
+ if _map is not None:
933
+ return _map
934
+
935
+ result = dict()
936
+ if self.request_id is not None:
937
+ result['RequestId'] = self.request_id
938
+ return result
939
+
940
+ def from_map(self, m: dict = None):
941
+ m = m or dict()
942
+ if m.get('RequestId') is not None:
943
+ self.request_id = m.get('RequestId')
944
+ return self
945
+
946
+
947
+ class BatchDeleteVpcFirewallControlPolicyResponse(TeaModel):
948
+ def __init__(
949
+ self,
950
+ headers: Dict[str, str] = None,
951
+ status_code: int = None,
952
+ body: BatchDeleteVpcFirewallControlPolicyResponseBody = None,
953
+ ):
954
+ self.headers = headers
955
+ self.status_code = status_code
956
+ self.body = body
957
+
958
+ def validate(self):
959
+ if self.body:
960
+ self.body.validate()
961
+
962
+ def to_map(self):
963
+ _map = super().to_map()
964
+ if _map is not None:
965
+ return _map
966
+
967
+ result = dict()
968
+ if self.headers is not None:
969
+ result['headers'] = self.headers
970
+ if self.status_code is not None:
971
+ result['statusCode'] = self.status_code
972
+ if self.body is not None:
973
+ result['body'] = self.body.to_map()
974
+ return result
975
+
976
+ def from_map(self, m: dict = None):
977
+ m = m or dict()
978
+ if m.get('headers') is not None:
979
+ self.headers = m.get('headers')
980
+ if m.get('statusCode') is not None:
981
+ self.status_code = m.get('statusCode')
982
+ if m.get('body') is not None:
983
+ temp_model = BatchDeleteVpcFirewallControlPolicyResponseBody()
984
+ self.body = temp_model.from_map(m['body'])
985
+ return self
986
+
987
+
887
988
  class CreateDownloadTaskRequest(TeaModel):
888
989
  def __init__(
889
990
  self,
890
991
  lang: str = None,
891
992
  task_data: str = None,
892
993
  ):
994
+ # The language of the content within the response.
995
+ #
996
+ # Valid values:
997
+ #
998
+ # * **zh**: Chinese (default)
999
+ # * **en**: English
893
1000
  self.lang = lang
1001
+ # The query condition of the download task.
894
1002
  self.task_data = task_data
895
1003
 
896
1004
  def validate(self):
@@ -925,9 +1033,21 @@ class CreateDownloadTaskResponseBody(TeaModel):
925
1033
  task_id: int = None,
926
1034
  task_name: str = None,
927
1035
  ):
1036
+ # The ID of the request.
928
1037
  self.request_id = request_id
1038
+ # The status of the task. Valid values:
1039
+ #
1040
+ # finish: You can query the task to obtain the download link of the file.
1041
+ #
1042
+ # start
1043
+ #
1044
+ # error
1045
+ #
1046
+ # expire: The task file is invalid and cannot be downloaded.
929
1047
  self.status = status
1048
+ # The unique ID of the task.
930
1049
  self.task_id = task_id
1050
+ # The name of the file download task.
931
1051
  self.task_name = task_name
932
1052
 
933
1053
  def validate(self):
@@ -1096,7 +1216,7 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1096
1216
  #
1097
1217
  # * **out**: outbound traffic
1098
1218
  self.direction = direction
1099
- # The domain name resolution method of the access control policy. By default, the access control policy is enabled after the policy is created. Valid values:
1219
+ # The domain name resolution method of the access control policy. Valid values:
1100
1220
  #
1101
1221
  # * **0**: fully qualified domain name (FQDN)-based resolution
1102
1222
  # * **1**: Domain Name System (DNS)-based dynamic resolution
@@ -1423,9 +1543,11 @@ class CreateTrFirewallV2Request(TeaModel):
1423
1543
  self.route_mode = route_mode
1424
1544
  # The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
1425
1545
  self.tr_attachment_master_cidr = tr_attachment_master_cidr
1546
+ # The primary zone for the vSwitch.
1426
1547
  self.tr_attachment_master_zone = tr_attachment_master_zone
1427
1548
  # The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
1428
1549
  self.tr_attachment_slave_cidr = tr_attachment_slave_cidr
1550
+ # The secondary zone for the vSwitch.
1429
1551
  self.tr_attachment_slave_zone = tr_attachment_slave_zone
1430
1552
  # The ID of the transit router.
1431
1553
  self.transit_router_id = transit_router_id
@@ -2835,8 +2957,14 @@ class DeleteControlPolicyTemplateRequest(TeaModel):
2835
2957
  source_ip: str = None,
2836
2958
  template_id: str = None,
2837
2959
  ):
2960
+ # The language of the content within the request and response. Valid values:
2961
+ #
2962
+ # * **zh** (default): Chinese
2963
+ # * **en**: English
2838
2964
  self.lang = lang
2965
+ # The source IP address of the request.
2839
2966
  self.source_ip = source_ip
2967
+ # The ID of the access control policy template.
2840
2968
  self.template_id = template_id
2841
2969
 
2842
2970
  def validate(self):
@@ -2872,6 +3000,7 @@ class DeleteControlPolicyTemplateResponseBody(TeaModel):
2872
3000
  self,
2873
3001
  request_id: str = None,
2874
3002
  ):
3003
+ # The ID of the request.
2875
3004
  self.request_id = request_id
2876
3005
 
2877
3006
  def validate(self):
@@ -2941,7 +3070,12 @@ class DeleteDownloadTaskRequest(TeaModel):
2941
3070
  lang: str = None,
2942
3071
  task_id: str = None,
2943
3072
  ):
3073
+ # The language of the content within the request and response. Valid values:
3074
+ #
3075
+ # * **zh** (default): Chinese
3076
+ # * **en**: English
2944
3077
  self.lang = lang
3078
+ # The ID of the file download task.
2945
3079
  self.task_id = task_id
2946
3080
 
2947
3081
  def validate(self):
@@ -2973,6 +3107,7 @@ class DeleteDownloadTaskResponseBody(TeaModel):
2973
3107
  self,
2974
3108
  request_id: str = None,
2975
3109
  ):
3110
+ # The ID of the request.
2976
3111
  self.request_id = request_id
2977
3112
 
2978
3113
  def validate(self):
@@ -3375,9 +3510,18 @@ class DeleteNatFirewallControlPolicyBatchRequest(TeaModel):
3375
3510
  lang: str = None,
3376
3511
  nat_gateway_id: str = None,
3377
3512
  ):
3513
+ # The UUIDs of access control policies.
3378
3514
  self.acl_uuid_list = acl_uuid_list
3515
+ # The direction of the traffic to which the access control policy applies. Valid values:
3516
+ #
3517
+ # * **out**: outbound traffic
3379
3518
  self.direction = direction
3519
+ # The language of the content within the request and response. Valid values:
3520
+ #
3521
+ # * **zh** (default): Chinese
3522
+ # * **en**: English
3380
3523
  self.lang = lang
3524
+ # The ID of the NAT gateway.
3381
3525
  self.nat_gateway_id = nat_gateway_id
3382
3526
 
3383
3527
  def validate(self):
@@ -3417,6 +3561,7 @@ class DeleteNatFirewallControlPolicyBatchResponseBody(TeaModel):
3417
3561
  self,
3418
3562
  request_id: str = None,
3419
3563
  ):
3564
+ # The ID of the request.
3420
3565
  self.request_id = request_id
3421
3566
 
3422
3567
  def validate(self):
@@ -4943,9 +5088,27 @@ class DescribeAssetRiskListRequest(TeaModel):
4943
5088
  lang: str = None,
4944
5089
  source_ip: str = None,
4945
5090
  ):
5091
+ # The IP addresses to query. Separate the IP addresses with commas (,). You can specify up to 20 IP addresses at a time.
5092
+ #
5093
+ # >
5094
+ #
5095
+ # * Example of an IPv4 address: 47.97.221.164
5096
+ #
5097
+ # * Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:\*\*\*\*:ffff
4946
5098
  self.ip_addr_list = ip_addr_list
5099
+ # The IP version of the asset that is protected by Cloud Firewall.
5100
+ #
5101
+ # Valid values:
5102
+ #
5103
+ # * **4** (default): IPv4
5104
+ # * **6**: IPv6
4947
5105
  self.ip_version = ip_version
5106
+ # The language of the content within the response. Valid values:
5107
+ #
5108
+ # * **zh** (default): Chinese
5109
+ # * **en**: English
4948
5110
  self.lang = lang
5111
+ # The source IP address of the request.
4949
5112
  self.source_ip = source_ip
4950
5113
 
4951
5114
  def validate(self):
@@ -4988,9 +5151,22 @@ class DescribeAssetRiskListResponseBodyAssetList(TeaModel):
4988
5151
  reason: str = None,
4989
5152
  risk_level: str = None,
4990
5153
  ):
5154
+ # The IP address of the server.
4991
5155
  self.ip = ip
5156
+ # The IP version of the asset that is protected by Cloud Firewall.
5157
+ #
5158
+ # Valid values:
5159
+ #
5160
+ # * **4**: IPv4
5161
+ # * **6**: IPv6
4992
5162
  self.ip_version = ip_version
5163
+ # The reason for the risk.
4993
5164
  self.reason = reason
5165
+ # The risk level. Valid values:
5166
+ #
5167
+ # * **low**\
5168
+ # * **middle**\
5169
+ # * **high**\
4994
5170
  self.risk_level = risk_level
4995
5171
 
4996
5172
  def validate(self):
@@ -5032,8 +5208,11 @@ class DescribeAssetRiskListResponseBody(TeaModel):
5032
5208
  request_id: str = None,
5033
5209
  total_count: int = None,
5034
5210
  ):
5211
+ # The details of the asset.
5035
5212
  self.asset_list = asset_list
5213
+ # The ID of the request.
5036
5214
  self.request_id = request_id
5215
+ # The total number of entries returned.
5037
5216
  self.total_count = total_count
5038
5217
 
5039
5218
  def validate(self):
@@ -5120,8 +5299,18 @@ class DescribeCfwRiskLevelSummaryRequest(TeaModel):
5120
5299
  lang: str = None,
5121
5300
  region_id: str = None,
5122
5301
  ):
5302
+ # The instance type.
5123
5303
  self.instance_type = instance_type
5304
+ # The language of the content within the response.
5305
+ #
5306
+ # Valid values:
5307
+ #
5308
+ # * **zh** (default): Chinese
5309
+ # * **en**: English
5124
5310
  self.lang = lang
5311
+ # The region ID of your Cloud Firewall.
5312
+ #
5313
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
5125
5314
  self.region_id = region_id
5126
5315
 
5127
5316
  def validate(self):
@@ -5159,8 +5348,13 @@ class DescribeCfwRiskLevelSummaryResponseBodyRiskList(TeaModel):
5159
5348
  num: str = None,
5160
5349
  type: str = None,
5161
5350
  ):
5351
+ # The risk levels. Valid values:
5352
+ #
5353
+ # * **medium**\
5162
5354
  self.level = level
5355
+ # The number of at-risk Elastic Compute Service (ECS) instances.
5163
5356
  self.num = num
5357
+ # The type.
5164
5358
  self.type = type
5165
5359
 
5166
5360
  def validate(self):
@@ -5197,7 +5391,9 @@ class DescribeCfwRiskLevelSummaryResponseBody(TeaModel):
5197
5391
  request_id: str = None,
5198
5392
  risk_list: List[DescribeCfwRiskLevelSummaryResponseBodyRiskList] = None,
5199
5393
  ):
5394
+ # The ID of the request.
5200
5395
  self.request_id = request_id
5396
+ # The list of risks.
5201
5397
  self.risk_list = risk_list
5202
5398
 
5203
5399
  def validate(self):
@@ -6230,9 +6426,16 @@ class DescribeDownloadTaskRequest(TeaModel):
6230
6426
  page_size: str = None,
6231
6427
  task_type: str = None,
6232
6428
  ):
6429
+ # The page number.
6233
6430
  self.current_page = current_page
6431
+ # The language of the content within the response. Valid values:
6432
+ #
6433
+ # * **zh** (default): Chinese
6434
+ # * **en**: English
6234
6435
  self.lang = lang
6436
+ # The number of entries per page. Default value: 10. Maximum value: 50.
6235
6437
  self.page_size = page_size
6438
+ # The type of the task. For more information about task types, see the descriptions in the "DescribeDownloadTaskType" topic. If you do not specify this parameter, all files are queried by default.
6236
6439
  self.task_type = task_type
6237
6440
 
6238
6441
  def validate(self):
@@ -6279,13 +6482,26 @@ class DescribeDownloadTaskResponseBodyTasks(TeaModel):
6279
6482
  task_name: str = None,
6280
6483
  task_type: str = None,
6281
6484
  ):
6485
+ # The time when the task was created. The value is a UNIX timestamp. Unit: seconds.
6282
6486
  self.create_time = create_time
6487
+ # The expiration time of the task. The value is a UNIX timestamp. Unit: seconds.
6283
6488
  self.expire_time = expire_time
6489
+ # The size of the file.
6284
6490
  self.file_size = file_size
6491
+ # The URL of the OSS object.
6285
6492
  self.file_url = file_url
6493
+ # The status of the task. Valid values:
6494
+ #
6495
+ # * **finish**\
6496
+ # * **start**\
6497
+ # * **error**\
6498
+ # * **expire**: The task file is invalid and cannot be downloaded.
6286
6499
  self.status = status
6500
+ # The task ID.
6287
6501
  self.task_id = task_id
6502
+ # The name of the task.
6288
6503
  self.task_name = task_name
6504
+ # The type of the task.
6289
6505
  self.task_type = task_type
6290
6506
 
6291
6507
  def validate(self):
@@ -6343,8 +6559,11 @@ class DescribeDownloadTaskResponseBody(TeaModel):
6343
6559
  tasks: List[DescribeDownloadTaskResponseBodyTasks] = None,
6344
6560
  total_count: int = None,
6345
6561
  ):
6562
+ # The ID of the request.
6346
6563
  self.request_id = request_id
6564
+ # The tasks.
6347
6565
  self.tasks = tasks
6566
+ # The total number of tasks.
6348
6567
  self.total_count = total_count
6349
6568
 
6350
6569
  def validate(self):
@@ -6432,9 +6651,16 @@ class DescribeDownloadTaskTypeRequest(TeaModel):
6432
6651
  page_size: str = None,
6433
6652
  task_type: str = None,
6434
6653
  ):
6654
+ # The page number. Pages start from page 1. Default value: **1**.
6435
6655
  self.current_page = current_page
6656
+ # The language of the content within the response. Valid values:
6657
+ #
6658
+ # * **zh** (default): Chinese
6659
+ # * **en**: English
6436
6660
  self.lang = lang
6661
+ # The number of entries per page. Default value: 10. Maximum value: 50.
6437
6662
  self.page_size = page_size
6663
+ # The type of the task.
6438
6664
  self.task_type = task_type
6439
6665
 
6440
6666
  def validate(self):
@@ -6475,7 +6701,9 @@ class DescribeDownloadTaskTypeResponseBodyTaskTypeArray(TeaModel):
6475
6701
  task_name: str = None,
6476
6702
  task_type: str = None,
6477
6703
  ):
6704
+ # The name of the task type.
6478
6705
  self.task_name = task_name
6706
+ # The type of the task.
6479
6707
  self.task_type = task_type
6480
6708
 
6481
6709
  def validate(self):
@@ -6509,8 +6737,11 @@ class DescribeDownloadTaskTypeResponseBody(TeaModel):
6509
6737
  task_type_array: List[DescribeDownloadTaskTypeResponseBodyTaskTypeArray] = None,
6510
6738
  total_count: int = None,
6511
6739
  ):
6740
+ # The ID of the request.
6512
6741
  self.request_id = request_id
6742
+ # The task types.
6513
6743
  self.task_type_array = task_type_array
6744
+ # The total number of entries returned.
6514
6745
  self.total_count = total_count
6515
6746
 
6516
6747
  def validate(self):
@@ -8335,6 +8566,10 @@ class DescribeNatAclPageStatusRequest(TeaModel):
8335
8566
  self,
8336
8567
  lang: str = None,
8337
8568
  ):
8569
+ # The language of the content within the request and response. Valid values:
8570
+ #
8571
+ # * **zh** (default): Chinese
8572
+ # * **en**: English
8338
8573
  self.lang = lang
8339
8574
 
8340
8575
  def validate(self):
@@ -8363,7 +8598,9 @@ class DescribeNatAclPageStatusResponseBody(TeaModel):
8363
8598
  nat_acl_page_enable: bool = None,
8364
8599
  request_id: str = None,
8365
8600
  ):
8601
+ # Indicates whether pagination for access control policies for NAT firewalls is supported.
8366
8602
  self.nat_acl_page_enable = nat_acl_page_enable
8603
+ # The ID of the request.
8367
8604
  self.request_id = request_id
8368
8605
 
8369
8606
  def validate(self):
@@ -10334,29 +10571,373 @@ class DescribeOutgoingDomainResponse(TeaModel):
10334
10571
 
10335
10572
  def from_map(self, m: dict = None):
10336
10573
  m = m or dict()
10337
- if m.get('headers') is not None:
10338
- self.headers = m.get('headers')
10339
- if m.get('statusCode') is not None:
10340
- self.status_code = m.get('statusCode')
10341
- if m.get('body') is not None:
10342
- temp_model = DescribeOutgoingDomainResponseBody()
10343
- self.body = temp_model.from_map(m['body'])
10574
+ if m.get('headers') is not None:
10575
+ self.headers = m.get('headers')
10576
+ if m.get('statusCode') is not None:
10577
+ self.status_code = m.get('statusCode')
10578
+ if m.get('body') is not None:
10579
+ temp_model = DescribeOutgoingDomainResponseBody()
10580
+ self.body = temp_model.from_map(m['body'])
10581
+ return self
10582
+
10583
+
10584
+ class DescribePolicyAdvancedConfigRequest(TeaModel):
10585
+ def __init__(
10586
+ self,
10587
+ lang: str = None,
10588
+ source_ip: str = None,
10589
+ ):
10590
+ # The natural language of the request and response. Valid values:
10591
+ #
10592
+ # * **zh**: Chinese (default)
10593
+ # * **en**: English
10594
+ self.lang = lang
10595
+ # The source IP address of the request.
10596
+ self.source_ip = source_ip
10597
+
10598
+ def validate(self):
10599
+ pass
10600
+
10601
+ def to_map(self):
10602
+ _map = super().to_map()
10603
+ if _map is not None:
10604
+ return _map
10605
+
10606
+ result = dict()
10607
+ if self.lang is not None:
10608
+ result['Lang'] = self.lang
10609
+ if self.source_ip is not None:
10610
+ result['SourceIp'] = self.source_ip
10611
+ return result
10612
+
10613
+ def from_map(self, m: dict = None):
10614
+ m = m or dict()
10615
+ if m.get('Lang') is not None:
10616
+ self.lang = m.get('Lang')
10617
+ if m.get('SourceIp') is not None:
10618
+ self.source_ip = m.get('SourceIp')
10619
+ return self
10620
+
10621
+
10622
+ class DescribePolicyAdvancedConfigResponseBody(TeaModel):
10623
+ def __init__(
10624
+ self,
10625
+ internet_switch: str = None,
10626
+ request_id: str = None,
10627
+ ):
10628
+ # Indicates whether the strict mode is enabled for the access control policy. Valid values:
10629
+ #
10630
+ # * **on**: The strict mode is enabled.
10631
+ # * **off**: The strict mode is disabled.
10632
+ self.internet_switch = internet_switch
10633
+ # The ID of the request.
10634
+ self.request_id = request_id
10635
+
10636
+ def validate(self):
10637
+ pass
10638
+
10639
+ def to_map(self):
10640
+ _map = super().to_map()
10641
+ if _map is not None:
10642
+ return _map
10643
+
10644
+ result = dict()
10645
+ if self.internet_switch is not None:
10646
+ result['InternetSwitch'] = self.internet_switch
10647
+ if self.request_id is not None:
10648
+ result['RequestId'] = self.request_id
10649
+ return result
10650
+
10651
+ def from_map(self, m: dict = None):
10652
+ m = m or dict()
10653
+ if m.get('InternetSwitch') is not None:
10654
+ self.internet_switch = m.get('InternetSwitch')
10655
+ if m.get('RequestId') is not None:
10656
+ self.request_id = m.get('RequestId')
10657
+ return self
10658
+
10659
+
10660
+ class DescribePolicyAdvancedConfigResponse(TeaModel):
10661
+ def __init__(
10662
+ self,
10663
+ headers: Dict[str, str] = None,
10664
+ status_code: int = None,
10665
+ body: DescribePolicyAdvancedConfigResponseBody = None,
10666
+ ):
10667
+ self.headers = headers
10668
+ self.status_code = status_code
10669
+ self.body = body
10670
+
10671
+ def validate(self):
10672
+ if self.body:
10673
+ self.body.validate()
10674
+
10675
+ def to_map(self):
10676
+ _map = super().to_map()
10677
+ if _map is not None:
10678
+ return _map
10679
+
10680
+ result = dict()
10681
+ if self.headers is not None:
10682
+ result['headers'] = self.headers
10683
+ if self.status_code is not None:
10684
+ result['statusCode'] = self.status_code
10685
+ if self.body is not None:
10686
+ result['body'] = self.body.to_map()
10687
+ return result
10688
+
10689
+ def from_map(self, m: dict = None):
10690
+ m = m or dict()
10691
+ if m.get('headers') is not None:
10692
+ self.headers = m.get('headers')
10693
+ if m.get('statusCode') is not None:
10694
+ self.status_code = m.get('statusCode')
10695
+ if m.get('body') is not None:
10696
+ temp_model = DescribePolicyAdvancedConfigResponseBody()
10697
+ self.body = temp_model.from_map(m['body'])
10698
+ return self
10699
+
10700
+
10701
+ class DescribePolicyPriorUsedRequest(TeaModel):
10702
+ def __init__(
10703
+ self,
10704
+ direction: str = None,
10705
+ ip_version: str = None,
10706
+ lang: str = None,
10707
+ source_ip: str = None,
10708
+ ):
10709
+ # The direction of the traffic to which the access control policy applies.
10710
+ #
10711
+ # Valid values:
10712
+ #
10713
+ # * **in**: inbound traffic
10714
+ # * **out**: outbound traffic
10715
+ self.direction = direction
10716
+ # The IP version of the asset that is protected by Cloud Firewall.
10717
+ #
10718
+ # Valid values:
10719
+ #
10720
+ # * **4**: IPv4 (default)
10721
+ # * **6**: IPv6
10722
+ self.ip_version = ip_version
10723
+ # The natural language of the request and response.
10724
+ #
10725
+ # Valid values:
10726
+ #
10727
+ # * **zh**: Chinese (default)
10728
+ # * **en**: English
10729
+ self.lang = lang
10730
+ # The source IP address of the request.
10731
+ self.source_ip = source_ip
10732
+
10733
+ def validate(self):
10734
+ pass
10735
+
10736
+ def to_map(self):
10737
+ _map = super().to_map()
10738
+ if _map is not None:
10739
+ return _map
10740
+
10741
+ result = dict()
10742
+ if self.direction is not None:
10743
+ result['Direction'] = self.direction
10744
+ if self.ip_version is not None:
10745
+ result['IpVersion'] = self.ip_version
10746
+ if self.lang is not None:
10747
+ result['Lang'] = self.lang
10748
+ if self.source_ip is not None:
10749
+ result['SourceIp'] = self.source_ip
10750
+ return result
10751
+
10752
+ def from_map(self, m: dict = None):
10753
+ m = m or dict()
10754
+ if m.get('Direction') is not None:
10755
+ self.direction = m.get('Direction')
10756
+ if m.get('IpVersion') is not None:
10757
+ self.ip_version = m.get('IpVersion')
10758
+ if m.get('Lang') is not None:
10759
+ self.lang = m.get('Lang')
10760
+ if m.get('SourceIp') is not None:
10761
+ self.source_ip = m.get('SourceIp')
10762
+ return self
10763
+
10764
+
10765
+ class DescribePolicyPriorUsedResponseBody(TeaModel):
10766
+ def __init__(
10767
+ self,
10768
+ end: int = None,
10769
+ request_id: str = None,
10770
+ start: int = None,
10771
+ ):
10772
+ # The lowest priority of existing access control policies.
10773
+ #
10774
+ # > The value -1 indicates the lowest priority.
10775
+ self.end = end
10776
+ # The ID of the request.
10777
+ self.request_id = request_id
10778
+ # The highest priority of existing access control policies.
10779
+ #
10780
+ # > The value 0 indicates the highest priority.
10781
+ self.start = start
10782
+
10783
+ def validate(self):
10784
+ pass
10785
+
10786
+ def to_map(self):
10787
+ _map = super().to_map()
10788
+ if _map is not None:
10789
+ return _map
10790
+
10791
+ result = dict()
10792
+ if self.end is not None:
10793
+ result['End'] = self.end
10794
+ if self.request_id is not None:
10795
+ result['RequestId'] = self.request_id
10796
+ if self.start is not None:
10797
+ result['Start'] = self.start
10798
+ return result
10799
+
10800
+ def from_map(self, m: dict = None):
10801
+ m = m or dict()
10802
+ if m.get('End') is not None:
10803
+ self.end = m.get('End')
10804
+ if m.get('RequestId') is not None:
10805
+ self.request_id = m.get('RequestId')
10806
+ if m.get('Start') is not None:
10807
+ self.start = m.get('Start')
10808
+ return self
10809
+
10810
+
10811
+ class DescribePolicyPriorUsedResponse(TeaModel):
10812
+ def __init__(
10813
+ self,
10814
+ headers: Dict[str, str] = None,
10815
+ status_code: int = None,
10816
+ body: DescribePolicyPriorUsedResponseBody = None,
10817
+ ):
10818
+ self.headers = headers
10819
+ self.status_code = status_code
10820
+ self.body = body
10821
+
10822
+ def validate(self):
10823
+ if self.body:
10824
+ self.body.validate()
10825
+
10826
+ def to_map(self):
10827
+ _map = super().to_map()
10828
+ if _map is not None:
10829
+ return _map
10830
+
10831
+ result = dict()
10832
+ if self.headers is not None:
10833
+ result['headers'] = self.headers
10834
+ if self.status_code is not None:
10835
+ result['statusCode'] = self.status_code
10836
+ if self.body is not None:
10837
+ result['body'] = self.body.to_map()
10838
+ return result
10839
+
10840
+ def from_map(self, m: dict = None):
10841
+ m = m or dict()
10842
+ if m.get('headers') is not None:
10843
+ self.headers = m.get('headers')
10844
+ if m.get('statusCode') is not None:
10845
+ self.status_code = m.get('statusCode')
10846
+ if m.get('body') is not None:
10847
+ temp_model = DescribePolicyPriorUsedResponseBody()
10848
+ self.body = temp_model.from_map(m['body'])
10849
+ return self
10850
+
10851
+
10852
+ class DescribePostpayTrafficDetailRequest(TeaModel):
10853
+ def __init__(
10854
+ self,
10855
+ current_page: int = None,
10856
+ end_time: str = None,
10857
+ lang: str = None,
10858
+ order: str = None,
10859
+ page_size: int = None,
10860
+ search_item: str = None,
10861
+ start_time: str = None,
10862
+ traffic_type: str = None,
10863
+ ):
10864
+ self.current_page = current_page
10865
+ self.end_time = end_time
10866
+ self.lang = lang
10867
+ self.order = order
10868
+ self.page_size = page_size
10869
+ self.search_item = search_item
10870
+ self.start_time = start_time
10871
+ self.traffic_type = traffic_type
10872
+
10873
+ def validate(self):
10874
+ pass
10875
+
10876
+ def to_map(self):
10877
+ _map = super().to_map()
10878
+ if _map is not None:
10879
+ return _map
10880
+
10881
+ result = dict()
10882
+ if self.current_page is not None:
10883
+ result['CurrentPage'] = self.current_page
10884
+ if self.end_time is not None:
10885
+ result['EndTime'] = self.end_time
10886
+ if self.lang is not None:
10887
+ result['Lang'] = self.lang
10888
+ if self.order is not None:
10889
+ result['Order'] = self.order
10890
+ if self.page_size is not None:
10891
+ result['PageSize'] = self.page_size
10892
+ if self.search_item is not None:
10893
+ result['SearchItem'] = self.search_item
10894
+ if self.start_time is not None:
10895
+ result['StartTime'] = self.start_time
10896
+ if self.traffic_type is not None:
10897
+ result['TrafficType'] = self.traffic_type
10898
+ return result
10899
+
10900
+ def from_map(self, m: dict = None):
10901
+ m = m or dict()
10902
+ if m.get('CurrentPage') is not None:
10903
+ self.current_page = m.get('CurrentPage')
10904
+ if m.get('EndTime') is not None:
10905
+ self.end_time = m.get('EndTime')
10906
+ if m.get('Lang') is not None:
10907
+ self.lang = m.get('Lang')
10908
+ if m.get('Order') is not None:
10909
+ self.order = m.get('Order')
10910
+ if m.get('PageSize') is not None:
10911
+ self.page_size = m.get('PageSize')
10912
+ if m.get('SearchItem') is not None:
10913
+ self.search_item = m.get('SearchItem')
10914
+ if m.get('StartTime') is not None:
10915
+ self.start_time = m.get('StartTime')
10916
+ if m.get('TrafficType') is not None:
10917
+ self.traffic_type = m.get('TrafficType')
10344
10918
  return self
10345
10919
 
10346
10920
 
10347
- class DescribePolicyAdvancedConfigRequest(TeaModel):
10921
+ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
10348
10922
  def __init__(
10349
10923
  self,
10350
- lang: str = None,
10351
- source_ip: str = None,
10924
+ in_bytes: int = None,
10925
+ instance_id: str = None,
10926
+ instance_type: str = None,
10927
+ out_bytes: int = None,
10928
+ resource_id: str = None,
10929
+ total_bytes: int = None,
10930
+ traffic_day: str = None,
10931
+ traffic_type: str = None,
10352
10932
  ):
10353
- # The natural language of the request and response. Valid values:
10354
- #
10355
- # * **zh**: Chinese (default)
10356
- # * **en**: English
10357
- self.lang = lang
10358
- # The source IP address of the request.
10359
- self.source_ip = source_ip
10933
+ self.in_bytes = in_bytes
10934
+ self.instance_id = instance_id
10935
+ self.instance_type = instance_type
10936
+ self.out_bytes = out_bytes
10937
+ self.resource_id = resource_id
10938
+ self.total_bytes = total_bytes
10939
+ self.traffic_day = traffic_day
10940
+ self.traffic_type = traffic_type
10360
10941
 
10361
10942
  def validate(self):
10362
10943
  pass
@@ -10367,37 +10948,61 @@ class DescribePolicyAdvancedConfigRequest(TeaModel):
10367
10948
  return _map
10368
10949
 
10369
10950
  result = dict()
10370
- if self.lang is not None:
10371
- result['Lang'] = self.lang
10372
- if self.source_ip is not None:
10373
- result['SourceIp'] = self.source_ip
10951
+ if self.in_bytes is not None:
10952
+ result['InBytes'] = self.in_bytes
10953
+ if self.instance_id is not None:
10954
+ result['InstanceId'] = self.instance_id
10955
+ if self.instance_type is not None:
10956
+ result['InstanceType'] = self.instance_type
10957
+ if self.out_bytes is not None:
10958
+ result['OutBytes'] = self.out_bytes
10959
+ if self.resource_id is not None:
10960
+ result['ResourceId'] = self.resource_id
10961
+ if self.total_bytes is not None:
10962
+ result['TotalBytes'] = self.total_bytes
10963
+ if self.traffic_day is not None:
10964
+ result['TrafficDay'] = self.traffic_day
10965
+ if self.traffic_type is not None:
10966
+ result['TrafficType'] = self.traffic_type
10374
10967
  return result
10375
10968
 
10376
10969
  def from_map(self, m: dict = None):
10377
10970
  m = m or dict()
10378
- if m.get('Lang') is not None:
10379
- self.lang = m.get('Lang')
10380
- if m.get('SourceIp') is not None:
10381
- self.source_ip = m.get('SourceIp')
10971
+ if m.get('InBytes') is not None:
10972
+ self.in_bytes = m.get('InBytes')
10973
+ if m.get('InstanceId') is not None:
10974
+ self.instance_id = m.get('InstanceId')
10975
+ if m.get('InstanceType') is not None:
10976
+ self.instance_type = m.get('InstanceType')
10977
+ if m.get('OutBytes') is not None:
10978
+ self.out_bytes = m.get('OutBytes')
10979
+ if m.get('ResourceId') is not None:
10980
+ self.resource_id = m.get('ResourceId')
10981
+ if m.get('TotalBytes') is not None:
10982
+ self.total_bytes = m.get('TotalBytes')
10983
+ if m.get('TrafficDay') is not None:
10984
+ self.traffic_day = m.get('TrafficDay')
10985
+ if m.get('TrafficType') is not None:
10986
+ self.traffic_type = m.get('TrafficType')
10382
10987
  return self
10383
10988
 
10384
10989
 
10385
- class DescribePolicyAdvancedConfigResponseBody(TeaModel):
10990
+ class DescribePostpayTrafficDetailResponseBody(TeaModel):
10386
10991
  def __init__(
10387
10992
  self,
10388
- internet_switch: str = None,
10389
10993
  request_id: str = None,
10994
+ total_count: int = None,
10995
+ traffic_list: List[DescribePostpayTrafficDetailResponseBodyTrafficList] = None,
10390
10996
  ):
10391
- # Indicates whether the strict mode is enabled for the access control policy. Valid values:
10392
- #
10393
- # * **on**: The strict mode is enabled.
10394
- # * **off**: The strict mode is disabled.
10395
- self.internet_switch = internet_switch
10396
- # The ID of the request.
10397
10997
  self.request_id = request_id
10998
+ self.total_count = total_count
10999
+ self.traffic_list = traffic_list
10398
11000
 
10399
11001
  def validate(self):
10400
- pass
11002
+ if self.traffic_list:
11003
+ for k in self.traffic_list:
11004
+ if k:
11005
+ k.validate()
10401
11006
 
10402
11007
  def to_map(self):
10403
11008
  _map = super().to_map()
@@ -10405,27 +11010,36 @@ class DescribePolicyAdvancedConfigResponseBody(TeaModel):
10405
11010
  return _map
10406
11011
 
10407
11012
  result = dict()
10408
- if self.internet_switch is not None:
10409
- result['InternetSwitch'] = self.internet_switch
10410
11013
  if self.request_id is not None:
10411
11014
  result['RequestId'] = self.request_id
11015
+ if self.total_count is not None:
11016
+ result['TotalCount'] = self.total_count
11017
+ result['TrafficList'] = []
11018
+ if self.traffic_list is not None:
11019
+ for k in self.traffic_list:
11020
+ result['TrafficList'].append(k.to_map() if k else None)
10412
11021
  return result
10413
11022
 
10414
11023
  def from_map(self, m: dict = None):
10415
11024
  m = m or dict()
10416
- if m.get('InternetSwitch') is not None:
10417
- self.internet_switch = m.get('InternetSwitch')
10418
11025
  if m.get('RequestId') is not None:
10419
11026
  self.request_id = m.get('RequestId')
11027
+ if m.get('TotalCount') is not None:
11028
+ self.total_count = m.get('TotalCount')
11029
+ self.traffic_list = []
11030
+ if m.get('TrafficList') is not None:
11031
+ for k in m.get('TrafficList'):
11032
+ temp_model = DescribePostpayTrafficDetailResponseBodyTrafficList()
11033
+ self.traffic_list.append(temp_model.from_map(k))
10420
11034
  return self
10421
11035
 
10422
11036
 
10423
- class DescribePolicyAdvancedConfigResponse(TeaModel):
11037
+ class DescribePostpayTrafficDetailResponse(TeaModel):
10424
11038
  def __init__(
10425
11039
  self,
10426
11040
  headers: Dict[str, str] = None,
10427
11041
  status_code: int = None,
10428
- body: DescribePolicyAdvancedConfigResponseBody = None,
11042
+ body: DescribePostpayTrafficDetailResponseBody = None,
10429
11043
  ):
10430
11044
  self.headers = headers
10431
11045
  self.status_code = status_code
@@ -10456,42 +11070,17 @@ class DescribePolicyAdvancedConfigResponse(TeaModel):
10456
11070
  if m.get('statusCode') is not None:
10457
11071
  self.status_code = m.get('statusCode')
10458
11072
  if m.get('body') is not None:
10459
- temp_model = DescribePolicyAdvancedConfigResponseBody()
11073
+ temp_model = DescribePostpayTrafficDetailResponseBody()
10460
11074
  self.body = temp_model.from_map(m['body'])
10461
11075
  return self
10462
11076
 
10463
11077
 
10464
- class DescribePolicyPriorUsedRequest(TeaModel):
11078
+ class DescribePostpayTrafficTotalRequest(TeaModel):
10465
11079
  def __init__(
10466
11080
  self,
10467
- direction: str = None,
10468
- ip_version: str = None,
10469
11081
  lang: str = None,
10470
- source_ip: str = None,
10471
11082
  ):
10472
- # The direction of the traffic to which the access control policy applies.
10473
- #
10474
- # Valid values:
10475
- #
10476
- # * **in**: inbound traffic
10477
- # * **out**: outbound traffic
10478
- self.direction = direction
10479
- # The IP version of the asset that is protected by Cloud Firewall.
10480
- #
10481
- # Valid values:
10482
- #
10483
- # * **4**: IPv4 (default)
10484
- # * **6**: IPv6
10485
- self.ip_version = ip_version
10486
- # The natural language of the request and response.
10487
- #
10488
- # Valid values:
10489
- #
10490
- # * **zh**: Chinese (default)
10491
- # * **en**: English
10492
11083
  self.lang = lang
10493
- # The source IP address of the request.
10494
- self.source_ip = source_ip
10495
11084
 
10496
11085
  def validate(self):
10497
11086
  pass
@@ -10502,46 +11091,31 @@ class DescribePolicyPriorUsedRequest(TeaModel):
10502
11091
  return _map
10503
11092
 
10504
11093
  result = dict()
10505
- if self.direction is not None:
10506
- result['Direction'] = self.direction
10507
- if self.ip_version is not None:
10508
- result['IpVersion'] = self.ip_version
10509
11094
  if self.lang is not None:
10510
11095
  result['Lang'] = self.lang
10511
- if self.source_ip is not None:
10512
- result['SourceIp'] = self.source_ip
10513
11096
  return result
10514
11097
 
10515
11098
  def from_map(self, m: dict = None):
10516
11099
  m = m or dict()
10517
- if m.get('Direction') is not None:
10518
- self.direction = m.get('Direction')
10519
- if m.get('IpVersion') is not None:
10520
- self.ip_version = m.get('IpVersion')
10521
11100
  if m.get('Lang') is not None:
10522
11101
  self.lang = m.get('Lang')
10523
- if m.get('SourceIp') is not None:
10524
- self.source_ip = m.get('SourceIp')
10525
11102
  return self
10526
11103
 
10527
11104
 
10528
- class DescribePolicyPriorUsedResponseBody(TeaModel):
11105
+ class DescribePostpayTrafficTotalResponseBody(TeaModel):
10529
11106
  def __init__(
10530
11107
  self,
10531
- end: int = None,
10532
11108
  request_id: str = None,
10533
- start: int = None,
11109
+ total_assets: int = None,
11110
+ total_nat_assets: int = None,
11111
+ total_nat_traffic: int = None,
11112
+ total_traffic: int = None,
10534
11113
  ):
10535
- # The lowest priority of existing access control policies.
10536
- #
10537
- # > The value -1 indicates the lowest priority.
10538
- self.end = end
10539
- # The ID of the request.
10540
11114
  self.request_id = request_id
10541
- # The highest priority of existing access control policies.
10542
- #
10543
- # > The value 0 indicates the highest priority.
10544
- self.start = start
11115
+ self.total_assets = total_assets
11116
+ self.total_nat_assets = total_nat_assets
11117
+ self.total_nat_traffic = total_nat_traffic
11118
+ self.total_traffic = total_traffic
10545
11119
 
10546
11120
  def validate(self):
10547
11121
  pass
@@ -10552,31 +11126,39 @@ class DescribePolicyPriorUsedResponseBody(TeaModel):
10552
11126
  return _map
10553
11127
 
10554
11128
  result = dict()
10555
- if self.end is not None:
10556
- result['End'] = self.end
10557
11129
  if self.request_id is not None:
10558
11130
  result['RequestId'] = self.request_id
10559
- if self.start is not None:
10560
- result['Start'] = self.start
11131
+ if self.total_assets is not None:
11132
+ result['TotalAssets'] = self.total_assets
11133
+ if self.total_nat_assets is not None:
11134
+ result['TotalNatAssets'] = self.total_nat_assets
11135
+ if self.total_nat_traffic is not None:
11136
+ result['TotalNatTraffic'] = self.total_nat_traffic
11137
+ if self.total_traffic is not None:
11138
+ result['TotalTraffic'] = self.total_traffic
10561
11139
  return result
10562
11140
 
10563
11141
  def from_map(self, m: dict = None):
10564
11142
  m = m or dict()
10565
- if m.get('End') is not None:
10566
- self.end = m.get('End')
10567
11143
  if m.get('RequestId') is not None:
10568
11144
  self.request_id = m.get('RequestId')
10569
- if m.get('Start') is not None:
10570
- self.start = m.get('Start')
11145
+ if m.get('TotalAssets') is not None:
11146
+ self.total_assets = m.get('TotalAssets')
11147
+ if m.get('TotalNatAssets') is not None:
11148
+ self.total_nat_assets = m.get('TotalNatAssets')
11149
+ if m.get('TotalNatTraffic') is not None:
11150
+ self.total_nat_traffic = m.get('TotalNatTraffic')
11151
+ if m.get('TotalTraffic') is not None:
11152
+ self.total_traffic = m.get('TotalTraffic')
10571
11153
  return self
10572
11154
 
10573
11155
 
10574
- class DescribePolicyPriorUsedResponse(TeaModel):
11156
+ class DescribePostpayTrafficTotalResponse(TeaModel):
10575
11157
  def __init__(
10576
11158
  self,
10577
11159
  headers: Dict[str, str] = None,
10578
11160
  status_code: int = None,
10579
- body: DescribePolicyPriorUsedResponseBody = None,
11161
+ body: DescribePostpayTrafficTotalResponseBody = None,
10580
11162
  ):
10581
11163
  self.headers = headers
10582
11164
  self.status_code = status_code
@@ -10607,7 +11189,7 @@ class DescribePolicyPriorUsedResponse(TeaModel):
10607
11189
  if m.get('statusCode') is not None:
10608
11190
  self.status_code = m.get('statusCode')
10609
11191
  if m.get('body') is not None:
10610
- temp_model = DescribePolicyPriorUsedResponseBody()
11192
+ temp_model = DescribePostpayTrafficTotalResponseBody()
10611
11193
  self.body = temp_model.from_map(m['body'])
10612
11194
  return self
10613
11195
 
@@ -10618,7 +11200,9 @@ class DescribePrefixListsRequest(TeaModel):
10618
11200
  region_no: str = None,
10619
11201
  source_ip: str = None,
10620
11202
  ):
11203
+ # The region ID of the instance.
10621
11204
  self.region_no = region_no
11205
+ # The source IP address of the request.
10622
11206
  self.source_ip = source_ip
10623
11207
 
10624
11208
  def validate(self):
@@ -10656,12 +11240,22 @@ class DescribePrefixListsResponseBodyPrefixList(TeaModel):
10656
11240
  prefix_list_id: str = None,
10657
11241
  prefix_list_name: str = None,
10658
11242
  ):
11243
+ # The IP address family of the prefix list. Valid values:
11244
+ #
11245
+ # * IPv4
11246
+ # * IPv6
10659
11247
  self.address_family = address_family
11248
+ # The number of associated resources.
10660
11249
  self.association_count = association_count
11250
+ # The creation time.
10661
11251
  self.creation_time = creation_time
11252
+ # The description.
10662
11253
  self.description = description
11254
+ # The maximum number of entries in the prefix list.
10663
11255
  self.max_entries = max_entries
11256
+ # The ID of the prefix list.
10664
11257
  self.prefix_list_id = prefix_list_id
11258
+ # The name of the prefix list.
10665
11259
  self.prefix_list_name = prefix_list_name
10666
11260
 
10667
11261
  def validate(self):
@@ -10714,7 +11308,9 @@ class DescribePrefixListsResponseBody(TeaModel):
10714
11308
  prefix_list: List[DescribePrefixListsResponseBodyPrefixList] = None,
10715
11309
  request_id: str = None,
10716
11310
  ):
11311
+ # Details about the prefix lists.
10717
11312
  self.prefix_list = prefix_list
11313
+ # The ID of the request.
10718
11314
  self.request_id = request_id
10719
11315
 
10720
11316
  def validate(self):
@@ -11810,7 +12406,37 @@ class DescribeSignatureLibVersionResponseBodyVersion(TeaModel):
11810
12406
  type: str = None,
11811
12407
  version: str = None,
11812
12408
  ):
12409
+ # The type.
12410
+ #
12411
+ # Valid values:
12412
+ #
12413
+ # * ips
12414
+ #
12415
+ # <!-- -->
12416
+ #
12417
+ # :
12418
+ #
12419
+ # <!-- -->
12420
+ #
12421
+ # Basic Rules and Virtual Patching
12422
+ #
12423
+ # <!-- -->
12424
+ #
12425
+ # .
12426
+ #
12427
+ # * intelligence
12428
+ #
12429
+ # <!-- -->
12430
+ #
12431
+ # :
12432
+ #
12433
+ # <!-- -->
12434
+ #
12435
+ # Threat Intelligence
12436
+ #
12437
+ # <!-- -->
11813
12438
  self.type = type
12439
+ # The version number.
11814
12440
  self.version = version
11815
12441
 
11816
12442
  def validate(self):
@@ -11844,8 +12470,11 @@ class DescribeSignatureLibVersionResponseBody(TeaModel):
11844
12470
  total_count: int = None,
11845
12471
  version: List[DescribeSignatureLibVersionResponseBodyVersion] = None,
11846
12472
  ):
12473
+ # The ID of the request.
11847
12474
  self.request_id = request_id
12475
+ # The total number of entries returned.
11848
12476
  self.total_count = total_count
12477
+ # The information about the versions.
11849
12478
  self.version = version
11850
12479
 
11851
12480
  def validate(self):
@@ -16437,8 +17066,16 @@ class DescribeVpcFirewallIPSWhitelistRequest(TeaModel):
16437
17066
  member_uid: int = None,
16438
17067
  vpc_firewall_id: str = None,
16439
17068
  ):
17069
+ # The language of the content within the request and response.
17070
+ #
17071
+ # Valid values:
17072
+ #
17073
+ # * **zh** (default): Chinese
17074
+ # * **en**: English
16440
17075
  self.lang = lang
17076
+ # The UID of the member in Cloud Firewall.
16441
17077
  self.member_uid = member_uid
17078
+ # The instance ID of the VPC firewall.
16442
17079
  self.vpc_firewall_id = vpc_firewall_id
16443
17080
 
16444
17081
  def validate(self):
@@ -16478,10 +17115,21 @@ class DescribeVpcFirewallIPSWhitelistResponseBodyWhitelists(TeaModel):
16478
17115
  white_list_value: List[str] = None,
16479
17116
  white_type: int = None,
16480
17117
  ):
17118
+ # The type of the list. Valid values:
17119
+ #
17120
+ # * **1**: user-defined
17121
+ # * **2**: address book
16481
17122
  self.list_type = list_type
17123
+ # The entries in the list.
16482
17124
  self.list_value = list_value
17125
+ # The instance ID of the VPC firewall.
16483
17126
  self.vpc_firewall_id = vpc_firewall_id
17127
+ # An array of entries in the list.
16484
17128
  self.white_list_value = white_list_value
17129
+ # The type of the whitelist. Valid values:
17130
+ #
17131
+ # * **1**: destination
17132
+ # * **2**: source
16485
17133
  self.white_type = white_type
16486
17134
 
16487
17135
  def validate(self):
@@ -16526,7 +17174,9 @@ class DescribeVpcFirewallIPSWhitelistResponseBody(TeaModel):
16526
17174
  request_id: str = None,
16527
17175
  whitelists: List[DescribeVpcFirewallIPSWhitelistResponseBodyWhitelists] = None,
16528
17176
  ):
17177
+ # The ID of the request.
16529
17178
  self.request_id = request_id
17179
+ # The details of the IPS whitelist of the VPC firewall.
16530
17180
  self.whitelists = whitelists
16531
17181
 
16532
17182
  def validate(self):
@@ -16644,7 +17294,7 @@ class DescribeVpcFirewallListRequest(TeaModel):
16644
17294
  self.member_uid = member_uid
16645
17295
  # The number of entries to return on each page.
16646
17296
  #
16647
- # Default value: **10**.**** Maximum value: **50**.
17297
+ # Default value: **10**. Maximum value: **50**.
16648
17298
  self.page_size = page_size
16649
17299
  # The UID of the Alibaba Cloud account to which the peer VPC belongs.
16650
17300
  self.peer_uid = peer_uid
@@ -17427,10 +18077,20 @@ class DescribeVpcListLiteRequest(TeaModel):
17427
18077
  vpc_id: str = None,
17428
18078
  vpc_name: str = None,
17429
18079
  ):
18080
+ # The language of the content within the request and response. Valid values:
18081
+ #
18082
+ # * **zh** (default): Chinese
18083
+ # * **en**: English
17430
18084
  self.lang = lang
18085
+ # The region ID of the VPC.
18086
+ #
18087
+ # > For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).
17431
18088
  self.region_no = region_no
18089
+ # The source IP address of the request.
17432
18090
  self.source_ip = source_ip
18091
+ # The ID of the VPC.
17433
18092
  self.vpc_id = vpc_id
18093
+ # The name of the VPC.
17434
18094
  self.vpc_name = vpc_name
17435
18095
 
17436
18096
  def validate(self):
@@ -17476,8 +18136,11 @@ class DescribeVpcListLiteResponseBodyVpcList(TeaModel):
17476
18136
  vpc_id: str = None,
17477
18137
  vpc_name: str = None,
17478
18138
  ):
18139
+ # The region ID of the VPC.
17479
18140
  self.region_no = region_no
18141
+ # The ID of the VPC.
17480
18142
  self.vpc_id = vpc_id
18143
+ # The name of the VPC.
17481
18144
  self.vpc_name = vpc_name
17482
18145
 
17483
18146
  def validate(self):
@@ -17514,7 +18177,9 @@ class DescribeVpcListLiteResponseBody(TeaModel):
17514
18177
  request_id: str = None,
17515
18178
  vpc_list: List[DescribeVpcListLiteResponseBodyVpcList] = None,
17516
18179
  ):
18180
+ # The ID of the request.
17517
18181
  self.request_id = request_id
18182
+ # The information about the VPCs.
17518
18183
  self.vpc_list = vpc_list
17519
18184
 
17520
18185
  def validate(self):
@@ -17598,9 +18263,19 @@ class DescribeVpcZoneRequest(TeaModel):
17598
18263
  member_uid: str = None,
17599
18264
  region_no: str = None,
17600
18265
  ):
18266
+ # The environment. Valid values:
18267
+ #
18268
+ # * **VPC**\
18269
+ # * **TransitRouter**\
17601
18270
  self.environment = environment
18271
+ # The language of the content within the request and response. Valid values:
18272
+ #
18273
+ # * **zh** (default): Chinese
18274
+ # * **en**: English
17602
18275
  self.lang = lang
18276
+ # The UID of the member in Cloud Firewall.
17603
18277
  self.member_uid = member_uid
18278
+ # The region ID.
17604
18279
  self.region_no = region_no
17605
18280
 
17606
18281
  def validate(self):
@@ -17642,8 +18317,11 @@ class DescribeVpcZoneResponseBodyZoneList(TeaModel):
17642
18317
  zone_id: str = None,
17643
18318
  zone_type: str = None,
17644
18319
  ):
18320
+ # The name of the zone.
17645
18321
  self.local_name = local_name
18322
+ # The zone ID.
17646
18323
  self.zone_id = zone_id
18324
+ # The zone type. Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.
17647
18325
  self.zone_type = zone_type
17648
18326
 
17649
18327
  def validate(self):
@@ -17680,7 +18358,9 @@ class DescribeVpcZoneResponseBody(TeaModel):
17680
18358
  request_id: str = None,
17681
18359
  zone_list: List[DescribeVpcZoneResponseBodyZoneList] = None,
17682
18360
  ):
18361
+ # The ID of the request.
17683
18362
  self.request_id = request_id
18363
+ # The zones.
17684
18364
  self.zone_list = zone_list
17685
18365
 
17686
18366
  def validate(self):
@@ -18608,7 +19288,7 @@ class ModifyControlPolicyRequest(TeaModel):
18608
19288
  # * **Memcache**\
18609
19289
  # * **SSL**\
18610
19290
  #
18611
- # > The value ANY** indicates all types of applications.
19291
+ # > The value *ANY* indicates all types of applications.
18612
19292
  self.application_name = application_name
18613
19293
  # The application names.
18614
19294
  self.application_name_list = application_name_list
@@ -18658,7 +19338,7 @@ class ModifyControlPolicyRequest(TeaModel):
18658
19338
  # * **UDP**\
18659
19339
  # * **ICMP**\
18660
19340
  #
18661
- # > The value ANY** indicates all types of applications.
19341
+ # > The value *ANY* indicates all types of applications.
18662
19342
  self.proto = proto
18663
19343
  # The status of the access control policy. Valid values:
18664
19344
  #
@@ -20958,7 +21638,7 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
20958
21638
  #
20959
21639
  # Valid values:
20960
21640
  #
20961
- # * ANY
21641
+ # * ANY: all application types
20962
21642
  # * FTP
20963
21643
  # * HTTP
20964
21644
  # * HTTPS
@@ -20973,7 +21653,6 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
20973
21653
  # * MongoDB
20974
21654
  # * Memcache
20975
21655
  # * SSL
20976
- # * ANY: all application types
20977
21656
  self.application_name = application_name
20978
21657
  # The application names.
20979
21658
  self.application_name_list = application_name_list
@@ -21577,11 +22256,26 @@ class ModifyVpcFirewallIPSWhitelistRequest(TeaModel):
21577
22256
  vpc_firewall_id: str = None,
21578
22257
  white_type: int = None,
21579
22258
  ):
22259
+ # The language of the content within the request and response. Valid values:
22260
+ #
22261
+ # * **zh** (default): Chinese
22262
+ # * **en**: English
21580
22263
  self.lang = lang
22264
+ # The type of the list. Valid values:
22265
+ #
22266
+ # * **1**: user-defined
22267
+ # * **2**: address book
21581
22268
  self.list_type = list_type
22269
+ # The entry in the list.
21582
22270
  self.list_value = list_value
22271
+ # The UID of the member that is managed by your Alibaba Cloud account.
21583
22272
  self.member_uid = member_uid
22273
+ # The instance ID of the VPC firewall.
21584
22274
  self.vpc_firewall_id = vpc_firewall_id
22275
+ # The type of the whitelist. Valid values:
22276
+ #
22277
+ # * **1**: destination
22278
+ # * **2**: source
21585
22279
  self.white_type = white_type
21586
22280
 
21587
22281
  def validate(self):
@@ -21629,6 +22323,7 @@ class ModifyVpcFirewallIPSWhitelistResponseBody(TeaModel):
21629
22323
  self,
21630
22324
  request_id: str = None,
21631
22325
  ):
22326
+ # The ID of the request.
21632
22327
  self.request_id = request_id
21633
22328
 
21634
22329
  def validate(self):
@@ -22509,8 +23204,14 @@ class ResetNatFirewallRuleHitCountRequest(TeaModel):
22509
23204
  lang: str = None,
22510
23205
  nat_gateway_id: str = None,
22511
23206
  ):
23207
+ # The UUID of the access control policy.
22512
23208
  self.acl_uuid = acl_uuid
23209
+ # The language of the content within the request and response. Valid values:
23210
+ #
23211
+ # * **zh** (default): Chinese
23212
+ # * **en**: English
22513
23213
  self.lang = lang
23214
+ # The ID of the NAT gateway.
22514
23215
  self.nat_gateway_id = nat_gateway_id
22515
23216
 
22516
23217
  def validate(self):
@@ -22546,6 +23247,7 @@ class ResetNatFirewallRuleHitCountResponseBody(TeaModel):
22546
23247
  self,
22547
23248
  request_id: str = None,
22548
23249
  ):
23250
+ # The ID of the request.
22549
23251
  self.request_id = request_id
22550
23252
 
22551
23253
  def validate(self):