alibabacloud-cloudfw20171207 3.3.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.

@@ -1 +1 @@
1
- __version__ = '3.3.0'
1
+ __version__ = '3.4.0'
@@ -609,6 +609,80 @@ class Client(OpenApiClient):
609
609
  runtime = util_models.RuntimeOptions()
610
610
  return await self.batch_copy_vpc_firewall_control_policy_with_options_async(request, runtime)
611
611
 
612
+ def batch_delete_vpc_firewall_control_policy_with_options(
613
+ self,
614
+ request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
615
+ runtime: util_models.RuntimeOptions,
616
+ ) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
617
+ UtilClient.validate_model(request)
618
+ query = {}
619
+ if not UtilClient.is_unset(request.acl_uuid_list):
620
+ query['AclUuidList'] = request.acl_uuid_list
621
+ if not UtilClient.is_unset(request.vpc_firewall_id):
622
+ query['VpcFirewallId'] = request.vpc_firewall_id
623
+ req = open_api_models.OpenApiRequest(
624
+ query=OpenApiUtilClient.query(query)
625
+ )
626
+ params = open_api_models.Params(
627
+ action='BatchDeleteVpcFirewallControlPolicy',
628
+ version='2017-12-07',
629
+ protocol='HTTPS',
630
+ pathname='/',
631
+ method='POST',
632
+ auth_type='AK',
633
+ style='RPC',
634
+ req_body_type='formData',
635
+ body_type='json'
636
+ )
637
+ return TeaCore.from_map(
638
+ cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse(),
639
+ self.call_api(params, req, runtime)
640
+ )
641
+
642
+ async def batch_delete_vpc_firewall_control_policy_with_options_async(
643
+ self,
644
+ request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
645
+ runtime: util_models.RuntimeOptions,
646
+ ) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
647
+ UtilClient.validate_model(request)
648
+ query = {}
649
+ if not UtilClient.is_unset(request.acl_uuid_list):
650
+ query['AclUuidList'] = request.acl_uuid_list
651
+ if not UtilClient.is_unset(request.vpc_firewall_id):
652
+ query['VpcFirewallId'] = request.vpc_firewall_id
653
+ req = open_api_models.OpenApiRequest(
654
+ query=OpenApiUtilClient.query(query)
655
+ )
656
+ params = open_api_models.Params(
657
+ action='BatchDeleteVpcFirewallControlPolicy',
658
+ version='2017-12-07',
659
+ protocol='HTTPS',
660
+ pathname='/',
661
+ method='POST',
662
+ auth_type='AK',
663
+ style='RPC',
664
+ req_body_type='formData',
665
+ body_type='json'
666
+ )
667
+ return TeaCore.from_map(
668
+ cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse(),
669
+ await self.call_api_async(params, req, runtime)
670
+ )
671
+
672
+ def batch_delete_vpc_firewall_control_policy(
673
+ self,
674
+ request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
675
+ ) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
676
+ runtime = util_models.RuntimeOptions()
677
+ return self.batch_delete_vpc_firewall_control_policy_with_options(request, runtime)
678
+
679
+ async def batch_delete_vpc_firewall_control_policy_async(
680
+ self,
681
+ request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
682
+ ) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
683
+ runtime = util_models.RuntimeOptions()
684
+ return await self.batch_delete_vpc_firewall_control_policy_with_options_async(request, runtime)
685
+
612
686
  def create_download_task_with_options(
613
687
  self,
614
688
  request: cloudfw_20171207_models.CreateDownloadTaskRequest,
@@ -1894,6 +1968,15 @@ class Client(OpenApiClient):
1894
1968
  request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
1895
1969
  runtime: util_models.RuntimeOptions,
1896
1970
  ) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
1971
+ """
1972
+ You can call this operation to delete file download tasks and delete the files.
1973
+ **\
1974
+ **Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
1975
+
1976
+ @param request: DeleteDownloadTaskRequest
1977
+ @param runtime: runtime options for this request RuntimeOptions
1978
+ @return: DeleteDownloadTaskResponse
1979
+ """
1897
1980
  UtilClient.validate_model(request)
1898
1981
  query = {}
1899
1982
  if not UtilClient.is_unset(request.lang):
@@ -1924,6 +2007,15 @@ class Client(OpenApiClient):
1924
2007
  request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
1925
2008
  runtime: util_models.RuntimeOptions,
1926
2009
  ) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
2010
+ """
2011
+ You can call this operation to delete file download tasks and delete the files.
2012
+ **\
2013
+ **Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
2014
+
2015
+ @param request: DeleteDownloadTaskRequest
2016
+ @param runtime: runtime options for this request RuntimeOptions
2017
+ @return: DeleteDownloadTaskResponse
2018
+ """
1927
2019
  UtilClient.validate_model(request)
1928
2020
  query = {}
1929
2021
  if not UtilClient.is_unset(request.lang):
@@ -1953,6 +2045,14 @@ class Client(OpenApiClient):
1953
2045
  self,
1954
2046
  request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
1955
2047
  ) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
2048
+ """
2049
+ You can call this operation to delete file download tasks and delete the files.
2050
+ **\
2051
+ **Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
2052
+
2053
+ @param request: DeleteDownloadTaskRequest
2054
+ @return: DeleteDownloadTaskResponse
2055
+ """
1956
2056
  runtime = util_models.RuntimeOptions()
1957
2057
  return self.delete_download_task_with_options(request, runtime)
1958
2058
 
@@ -1960,6 +2060,14 @@ class Client(OpenApiClient):
1960
2060
  self,
1961
2061
  request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
1962
2062
  ) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
2063
+ """
2064
+ You can call this operation to delete file download tasks and delete the files.
2065
+ **\
2066
+ **Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
2067
+
2068
+ @param request: DeleteDownloadTaskRequest
2069
+ @return: DeleteDownloadTaskResponse
2070
+ """
1963
2071
  runtime = util_models.RuntimeOptions()
1964
2072
  return await self.delete_download_task_with_options_async(request, runtime)
1965
2073
 
@@ -884,6 +884,107 @@ 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,
@@ -1115,7 +1216,7 @@ class CreateNatFirewallControlPolicyRequest(TeaModel):
1115
1216
  #
1116
1217
  # * **out**: outbound traffic
1117
1218
  self.direction = direction
1118
- # 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:
1119
1220
  #
1120
1221
  # * **0**: fully qualified domain name (FQDN)-based resolution
1121
1222
  # * **1**: Domain Name System (DNS)-based dynamic resolution
@@ -1442,9 +1543,11 @@ class CreateTrFirewallV2Request(TeaModel):
1442
1543
  self.route_mode = route_mode
1443
1544
  # The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
1444
1545
  self.tr_attachment_master_cidr = tr_attachment_master_cidr
1546
+ # The primary zone for the vSwitch.
1445
1547
  self.tr_attachment_master_zone = tr_attachment_master_zone
1446
1548
  # The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
1447
1549
  self.tr_attachment_slave_cidr = tr_attachment_slave_cidr
1550
+ # The secondary zone for the vSwitch.
1448
1551
  self.tr_attachment_slave_zone = tr_attachment_slave_zone
1449
1552
  # The ID of the transit router.
1450
1553
  self.transit_router_id = transit_router_id
@@ -2854,8 +2957,14 @@ class DeleteControlPolicyTemplateRequest(TeaModel):
2854
2957
  source_ip: str = None,
2855
2958
  template_id: str = None,
2856
2959
  ):
2960
+ # The language of the content within the request and response. Valid values:
2961
+ #
2962
+ # * **zh** (default): Chinese
2963
+ # * **en**: English
2857
2964
  self.lang = lang
2965
+ # The source IP address of the request.
2858
2966
  self.source_ip = source_ip
2967
+ # The ID of the access control policy template.
2859
2968
  self.template_id = template_id
2860
2969
 
2861
2970
  def validate(self):
@@ -2891,6 +3000,7 @@ class DeleteControlPolicyTemplateResponseBody(TeaModel):
2891
3000
  self,
2892
3001
  request_id: str = None,
2893
3002
  ):
3003
+ # The ID of the request.
2894
3004
  self.request_id = request_id
2895
3005
 
2896
3006
  def validate(self):
@@ -2960,7 +3070,12 @@ class DeleteDownloadTaskRequest(TeaModel):
2960
3070
  lang: str = None,
2961
3071
  task_id: str = None,
2962
3072
  ):
3073
+ # The language of the content within the request and response. Valid values:
3074
+ #
3075
+ # * **zh** (default): Chinese
3076
+ # * **en**: English
2963
3077
  self.lang = lang
3078
+ # The ID of the file download task.
2964
3079
  self.task_id = task_id
2965
3080
 
2966
3081
  def validate(self):
@@ -2992,6 +3107,7 @@ class DeleteDownloadTaskResponseBody(TeaModel):
2992
3107
  self,
2993
3108
  request_id: str = None,
2994
3109
  ):
3110
+ # The ID of the request.
2995
3111
  self.request_id = request_id
2996
3112
 
2997
3113
  def validate(self):
@@ -3394,9 +3510,18 @@ class DeleteNatFirewallControlPolicyBatchRequest(TeaModel):
3394
3510
  lang: str = None,
3395
3511
  nat_gateway_id: str = None,
3396
3512
  ):
3513
+ # The UUIDs of access control policies.
3397
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
3398
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
3399
3523
  self.lang = lang
3524
+ # The ID of the NAT gateway.
3400
3525
  self.nat_gateway_id = nat_gateway_id
3401
3526
 
3402
3527
  def validate(self):
@@ -3436,6 +3561,7 @@ class DeleteNatFirewallControlPolicyBatchResponseBody(TeaModel):
3436
3561
  self,
3437
3562
  request_id: str = None,
3438
3563
  ):
3564
+ # The ID of the request.
3439
3565
  self.request_id = request_id
3440
3566
 
3441
3567
  def validate(self):
@@ -4962,9 +5088,27 @@ class DescribeAssetRiskListRequest(TeaModel):
4962
5088
  lang: str = None,
4963
5089
  source_ip: str = None,
4964
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
4965
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
4966
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
4967
5110
  self.lang = lang
5111
+ # The source IP address of the request.
4968
5112
  self.source_ip = source_ip
4969
5113
 
4970
5114
  def validate(self):
@@ -5007,9 +5151,22 @@ class DescribeAssetRiskListResponseBodyAssetList(TeaModel):
5007
5151
  reason: str = None,
5008
5152
  risk_level: str = None,
5009
5153
  ):
5154
+ # The IP address of the server.
5010
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
5011
5162
  self.ip_version = ip_version
5163
+ # The reason for the risk.
5012
5164
  self.reason = reason
5165
+ # The risk level. Valid values:
5166
+ #
5167
+ # * **low**\
5168
+ # * **middle**\
5169
+ # * **high**\
5013
5170
  self.risk_level = risk_level
5014
5171
 
5015
5172
  def validate(self):
@@ -5051,8 +5208,11 @@ class DescribeAssetRiskListResponseBody(TeaModel):
5051
5208
  request_id: str = None,
5052
5209
  total_count: int = None,
5053
5210
  ):
5211
+ # The details of the asset.
5054
5212
  self.asset_list = asset_list
5213
+ # The ID of the request.
5055
5214
  self.request_id = request_id
5215
+ # The total number of entries returned.
5056
5216
  self.total_count = total_count
5057
5217
 
5058
5218
  def validate(self):
@@ -5139,8 +5299,18 @@ class DescribeCfwRiskLevelSummaryRequest(TeaModel):
5139
5299
  lang: str = None,
5140
5300
  region_id: str = None,
5141
5301
  ):
5302
+ # The instance type.
5142
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
5143
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~~).
5144
5314
  self.region_id = region_id
5145
5315
 
5146
5316
  def validate(self):
@@ -5178,8 +5348,13 @@ class DescribeCfwRiskLevelSummaryResponseBodyRiskList(TeaModel):
5178
5348
  num: str = None,
5179
5349
  type: str = None,
5180
5350
  ):
5351
+ # The risk levels. Valid values:
5352
+ #
5353
+ # * **medium**\
5181
5354
  self.level = level
5355
+ # The number of at-risk Elastic Compute Service (ECS) instances.
5182
5356
  self.num = num
5357
+ # The type.
5183
5358
  self.type = type
5184
5359
 
5185
5360
  def validate(self):
@@ -5216,7 +5391,9 @@ class DescribeCfwRiskLevelSummaryResponseBody(TeaModel):
5216
5391
  request_id: str = None,
5217
5392
  risk_list: List[DescribeCfwRiskLevelSummaryResponseBodyRiskList] = None,
5218
5393
  ):
5394
+ # The ID of the request.
5219
5395
  self.request_id = request_id
5396
+ # The list of risks.
5220
5397
  self.risk_list = risk_list
5221
5398
 
5222
5399
  def validate(self):
@@ -6249,9 +6426,16 @@ class DescribeDownloadTaskRequest(TeaModel):
6249
6426
  page_size: str = None,
6250
6427
  task_type: str = None,
6251
6428
  ):
6429
+ # The page number.
6252
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
6253
6435
  self.lang = lang
6436
+ # The number of entries per page. Default value: 10. Maximum value: 50.
6254
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.
6255
6439
  self.task_type = task_type
6256
6440
 
6257
6441
  def validate(self):
@@ -6298,13 +6482,26 @@ class DescribeDownloadTaskResponseBodyTasks(TeaModel):
6298
6482
  task_name: str = None,
6299
6483
  task_type: str = None,
6300
6484
  ):
6485
+ # The time when the task was created. The value is a UNIX timestamp. Unit: seconds.
6301
6486
  self.create_time = create_time
6487
+ # The expiration time of the task. The value is a UNIX timestamp. Unit: seconds.
6302
6488
  self.expire_time = expire_time
6489
+ # The size of the file.
6303
6490
  self.file_size = file_size
6491
+ # The URL of the OSS object.
6304
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.
6305
6499
  self.status = status
6500
+ # The task ID.
6306
6501
  self.task_id = task_id
6502
+ # The name of the task.
6307
6503
  self.task_name = task_name
6504
+ # The type of the task.
6308
6505
  self.task_type = task_type
6309
6506
 
6310
6507
  def validate(self):
@@ -6362,8 +6559,11 @@ class DescribeDownloadTaskResponseBody(TeaModel):
6362
6559
  tasks: List[DescribeDownloadTaskResponseBodyTasks] = None,
6363
6560
  total_count: int = None,
6364
6561
  ):
6562
+ # The ID of the request.
6365
6563
  self.request_id = request_id
6564
+ # The tasks.
6366
6565
  self.tasks = tasks
6566
+ # The total number of tasks.
6367
6567
  self.total_count = total_count
6368
6568
 
6369
6569
  def validate(self):
@@ -6451,9 +6651,16 @@ class DescribeDownloadTaskTypeRequest(TeaModel):
6451
6651
  page_size: str = None,
6452
6652
  task_type: str = None,
6453
6653
  ):
6654
+ # The page number. Pages start from page 1. Default value: **1**.
6454
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
6455
6660
  self.lang = lang
6661
+ # The number of entries per page. Default value: 10. Maximum value: 50.
6456
6662
  self.page_size = page_size
6663
+ # The type of the task.
6457
6664
  self.task_type = task_type
6458
6665
 
6459
6666
  def validate(self):
@@ -6494,7 +6701,9 @@ class DescribeDownloadTaskTypeResponseBodyTaskTypeArray(TeaModel):
6494
6701
  task_name: str = None,
6495
6702
  task_type: str = None,
6496
6703
  ):
6704
+ # The name of the task type.
6497
6705
  self.task_name = task_name
6706
+ # The type of the task.
6498
6707
  self.task_type = task_type
6499
6708
 
6500
6709
  def validate(self):
@@ -6528,8 +6737,11 @@ class DescribeDownloadTaskTypeResponseBody(TeaModel):
6528
6737
  task_type_array: List[DescribeDownloadTaskTypeResponseBodyTaskTypeArray] = None,
6529
6738
  total_count: int = None,
6530
6739
  ):
6740
+ # The ID of the request.
6531
6741
  self.request_id = request_id
6742
+ # The task types.
6532
6743
  self.task_type_array = task_type_array
6744
+ # The total number of entries returned.
6533
6745
  self.total_count = total_count
6534
6746
 
6535
6747
  def validate(self):
@@ -8354,6 +8566,10 @@ class DescribeNatAclPageStatusRequest(TeaModel):
8354
8566
  self,
8355
8567
  lang: str = None,
8356
8568
  ):
8569
+ # The language of the content within the request and response. Valid values:
8570
+ #
8571
+ # * **zh** (default): Chinese
8572
+ # * **en**: English
8357
8573
  self.lang = lang
8358
8574
 
8359
8575
  def validate(self):
@@ -8382,7 +8598,9 @@ class DescribeNatAclPageStatusResponseBody(TeaModel):
8382
8598
  nat_acl_page_enable: bool = None,
8383
8599
  request_id: str = None,
8384
8600
  ):
8601
+ # Indicates whether pagination for access control policies for NAT firewalls is supported.
8385
8602
  self.nat_acl_page_enable = nat_acl_page_enable
8603
+ # The ID of the request.
8386
8604
  self.request_id = request_id
8387
8605
 
8388
8606
  def validate(self):
@@ -10982,7 +11200,9 @@ class DescribePrefixListsRequest(TeaModel):
10982
11200
  region_no: str = None,
10983
11201
  source_ip: str = None,
10984
11202
  ):
11203
+ # The region ID of the instance.
10985
11204
  self.region_no = region_no
11205
+ # The source IP address of the request.
10986
11206
  self.source_ip = source_ip
10987
11207
 
10988
11208
  def validate(self):
@@ -11020,12 +11240,22 @@ class DescribePrefixListsResponseBodyPrefixList(TeaModel):
11020
11240
  prefix_list_id: str = None,
11021
11241
  prefix_list_name: str = None,
11022
11242
  ):
11243
+ # The IP address family of the prefix list. Valid values:
11244
+ #
11245
+ # * IPv4
11246
+ # * IPv6
11023
11247
  self.address_family = address_family
11248
+ # The number of associated resources.
11024
11249
  self.association_count = association_count
11250
+ # The creation time.
11025
11251
  self.creation_time = creation_time
11252
+ # The description.
11026
11253
  self.description = description
11254
+ # The maximum number of entries in the prefix list.
11027
11255
  self.max_entries = max_entries
11256
+ # The ID of the prefix list.
11028
11257
  self.prefix_list_id = prefix_list_id
11258
+ # The name of the prefix list.
11029
11259
  self.prefix_list_name = prefix_list_name
11030
11260
 
11031
11261
  def validate(self):
@@ -11078,7 +11308,9 @@ class DescribePrefixListsResponseBody(TeaModel):
11078
11308
  prefix_list: List[DescribePrefixListsResponseBodyPrefixList] = None,
11079
11309
  request_id: str = None,
11080
11310
  ):
11311
+ # Details about the prefix lists.
11081
11312
  self.prefix_list = prefix_list
11313
+ # The ID of the request.
11082
11314
  self.request_id = request_id
11083
11315
 
11084
11316
  def validate(self):
@@ -12174,7 +12406,37 @@ class DescribeSignatureLibVersionResponseBodyVersion(TeaModel):
12174
12406
  type: str = None,
12175
12407
  version: str = None,
12176
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
+ # <!-- -->
12177
12438
  self.type = type
12439
+ # The version number.
12178
12440
  self.version = version
12179
12441
 
12180
12442
  def validate(self):
@@ -12208,8 +12470,11 @@ class DescribeSignatureLibVersionResponseBody(TeaModel):
12208
12470
  total_count: int = None,
12209
12471
  version: List[DescribeSignatureLibVersionResponseBodyVersion] = None,
12210
12472
  ):
12473
+ # The ID of the request.
12211
12474
  self.request_id = request_id
12475
+ # The total number of entries returned.
12212
12476
  self.total_count = total_count
12477
+ # The information about the versions.
12213
12478
  self.version = version
12214
12479
 
12215
12480
  def validate(self):
@@ -16801,8 +17066,16 @@ class DescribeVpcFirewallIPSWhitelistRequest(TeaModel):
16801
17066
  member_uid: int = None,
16802
17067
  vpc_firewall_id: str = None,
16803
17068
  ):
17069
+ # The language of the content within the request and response.
17070
+ #
17071
+ # Valid values:
17072
+ #
17073
+ # * **zh** (default): Chinese
17074
+ # * **en**: English
16804
17075
  self.lang = lang
17076
+ # The UID of the member in Cloud Firewall.
16805
17077
  self.member_uid = member_uid
17078
+ # The instance ID of the VPC firewall.
16806
17079
  self.vpc_firewall_id = vpc_firewall_id
16807
17080
 
16808
17081
  def validate(self):
@@ -16842,10 +17115,21 @@ class DescribeVpcFirewallIPSWhitelistResponseBodyWhitelists(TeaModel):
16842
17115
  white_list_value: List[str] = None,
16843
17116
  white_type: int = None,
16844
17117
  ):
17118
+ # The type of the list. Valid values:
17119
+ #
17120
+ # * **1**: user-defined
17121
+ # * **2**: address book
16845
17122
  self.list_type = list_type
17123
+ # The entries in the list.
16846
17124
  self.list_value = list_value
17125
+ # The instance ID of the VPC firewall.
16847
17126
  self.vpc_firewall_id = vpc_firewall_id
17127
+ # An array of entries in the list.
16848
17128
  self.white_list_value = white_list_value
17129
+ # The type of the whitelist. Valid values:
17130
+ #
17131
+ # * **1**: destination
17132
+ # * **2**: source
16849
17133
  self.white_type = white_type
16850
17134
 
16851
17135
  def validate(self):
@@ -16890,7 +17174,9 @@ class DescribeVpcFirewallIPSWhitelistResponseBody(TeaModel):
16890
17174
  request_id: str = None,
16891
17175
  whitelists: List[DescribeVpcFirewallIPSWhitelistResponseBodyWhitelists] = None,
16892
17176
  ):
17177
+ # The ID of the request.
16893
17178
  self.request_id = request_id
17179
+ # The details of the IPS whitelist of the VPC firewall.
16894
17180
  self.whitelists = whitelists
16895
17181
 
16896
17182
  def validate(self):
@@ -17791,10 +18077,20 @@ class DescribeVpcListLiteRequest(TeaModel):
17791
18077
  vpc_id: str = None,
17792
18078
  vpc_name: str = None,
17793
18079
  ):
18080
+ # The language of the content within the request and response. Valid values:
18081
+ #
18082
+ # * **zh** (default): Chinese
18083
+ # * **en**: English
17794
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~~).
17795
18088
  self.region_no = region_no
18089
+ # The source IP address of the request.
17796
18090
  self.source_ip = source_ip
18091
+ # The ID of the VPC.
17797
18092
  self.vpc_id = vpc_id
18093
+ # The name of the VPC.
17798
18094
  self.vpc_name = vpc_name
17799
18095
 
17800
18096
  def validate(self):
@@ -17840,8 +18136,11 @@ class DescribeVpcListLiteResponseBodyVpcList(TeaModel):
17840
18136
  vpc_id: str = None,
17841
18137
  vpc_name: str = None,
17842
18138
  ):
18139
+ # The region ID of the VPC.
17843
18140
  self.region_no = region_no
18141
+ # The ID of the VPC.
17844
18142
  self.vpc_id = vpc_id
18143
+ # The name of the VPC.
17845
18144
  self.vpc_name = vpc_name
17846
18145
 
17847
18146
  def validate(self):
@@ -17878,7 +18177,9 @@ class DescribeVpcListLiteResponseBody(TeaModel):
17878
18177
  request_id: str = None,
17879
18178
  vpc_list: List[DescribeVpcListLiteResponseBodyVpcList] = None,
17880
18179
  ):
18180
+ # The ID of the request.
17881
18181
  self.request_id = request_id
18182
+ # The information about the VPCs.
17882
18183
  self.vpc_list = vpc_list
17883
18184
 
17884
18185
  def validate(self):
@@ -17962,9 +18263,19 @@ class DescribeVpcZoneRequest(TeaModel):
17962
18263
  member_uid: str = None,
17963
18264
  region_no: str = None,
17964
18265
  ):
18266
+ # The environment. Valid values:
18267
+ #
18268
+ # * **VPC**\
18269
+ # * **TransitRouter**\
17965
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
17966
18275
  self.lang = lang
18276
+ # The UID of the member in Cloud Firewall.
17967
18277
  self.member_uid = member_uid
18278
+ # The region ID.
17968
18279
  self.region_no = region_no
17969
18280
 
17970
18281
  def validate(self):
@@ -18006,8 +18317,11 @@ class DescribeVpcZoneResponseBodyZoneList(TeaModel):
18006
18317
  zone_id: str = None,
18007
18318
  zone_type: str = None,
18008
18319
  ):
18320
+ # The name of the zone.
18009
18321
  self.local_name = local_name
18322
+ # The zone ID.
18010
18323
  self.zone_id = zone_id
18324
+ # The zone type. Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.
18011
18325
  self.zone_type = zone_type
18012
18326
 
18013
18327
  def validate(self):
@@ -18044,7 +18358,9 @@ class DescribeVpcZoneResponseBody(TeaModel):
18044
18358
  request_id: str = None,
18045
18359
  zone_list: List[DescribeVpcZoneResponseBodyZoneList] = None,
18046
18360
  ):
18361
+ # The ID of the request.
18047
18362
  self.request_id = request_id
18363
+ # The zones.
18048
18364
  self.zone_list = zone_list
18049
18365
 
18050
18366
  def validate(self):
@@ -21940,11 +22256,26 @@ class ModifyVpcFirewallIPSWhitelistRequest(TeaModel):
21940
22256
  vpc_firewall_id: str = None,
21941
22257
  white_type: int = None,
21942
22258
  ):
22259
+ # The language of the content within the request and response. Valid values:
22260
+ #
22261
+ # * **zh** (default): Chinese
22262
+ # * **en**: English
21943
22263
  self.lang = lang
22264
+ # The type of the list. Valid values:
22265
+ #
22266
+ # * **1**: user-defined
22267
+ # * **2**: address book
21944
22268
  self.list_type = list_type
22269
+ # The entry in the list.
21945
22270
  self.list_value = list_value
22271
+ # The UID of the member that is managed by your Alibaba Cloud account.
21946
22272
  self.member_uid = member_uid
22273
+ # The instance ID of the VPC firewall.
21947
22274
  self.vpc_firewall_id = vpc_firewall_id
22275
+ # The type of the whitelist. Valid values:
22276
+ #
22277
+ # * **1**: destination
22278
+ # * **2**: source
21948
22279
  self.white_type = white_type
21949
22280
 
21950
22281
  def validate(self):
@@ -21992,6 +22323,7 @@ class ModifyVpcFirewallIPSWhitelistResponseBody(TeaModel):
21992
22323
  self,
21993
22324
  request_id: str = None,
21994
22325
  ):
22326
+ # The ID of the request.
21995
22327
  self.request_id = request_id
21996
22328
 
21997
22329
  def validate(self):
@@ -22872,8 +23204,14 @@ class ResetNatFirewallRuleHitCountRequest(TeaModel):
22872
23204
  lang: str = None,
22873
23205
  nat_gateway_id: str = None,
22874
23206
  ):
23207
+ # The UUID of the access control policy.
22875
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
22876
23213
  self.lang = lang
23214
+ # The ID of the NAT gateway.
22877
23215
  self.nat_gateway_id = nat_gateway_id
22878
23216
 
22879
23217
  def validate(self):
@@ -22909,6 +23247,7 @@ class ResetNatFirewallRuleHitCountResponseBody(TeaModel):
22909
23247
  self,
22910
23248
  request_id: str = None,
22911
23249
  ):
23250
+ # The ID of the request.
22912
23251
  self.request_id = request_id
22913
23252
 
22914
23253
  def validate(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-cloudfw20171207
3
- Version: 3.3.0
3
+ Version: 3.4.0
4
4
  Summary: Alibaba Cloud Cloudfw (20171207) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1,8 @@
1
+ alibabacloud_cloudfw20171207/__init__.py,sha256=9Jbm9JhU1Bzv5zg2q7bKPZF7n_ixYWFafe1k0lbD4qE,21
2
+ alibabacloud_cloudfw20171207/client.py,sha256=PWqHgrPURpbXcJUyigdU_mZ-WS6Bk8C7Y2LLx6lctS8,543850
3
+ alibabacloud_cloudfw20171207/models.py,sha256=TUXwpZZMonncmC5Kx1GCX0uBV9CkT93Z2lAbofTe-Zw,864567
4
+ alibabacloud_cloudfw20171207-3.4.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_cloudfw20171207-3.4.0.dist-info/METADATA,sha256=Z0Ut7MlqpCbG6gwdFTANG6InF8S86NByIIP0WK3Ui_w,2311
6
+ alibabacloud_cloudfw20171207-3.4.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ alibabacloud_cloudfw20171207-3.4.0.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
8
+ alibabacloud_cloudfw20171207-3.4.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_cloudfw20171207/__init__.py,sha256=eY_XlUMMs2l7AHcdxlzbuLcwG1n4Wo8Ay7fQigTj4C4,21
2
- alibabacloud_cloudfw20171207/client.py,sha256=obiEb28pMPrFjeDcBsQ9H8UAEI6d_jRI0PBMwYcmEzM,538826
3
- alibabacloud_cloudfw20171207/models.py,sha256=TJ_D2hrqvDAR-u53l_p0h8BDgq8qNE59lB0MSfJbpdc,853020
4
- alibabacloud_cloudfw20171207-3.3.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_cloudfw20171207-3.3.0.dist-info/METADATA,sha256=WbkiXZ3h0b0FoFGn0KyNKl7j0E5bVzv-ObchhO3GJlU,2311
6
- alibabacloud_cloudfw20171207-3.3.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
- alibabacloud_cloudfw20171207-3.3.0.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
8
- alibabacloud_cloudfw20171207-3.3.0.dist-info/RECORD,,