tencentcloud-sdk-python-vpc 3.1.13__py2.py3-none-any.whl → 3.1.27__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.13'
17
+ __version__ = '3.1.27'
@@ -881,6 +881,12 @@ UNSUPPORTEDOPERATION_CCNHASFLOWLOG = 'UnsupportedOperation.CcnHasFlowLog'
881
881
  # CCN实例所属账号未通过联通审批。
882
882
  UNSUPPORTEDOPERATION_CCNINSTANCEACCOUNTNOTAPPROVEDBYUNICOM = 'UnsupportedOperation.CcnInstanceAccountNotApprovedByUnicom'
883
883
 
884
+ # 云联网关联实例绑定了策略路由下一跳,不允许解关联,需要先解绑策略路由下一跳
885
+ UNSUPPORTEDOPERATION_CCNINSTANCEHASBOUNDPOLICYROUTENEXTHOPNOTALLOWEDDETACH = 'UnsupportedOperation.CcnInstanceHasBoundPolicyRouteNextHopNotAllowedDetach'
886
+
887
+ # 云联网关联实例绑定了策略路由规则,不允许解关联,需要先解绑策略路由规则
888
+ UNSUPPORTEDOPERATION_CCNINSTANCEHASBOUNDPOLICYROUTERULENOTALLOWEDDETACH = 'UnsupportedOperation.CcnInstanceHasBoundPolicyRouteRuleNotAllowedDetach'
889
+
884
890
  # 云联网开启ipv6不支持创建多路由表
885
891
  UNSUPPORTEDOPERATION_CCNIPV6NOTSUPPORTMULTIPLEROUTETABLE = 'UnsupportedOperation.CcnIpv6NotSupportMultipleRouteTable'
886
892
 
@@ -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:]
@@ -44706,15 +44746,18 @@ class GatewayQos(AbstractModel):
44706
44746
  :type VpcId: str
44707
44747
  :param _IpAddress: 云服务器内网IP。
44708
44748
  :type IpAddress: str
44709
- :param _Bandwidth: 流控带宽值。
44749
+ :param _Bandwidth: 网关流控出方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
44710
44750
  :type Bandwidth: int
44711
44751
  :param _CreateTime: 创建时间。
44712
44752
  :type CreateTime: str
44753
+ :param _InBandwidth: 网关流控入方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
44754
+ :type InBandwidth: int
44713
44755
  """
44714
44756
  self._VpcId = None
44715
44757
  self._IpAddress = None
44716
44758
  self._Bandwidth = None
44717
44759
  self._CreateTime = None
44760
+ self._InBandwidth = None
44718
44761
 
44719
44762
  @property
44720
44763
  def VpcId(self):
@@ -44740,7 +44783,7 @@ class GatewayQos(AbstractModel):
44740
44783
 
44741
44784
  @property
44742
44785
  def Bandwidth(self):
44743
- r"""流控带宽值。
44786
+ r"""网关流控出方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
44744
44787
  :rtype: int
44745
44788
  """
44746
44789
  return self._Bandwidth
@@ -44760,12 +44803,24 @@ class GatewayQos(AbstractModel):
44760
44803
  def CreateTime(self, CreateTime):
44761
44804
  self._CreateTime = CreateTime
44762
44805
 
44806
+ @property
44807
+ def InBandwidth(self):
44808
+ r"""网关流控入方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
44809
+ :rtype: int
44810
+ """
44811
+ return self._InBandwidth
44812
+
44813
+ @InBandwidth.setter
44814
+ def InBandwidth(self, InBandwidth):
44815
+ self._InBandwidth = InBandwidth
44816
+
44763
44817
 
44764
44818
  def _deserialize(self, params):
44765
44819
  self._VpcId = params.get("VpcId")
44766
44820
  self._IpAddress = params.get("IpAddress")
44767
44821
  self._Bandwidth = params.get("Bandwidth")
44768
44822
  self._CreateTime = params.get("CreateTime")
44823
+ self._InBandwidth = params.get("InBandwidth")
44769
44824
  memeber_set = set(params.keys())
44770
44825
  for name, value in vars(self).items():
44771
44826
  property_name = name[1:]
@@ -56978,6 +57033,8 @@ class NatGateway(AbstractModel):
56978
57033
  :type RestrictState: str
56979
57034
  :param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
56980
57035
  :type NatProductVersion: int
57036
+ :param _StrictSnatMode: true代表仅允许匹配SNAT规则的内网IP的流量进行转发,false代表所有内网IP发起的流量都进行转发。默认为false。
57037
+ :type StrictSnatMode: bool
56981
57038
  :param _SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能
56982
57039
  :type SmartScheduleMode: bool
56983
57040
  :param _DedicatedClusterId: NAT实例归属的专属集群id
@@ -56988,6 +57045,12 @@ class NatGateway(AbstractModel):
56988
57045
  :type ConnectionStateTimeouts: :class:`tencentcloud.vpc.v20170312.models.ConnectionStateTimeouts`
56989
57046
  :param _ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
56990
57047
  :type ExclusiveType: str
57048
+ :param _AutoScaling: 标准型NAT网关自动扩容
57049
+ :type AutoScaling: bool
57050
+ :param _ICMPProxy: 是否代答公网发给NAT网关上弹性公网IP的ICMP echo请求报文,当前适用于标准型NAT网关
57051
+ :type ICMPProxy: bool
57052
+ :param _PublicAddressAffinity: true代表同一个私网IP访问同一个公网目的IP时,固定使用同一个NAT网关上的弹性公网IP;false代表这种情况下使用的弹性公网IP不固定。默认为true。
57053
+ :type PublicAddressAffinity: bool
56991
57054
  """
56992
57055
  self._NatGatewayId = None
56993
57056
  self._NatGatewayName = None
@@ -57009,11 +57072,15 @@ class NatGateway(AbstractModel):
57009
57072
  self._ExclusiveGatewayBandwidth = None
57010
57073
  self._RestrictState = None
57011
57074
  self._NatProductVersion = None
57075
+ self._StrictSnatMode = None
57012
57076
  self._SmartScheduleMode = None
57013
57077
  self._DedicatedClusterId = None
57014
57078
  self._DeletionProtectionEnabled = None
57015
57079
  self._ConnectionStateTimeouts = None
57016
57080
  self._ExclusiveType = None
57081
+ self._AutoScaling = None
57082
+ self._ICMPProxy = None
57083
+ self._PublicAddressAffinity = None
57017
57084
 
57018
57085
  @property
57019
57086
  def NatGatewayId(self):
@@ -57237,6 +57304,17 @@ class NatGateway(AbstractModel):
57237
57304
  def NatProductVersion(self, NatProductVersion):
57238
57305
  self._NatProductVersion = NatProductVersion
57239
57306
 
57307
+ @property
57308
+ def StrictSnatMode(self):
57309
+ r"""true代表仅允许匹配SNAT规则的内网IP的流量进行转发,false代表所有内网IP发起的流量都进行转发。默认为false。
57310
+ :rtype: bool
57311
+ """
57312
+ return self._StrictSnatMode
57313
+
57314
+ @StrictSnatMode.setter
57315
+ def StrictSnatMode(self, StrictSnatMode):
57316
+ self._StrictSnatMode = StrictSnatMode
57317
+
57240
57318
  @property
57241
57319
  def SmartScheduleMode(self):
57242
57320
  r"""是否启用根据目的网段选择SNAT使用的EIP功能
@@ -57292,6 +57370,39 @@ class NatGateway(AbstractModel):
57292
57370
  def ExclusiveType(self, ExclusiveType):
57293
57371
  self._ExclusiveType = ExclusiveType
57294
57372
 
57373
+ @property
57374
+ def AutoScaling(self):
57375
+ r"""标准型NAT网关自动扩容
57376
+ :rtype: bool
57377
+ """
57378
+ return self._AutoScaling
57379
+
57380
+ @AutoScaling.setter
57381
+ def AutoScaling(self, AutoScaling):
57382
+ self._AutoScaling = AutoScaling
57383
+
57384
+ @property
57385
+ def ICMPProxy(self):
57386
+ r"""是否代答公网发给NAT网关上弹性公网IP的ICMP echo请求报文,当前适用于标准型NAT网关
57387
+ :rtype: bool
57388
+ """
57389
+ return self._ICMPProxy
57390
+
57391
+ @ICMPProxy.setter
57392
+ def ICMPProxy(self, ICMPProxy):
57393
+ self._ICMPProxy = ICMPProxy
57394
+
57395
+ @property
57396
+ def PublicAddressAffinity(self):
57397
+ r"""true代表同一个私网IP访问同一个公网目的IP时,固定使用同一个NAT网关上的弹性公网IP;false代表这种情况下使用的弹性公网IP不固定。默认为true。
57398
+ :rtype: bool
57399
+ """
57400
+ return self._PublicAddressAffinity
57401
+
57402
+ @PublicAddressAffinity.setter
57403
+ def PublicAddressAffinity(self, PublicAddressAffinity):
57404
+ self._PublicAddressAffinity = PublicAddressAffinity
57405
+
57295
57406
 
57296
57407
  def _deserialize(self, params):
57297
57408
  self._NatGatewayId = params.get("NatGatewayId")
@@ -57334,6 +57445,7 @@ class NatGateway(AbstractModel):
57334
57445
  self._ExclusiveGatewayBandwidth = params.get("ExclusiveGatewayBandwidth")
57335
57446
  self._RestrictState = params.get("RestrictState")
57336
57447
  self._NatProductVersion = params.get("NatProductVersion")
57448
+ self._StrictSnatMode = params.get("StrictSnatMode")
57337
57449
  self._SmartScheduleMode = params.get("SmartScheduleMode")
57338
57450
  self._DedicatedClusterId = params.get("DedicatedClusterId")
57339
57451
  self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
@@ -57341,6 +57453,9 @@ class NatGateway(AbstractModel):
57341
57453
  self._ConnectionStateTimeouts = ConnectionStateTimeouts()
57342
57454
  self._ConnectionStateTimeouts._deserialize(params.get("ConnectionStateTimeouts"))
57343
57455
  self._ExclusiveType = params.get("ExclusiveType")
57456
+ self._AutoScaling = params.get("AutoScaling")
57457
+ self._ICMPProxy = params.get("ICMPProxy")
57458
+ self._PublicAddressAffinity = params.get("PublicAddressAffinity")
57344
57459
  memeber_set = set(params.keys())
57345
57460
  for name, value in vars(self).items():
57346
57461
  property_name = name[1:]
@@ -73030,6 +73145,8 @@ class VpnGatewayRoute(AbstractModel):
73030
73145
  :type CreateTime: str
73031
73146
  :param _UpdateTime: 更新时间。
73032
73147
  :type UpdateTime: str
73148
+ :param _Description: 路由备注
73149
+ :type Description: str
73033
73150
  """
73034
73151
  self._DestinationCidrBlock = None
73035
73152
  self._InstanceType = None
@@ -73040,6 +73157,7 @@ class VpnGatewayRoute(AbstractModel):
73040
73157
  self._Type = None
73041
73158
  self._CreateTime = None
73042
73159
  self._UpdateTime = None
73160
+ self._Description = None
73043
73161
 
73044
73162
  @property
73045
73163
  def DestinationCidrBlock(self):
@@ -73140,6 +73258,17 @@ class VpnGatewayRoute(AbstractModel):
73140
73258
  def UpdateTime(self, UpdateTime):
73141
73259
  self._UpdateTime = UpdateTime
73142
73260
 
73261
+ @property
73262
+ def Description(self):
73263
+ r"""路由备注
73264
+ :rtype: str
73265
+ """
73266
+ return self._Description
73267
+
73268
+ @Description.setter
73269
+ def Description(self, Description):
73270
+ self._Description = Description
73271
+
73143
73272
 
73144
73273
  def _deserialize(self, params):
73145
73274
  self._DestinationCidrBlock = params.get("DestinationCidrBlock")
@@ -73151,6 +73280,7 @@ class VpnGatewayRoute(AbstractModel):
73151
73280
  self._Type = params.get("Type")
73152
73281
  self._CreateTime = params.get("CreateTime")
73153
73282
  self._UpdateTime = params.get("UpdateTime")
73283
+ self._Description = params.get("Description")
73154
73284
  memeber_set = set(params.keys())
73155
73285
  for name, value in vars(self).items():
73156
73286
  property_name = name[1:]
@@ -73172,9 +73302,12 @@ class VpnGatewayRouteModify(AbstractModel):
73172
73302
  :type RouteId: str
73173
73303
  :param _Status: VPN网关状态, ENABLE 启用, DISABLE禁用。
73174
73304
  :type Status: str
73305
+ :param _Description: VPN路由备注
73306
+ :type Description: str
73175
73307
  """
73176
73308
  self._RouteId = None
73177
73309
  self._Status = None
73310
+ self._Description = None
73178
73311
 
73179
73312
  @property
73180
73313
  def RouteId(self):
@@ -73198,10 +73331,22 @@ class VpnGatewayRouteModify(AbstractModel):
73198
73331
  def Status(self, Status):
73199
73332
  self._Status = Status
73200
73333
 
73334
+ @property
73335
+ def Description(self):
73336
+ r"""VPN路由备注
73337
+ :rtype: str
73338
+ """
73339
+ return self._Description
73340
+
73341
+ @Description.setter
73342
+ def Description(self, Description):
73343
+ self._Description = Description
73344
+
73201
73345
 
73202
73346
  def _deserialize(self, params):
73203
73347
  self._RouteId = params.get("RouteId")
73204
73348
  self._Status = params.get("Status")
73349
+ self._Description = params.get("Description")
73205
73350
  memeber_set = set(params.keys())
73206
73351
  for name, value in vars(self).items():
73207
73352
  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.13
3
+ Version: 3.1.27
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.13
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.27
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=eN9-HwuAC6zcMyZNe2fQN1ELZy3pf1Rk7VomEwITWCE,629
2
+ tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/vpc/v20170312/errorcodes.py,sha256=l66F-rgF4wCMRzUXSvZR66OjGV9u6yp_JGodyN7YaIg,65865
5
+ tencentcloud/vpc/v20170312/models.py,sha256=wZ_ynLm8h8nay5S9yB6G_HqA4p8113gzyNLXnEDv6yk,2470248
6
+ tencentcloud/vpc/v20170312/vpc_client.py,sha256=8fGIJxTI4aFd67LRjb8JBdDc9Oirz5aj1Vw88nu_qqU,468664
7
+ tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=i-0dbwatRJMkJwngJ4fO8BEzcPbSEAfTkiuLcbCofZY,335869
8
+ tencentcloud_sdk_python_vpc-3.1.27.dist-info/METADATA,sha256=HGM2YzkCCDcMdxJhDGXj0Fcy08PxrBwWImzFEp35DYI,1495
9
+ tencentcloud_sdk_python_vpc-3.1.27.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
+ tencentcloud_sdk_python_vpc-3.1.27.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_vpc-3.1.27.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=2twoUNsJtWS-Zb2bRuRCDOA0lKSrvR3FsAAn6FaIQdw,629
2
- tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/vpc/v20170312/errorcodes.py,sha256=qahWyZE66_41b-tRK_KfZlhsLxcf_j-m6qUamg95Z8k,65339
5
- tencentcloud/vpc/v20170312/models.py,sha256=iE7IvaffiL-apeCjKPGRHiob1pqtWIS7vv5JmcFCdTU,2464523
6
- tencentcloud/vpc/v20170312/vpc_client.py,sha256=8fGIJxTI4aFd67LRjb8JBdDc9Oirz5aj1Vw88nu_qqU,468664
7
- tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=i-0dbwatRJMkJwngJ4fO8BEzcPbSEAfTkiuLcbCofZY,335869
8
- tencentcloud_sdk_python_vpc-3.1.13.dist-info/METADATA,sha256=l18bzeH09Y-Du_Naiu6crIwpF5XNua9CZlNH0E63Whs,1495
9
- tencentcloud_sdk_python_vpc-3.1.13.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
- tencentcloud_sdk_python_vpc-3.1.13.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_vpc-3.1.13.dist-info/RECORD,,