tencentcloud-sdk-python-vpc 3.1.15__py2.py3-none-any.whl → 3.1.22__py2.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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.15'
17
+ __version__ = '3.1.22'
@@ -13672,11 +13672,25 @@ class CreatePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
13672
13672
 
13673
13673
  def __init__(self):
13674
13674
  r"""
13675
+ :param _TranslationAclRuleSet: 创建成功的访问控制列表。
13676
+ :type TranslationAclRuleSet: list of TranslationAclRule
13675
13677
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13676
13678
  :type RequestId: str
13677
13679
  """
13680
+ self._TranslationAclRuleSet = None
13678
13681
  self._RequestId = None
13679
13682
 
13683
+ @property
13684
+ def TranslationAclRuleSet(self):
13685
+ r"""创建成功的访问控制列表。
13686
+ :rtype: list of TranslationAclRule
13687
+ """
13688
+ return self._TranslationAclRuleSet
13689
+
13690
+ @TranslationAclRuleSet.setter
13691
+ def TranslationAclRuleSet(self, TranslationAclRuleSet):
13692
+ self._TranslationAclRuleSet = TranslationAclRuleSet
13693
+
13680
13694
  @property
13681
13695
  def RequestId(self):
13682
13696
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -13690,6 +13704,12 @@ class CreatePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
13690
13704
 
13691
13705
 
13692
13706
  def _deserialize(self, params):
13707
+ if params.get("TranslationAclRuleSet") is not None:
13708
+ self._TranslationAclRuleSet = []
13709
+ for item in params.get("TranslationAclRuleSet"):
13710
+ obj = TranslationAclRule()
13711
+ obj._deserialize(item)
13712
+ self._TranslationAclRuleSet.append(obj)
13693
13713
  self._RequestId = params.get("RequestId")
13694
13714
 
13695
13715
 
@@ -32223,6 +32243,8 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32223
32243
  :type Limit: int
32224
32244
  :param _Description: ACL规则描述
32225
32245
  :type Description: str
32246
+ :param _Filters: 过滤条件。<li>AclRuleId - Integer - ACL规则ID。</li>
32247
+ :type Filters: list of Filter
32226
32248
  """
32227
32249
  self._NatGatewayId = None
32228
32250
  self._TranslationDirection = None
@@ -32232,6 +32254,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32232
32254
  self._Offset = None
32233
32255
  self._Limit = None
32234
32256
  self._Description = None
32257
+ self._Filters = None
32235
32258
 
32236
32259
  @property
32237
32260
  def NatGatewayId(self):
@@ -32321,6 +32344,17 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32321
32344
  def Description(self, Description):
32322
32345
  self._Description = Description
32323
32346
 
32347
+ @property
32348
+ def Filters(self):
32349
+ r"""过滤条件。<li>AclRuleId - Integer - ACL规则ID。</li>
32350
+ :rtype: list of Filter
32351
+ """
32352
+ return self._Filters
32353
+
32354
+ @Filters.setter
32355
+ def Filters(self, Filters):
32356
+ self._Filters = Filters
32357
+
32324
32358
 
32325
32359
  def _deserialize(self, params):
32326
32360
  self._NatGatewayId = params.get("NatGatewayId")
@@ -32331,6 +32365,12 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32331
32365
  self._Offset = params.get("Offset")
32332
32366
  self._Limit = params.get("Limit")
32333
32367
  self._Description = params.get("Description")
32368
+ if params.get("Filters") is not None:
32369
+ self._Filters = []
32370
+ for item in params.get("Filters"):
32371
+ obj = Filter()
32372
+ obj._deserialize(item)
32373
+ self._Filters.append(obj)
32334
32374
  memeber_set = set(params.keys())
32335
32375
  for name, value in vars(self).items():
32336
32376
  property_name = name[1:]
@@ -56978,6 +57018,8 @@ class NatGateway(AbstractModel):
56978
57018
  :type RestrictState: str
56979
57019
  :param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
56980
57020
  :type NatProductVersion: int
57021
+ :param _StrictSnatMode: true代表仅允许匹配SNAT规则的内网IP的流量进行转发,false代表所有内网IP发起的流量都进行转发。默认为false。
57022
+ :type StrictSnatMode: bool
56981
57023
  :param _SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能
56982
57024
  :type SmartScheduleMode: bool
56983
57025
  :param _DedicatedClusterId: NAT实例归属的专属集群id
@@ -56988,6 +57030,12 @@ class NatGateway(AbstractModel):
56988
57030
  :type ConnectionStateTimeouts: :class:`tencentcloud.vpc.v20170312.models.ConnectionStateTimeouts`
56989
57031
  :param _ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
56990
57032
  :type ExclusiveType: str
57033
+ :param _AutoScaling: 标准型NAT网关自动扩容
57034
+ :type AutoScaling: bool
57035
+ :param _ICMPProxy: 是否代答公网发给NAT网关上弹性公网IP的ICMP echo请求报文,当前适用于标准型NAT网关
57036
+ :type ICMPProxy: bool
57037
+ :param _PublicAddressAffinity: true代表同一个私网IP访问同一个公网目的IP时,固定使用同一个NAT网关上的弹性公网IP;false代表这种情况下使用的弹性公网IP不固定。默认为true。
57038
+ :type PublicAddressAffinity: bool
56991
57039
  """
56992
57040
  self._NatGatewayId = None
56993
57041
  self._NatGatewayName = None
@@ -57009,11 +57057,15 @@ class NatGateway(AbstractModel):
57009
57057
  self._ExclusiveGatewayBandwidth = None
57010
57058
  self._RestrictState = None
57011
57059
  self._NatProductVersion = None
57060
+ self._StrictSnatMode = None
57012
57061
  self._SmartScheduleMode = None
57013
57062
  self._DedicatedClusterId = None
57014
57063
  self._DeletionProtectionEnabled = None
57015
57064
  self._ConnectionStateTimeouts = None
57016
57065
  self._ExclusiveType = None
57066
+ self._AutoScaling = None
57067
+ self._ICMPProxy = None
57068
+ self._PublicAddressAffinity = None
57017
57069
 
57018
57070
  @property
57019
57071
  def NatGatewayId(self):
@@ -57237,6 +57289,17 @@ class NatGateway(AbstractModel):
57237
57289
  def NatProductVersion(self, NatProductVersion):
57238
57290
  self._NatProductVersion = NatProductVersion
57239
57291
 
57292
+ @property
57293
+ def StrictSnatMode(self):
57294
+ r"""true代表仅允许匹配SNAT规则的内网IP的流量进行转发,false代表所有内网IP发起的流量都进行转发。默认为false。
57295
+ :rtype: bool
57296
+ """
57297
+ return self._StrictSnatMode
57298
+
57299
+ @StrictSnatMode.setter
57300
+ def StrictSnatMode(self, StrictSnatMode):
57301
+ self._StrictSnatMode = StrictSnatMode
57302
+
57240
57303
  @property
57241
57304
  def SmartScheduleMode(self):
57242
57305
  r"""是否启用根据目的网段选择SNAT使用的EIP功能
@@ -57292,6 +57355,39 @@ class NatGateway(AbstractModel):
57292
57355
  def ExclusiveType(self, ExclusiveType):
57293
57356
  self._ExclusiveType = ExclusiveType
57294
57357
 
57358
+ @property
57359
+ def AutoScaling(self):
57360
+ r"""标准型NAT网关自动扩容
57361
+ :rtype: bool
57362
+ """
57363
+ return self._AutoScaling
57364
+
57365
+ @AutoScaling.setter
57366
+ def AutoScaling(self, AutoScaling):
57367
+ self._AutoScaling = AutoScaling
57368
+
57369
+ @property
57370
+ def ICMPProxy(self):
57371
+ r"""是否代答公网发给NAT网关上弹性公网IP的ICMP echo请求报文,当前适用于标准型NAT网关
57372
+ :rtype: bool
57373
+ """
57374
+ return self._ICMPProxy
57375
+
57376
+ @ICMPProxy.setter
57377
+ def ICMPProxy(self, ICMPProxy):
57378
+ self._ICMPProxy = ICMPProxy
57379
+
57380
+ @property
57381
+ def PublicAddressAffinity(self):
57382
+ r"""true代表同一个私网IP访问同一个公网目的IP时,固定使用同一个NAT网关上的弹性公网IP;false代表这种情况下使用的弹性公网IP不固定。默认为true。
57383
+ :rtype: bool
57384
+ """
57385
+ return self._PublicAddressAffinity
57386
+
57387
+ @PublicAddressAffinity.setter
57388
+ def PublicAddressAffinity(self, PublicAddressAffinity):
57389
+ self._PublicAddressAffinity = PublicAddressAffinity
57390
+
57295
57391
 
57296
57392
  def _deserialize(self, params):
57297
57393
  self._NatGatewayId = params.get("NatGatewayId")
@@ -57334,6 +57430,7 @@ class NatGateway(AbstractModel):
57334
57430
  self._ExclusiveGatewayBandwidth = params.get("ExclusiveGatewayBandwidth")
57335
57431
  self._RestrictState = params.get("RestrictState")
57336
57432
  self._NatProductVersion = params.get("NatProductVersion")
57433
+ self._StrictSnatMode = params.get("StrictSnatMode")
57337
57434
  self._SmartScheduleMode = params.get("SmartScheduleMode")
57338
57435
  self._DedicatedClusterId = params.get("DedicatedClusterId")
57339
57436
  self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
@@ -57341,6 +57438,9 @@ class NatGateway(AbstractModel):
57341
57438
  self._ConnectionStateTimeouts = ConnectionStateTimeouts()
57342
57439
  self._ConnectionStateTimeouts._deserialize(params.get("ConnectionStateTimeouts"))
57343
57440
  self._ExclusiveType = params.get("ExclusiveType")
57441
+ self._AutoScaling = params.get("AutoScaling")
57442
+ self._ICMPProxy = params.get("ICMPProxy")
57443
+ self._PublicAddressAffinity = params.get("PublicAddressAffinity")
57344
57444
  memeber_set = set(params.keys())
57345
57445
  for name, value in vars(self).items():
57346
57446
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.1.15
3
+ Version: 3.1.22
4
4
  Summary: Tencent Cloud Vpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.15
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.22
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=JuMsQkc9Aytx9jig2NEn0vw6wd4IjT_uL9_Se91Cm4Y,629
1
+ tencentcloud/__init__.py,sha256=pw07ndRHWH3j1LSG3ZuxHXcxJHfSD8oIahBotExrcNA,629
2
2
  tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/vpc/v20170312/errorcodes.py,sha256=l66F-rgF4wCMRzUXSvZR66OjGV9u6yp_JGodyN7YaIg,65865
5
- tencentcloud/vpc/v20170312/models.py,sha256=iE7IvaffiL-apeCjKPGRHiob1pqtWIS7vv5JmcFCdTU,2464523
5
+ tencentcloud/vpc/v20170312/models.py,sha256=Fc5srTLoM0o5S5QuGxTT6uD3Iz2UdLzmZFwvyWy4sf0,2468607
6
6
  tencentcloud/vpc/v20170312/vpc_client.py,sha256=8fGIJxTI4aFd67LRjb8JBdDc9Oirz5aj1Vw88nu_qqU,468664
7
7
  tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=i-0dbwatRJMkJwngJ4fO8BEzcPbSEAfTkiuLcbCofZY,335869
8
- tencentcloud_sdk_python_vpc-3.1.15.dist-info/METADATA,sha256=inDsoLiBQlsJCfy9wnQMB6JgPpfDwzcjPOlIsIyJmBY,1495
9
- tencentcloud_sdk_python_vpc-3.1.15.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
- tencentcloud_sdk_python_vpc-3.1.15.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_vpc-3.1.15.dist-info/RECORD,,
8
+ tencentcloud_sdk_python_vpc-3.1.22.dist-info/METADATA,sha256=qa-yc_Fuf9IN6Od16tHI_jMdRbpCgRKPz1TcjAjLwro,1495
9
+ tencentcloud_sdk_python_vpc-3.1.22.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
+ tencentcloud_sdk_python_vpc-3.1.22.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_vpc-3.1.22.dist-info/RECORD,,