alibabacloud-cloudfw20171207 3.6.1__py3-none-any.whl → 3.6.2__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.6.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
@@ -9257,7 +9257,7 @@ class DescribeNatFirewallControlPolicyRequest(TeaModel):
9257
9257
  # The recurrence type for the access control policy to take effect. Valid values:
9258
9258
  #
9259
9259
  # * **Permanent** (default): The policy always takes effect.
9260
- # * **None**: The policy takes effect for only once.
9260
+ # * **None**: The policy takes effect only once.
9261
9261
  # * **Daily**: The policy takes effect on a daily basis.
9262
9262
  # * **Weekly**: The policy takes effect on a weekly basis.
9263
9263
  # * **Monthly**: The policy takes effect on a monthly basis.
@@ -9835,6 +9835,51 @@ class DescribeNatFirewallListRequest(TeaModel):
9835
9835
  return self
9836
9836
 
9837
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
+
9838
9883
  class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9839
9884
  def __init__(
9840
9885
  self,
@@ -9843,6 +9888,7 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9843
9888
  member_uid: int = None,
9844
9889
  nat_gateway_id: str = None,
9845
9890
  nat_gateway_name: str = None,
9891
+ nat_route_entry_list: List[DescribeNatFirewallListResponseBodyNatFirewallListNatRouteEntryList] = None,
9846
9892
  proxy_id: str = None,
9847
9893
  proxy_name: str = None,
9848
9894
  proxy_status: str = None,
@@ -9856,6 +9902,7 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9856
9902
  self.member_uid = member_uid
9857
9903
  self.nat_gateway_id = nat_gateway_id
9858
9904
  self.nat_gateway_name = nat_gateway_name
9905
+ self.nat_route_entry_list = nat_route_entry_list
9859
9906
  self.proxy_id = proxy_id
9860
9907
  self.proxy_name = proxy_name
9861
9908
  self.proxy_status = proxy_status
@@ -9865,7 +9912,10 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9865
9912
  self.vpc_name = vpc_name
9866
9913
 
9867
9914
  def validate(self):
9868
- pass
9915
+ if self.nat_route_entry_list:
9916
+ for k in self.nat_route_entry_list:
9917
+ if k:
9918
+ k.validate()
9869
9919
 
9870
9920
  def to_map(self):
9871
9921
  _map = super().to_map()
@@ -9883,6 +9933,10 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9883
9933
  result['NatGatewayId'] = self.nat_gateway_id
9884
9934
  if self.nat_gateway_name is not None:
9885
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)
9886
9940
  if self.proxy_id is not None:
9887
9941
  result['ProxyId'] = self.proxy_id
9888
9942
  if self.proxy_name is not None:
@@ -9911,6 +9965,11 @@ class DescribeNatFirewallListResponseBodyNatFirewallList(TeaModel):
9911
9965
  self.nat_gateway_id = m.get('NatGatewayId')
9912
9966
  if m.get('NatGatewayName') is not None:
9913
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))
9914
9973
  if m.get('ProxyId') is not None:
9915
9974
  self.proxy_id = m.get('ProxyId')
9916
9975
  if m.get('ProxyName') is not None:
@@ -23526,9 +23585,9 @@ class PutDisableAllFwSwitchRequest(TeaModel):
23526
23585
  ):
23527
23586
  # The instance ID of your Cloud Firewall.
23528
23587
  self.instance_id = instance_id
23529
- # 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:
23530
23589
  #
23531
- # * **zh**: Chinese (default)
23590
+ # * **zh** (default): Chinese
23532
23591
  # * **en**: English
23533
23592
  self.lang = lang
23534
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.1
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,8 @@
1
+ alibabacloud_cloudfw20171207/__init__.py,sha256=IhD4URPJ6s9fUTl2zlq1MUiKQNuXgrPmB4wz0JWGNJc,21
2
+ alibabacloud_cloudfw20171207/client.py,sha256=UjyTesOH8EuVabr_CsPy1HGT5Bk02GqeMw-0GCLWnro,639400
3
+ alibabacloud_cloudfw20171207/models.py,sha256=Dpd-ISlNXRZU2BDr03_jVXki0Fir8Lef_wf4nvhyz3A,903575
4
+ alibabacloud_cloudfw20171207-3.6.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_cloudfw20171207-3.6.2.dist-info/METADATA,sha256=Dx9SREBEJgshHJnFc-68ayUq1akzrKiG_sIS-FEjyWc,2311
6
+ alibabacloud_cloudfw20171207-3.6.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
+ alibabacloud_cloudfw20171207-3.6.2.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
8
+ alibabacloud_cloudfw20171207-3.6.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_cloudfw20171207/__init__.py,sha256=CGUqV5pzZ4wa7kgIbgMiWDukAgqRxQcGgu98uxlMLTU,21
2
- alibabacloud_cloudfw20171207/client.py,sha256=Q1vuKLAT0xH8Ld10UsobQ21X-iqVQMz14Xzgd0qAnt0,639364
3
- alibabacloud_cloudfw20171207/models.py,sha256=2egXL9SEcXE3uWjHahApaq-Z3q4FPFIB1xGdrFwe44M,901204
4
- alibabacloud_cloudfw20171207-3.6.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_cloudfw20171207-3.6.1.dist-info/METADATA,sha256=hUE8YJliiczodaKznkwyPeICV5Rsbd2bGogL8Ezyfhs,2311
6
- alibabacloud_cloudfw20171207-3.6.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- alibabacloud_cloudfw20171207-3.6.1.dist-info/top_level.txt,sha256=rry_3PsvxYDan1V9ajGHg5R6j3f8NFiQdy-iZOzl8F4,29
8
- alibabacloud_cloudfw20171207-3.6.1.dist-info/RECORD,,