alibabacloud-cloudfw20171207 4.3.0__tar.gz → 5.0.0__tar.gz

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.

Files changed (17) hide show
  1. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/ChangeLog.md +29 -0
  2. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/PKG-INFO +1 -1
  3. alibabacloud_cloudfw20171207-5.0.0/alibabacloud_cloudfw20171207/__init__.py +1 -0
  4. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/alibabacloud_cloudfw20171207/client.py +32 -8
  5. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/alibabacloud_cloudfw20171207/models.py +184 -48
  6. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/alibabacloud_cloudfw20171207.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/setup.py +1 -1
  8. alibabacloud_cloudfw20171207-4.3.0/alibabacloud_cloudfw20171207/__init__.py +0 -1
  9. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/LICENSE +0 -0
  10. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/MANIFEST.in +0 -0
  11. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/README-CN.md +0 -0
  12. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/README.md +0 -0
  13. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/alibabacloud_cloudfw20171207.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/alibabacloud_cloudfw20171207.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/alibabacloud_cloudfw20171207.egg-info/requires.txt +0 -0
  16. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/alibabacloud_cloudfw20171207.egg-info/top_level.txt +0 -0
  17. {alibabacloud_cloudfw20171207-4.3.0 → alibabacloud_cloudfw20171207-5.0.0}/setup.cfg +0 -0
@@ -1,3 +1,32 @@
1
+ 2024-11-21 Version: 4.3.1
2
+ - Update API DescribeVpcFirewallControlPolicy: update param CurrentPage.
3
+ - Update API DescribeVpcFirewallControlPolicy: update param PageSize.
4
+
5
+
6
+ 2024-11-13 Version: 4.3.0
7
+ - Support API DescribeAssetStatistic.
8
+ - Support API DescribeUserBuyVersion.
9
+ - Update API AddAddressBook: update param AddressList.
10
+ - Update API AddControlPolicy: update param ApplicationNameList.
11
+ - Update API CreateNatFirewallControlPolicy: update param ApplicationNameList.
12
+ - Update API CreateVpcFirewallControlPolicy: update param ApplicationNameList.
13
+ - Update API DeleteControlPolicyTemplate: update response param.
14
+ - Update API DescribeAssetList: add param OutStatistic.
15
+ - Update API DescribeAssetList: add param SensitiveStatus.
16
+ - Update API DescribeAssetList: update response param.
17
+ - Update API DescribeAssetRiskList: update param IpAddrList.
18
+ - Update API DescribeInternetOpenIp: update response param.
19
+ - Update API DescribeOutgoingDestinationIP: update response param.
20
+ - Update API DescribeOutgoingDomain: update response param.
21
+ - Update API DescribePostpayTrafficDetail: add param RegionNo.
22
+ - Update API DescribePostpayTrafficDetail: update response param.
23
+ - Update API DescribeRiskEventPayload: update response param.
24
+ - Update API DescribeTrFirewallsV2List: update response param.
25
+ - Update API ModifyControlPolicy: update param ApplicationNameList.
26
+ - Update API ModifyNatFirewallControlPolicy: update param ApplicationNameList.
27
+ - Update API ModifyVpcFirewallControlPolicy: update param ApplicationNameList.
28
+
29
+
1
30
  2024-10-16 Version: 4.2.0
2
31
  - Support API DescribeUserBuyVersion.
3
32
  - Update API AddAddressBook: update param AddressList.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_cloudfw20171207
3
- Version: 4.3.0
3
+ Version: 5.0.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 @@
1
+ __version__ = '5.0.0'
@@ -763,6 +763,8 @@ class Client(OpenApiClient):
763
763
  query['Lang'] = request.lang
764
764
  if not UtilClient.is_unset(request.task_data):
765
765
  query['TaskData'] = request.task_data
766
+ if not UtilClient.is_unset(request.task_type):
767
+ query['TaskType'] = request.task_type
766
768
  if not UtilClient.is_unset(request.time_zone):
767
769
  query['TimeZone'] = request.time_zone
768
770
  req = open_api_models.OpenApiRequest(
@@ -802,6 +804,8 @@ class Client(OpenApiClient):
802
804
  query['Lang'] = request.lang
803
805
  if not UtilClient.is_unset(request.task_data):
804
806
  query['TaskData'] = request.task_data
807
+ if not UtilClient.is_unset(request.task_type):
808
+ query['TaskType'] = request.task_type
805
809
  if not UtilClient.is_unset(request.time_zone):
806
810
  query['TimeZone'] = request.time_zone
807
811
  req = open_api_models.OpenApiRequest(
@@ -4063,7 +4067,7 @@ class Client(OpenApiClient):
4063
4067
  runtime: util_models.RuntimeOptions,
4064
4068
  ) -> cloudfw_20171207_models.DescribeAssetStatisticResponse:
4065
4069
  """
4066
- @summary 获取资产统计信息
4070
+ @summary Queries statistics on the assets that are protected by Cloud Firewall.
4067
4071
 
4068
4072
  @param request: DescribeAssetStatisticRequest
4069
4073
  @param runtime: runtime options for this request RuntimeOptions
@@ -4102,7 +4106,7 @@ class Client(OpenApiClient):
4102
4106
  runtime: util_models.RuntimeOptions,
4103
4107
  ) -> cloudfw_20171207_models.DescribeAssetStatisticResponse:
4104
4108
  """
4105
- @summary 获取资产统计信息
4109
+ @summary Queries statistics on the assets that are protected by Cloud Firewall.
4106
4110
 
4107
4111
  @param request: DescribeAssetStatisticRequest
4108
4112
  @param runtime: runtime options for this request RuntimeOptions
@@ -4140,7 +4144,7 @@ class Client(OpenApiClient):
4140
4144
  request: cloudfw_20171207_models.DescribeAssetStatisticRequest,
4141
4145
  ) -> cloudfw_20171207_models.DescribeAssetStatisticResponse:
4142
4146
  """
4143
- @summary 获取资产统计信息
4147
+ @summary Queries statistics on the assets that are protected by Cloud Firewall.
4144
4148
 
4145
4149
  @param request: DescribeAssetStatisticRequest
4146
4150
  @return: DescribeAssetStatisticResponse
@@ -4153,7 +4157,7 @@ class Client(OpenApiClient):
4153
4157
  request: cloudfw_20171207_models.DescribeAssetStatisticRequest,
4154
4158
  ) -> cloudfw_20171207_models.DescribeAssetStatisticResponse:
4155
4159
  """
4156
- @summary 获取资产统计信息
4160
+ @summary Queries statistics on the assets that are protected by Cloud Firewall.
4157
4161
 
4158
4162
  @param request: DescribeAssetStatisticRequest
4159
4163
  @return: DescribeAssetStatisticResponse
@@ -6941,6 +6945,8 @@ class Client(OpenApiClient):
6941
6945
  query['EventName'] = request.event_name
6942
6946
  if not UtilClient.is_unset(request.firewall_type):
6943
6947
  query['FirewallType'] = request.firewall_type
6948
+ if not UtilClient.is_unset(request.is_only_private_assoc):
6949
+ query['IsOnlyPrivateAssoc'] = request.is_only_private_assoc
6944
6950
  if not UtilClient.is_unset(request.lang):
6945
6951
  query['Lang'] = request.lang
6946
6952
  if not UtilClient.is_unset(request.lang):
@@ -7024,6 +7030,8 @@ class Client(OpenApiClient):
7024
7030
  query['EventName'] = request.event_name
7025
7031
  if not UtilClient.is_unset(request.firewall_type):
7026
7032
  query['FirewallType'] = request.firewall_type
7033
+ if not UtilClient.is_unset(request.is_only_private_assoc):
7034
+ query['IsOnlyPrivateAssoc'] = request.is_only_private_assoc
7027
7035
  if not UtilClient.is_unset(request.lang):
7028
7036
  query['Lang'] = request.lang
7029
7037
  if not UtilClient.is_unset(request.lang):
@@ -7977,7 +7985,11 @@ class Client(OpenApiClient):
7977
7985
  runtime: util_models.RuntimeOptions,
7978
7986
  ) -> cloudfw_20171207_models.DescribeUserBuyVersionResponse:
7979
7987
  """
7980
- @summary 获取用户版本信息
7988
+ @summary Queries the edition information about Cloud Firewall.
7989
+
7990
+ @description You can call this operation to query the edition information about Cloud Firewall.
7991
+ ## [](#qps-)Limits
7992
+ You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
7981
7993
 
7982
7994
  @param request: DescribeUserBuyVersionRequest
7983
7995
  @param runtime: runtime options for this request RuntimeOptions
@@ -8012,7 +8024,11 @@ class Client(OpenApiClient):
8012
8024
  runtime: util_models.RuntimeOptions,
8013
8025
  ) -> cloudfw_20171207_models.DescribeUserBuyVersionResponse:
8014
8026
  """
8015
- @summary 获取用户版本信息
8027
+ @summary Queries the edition information about Cloud Firewall.
8028
+
8029
+ @description You can call this operation to query the edition information about Cloud Firewall.
8030
+ ## [](#qps-)Limits
8031
+ You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
8016
8032
 
8017
8033
  @param request: DescribeUserBuyVersionRequest
8018
8034
  @param runtime: runtime options for this request RuntimeOptions
@@ -8046,7 +8062,11 @@ class Client(OpenApiClient):
8046
8062
  request: cloudfw_20171207_models.DescribeUserBuyVersionRequest,
8047
8063
  ) -> cloudfw_20171207_models.DescribeUserBuyVersionResponse:
8048
8064
  """
8049
- @summary 获取用户版本信息
8065
+ @summary Queries the edition information about Cloud Firewall.
8066
+
8067
+ @description You can call this operation to query the edition information about Cloud Firewall.
8068
+ ## [](#qps-)Limits
8069
+ You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
8050
8070
 
8051
8071
  @param request: DescribeUserBuyVersionRequest
8052
8072
  @return: DescribeUserBuyVersionResponse
@@ -8059,7 +8079,11 @@ class Client(OpenApiClient):
8059
8079
  request: cloudfw_20171207_models.DescribeUserBuyVersionRequest,
8060
8080
  ) -> cloudfw_20171207_models.DescribeUserBuyVersionResponse:
8061
8081
  """
8062
- @summary 获取用户版本信息
8082
+ @summary Queries the edition information about Cloud Firewall.
8083
+
8084
+ @description You can call this operation to query the edition information about Cloud Firewall.
8085
+ ## [](#qps-)Limits
8086
+ You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
8063
8087
 
8064
8088
  @param request: DescribeUserBuyVersionRequest
8065
8089
  @return: DescribeUserBuyVersionResponse
@@ -1040,6 +1040,7 @@ class CreateDownloadTaskRequest(TeaModel):
1040
1040
  self,
1041
1041
  lang: str = None,
1042
1042
  task_data: str = None,
1043
+ task_type: str = None,
1043
1044
  time_zone: str = None,
1044
1045
  ):
1045
1046
  # The language of the content within the response.
@@ -1051,6 +1052,8 @@ class CreateDownloadTaskRequest(TeaModel):
1051
1052
  self.lang = lang
1052
1053
  # The query condition of the download task.
1053
1054
  self.task_data = task_data
1055
+ # The type of the task. For more information about task types, see the descriptions in the "DescribeDownloadTaskType" topic.
1056
+ self.task_type = task_type
1054
1057
  # The time zone of the time information in the downloaded file. The value must be an identifier of a time zone in the Internet Assigned Numbers Authority (IANA) database. The default value is Asia/Shanghai, which indicates UTC+8.
1055
1058
  self.time_zone = time_zone
1056
1059
 
@@ -1067,6 +1070,8 @@ class CreateDownloadTaskRequest(TeaModel):
1067
1070
  result['Lang'] = self.lang
1068
1071
  if self.task_data is not None:
1069
1072
  result['TaskData'] = self.task_data
1073
+ if self.task_type is not None:
1074
+ result['TaskType'] = self.task_type
1070
1075
  if self.time_zone is not None:
1071
1076
  result['TimeZone'] = self.time_zone
1072
1077
  return result
@@ -1077,6 +1082,8 @@ class CreateDownloadTaskRequest(TeaModel):
1077
1082
  self.lang = m.get('Lang')
1078
1083
  if m.get('TaskData') is not None:
1079
1084
  self.task_data = m.get('TaskData')
1085
+ if m.get('TaskType') is not None:
1086
+ self.task_type = m.get('TaskType')
1080
1087
  if m.get('TimeZone') is not None:
1081
1088
  self.time_zone = m.get('TimeZone')
1082
1089
  return self
@@ -4069,6 +4076,8 @@ class DeleteNatFirewallControlPolicyBatchRequest(TeaModel):
4069
4076
  nat_gateway_id: str = None,
4070
4077
  ):
4071
4078
  # The UUIDs of access control policies.
4079
+ #
4080
+ # This parameter is required.
4072
4081
  self.acl_uuid_list = acl_uuid_list
4073
4082
  # The direction of the traffic to which the access control policy applies. Valid values:
4074
4083
  #
@@ -5047,6 +5056,39 @@ class DescribeAddressBookRequest(TeaModel):
5047
5056
  return self
5048
5057
 
5049
5058
 
5059
+ class DescribeAddressBookResponseBodyAclsAddresses(TeaModel):
5060
+ def __init__(
5061
+ self,
5062
+ address: str = None,
5063
+ note: str = None,
5064
+ ):
5065
+ self.address = address
5066
+ self.note = note
5067
+
5068
+ def validate(self):
5069
+ pass
5070
+
5071
+ def to_map(self):
5072
+ _map = super().to_map()
5073
+ if _map is not None:
5074
+ return _map
5075
+
5076
+ result = dict()
5077
+ if self.address is not None:
5078
+ result['Address'] = self.address
5079
+ if self.note is not None:
5080
+ result['Note'] = self.note
5081
+ return result
5082
+
5083
+ def from_map(self, m: dict = None):
5084
+ m = m or dict()
5085
+ if m.get('Address') is not None:
5086
+ self.address = m.get('Address')
5087
+ if m.get('Note') is not None:
5088
+ self.note = m.get('Note')
5089
+ return self
5090
+
5091
+
5050
5092
  class DescribeAddressBookResponseBodyAclsTagList(TeaModel):
5051
5093
  def __init__(
5052
5094
  self,
@@ -5087,6 +5129,7 @@ class DescribeAddressBookResponseBodyAcls(TeaModel):
5087
5129
  self,
5088
5130
  address_list: List[str] = None,
5089
5131
  address_list_count: int = None,
5132
+ addresses: List[DescribeAddressBookResponseBodyAclsAddresses] = None,
5090
5133
  auto_add_tag_ecs: int = None,
5091
5134
  description: str = None,
5092
5135
  group_name: str = None,
@@ -5100,6 +5143,7 @@ class DescribeAddressBookResponseBodyAcls(TeaModel):
5100
5143
  self.address_list = address_list
5101
5144
  # The number of addresses in the address book.
5102
5145
  self.address_list_count = address_list_count
5146
+ self.addresses = addresses
5103
5147
  # Indicates whether the public IP addresses of ECS instances are automatically added to the address book if the instances match the specified tags. The setting takes effect on both newly purchased ECS instances whose tag settings are complete and ECS instances whose tag settings are modified. Valid values:
5104
5148
  #
5105
5149
  # * **1**: yes
@@ -5131,6 +5175,10 @@ class DescribeAddressBookResponseBodyAcls(TeaModel):
5131
5175
  self.tag_relation = tag_relation
5132
5176
 
5133
5177
  def validate(self):
5178
+ if self.addresses:
5179
+ for k in self.addresses:
5180
+ if k:
5181
+ k.validate()
5134
5182
  if self.tag_list:
5135
5183
  for k in self.tag_list:
5136
5184
  if k:
@@ -5146,6 +5194,10 @@ class DescribeAddressBookResponseBodyAcls(TeaModel):
5146
5194
  result['AddressList'] = self.address_list
5147
5195
  if self.address_list_count is not None:
5148
5196
  result['AddressListCount'] = self.address_list_count
5197
+ result['Addresses'] = []
5198
+ if self.addresses is not None:
5199
+ for k in self.addresses:
5200
+ result['Addresses'].append(k.to_map() if k else None)
5149
5201
  if self.auto_add_tag_ecs is not None:
5150
5202
  result['AutoAddTagEcs'] = self.auto_add_tag_ecs
5151
5203
  if self.description is not None:
@@ -5172,6 +5224,11 @@ class DescribeAddressBookResponseBodyAcls(TeaModel):
5172
5224
  self.address_list = m.get('AddressList')
5173
5225
  if m.get('AddressListCount') is not None:
5174
5226
  self.address_list_count = m.get('AddressListCount')
5227
+ self.addresses = []
5228
+ if m.get('Addresses') is not None:
5229
+ for k in m.get('Addresses'):
5230
+ temp_model = DescribeAddressBookResponseBodyAclsAddresses()
5231
+ self.addresses.append(temp_model.from_map(k))
5175
5232
  if m.get('AutoAddTagEcs') is not None:
5176
5233
  self.auto_add_tag_ecs = m.get('AutoAddTagEcs')
5177
5234
  if m.get('Description') is not None:
@@ -5340,6 +5397,7 @@ class DescribeAssetListRequest(TeaModel):
5340
5397
  # * **discovered in 1 day**: within one day.
5341
5398
  # * **discovered in 7 days**: within seven days.
5342
5399
  self.new_resource_tag = new_resource_tag
5400
+ # Whether to query external traffic information.
5343
5401
  self.out_statistic = out_statistic
5344
5402
  # The number of entries per page. Valid values: 1 to 50.
5345
5403
  #
@@ -5365,6 +5423,7 @@ class DescribeAssetListRequest(TeaModel):
5365
5423
  self.resource_type = resource_type
5366
5424
  # The instance ID or IP address of the asset.
5367
5425
  self.search_item = search_item
5426
+ # Data leakage detection activation status.
5368
5427
  self.sensitive_status = sensitive_status
5369
5428
  # The status of the security group policy. Valid values:
5370
5429
  #
@@ -5515,6 +5574,7 @@ class DescribeAssetListResponseBodyAssets(TeaModel):
5515
5574
  # * **4**: IPv4
5516
5575
  # * **6**: IPv6
5517
5576
  self.ip_version = ip_version
5577
+ # Outbound traffic in the last 7 days.
5518
5578
  self.last_7day_out_traffic_bytes = last_7day_out_traffic_bytes
5519
5579
  # The UID of the member.
5520
5580
  self.member_uid = member_uid
@@ -5569,6 +5629,7 @@ class DescribeAssetListResponseBodyAssets(TeaModel):
5569
5629
  #
5570
5630
  # > The value of this parameter is returned only when the UserType parameter is set to free.
5571
5631
  self.risk_level = risk_level
5632
+ # Data leakage detection enabled status.
5572
5633
  self.sensitive_data_status = sensitive_data_status
5573
5634
  # The status of the security group policy. Valid values:
5574
5635
  #
@@ -5701,7 +5762,7 @@ class DescribeAssetListResponseBody(TeaModel):
5701
5762
  request_id: str = None,
5702
5763
  total_count: int = None,
5703
5764
  ):
5704
- # The details about the assets that are protected by Cloud Firewall.
5765
+ # The assets that are protected by Cloud Firewall.
5705
5766
  self.assets = assets
5706
5767
  # The ID of the request.
5707
5768
  self.request_id = request_id
@@ -6005,7 +6066,12 @@ class DescribeAssetStatisticRequest(TeaModel):
6005
6066
  lang: str = None,
6006
6067
  source_ip: str = None,
6007
6068
  ):
6069
+ # The language of the content within the request. Valid values:
6070
+ #
6071
+ # * **zh** (default): Chinese
6072
+ # * **en**: English
6008
6073
  self.lang = lang
6074
+ # The source IP address of the request.
6009
6075
  self.source_ip = source_ip
6010
6076
 
6011
6077
  def validate(self):
@@ -6037,22 +6103,16 @@ class DescribeAssetStatisticResponseBodyResourceSpecStatistic(TeaModel):
6037
6103
  self,
6038
6104
  ip_num_spec: int = None,
6039
6105
  ip_num_used: int = None,
6040
- is_ip_num_enough: int = None,
6041
- is_region_num_enough: int = None,
6042
- is_suggest_update: int = None,
6043
- region_num_spec: int = None,
6044
- region_num_used: int = None,
6045
6106
  sensitive_data_ip_num_spec: int = None,
6046
6107
  sensitive_data_ip_num_used: int = None,
6047
6108
  ):
6109
+ # The number of public IP addresses that can be protected.
6048
6110
  self.ip_num_spec = ip_num_spec
6111
+ # The number of public IP addresses that are protected.
6049
6112
  self.ip_num_used = ip_num_used
6050
- self.is_ip_num_enough = is_ip_num_enough
6051
- self.is_region_num_enough = is_region_num_enough
6052
- self.is_suggest_update = is_suggest_update
6053
- self.region_num_spec = region_num_spec
6054
- self.region_num_used = region_num_used
6113
+ # The number of public IP addresses that can enable data leakage detection.
6055
6114
  self.sensitive_data_ip_num_spec = sensitive_data_ip_num_spec
6115
+ # The number of public IP addresses that enabled data leakage detection.
6056
6116
  self.sensitive_data_ip_num_used = sensitive_data_ip_num_used
6057
6117
 
6058
6118
  def validate(self):
@@ -6068,16 +6128,6 @@ class DescribeAssetStatisticResponseBodyResourceSpecStatistic(TeaModel):
6068
6128
  result['IpNumSpec'] = self.ip_num_spec
6069
6129
  if self.ip_num_used is not None:
6070
6130
  result['IpNumUsed'] = self.ip_num_used
6071
- if self.is_ip_num_enough is not None:
6072
- result['IsIpNumEnough'] = self.is_ip_num_enough
6073
- if self.is_region_num_enough is not None:
6074
- result['IsRegionNumEnough'] = self.is_region_num_enough
6075
- if self.is_suggest_update is not None:
6076
- result['IsSuggestUpdate'] = self.is_suggest_update
6077
- if self.region_num_spec is not None:
6078
- result['RegionNumSpec'] = self.region_num_spec
6079
- if self.region_num_used is not None:
6080
- result['RegionNumUsed'] = self.region_num_used
6081
6131
  if self.sensitive_data_ip_num_spec is not None:
6082
6132
  result['SensitiveDataIpNumSpec'] = self.sensitive_data_ip_num_spec
6083
6133
  if self.sensitive_data_ip_num_used is not None:
@@ -6090,16 +6140,6 @@ class DescribeAssetStatisticResponseBodyResourceSpecStatistic(TeaModel):
6090
6140
  self.ip_num_spec = m.get('IpNumSpec')
6091
6141
  if m.get('IpNumUsed') is not None:
6092
6142
  self.ip_num_used = m.get('IpNumUsed')
6093
- if m.get('IsIpNumEnough') is not None:
6094
- self.is_ip_num_enough = m.get('IsIpNumEnough')
6095
- if m.get('IsRegionNumEnough') is not None:
6096
- self.is_region_num_enough = m.get('IsRegionNumEnough')
6097
- if m.get('IsSuggestUpdate') is not None:
6098
- self.is_suggest_update = m.get('IsSuggestUpdate')
6099
- if m.get('RegionNumSpec') is not None:
6100
- self.region_num_spec = m.get('RegionNumSpec')
6101
- if m.get('RegionNumUsed') is not None:
6102
- self.region_num_used = m.get('RegionNumUsed')
6103
6143
  if m.get('SensitiveDataIpNumSpec') is not None:
6104
6144
  self.sensitive_data_ip_num_spec = m.get('SensitiveDataIpNumSpec')
6105
6145
  if m.get('SensitiveDataIpNumUsed') is not None:
@@ -6113,7 +6153,9 @@ class DescribeAssetStatisticResponseBody(TeaModel):
6113
6153
  request_id: str = None,
6114
6154
  resource_spec_statistic: DescribeAssetStatisticResponseBodyResourceSpecStatistic = None,
6115
6155
  ):
6156
+ # The request ID.
6116
6157
  self.request_id = request_id
6158
+ # The statistics on specifications.
6117
6159
  self.resource_spec_statistic = resource_spec_statistic
6118
6160
 
6119
6161
  def validate(self):
@@ -8448,7 +8490,9 @@ class DescribeInternetOpenIpResponseBodyDataList(TeaModel):
8448
8490
  self.risk_reason = risk_reason
8449
8491
  # The list of applications.
8450
8492
  self.service_name_list = service_name_list
8493
+ # Number of source IPs.
8451
8494
  self.src_ip_cnt = src_ip_cnt
8495
+ # Outbound traffic in the last 7 days.
8452
8496
  self.total_reply_bytes = total_reply_bytes
8453
8497
  # The percentage of traffic of a day. Unit: percent (%).
8454
8498
  self.traffic_percent_1day = traffic_percent_1day
@@ -10795,13 +10839,13 @@ class DescribeOutgoingDestinationIPRequest(TeaModel):
10795
10839
  self.end_time = end_time
10796
10840
  # The language of the content within the response. Valid values:
10797
10841
  #
10798
- # * **zh** (default): Chinese
10799
- # * **en**: English
10842
+ # * **zh** (default)
10843
+ # * **en**\
10800
10844
  self.lang = lang
10801
- # The method that is used to sort the results. Valid values:
10845
+ # The method that you want to use to sort the query results. Valid values:
10802
10846
  #
10803
- # * **asc**: the ascending order.
10804
- # * **desc** (default): the descending order.
10847
+ # * **asc**\
10848
+ # * **desc** (default)
10805
10849
  self.order = order
10806
10850
  # The number of entries to return on each page.
10807
10851
  #
@@ -11040,9 +11084,9 @@ class DescribeOutgoingDestinationIPResponseBodyDstIPListTagList(TeaModel):
11040
11084
  self.class_id = class_id
11041
11085
  # The risk level. Valid values:
11042
11086
  #
11043
- # * **1**: low
11044
- # * **2**: medium
11045
- # * **3**: high
11087
+ # * **1**: low.
11088
+ # * **2**: medium.
11089
+ # * **3**: high.
11046
11090
  self.risk_level = risk_level
11047
11091
  # The description of the tag.
11048
11092
  self.tag_describe = tag_describe
@@ -11131,7 +11175,10 @@ class DescribeOutgoingDestinationIPResponseBodyDstIPList(TeaModel):
11131
11175
  # The information about the address book.
11132
11176
  self.address_group_list = address_group_list
11133
11177
  # The application ports.
11178
+ #
11179
+ # > Only the first 100 application ports are displayed.
11134
11180
  self.application_port_list = application_port_list
11181
+ # The outbound asset count.
11135
11182
  self.asset_count = asset_count
11136
11183
  # The type of the tag. Valid values:
11137
11184
  #
@@ -11170,9 +11217,11 @@ class DescribeOutgoingDestinationIPResponseBodyDstIPList(TeaModel):
11170
11217
  # * **true**\
11171
11218
  # * **false**\
11172
11219
  self.is_mark_normal = is_mark_normal
11220
+ # Location name.
11173
11221
  self.location_name = location_name
11174
11222
  # The outbound traffic. Unit: bytes.
11175
11223
  self.out_bytes = out_bytes
11224
+ # The outbound private asset count.
11176
11225
  self.private_asset_count = private_asset_count
11177
11226
  # The UUID of the access control policy.
11178
11227
  self.rule_id = rule_id
@@ -11696,7 +11745,9 @@ class DescribeOutgoingDomainResponseBodyDomainList(TeaModel):
11696
11745
  self.address_group_name = address_group_name
11697
11746
  # The UUID of the address book.
11698
11747
  self.address_group_uuid = address_group_uuid
11748
+ # The application names.
11699
11749
  self.application_name_list = application_name_list
11750
+ # The outbound asset count.
11700
11751
  self.asset_count = asset_count
11701
11752
  # The website service.
11702
11753
  self.business = business
@@ -11741,6 +11792,7 @@ class DescribeOutgoingDomainResponseBodyDomainList(TeaModel):
11741
11792
  self.organization = organization
11742
11793
  # The volume of outbound traffic.
11743
11794
  self.out_bytes = out_bytes
11795
+ # The outbound private asset count.
11744
11796
  self.private_asset_count = private_asset_count
11745
11797
  # The ID of the access control policy.
11746
11798
  self.rule_id = rule_id
@@ -11900,7 +11952,7 @@ class DescribeOutgoingDomainResponseBody(TeaModel):
11900
11952
  request_id: str = None,
11901
11953
  total_count: int = None,
11902
11954
  ):
11903
- # An array that consists of the domain names in outbound connections.
11955
+ # The domain names in outbound connections.
11904
11956
  self.domain_list = domain_list
11905
11957
  # The ID of the request.
11906
11958
  self.request_id = request_id
@@ -12285,6 +12337,7 @@ class DescribePostpayTrafficDetailRequest(TeaModel):
12285
12337
  self.order = order
12286
12338
  # The number of entries per page. Default value: 10. Maximum value: 50.
12287
12339
  self.page_size = page_size
12340
+ # The region ID.
12288
12341
  self.region_no = region_no
12289
12342
  # The instance ID or the IP address of the asset.
12290
12343
  self.search_item = search_item
@@ -12375,7 +12428,9 @@ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
12375
12428
  self.instance_type = instance_type
12376
12429
  # The outbound network throughput, which indicates the total number of bytes that are sent. Unit: bytes.
12377
12430
  self.out_bytes = out_bytes
12431
+ # Protection duration. Unit: hours.
12378
12432
  self.protection_duration = protection_duration
12433
+ # The region ID.
12379
12434
  self.region_no = region_no
12380
12435
  # 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.
12381
12436
  self.resource_id = resource_id
@@ -12707,6 +12762,8 @@ class DescribePrefixListsRequest(TeaModel):
12707
12762
  source_ip: str = None,
12708
12763
  ):
12709
12764
  # The region ID of the instance.
12765
+ #
12766
+ # This parameter is required.
12710
12767
  self.region_no = region_no
12711
12768
  # The source IP address of the request.
12712
12769
  self.source_ip = source_ip
@@ -12906,6 +12963,7 @@ class DescribeRiskEventGroupRequest(TeaModel):
12906
12963
  end_time: str = None,
12907
12964
  event_name: str = None,
12908
12965
  firewall_type: str = None,
12966
+ is_only_private_assoc: str = None,
12909
12967
  lang: str = None,
12910
12968
  no_location: str = None,
12911
12969
  order: str = None,
@@ -12976,6 +13034,8 @@ class DescribeRiskEventGroupRequest(TeaModel):
12976
13034
  # * **VpcFirewall**: virtual private cloud (VPC) firewall
12977
13035
  # * **InternetFirewall**: Internet firewall (default)
12978
13036
  self.firewall_type = firewall_type
13037
+ # Whether to query only the data that has completed private network tracing.
13038
+ self.is_only_private_assoc = is_only_private_assoc
12979
13039
  # The language of the content within the request and response. Valid values:
12980
13040
  #
12981
13041
  # * **zh**: Chinese (default)
@@ -13065,6 +13125,8 @@ class DescribeRiskEventGroupRequest(TeaModel):
13065
13125
  result['EventName'] = self.event_name
13066
13126
  if self.firewall_type is not None:
13067
13127
  result['FirewallType'] = self.firewall_type
13128
+ if self.is_only_private_assoc is not None:
13129
+ result['IsOnlyPrivateAssoc'] = self.is_only_private_assoc
13068
13130
  if self.lang is not None:
13069
13131
  result['Lang'] = self.lang
13070
13132
  if self.no_location is not None:
@@ -13113,6 +13175,8 @@ class DescribeRiskEventGroupRequest(TeaModel):
13113
13175
  self.event_name = m.get('EventName')
13114
13176
  if m.get('FirewallType') is not None:
13115
13177
  self.firewall_type = m.get('FirewallType')
13178
+ if m.get('IsOnlyPrivateAssoc') is not None:
13179
+ self.is_only_private_assoc = m.get('IsOnlyPrivateAssoc')
13116
13180
  if m.get('Lang') is not None:
13117
13181
  self.lang = m.get('Lang')
13118
13182
  if m.get('NoLocation') is not None:
@@ -13794,8 +13858,11 @@ class DescribeRiskEventPayloadResponseBody(TeaModel):
13794
13858
  self.dst_port = dst_port
13795
13859
  # The destination VPC ID of the intrusion event.
13796
13860
  self.dst_vpc_id = dst_vpc_id
13861
+ # Type of the hit.
13797
13862
  self.hit_content_type = hit_content_type
13863
+ # The position where the hit ends.
13798
13864
  self.hit_to = hit_to
13865
+ # Hit payload.
13799
13866
  self.parsed_content = parsed_content
13800
13867
  # The attack payload of the intrusion event.
13801
13868
  self.payload = payload
@@ -15064,6 +15131,11 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig(TeaModel):
15064
15131
  # * **1**: yes
15065
15132
  # * **0**: no
15066
15133
  self.enable_all_patch = enable_all_patch
15134
+ # The level of the rule group for the IPS. Valid values:
15135
+ #
15136
+ # * **1**: loose.
15137
+ # * **2**: medium.
15138
+ # * **3**: strict.
15067
15139
  self.rule_class = rule_class
15068
15140
  # The mode of the IPS. Valid values:
15069
15141
  #
@@ -15115,6 +15187,7 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource(TeaMo
15115
15187
  ):
15116
15188
  # The number of protected resources.
15117
15189
  self.count = count
15190
+ # The protected express connect routers.
15118
15191
  self.ecr_list = ecr_list
15119
15192
  # The protected peer transit routers.
15120
15193
  self.peer_tr_list = peer_tr_list
@@ -15177,6 +15250,7 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource(Tea
15177
15250
  ):
15178
15251
  # The number of unprotected resources.
15179
15252
  self.count = count
15253
+ # The unprotected express connect routers.
15180
15254
  self.ecr_list = ecr_list
15181
15255
  # The unprotected peer transit routers.
15182
15256
  self.peer_tr_list = peer_tr_list
@@ -15251,6 +15325,10 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls(TeaModel):
15251
15325
  self.cen_id = cen_id
15252
15326
  # The name of the CEN instance.
15253
15327
  self.cen_name = cen_name
15328
+ # The party responsible for the TR fees generated by the VPC firewall. Values:
15329
+ #
15330
+ # - **PayByCloudFirewall**: Fees are borne by the Cloud Firewall.
15331
+ # - **PayByCenOwner**: Fees are borne by the account to which the CEN instance belongs.
15254
15332
  self.cloud_firewall_vpc_order_type = cloud_firewall_vpc_order_type
15255
15333
  # The instance ID of the VPC firewall.
15256
15334
  self.firewall_id = firewall_id
@@ -15266,7 +15344,7 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls(TeaModel):
15266
15344
  #
15267
15345
  # > If you do not specify this parameter, VPC firewalls in all states are queried.
15268
15346
  self.firewall_switch_status = firewall_switch_status
15269
- # The information about the intrusion prevention system (IPS) configuration.
15347
+ # The intrusion prevention system (IPS) configurations.
15270
15348
  self.ips_config = ips_config
15271
15349
  # The ID of the Alibaba Cloud account to which the VPC belongs.
15272
15350
  self.owner_id = owner_id
@@ -15401,7 +15479,7 @@ class DescribeTrFirewallsV2ListResponseBody(TeaModel):
15401
15479
  self.request_id = request_id
15402
15480
  # The total number of entries returned.
15403
15481
  self.total_count = total_count
15404
- # The VPC firewalls.
15482
+ # The information about the VPC firewalls.
15405
15483
  self.vpc_tr_firewalls = vpc_tr_firewalls
15406
15484
 
15407
15485
  def validate(self):
@@ -15852,6 +15930,7 @@ class DescribeUserBuyVersionRequest(TeaModel):
15852
15930
  self,
15853
15931
  instance_id: str = None,
15854
15932
  ):
15933
+ # Instance ID. If the Instance ID is provided, the query will be based on this ID. If not provided, the latest instance will be queried by default.
15855
15934
  self.instance_id = instance_id
15856
15935
 
15857
15936
  def validate(self):
@@ -15891,18 +15970,67 @@ class DescribeUserBuyVersionResponseBody(TeaModel):
15891
15970
  version: int = None,
15892
15971
  vpc_number: int = None,
15893
15972
  ):
15973
+ # The ID of the Alibaba Cloud account that is used to purchase Cloud Firewall.
15894
15974
  self.ali_uid = ali_uid
15975
+ # The time when Cloud Firewall expires.
15976
+ #
15977
+ # > The value is a timestamp in milliseconds.
15978
+ #
15979
+ # > If you use Cloud Firewall that uses the pay-as-you-go billing method, ignore this parameter.
15895
15980
  self.expire = expire
15981
+ # The instance ID of Cloud Firewall.
15982
+ #
15983
+ # > If you use a trial of Cloud Firewall, ignore this parameter.
15896
15984
  self.instance_id = instance_id
15985
+ # The status of Cloud Firewall. Valid values:
15986
+ #
15987
+ # * **normal**: Cloud Firewall is running as expected.
15988
+ # * **init**: Cloud Firewall is being initialized.
15989
+ # * **deleting**: Cloud Firewall is being deleted.
15990
+ # * **abnormal**: An exception occurs in Cloud Firewall.
15991
+ # * **free**: Cloud Firewall is invalid.
15897
15992
  self.instance_status = instance_status
15993
+ # The number of public IP addresses that can be protected.
15994
+ #
15995
+ # > This parameter takes effect only for Cloud Firewall that uses the subscription billing method.
15898
15996
  self.ip_number = ip_number
15997
+ # Indicates whether log delivery is enabled. Valid values:
15998
+ #
15999
+ # * **true**\
16000
+ # * **false**\
15899
16001
  self.log_status = log_status
16002
+ # The log storage capacity.
16003
+ #
16004
+ # > This parameter takes effect only for Cloud Firewall that uses the subscription billing method.
15900
16005
  self.log_storage = log_storage
16006
+ # The status of the burstable protected traffic feature. Valid values:
16007
+ #
16008
+ # * **1000000**: enabled.
16009
+ # * **0**: disabled.
16010
+ #
16011
+ # > This parameter takes effect only for Cloud Firewall that uses the subscription billing method.
15901
16012
  self.max_overflow = max_overflow
16013
+ # The request ID.
15902
16014
  self.request_id = request_id
16015
+ # The time when Cloud Firewall was activated.
16016
+ #
16017
+ # > The value is a timestamp in milliseconds.
15903
16018
  self.start_time = start_time
16019
+ # Indicates whether Cloud Firewall is valid. Valid values:
16020
+ #
16021
+ # * **true**\
16022
+ # * **false**\
15904
16023
  self.user_status = user_status
16024
+ # The edition of Cloud Firewall. Valid values:
16025
+ #
16026
+ # * **2**: Premium Edition.
16027
+ # * **3**: Enterprise Edition.
16028
+ # * **4**: Ultimate Edition.
16029
+ # * **10**: Cloud Firewall that uses the pay-as-you-go billing method.
15905
16030
  self.version = version
16031
+ # The number of virtual private clouds (VPCs) that can be protected.
16032
+ #
16033
+ # > This parameter takes effect only for Cloud Firewall that uses the subscription billing method.
15906
16034
  self.vpc_number = vpc_number
15907
16035
 
15908
16036
  def validate(self):
@@ -17138,6 +17266,11 @@ class DescribeVpcFirewallCenListResponseBodyVpcFirewallsIpsConfig(TeaModel):
17138
17266
  # * **1**: yes
17139
17267
  # * **0**: no
17140
17268
  self.enable_all_patch = enable_all_patch
17269
+ # The level of the rule group for the IPS. Valid values:
17270
+ #
17271
+ # * **1**: loose.
17272
+ # * **2**: medium.
17273
+ # * **3**: strict.
17141
17274
  self.rule_class = rule_class
17142
17275
  # The mode of the IPS. Valid values:
17143
17276
  #
@@ -17423,7 +17556,7 @@ class DescribeVpcFirewallCenListResponseBodyVpcFirewalls(TeaModel):
17423
17556
  # * **closed**: The VPC firewall is disabled.
17424
17557
  # * **notconfigured**: The VPC firewall is not configured.
17425
17558
  self.firewall_switch_status = firewall_switch_status
17426
- # The information about the intrusion prevention system (IPS) configuration.
17559
+ # The intrusion prevention system (IPS) configurations.
17427
17560
  self.ips_config = ips_config
17428
17561
  # The details about the VPC.
17429
17562
  self.local_vpc = local_vpc
@@ -17533,7 +17666,7 @@ class DescribeVpcFirewallCenListResponseBody(TeaModel):
17533
17666
  self.request_id = request_id
17534
17667
  # The total number of VPC firewalls.
17535
17668
  self.total_count = total_count
17536
- # An array that consists of the details about the VPC firewall.
17669
+ # The information about the VPC firewalls.
17537
17670
  self.vpc_firewalls = vpc_firewalls
17538
17671
 
17539
17672
  def validate(self):
@@ -17641,8 +17774,6 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
17641
17774
  # The unique ID of the access control policy.
17642
17775
  self.acl_uuid = acl_uuid
17643
17776
  # The number of the page to return.
17644
- #
17645
- # This parameter is required.
17646
17777
  self.current_page = current_page
17647
17778
  # The description of the access control policy. Fuzzy match is supported.
17648
17779
  self.description = description
@@ -17662,8 +17793,6 @@ class DescribeVpcFirewallControlPolicyRequest(TeaModel):
17662
17793
  # The number of entries to return on each page.
17663
17794
  #
17664
17795
  # Maximum value: 50.
17665
- #
17666
- # This parameter is required.
17667
17796
  self.page_size = page_size
17668
17797
  # The protocol type in the access control policy. Valid values:
17669
17798
  #
@@ -18256,6 +18385,11 @@ class DescribeVpcFirewallDefaultIPSConfigResponseBody(TeaModel):
18256
18385
  self.enable_all_patch = enable_all_patch
18257
18386
  # The ID of the request.
18258
18387
  self.request_id = request_id
18388
+ # The level of the rule group for the IPS. Valid values:
18389
+ #
18390
+ # * **1**: loose.
18391
+ # * **2**: medium.
18392
+ # * **3**: strict.
18259
18393
  self.rule_class = rule_class
18260
18394
  # The mode of the intrusion prevention system (IPS). Valid values:
18261
18395
  #
@@ -20074,6 +20208,8 @@ class DescribeVpcZoneRequest(TeaModel):
20074
20208
  # The UID of the member in Cloud Firewall.
20075
20209
  self.member_uid = member_uid
20076
20210
  # The region ID.
20211
+ #
20212
+ # This parameter is required.
20077
20213
  self.region_no = region_no
20078
20214
 
20079
20215
  def validate(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-cloudfw20171207
3
- Version: 4.3.0
3
+ Version: 5.0.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
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_cloudfw20171207.
26
26
 
27
- Created on 13/11/2024
27
+ Created on 02/01/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '4.3.0'