alibabacloud-cloudfw20171207 3.6.0__tar.gz → 3.6.2__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-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/ChangeLog.md +10 -0
  2. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/PKG-INFO +1 -1
  3. alibabacloud_cloudfw20171207-3.6.2/alibabacloud_cloudfw20171207/__init__.py +1 -0
  4. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/alibabacloud_cloudfw20171207/client.py +8 -8
  5. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/alibabacloud_cloudfw20171207/models.py +75 -4
  6. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/alibabacloud_cloudfw20171207.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/setup.py +1 -1
  8. alibabacloud_cloudfw20171207-3.6.0/alibabacloud_cloudfw20171207/__init__.py +0 -1
  9. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/LICENSE +0 -0
  10. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/MANIFEST.in +0 -0
  11. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/README-CN.md +0 -0
  12. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/README.md +0 -0
  13. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/alibabacloud_cloudfw20171207.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/alibabacloud_cloudfw20171207.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/alibabacloud_cloudfw20171207.egg-info/requires.txt +0 -0
  16. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/alibabacloud_cloudfw20171207.egg-info/top_level.txt +0 -0
  17. {alibabacloud_cloudfw20171207-3.6.0 → alibabacloud_cloudfw20171207-3.6.2}/setup.cfg +0 -0
@@ -1,3 +1,13 @@
1
+ 2024-05-16 Version: 3.6.1
2
+ - Update API DescribeInternetTrafficTrend: update response param.
3
+
4
+
5
+ 2024-05-15 Version: 3.6.0
6
+ - Support API DeleteSecurityProxy.
7
+ - Support API DescribeNatFirewallList.
8
+ - Support API SwitchSecurityProxy.
9
+
10
+
1
11
  2024-04-23 Version: 3.5.0
2
12
  - Support API CreateSecurityProxy.
3
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_cloudfw20171207
3
- Version: 3.6.0
3
+ Version: 3.6.2
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__ = '3.6.2'
@@ -12016,8 +12016,8 @@ class Client(OpenApiClient):
12016
12016
  @summary Turns off all firewall switches.
12017
12017
 
12018
12018
  @description You can call the PutDisableAllFwSwitch operation to turn off all firewall switches.
12019
- ## Limits
12020
- You can call this operation up to 10 times per second per account. If the number of the 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.
12019
+ ## [](#qps-)QPS limits
12020
+ 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.
12021
12021
 
12022
12022
  @param request: PutDisableAllFwSwitchRequest
12023
12023
  @param runtime: runtime options for this request RuntimeOptions
@@ -12059,8 +12059,8 @@ class Client(OpenApiClient):
12059
12059
  @summary Turns off all firewall switches.
12060
12060
 
12061
12061
  @description You can call the PutDisableAllFwSwitch operation to turn off all firewall switches.
12062
- ## Limits
12063
- You can call this operation up to 10 times per second per account. If the number of the 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.
12062
+ ## [](#qps-)QPS limits
12063
+ 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.
12064
12064
 
12065
12065
  @param request: PutDisableAllFwSwitchRequest
12066
12066
  @param runtime: runtime options for this request RuntimeOptions
@@ -12101,8 +12101,8 @@ class Client(OpenApiClient):
12101
12101
  @summary Turns off all firewall switches.
12102
12102
 
12103
12103
  @description You can call the PutDisableAllFwSwitch operation to turn off all firewall switches.
12104
- ## Limits
12105
- You can call this operation up to 10 times per second per account. If the number of the 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.
12104
+ ## [](#qps-)QPS limits
12105
+ 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.
12106
12106
 
12107
12107
  @param request: PutDisableAllFwSwitchRequest
12108
12108
  @return: PutDisableAllFwSwitchResponse
@@ -12118,8 +12118,8 @@ class Client(OpenApiClient):
12118
12118
  @summary Turns off all firewall switches.
12119
12119
 
12120
12120
  @description You can call the PutDisableAllFwSwitch operation to turn off all firewall switches.
12121
- ## Limits
12122
- You can call this operation up to 10 times per second per account. If the number of the 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.
12121
+ ## [](#qps-)QPS limits
12122
+ 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.
12123
12123
 
12124
12124
  @param request: PutDisableAllFwSwitchRequest
12125
12125
  @return: PutDisableAllFwSwitchResponse
@@ -8426,12 +8426,14 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8426
8426
  avg_total_bps: int = None,
8427
8427
  data_list: List[DescribeInternetTrafficTrendResponseBodyDataList] = None,
8428
8428
  max_bandwidth_time: int = None,
8429
+ max_day_exceed_bytes: int = None,
8429
8430
  max_in_bps: int = None,
8430
8431
  max_out_bps: int = None,
8431
8432
  max_session: int = None,
8432
8433
  max_total_bps: int = None,
8433
8434
  request_id: str = None,
8434
8435
  total_bytes: int = None,
8436
+ total_exceed_bytes: int = None,
8435
8437
  total_in_bytes: int = None,
8436
8438
  total_out_bytes: int = None,
8437
8439
  total_session: int = None,
@@ -8448,6 +8450,7 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8448
8450
  self.data_list = data_list
8449
8451
  # The timestamp generated when the bandwidth reaches the peak value. The value is a UNIX timestamp. Unit: seconds.
8450
8452
  self.max_bandwidth_time = max_bandwidth_time
8453
+ self.max_day_exceed_bytes = max_day_exceed_bytes
8451
8454
  # The maximum inbound network throughput, which indicates the maximum number of bits that are sent inbound per second. Unit: bit/s.
8452
8455
  self.max_in_bps = max_in_bps
8453
8456
  # The maximum outbound network throughput, which indicates the maximum number of bits that are sent outbound per second. Unit: bit/s.
@@ -8460,6 +8463,7 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8460
8463
  self.request_id = request_id
8461
8464
  # The total inbound and outbound network throughput, which indicates the total number of bytes that are sent inbound and outbound. Unit: bytes.
8462
8465
  self.total_bytes = total_bytes
8466
+ self.total_exceed_bytes = total_exceed_bytes
8463
8467
  # The inbound network throughput, which indicates the total number of bytes that are sent inbound. Unit: bytes.
8464
8468
  self.total_in_bytes = total_in_bytes
8465
8469
  # The outbound network throughput, which indicates the total number of bytes that are sent outbound. Unit: bytes.
@@ -8493,6 +8497,8 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8493
8497
  result['DataList'].append(k.to_map() if k else None)
8494
8498
  if self.max_bandwidth_time is not None:
8495
8499
  result['MaxBandwidthTime'] = self.max_bandwidth_time
8500
+ if self.max_day_exceed_bytes is not None:
8501
+ result['MaxDayExceedBytes'] = self.max_day_exceed_bytes
8496
8502
  if self.max_in_bps is not None:
8497
8503
  result['MaxInBps'] = self.max_in_bps
8498
8504
  if self.max_out_bps is not None:
@@ -8505,6 +8511,8 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8505
8511
  result['RequestId'] = self.request_id
8506
8512
  if self.total_bytes is not None:
8507
8513
  result['TotalBytes'] = self.total_bytes
8514
+ if self.total_exceed_bytes is not None:
8515
+ result['TotalExceedBytes'] = self.total_exceed_bytes
8508
8516
  if self.total_in_bytes is not None:
8509
8517
  result['TotalInBytes'] = self.total_in_bytes
8510
8518
  if self.total_out_bytes is not None:
@@ -8530,6 +8538,8 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8530
8538
  self.data_list.append(temp_model.from_map(k))
8531
8539
  if m.get('MaxBandwidthTime') is not None:
8532
8540
  self.max_bandwidth_time = m.get('MaxBandwidthTime')
8541
+ if m.get('MaxDayExceedBytes') is not None:
8542
+ self.max_day_exceed_bytes = m.get('MaxDayExceedBytes')
8533
8543
  if m.get('MaxInBps') is not None:
8534
8544
  self.max_in_bps = m.get('MaxInBps')
8535
8545
  if m.get('MaxOutBps') is not None:
@@ -8542,6 +8552,8 @@ class DescribeInternetTrafficTrendResponseBody(TeaModel):
8542
8552
  self.request_id = m.get('RequestId')
8543
8553
  if m.get('TotalBytes') is not None:
8544
8554
  self.total_bytes = m.get('TotalBytes')
8555
+ if m.get('TotalExceedBytes') is not None:
8556
+ self.total_exceed_bytes = m.get('TotalExceedBytes')
8545
8557
  if m.get('TotalInBytes') is not None:
8546
8558
  self.total_in_bytes = m.get('TotalInBytes')
8547
8559
  if m.get('TotalOutBytes') is not None:
@@ -9245,7 +9257,7 @@ class DescribeNatFirewallControlPolicyRequest(TeaModel):
9245
9257
  # The recurrence type for the access control policy to take effect. Valid values:
9246
9258
  #
9247
9259
  # * **Permanent** (default): The policy always takes effect.
9248
- # * **None**: The policy takes effect for only once.
9260
+ # * **None**: The policy takes effect only once.
9249
9261
  # * **Daily**: The policy takes effect on a daily basis.
9250
9262
  # * **Weekly**: The policy takes effect on a weekly basis.
9251
9263
  # * **Monthly**: The policy takes effect on a monthly basis.
@@ -9823,6 +9835,51 @@ class DescribeNatFirewallListRequest(TeaModel):
9823
9835
  return self
9824
9836
 
9825
9837
 
9838
+ class DescribeNatFirewallListResponseBodyNatFirewallListNatRouteEntryList(TeaModel):
9839
+ def __init__(
9840
+ self,
9841
+ destination_cidr: str = None,
9842
+ next_hop_id: str = None,
9843
+ next_hop_type: str = None,
9844
+ route_table_id: str = None,
9845
+ ):
9846
+ self.destination_cidr = destination_cidr
9847
+ self.next_hop_id = next_hop_id
9848
+ self.next_hop_type = next_hop_type
9849
+ self.route_table_id = route_table_id
9850
+
9851
+ def validate(self):
9852
+ pass
9853
+
9854
+ def to_map(self):
9855
+ _map = super().to_map()
9856
+ if _map is not None:
9857
+ return _map
9858
+
9859
+ result = dict()
9860
+ if self.destination_cidr is not None:
9861
+ result['DestinationCidr'] = self.destination_cidr
9862
+ if self.next_hop_id is not None:
9863
+ result['NextHopId'] = self.next_hop_id
9864
+ if self.next_hop_type is not None:
9865
+ result['NextHopType'] = self.next_hop_type
9866
+ if self.route_table_id is not None:
9867
+ result['RouteTableId'] = self.route_table_id
9868
+ return result
9869
+
9870
+ def from_map(self, m: dict = None):
9871
+ m = m or dict()
9872
+ if m.get('DestinationCidr') is not None:
9873
+ self.destination_cidr = m.get('DestinationCidr')
9874
+ if m.get('NextHopId') is not None:
9875
+ self.next_hop_id = m.get('NextHopId')
9876
+ if m.get('NextHopType') is not None:
9877
+ self.next_hop_type = m.get('NextHopType')
9878
+ if m.get('RouteTableId') is not None:
9879
+ self.route_table_id = m.get('RouteTableId')
9880
+ return self
9881
+
9882
+
9826
9883
  class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9827
9884
  def __init__(
9828
9885
  self,
@@ -9831,6 +9888,7 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9831
9888
  member_uid: int = None,
9832
9889
  nat_gateway_id: str = None,
9833
9890
  nat_gateway_name: str = None,
9891
+ nat_route_entry_list: List[DescribeNatFirewallListResponseBodyNatFirewallListNatRouteEntryList] = None,
9834
9892
  proxy_id: str = None,
9835
9893
  proxy_name: str = None,
9836
9894
  proxy_status: str = None,
@@ -9844,6 +9902,7 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9844
9902
  self.member_uid = member_uid
9845
9903
  self.nat_gateway_id = nat_gateway_id
9846
9904
  self.nat_gateway_name = nat_gateway_name
9905
+ self.nat_route_entry_list = nat_route_entry_list
9847
9906
  self.proxy_id = proxy_id
9848
9907
  self.proxy_name = proxy_name
9849
9908
  self.proxy_status = proxy_status
@@ -9853,7 +9912,10 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9853
9912
  self.vpc_name = vpc_name
9854
9913
 
9855
9914
  def validate(self):
9856
- pass
9915
+ if self.nat_route_entry_list:
9916
+ for k in self.nat_route_entry_list:
9917
+ if k:
9918
+ k.validate()
9857
9919
 
9858
9920
  def to_map(self):
9859
9921
  _map = super().to_map()
@@ -9871,6 +9933,10 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9871
9933
  result['NatGatewayId'] = self.nat_gateway_id
9872
9934
  if self.nat_gateway_name is not None:
9873
9935
  result['NatGatewayName'] = self.nat_gateway_name
9936
+ result['NatRouteEntryList'] = []
9937
+ if self.nat_route_entry_list is not None:
9938
+ for k in self.nat_route_entry_list:
9939
+ result['NatRouteEntryList'].append(k.to_map() if k else None)
9874
9940
  if self.proxy_id is not None:
9875
9941
  result['ProxyId'] = self.proxy_id
9876
9942
  if self.proxy_name is not None:
@@ -9899,6 +9965,11 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9899
9965
  self.nat_gateway_id = m.get('NatGatewayId')
9900
9966
  if m.get('NatGatewayName') is not None:
9901
9967
  self.nat_gateway_name = m.get('NatGatewayName')
9968
+ self.nat_route_entry_list = []
9969
+ if m.get('NatRouteEntryList') is not None:
9970
+ for k in m.get('NatRouteEntryList'):
9971
+ temp_model = DescribeNatFirewallListResponseBodyNatFirewallListNatRouteEntryList()
9972
+ self.nat_route_entry_list.append(temp_model.from_map(k))
9902
9973
  if m.get('ProxyId') is not None:
9903
9974
  self.proxy_id = m.get('ProxyId')
9904
9975
  if m.get('ProxyName') is not None:
@@ -23514,9 +23585,9 @@ class PutDisableAllFwSwitchRequest(TeaModel):
23514
23585
  ):
23515
23586
  # The instance ID of your Cloud Firewall.
23516
23587
  self.instance_id = instance_id
23517
- # The natural language of the request and response. Valid values:
23588
+ # The language of the content within the request and response. Valid values: Valid values:
23518
23589
  #
23519
- # * **zh**: Chinese (default)
23590
+ # * **zh** (default): Chinese
23520
23591
  # * **en**: English
23521
23592
  self.lang = lang
23522
23593
  # The source IP address of the request.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-cloudfw20171207
3
- Version: 3.6.0
3
+ Version: 3.6.2
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 15/05/2024
27
+ Created on 27/05/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '3.6.0'