tencentcloud-sdk-python-vpc 3.0.1481__tar.gz → 3.0.1482__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.
Files changed (16) hide show
  1. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/v20170312/errorcodes.py +6 -0
  5. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/v20170312/models.py +118 -73
  6. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_vpc-3.0.1482/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_vpc-3.0.1481/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/README.rst +0 -0
  10. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/__init__.py +0 -0
  12. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  13. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
  14. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1481
3
+ Version: 3.0.1482
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.0.1481
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-vpc',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1481,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1482,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Vpc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1481'
17
+ __version__ = '3.0.1482'
@@ -419,6 +419,9 @@ INVALIDPARAMETERVALUE_PRIVATENATRULENOTEXISTS = 'InvalidParameterValue.PrivateNa
419
419
  # 私网NAT网关传入规则类型不支持。
420
420
  INVALIDPARAMETERVALUE_PRIVATENATSNATRULENOTSUPPORT = 'InvalidParameterValue.PrivateNatSnatRuleNotSupport'
421
421
 
422
+ # 必须携带服务等级。
423
+ INVALIDPARAMETERVALUE_QOSLEVELREQUIRED = 'InvalidParameterValue.QosLevelRequired'
424
+
422
425
  # 参数值不在指定范围。
423
426
  INVALIDPARAMETERVALUE_RANGE = 'InvalidParameterValue.Range'
424
427
 
@@ -1430,6 +1433,9 @@ UNSUPPORTEDOPERATION_VPNGATEWAYVPCNOIPV6SUBNET = 'UnsupportedOperation.VpnGatewa
1430
1433
  # VPC类型VPN网关必须携带VpcId。
1431
1434
  UNSUPPORTEDOPERATION_VPNGWVPCIDMUSTHAVE = 'UnsupportedOperation.VpnGwVpcIdMustHave'
1432
1435
 
1436
+ # CCN类型VPN网关 不用携带VpcId
1437
+ UNSUPPORTEDOPERATION_VPNGWVPCIDNOTHAVE = 'UnsupportedOperation.VpnGwVpcIdNotHave'
1438
+
1433
1439
  # VPN不支持BGP
1434
1440
  UNSUPPORTEDOPERATION_VPNUNSUPPORTEDBGP = 'UnsupportedOperation.VpnUnsupportedBgp'
1435
1441
 
@@ -16475,6 +16475,8 @@ class CreateVpcRequest(AbstractModel):
16475
16475
  :type DomainName: str
16476
16476
  :param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
16477
16477
  :type Tags: list of Tag
16478
+ :param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
16479
+ :type EnableRouteVpcPublish: bool
16478
16480
  """
16479
16481
  self._VpcName = None
16480
16482
  self._CidrBlock = None
@@ -16482,6 +16484,7 @@ class CreateVpcRequest(AbstractModel):
16482
16484
  self._DnsServers = None
16483
16485
  self._DomainName = None
16484
16486
  self._Tags = None
16487
+ self._EnableRouteVpcPublish = None
16485
16488
 
16486
16489
  @property
16487
16490
  def VpcName(self):
@@ -16549,6 +16552,17 @@ class CreateVpcRequest(AbstractModel):
16549
16552
  def Tags(self, Tags):
16550
16553
  self._Tags = Tags
16551
16554
 
16555
+ @property
16556
+ def EnableRouteVpcPublish(self):
16557
+ r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
16558
+ :rtype: bool
16559
+ """
16560
+ return self._EnableRouteVpcPublish
16561
+
16562
+ @EnableRouteVpcPublish.setter
16563
+ def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
16564
+ self._EnableRouteVpcPublish = EnableRouteVpcPublish
16565
+
16552
16566
 
16553
16567
  def _deserialize(self, params):
16554
16568
  self._VpcName = params.get("VpcName")
@@ -16562,6 +16576,7 @@ class CreateVpcRequest(AbstractModel):
16562
16576
  obj = Tag()
16563
16577
  obj._deserialize(item)
16564
16578
  self._Tags.append(obj)
16579
+ self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
16565
16580
  memeber_set = set(params.keys())
16566
16581
  for name, value in vars(self).items():
16567
16582
  property_name = name[1:]
@@ -39769,23 +39784,23 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39769
39784
  r"""
39770
39785
  :param _Protocol: 协议
39771
39786
  :type Protocol: str
39772
- :param _OriginalPort: 源端口
39787
+ :param _OriginalPort: 映射前端口
39773
39788
  :type OriginalPort: int
39774
- :param _OriginalIp: 源IP
39789
+ :param _OriginalIp: 映射前IP
39775
39790
  :type OriginalIp: str
39776
- :param _TranslationPort: 目的端口
39791
+ :param _TranslationPort: 映射后端口
39777
39792
  :type TranslationPort: int
39778
- :param _TranslationIp: 目的IP
39793
+ :param _TranslationIp: 映射后IP
39779
39794
  :type TranslationIp: str
39780
39795
  :param _OldProtocol: 旧协议。
39781
39796
  :type OldProtocol: str
39782
- :param _OldOriginalPort: 旧源端口
39797
+ :param _OldOriginalPort: 旧映射前端口
39783
39798
  :type OldOriginalPort: int
39784
- :param _OldOriginalIp: 旧源IP
39799
+ :param _OldOriginalIp: 旧映射前IP
39785
39800
  :type OldOriginalIp: str
39786
- :param _OldTranslationPort: 旧目的端口
39801
+ :param _OldTranslationPort: 旧映射后端口
39787
39802
  :type OldTranslationPort: int
39788
- :param _OldTranslationIp: 旧目的IP
39803
+ :param _OldTranslationIp: 旧映射后IP
39789
39804
  :type OldTranslationIp: str
39790
39805
  :param _Description: 描述
39791
39806
  :type Description: str
@@ -39815,7 +39830,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39815
39830
 
39816
39831
  @property
39817
39832
  def OriginalPort(self):
39818
- r"""源端口
39833
+ r"""映射前端口
39819
39834
  :rtype: int
39820
39835
  """
39821
39836
  return self._OriginalPort
@@ -39826,7 +39841,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39826
39841
 
39827
39842
  @property
39828
39843
  def OriginalIp(self):
39829
- r"""源IP
39844
+ r"""映射前IP
39830
39845
  :rtype: str
39831
39846
  """
39832
39847
  return self._OriginalIp
@@ -39837,7 +39852,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39837
39852
 
39838
39853
  @property
39839
39854
  def TranslationPort(self):
39840
- r"""目的端口
39855
+ r"""映射后端口
39841
39856
  :rtype: int
39842
39857
  """
39843
39858
  return self._TranslationPort
@@ -39848,7 +39863,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39848
39863
 
39849
39864
  @property
39850
39865
  def TranslationIp(self):
39851
- r"""目的IP
39866
+ r"""映射后IP
39852
39867
  :rtype: str
39853
39868
  """
39854
39869
  return self._TranslationIp
@@ -39870,7 +39885,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39870
39885
 
39871
39886
  @property
39872
39887
  def OldOriginalPort(self):
39873
- r"""旧源端口
39888
+ r"""旧映射前端口
39874
39889
  :rtype: int
39875
39890
  """
39876
39891
  return self._OldOriginalPort
@@ -39881,7 +39896,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39881
39896
 
39882
39897
  @property
39883
39898
  def OldOriginalIp(self):
39884
- r"""旧源IP
39899
+ r"""旧映射前IP
39885
39900
  :rtype: str
39886
39901
  """
39887
39902
  return self._OldOriginalIp
@@ -39892,7 +39907,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39892
39907
 
39893
39908
  @property
39894
39909
  def OldTranslationPort(self):
39895
- r"""旧目的端口
39910
+ r"""旧映射后端口
39896
39911
  :rtype: int
39897
39912
  """
39898
39913
  return self._OldTranslationPort
@@ -39903,7 +39918,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
39903
39918
 
39904
39919
  @property
39905
39920
  def OldTranslationIp(self):
39906
- r"""旧目的IP
39921
+ r"""旧映射后IP
39907
39922
  :rtype: str
39908
39923
  """
39909
39924
  return self._OldTranslationIp
@@ -48190,15 +48205,15 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
48190
48205
 
48191
48206
  def __init__(self):
48192
48207
  r"""
48193
- :param _Protocol: 协议
48208
+ :param _Protocol: 协议,包含TCP和UDP
48194
48209
  :type Protocol: str
48195
- :param _OriginalPort: 源端口
48210
+ :param _OriginalPort: 映射前端口
48196
48211
  :type OriginalPort: int
48197
- :param _OriginalIp: 源IP
48212
+ :param _OriginalIp: 映射前IP
48198
48213
  :type OriginalIp: str
48199
- :param _TranslationPort: 目的端口
48214
+ :param _TranslationPort: 映射后端口
48200
48215
  :type TranslationPort: int
48201
- :param _TranslationIp: 目的IP
48216
+ :param _TranslationIp: 映射后IP
48202
48217
  :type TranslationIp: str
48203
48218
  :param _Description: 描述
48204
48219
  :type Description: str
@@ -48212,7 +48227,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
48212
48227
 
48213
48228
  @property
48214
48229
  def Protocol(self):
48215
- r"""协议
48230
+ r"""协议,包含TCP和UDP
48216
48231
  :rtype: str
48217
48232
  """
48218
48233
  return self._Protocol
@@ -48223,7 +48238,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
48223
48238
 
48224
48239
  @property
48225
48240
  def OriginalPort(self):
48226
- r"""源端口
48241
+ r"""映射前端口
48227
48242
  :rtype: int
48228
48243
  """
48229
48244
  return self._OriginalPort
@@ -48234,7 +48249,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
48234
48249
 
48235
48250
  @property
48236
48251
  def OriginalIp(self):
48237
- r"""源IP
48252
+ r"""映射前IP
48238
48253
  :rtype: str
48239
48254
  """
48240
48255
  return self._OriginalIp
@@ -48245,7 +48260,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
48245
48260
 
48246
48261
  @property
48247
48262
  def TranslationPort(self):
48248
- r"""目的端口
48263
+ r"""映射后端口
48249
48264
  :rtype: int
48250
48265
  """
48251
48266
  return self._TranslationPort
@@ -48256,7 +48271,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
48256
48271
 
48257
48272
  @property
48258
48273
  def TranslationIp(self):
48259
- r"""目的IP
48274
+ r"""映射后IP
48260
48275
  :rtype: str
48261
48276
  """
48262
48277
  return self._TranslationIp
@@ -54660,6 +54675,8 @@ class ModifyVpcAttributeRequest(AbstractModel):
54660
54675
  :type DnsServers: list of str
54661
54676
  :param _DomainName: 域名。
54662
54677
  :type DomainName: str
54678
+ :param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
54679
+ :type EnableRouteVpcPublish: bool
54663
54680
  :param _EnableCdcPublish: 发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
54664
54681
  :type EnableCdcPublish: bool
54665
54682
  """
@@ -54668,6 +54685,7 @@ class ModifyVpcAttributeRequest(AbstractModel):
54668
54685
  self._EnableMulticast = None
54669
54686
  self._DnsServers = None
54670
54687
  self._DomainName = None
54688
+ self._EnableRouteVpcPublish = None
54671
54689
  self._EnableCdcPublish = None
54672
54690
 
54673
54691
  @property
@@ -54725,6 +54743,17 @@ class ModifyVpcAttributeRequest(AbstractModel):
54725
54743
  def DomainName(self, DomainName):
54726
54744
  self._DomainName = DomainName
54727
54745
 
54746
+ @property
54747
+ def EnableRouteVpcPublish(self):
54748
+ r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
54749
+ :rtype: bool
54750
+ """
54751
+ return self._EnableRouteVpcPublish
54752
+
54753
+ @EnableRouteVpcPublish.setter
54754
+ def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
54755
+ self._EnableRouteVpcPublish = EnableRouteVpcPublish
54756
+
54728
54757
  @property
54729
54758
  def EnableCdcPublish(self):
54730
54759
  r"""发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
@@ -54743,6 +54772,7 @@ class ModifyVpcAttributeRequest(AbstractModel):
54743
54772
  self._EnableMulticast = params.get("EnableMulticast")
54744
54773
  self._DnsServers = params.get("DnsServers")
54745
54774
  self._DomainName = params.get("DomainName")
54775
+ self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
54746
54776
  self._EnableCdcPublish = params.get("EnableCdcPublish")
54747
54777
  memeber_set = set(params.keys())
54748
54778
  for name, value in vars(self).items():
@@ -59319,13 +59349,13 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
59319
59349
  r"""
59320
59350
  :param _Protocol: 协议
59321
59351
  :type Protocol: str
59322
- :param _OriginalPort: 原端口
59352
+ :param _OriginalPort: 映射前端口
59323
59353
  :type OriginalPort: int
59324
- :param _OriginalIp: 原IP
59354
+ :param _OriginalIp: 映射前IP
59325
59355
  :type OriginalIp: str
59326
- :param _TranslationPort: 映射端口
59356
+ :param _TranslationPort: 映射后端口
59327
59357
  :type TranslationPort: int
59328
- :param _TranslationIp: 映射IP
59358
+ :param _TranslationIp: 映射后IP
59329
59359
  :type TranslationIp: str
59330
59360
  :param _Description: 描述
59331
59361
  :type Description: str
@@ -59356,7 +59386,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
59356
59386
 
59357
59387
  @property
59358
59388
  def OriginalPort(self):
59359
- r"""原端口
59389
+ r"""映射前端口
59360
59390
  :rtype: int
59361
59391
  """
59362
59392
  return self._OriginalPort
@@ -59367,7 +59397,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
59367
59397
 
59368
59398
  @property
59369
59399
  def OriginalIp(self):
59370
- r"""原IP
59400
+ r"""映射前IP
59371
59401
  :rtype: str
59372
59402
  """
59373
59403
  return self._OriginalIp
@@ -59378,7 +59408,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
59378
59408
 
59379
59409
  @property
59380
59410
  def TranslationPort(self):
59381
- r"""映射端口
59411
+ r"""映射后端口
59382
59412
  :rtype: int
59383
59413
  """
59384
59414
  return self._TranslationPort
@@ -59389,7 +59419,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
59389
59419
 
59390
59420
  @property
59391
59421
  def TranslationIp(self):
59392
- r"""映射IP
59422
+ r"""映射后IP
59393
59423
  :rtype: str
59394
59424
  """
59395
59425
  return self._TranslationIp
@@ -59474,7 +59504,7 @@ class PrivateNatGateway(AbstractModel):
59474
59504
  :type TagSet: list of Tag
59475
59505
  :param _DirectConnectGatewayIds: 专线网关唯一`ID`
59476
59506
  :type DirectConnectGatewayIds: list of str
59477
- :param _NatType: 私网网关类型
59507
+ :param _NatType: 私网网关类型。可选类型:"DCG","VPC","CCN",分别对应专线网关、私有网络、云联网。
59478
59508
  :type NatType: str
59479
59509
  :param _CrossDomainInfo: 私网NAT跨域信息
59480
59510
  :type CrossDomainInfo: :class:`tencentcloud.vpc.v20170312.models.PrivateNatCrossDomainInfo`
@@ -59589,7 +59619,7 @@ class PrivateNatGateway(AbstractModel):
59589
59619
 
59590
59620
  @property
59591
59621
  def NatType(self):
59592
- r"""私网网关类型
59622
+ r"""私网网关类型。可选类型:"DCG","VPC","CCN",分别对应专线网关、私有网络、云联网。
59593
59623
  :rtype: str
59594
59624
  """
59595
59625
  return self._NatType
@@ -67063,7 +67093,7 @@ class SourceIpTranslationNatRule(AbstractModel):
67063
67093
  r"""
67064
67094
  :param _ResourceId: 资源ID,如果ResourceType为USERDEFINED,可以为空字符串
67065
67095
  :type ResourceId: str
67066
- :param _ResourceType: 资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED
67096
+ :param _ResourceType: 资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED,分别表示子网、网卡、自定义网段
67067
67097
  :type ResourceType: str
67068
67098
  :param _PrivateIpAddress: 源IP/网段
67069
67099
  :type PrivateIpAddress: str
@@ -67103,7 +67133,7 @@ class SourceIpTranslationNatRule(AbstractModel):
67103
67133
 
67104
67134
  @property
67105
67135
  def ResourceType(self):
67106
- r"""资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED
67136
+ r"""资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED,分别表示子网、网卡、自定义网段
67107
67137
  :rtype: str
67108
67138
  """
67109
67139
  return self._ResourceType
@@ -69556,13 +69586,13 @@ class TranslationNatRule(AbstractModel):
69556
69586
  r"""
69557
69587
  :param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
69558
69588
  :type TranslationDirection: str
69559
- :param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
69589
+ :param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层和四层。
69560
69590
  :type TranslationType: str
69561
- :param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
69591
+ :param _TranslationIp: 映射后IP,当转换规则类型为四层时为`IP`池。
69562
69592
  :type TranslationIp: str
69563
69593
  :param _Description: 转换规则描述。
69564
69594
  :type Description: str
69565
- :param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
69595
+ :param _OriginalIp: 映射前IP,当转换规则类型为三层时有效。
69566
69596
  :type OriginalIp: str
69567
69597
  :param _CreateTime: 创建时间。
69568
69598
  :type CreateTime: str
@@ -69590,7 +69620,7 @@ class TranslationNatRule(AbstractModel):
69590
69620
 
69591
69621
  @property
69592
69622
  def TranslationType(self):
69593
- r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
69623
+ r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层和四层。
69594
69624
  :rtype: str
69595
69625
  """
69596
69626
  return self._TranslationType
@@ -69601,7 +69631,7 @@ class TranslationNatRule(AbstractModel):
69601
69631
 
69602
69632
  @property
69603
69633
  def TranslationIp(self):
69604
- r"""转换`IP`,当转换规则类型为四层时为`IP`池。
69634
+ r"""映射后IP,当转换规则类型为四层时为`IP`池。
69605
69635
  :rtype: str
69606
69636
  """
69607
69637
  return self._TranslationIp
@@ -69623,7 +69653,7 @@ class TranslationNatRule(AbstractModel):
69623
69653
 
69624
69654
  @property
69625
69655
  def OriginalIp(self):
69626
- r"""源`IP`,当转换规则类型为三层时有效。
69656
+ r"""映射前IP,当转换规则类型为三层时有效。
69627
69657
  :rtype: str
69628
69658
  """
69629
69659
  return self._OriginalIp
@@ -69682,24 +69712,24 @@ class TranslationNatRuleDiff(AbstractModel):
69682
69712
  r"""
69683
69713
  :param _TranslationDirection: 转发规则目标,可选值"LOCAL","PEER"。
69684
69714
  :type TranslationDirection: str
69685
- :param _TranslationType: 转发规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
69715
+ :param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
69686
69716
  :type TranslationType: str
69687
- :param _TranslationIp: 转发规则映射`IP`,当转发规则类型为四层时为`IP`池
69717
+ :param _TranslationIp: 转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
69688
69718
  :type TranslationIp: str
69719
+ :param _OldTranslationIp: 旧转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
69720
+ :type OldTranslationIp: str
69689
69721
  :param _Description: 转发规则描述。
69690
69722
  :type Description: str
69691
- :param _OldTranslationIp: 旧转发规则映射`IP`,当转发规则类型为四层时为`IP`池
69692
- :type OldTranslationIp: str
69693
- :param _OriginalIp: 新转发规则源`IP`,当转发规则类型为三层时有效
69723
+ :param _OriginalIp: 新转发规则映射前`IP`,当转发规则类型为三层时有效
69694
69724
  :type OriginalIp: str
69695
- :param _OldOriginalIp: 旧转发规则源`IP`,当转发规则类型为三层时有效
69725
+ :param _OldOriginalIp: 旧转发规则映射前`IP`,当转发规则类型为三层时有效
69696
69726
  :type OldOriginalIp: str
69697
69727
  """
69698
69728
  self._TranslationDirection = None
69699
69729
  self._TranslationType = None
69700
69730
  self._TranslationIp = None
69701
- self._Description = None
69702
69731
  self._OldTranslationIp = None
69732
+ self._Description = None
69703
69733
  self._OriginalIp = None
69704
69734
  self._OldOriginalIp = None
69705
69735
 
@@ -69716,7 +69746,7 @@ class TranslationNatRuleDiff(AbstractModel):
69716
69746
 
69717
69747
  @property
69718
69748
  def TranslationType(self):
69719
- r"""转发规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
69749
+ r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
69720
69750
  :rtype: str
69721
69751
  """
69722
69752
  return self._TranslationType
@@ -69727,7 +69757,7 @@ class TranslationNatRuleDiff(AbstractModel):
69727
69757
 
69728
69758
  @property
69729
69759
  def TranslationIp(self):
69730
- r"""转发规则映射`IP`,当转发规则类型为四层时为`IP`池
69760
+ r"""转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
69731
69761
  :rtype: str
69732
69762
  """
69733
69763
  return self._TranslationIp
@@ -69736,6 +69766,17 @@ class TranslationNatRuleDiff(AbstractModel):
69736
69766
  def TranslationIp(self, TranslationIp):
69737
69767
  self._TranslationIp = TranslationIp
69738
69768
 
69769
+ @property
69770
+ def OldTranslationIp(self):
69771
+ r"""旧转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
69772
+ :rtype: str
69773
+ """
69774
+ return self._OldTranslationIp
69775
+
69776
+ @OldTranslationIp.setter
69777
+ def OldTranslationIp(self, OldTranslationIp):
69778
+ self._OldTranslationIp = OldTranslationIp
69779
+
69739
69780
  @property
69740
69781
  def Description(self):
69741
69782
  r"""转发规则描述。
@@ -69747,20 +69788,9 @@ class TranslationNatRuleDiff(AbstractModel):
69747
69788
  def Description(self, Description):
69748
69789
  self._Description = Description
69749
69790
 
69750
- @property
69751
- def OldTranslationIp(self):
69752
- r"""旧转发规则映射`IP`,当转发规则类型为四层时为`IP`池
69753
- :rtype: str
69754
- """
69755
- return self._OldTranslationIp
69756
-
69757
- @OldTranslationIp.setter
69758
- def OldTranslationIp(self, OldTranslationIp):
69759
- self._OldTranslationIp = OldTranslationIp
69760
-
69761
69791
  @property
69762
69792
  def OriginalIp(self):
69763
- r"""新转发规则源`IP`,当转发规则类型为三层时有效
69793
+ r"""新转发规则映射前`IP`,当转发规则类型为三层时有效
69764
69794
  :rtype: str
69765
69795
  """
69766
69796
  return self._OriginalIp
@@ -69771,7 +69801,7 @@ class TranslationNatRuleDiff(AbstractModel):
69771
69801
 
69772
69802
  @property
69773
69803
  def OldOriginalIp(self):
69774
- r"""旧转发规则源`IP`,当转发规则类型为三层时有效
69804
+ r"""旧转发规则映射前`IP`,当转发规则类型为三层时有效
69775
69805
  :rtype: str
69776
69806
  """
69777
69807
  return self._OldOriginalIp
@@ -69785,8 +69815,8 @@ class TranslationNatRuleDiff(AbstractModel):
69785
69815
  self._TranslationDirection = params.get("TranslationDirection")
69786
69816
  self._TranslationType = params.get("TranslationType")
69787
69817
  self._TranslationIp = params.get("TranslationIp")
69788
- self._Description = params.get("Description")
69789
69818
  self._OldTranslationIp = params.get("OldTranslationIp")
69819
+ self._Description = params.get("Description")
69790
69820
  self._OriginalIp = params.get("OriginalIp")
69791
69821
  self._OldOriginalIp = params.get("OldOriginalIp")
69792
69822
  memeber_set = set(params.keys())
@@ -69808,13 +69838,13 @@ class TranslationNatRuleInput(AbstractModel):
69808
69838
  r"""
69809
69839
  :param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
69810
69840
  :type TranslationDirection: str
69811
- :param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
69841
+ :param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
69812
69842
  :type TranslationType: str
69813
- :param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
69843
+ :param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
69814
69844
  :type TranslationIp: str
69815
69845
  :param _Description: 转换规则描述。
69816
69846
  :type Description: str
69817
- :param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
69847
+ :param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
69818
69848
  :type OriginalIp: str
69819
69849
  """
69820
69850
  self._TranslationDirection = None
@@ -69836,7 +69866,7 @@ class TranslationNatRuleInput(AbstractModel):
69836
69866
 
69837
69867
  @property
69838
69868
  def TranslationType(self):
69839
- r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
69869
+ r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
69840
69870
  :rtype: str
69841
69871
  """
69842
69872
  return self._TranslationType
@@ -69847,7 +69877,7 @@ class TranslationNatRuleInput(AbstractModel):
69847
69877
 
69848
69878
  @property
69849
69879
  def TranslationIp(self):
69850
- r"""转换`IP`,当转换规则类型为四层时为`IP`池。
69880
+ r"""映射后`IP`,当转换规则类型为四层时为`IP`池。
69851
69881
  :rtype: str
69852
69882
  """
69853
69883
  return self._TranslationIp
@@ -69869,7 +69899,7 @@ class TranslationNatRuleInput(AbstractModel):
69869
69899
 
69870
69900
  @property
69871
69901
  def OriginalIp(self):
69872
- r"""源`IP`,当转换规则类型为三层时有效。
69902
+ r"""映射前`IP`,当转换规则类型为三层时有效。
69873
69903
  :rtype: str
69874
69904
  """
69875
69905
  return self._OriginalIp
@@ -70770,6 +70800,8 @@ class Vpc(AbstractModel):
70770
70800
  :type TagSet: list of Tag
70771
70801
  :param _AssistantCidrSet: 辅助CIDR
70772
70802
  :type AssistantCidrSet: list of AssistantCidr
70803
+ :param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
70804
+ :type EnableRouteVpcPublish: bool
70773
70805
  :param _Ipv6CidrBlockSet: 返回多运营商IPv6 Cidr Block
70774
70806
  :type Ipv6CidrBlockSet: list of ISPIPv6CidrBlock
70775
70807
  """
@@ -70786,6 +70818,7 @@ class Vpc(AbstractModel):
70786
70818
  self._Ipv6CidrBlock = None
70787
70819
  self._TagSet = None
70788
70820
  self._AssistantCidrSet = None
70821
+ self._EnableRouteVpcPublish = None
70789
70822
  self._Ipv6CidrBlockSet = None
70790
70823
 
70791
70824
  @property
@@ -70931,6 +70964,17 @@ class Vpc(AbstractModel):
70931
70964
  def AssistantCidrSet(self, AssistantCidrSet):
70932
70965
  self._AssistantCidrSet = AssistantCidrSet
70933
70966
 
70967
+ @property
70968
+ def EnableRouteVpcPublish(self):
70969
+ r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
70970
+ :rtype: bool
70971
+ """
70972
+ return self._EnableRouteVpcPublish
70973
+
70974
+ @EnableRouteVpcPublish.setter
70975
+ def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
70976
+ self._EnableRouteVpcPublish = EnableRouteVpcPublish
70977
+
70934
70978
  @property
70935
70979
  def Ipv6CidrBlockSet(self):
70936
70980
  r"""返回多运营商IPv6 Cidr Block
@@ -70967,6 +71011,7 @@ class Vpc(AbstractModel):
70967
71011
  obj = AssistantCidr()
70968
71012
  obj._deserialize(item)
70969
71013
  self._AssistantCidrSet.append(obj)
71014
+ self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
70970
71015
  if params.get("Ipv6CidrBlockSet") is not None:
70971
71016
  self._Ipv6CidrBlockSet = []
70972
71017
  for item in params.get("Ipv6CidrBlockSet"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1481
3
+ Version: 3.0.1482
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.0.1481
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1481