tencentcloud-sdk-python-vpc 3.1.74__tar.gz → 3.1.82__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 (17) hide show
  1. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud/vpc/v20170312/models.py +171 -42
  5. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  6. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
  7. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_vpc-3.1.82/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_vpc-3.1.74/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/README.rst +0 -0
  11. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud/vpc/__init__.py +0 -0
  13. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  14. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_vpc-3.1.74 → tencentcloud_sdk_python_vpc-3.1.82}/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.1.74
3
+ Version: 3.1.82
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.74
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.82
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.1.74,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.82,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Vpc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.74'
17
+ __version__ = '3.1.82'
@@ -54822,6 +54822,115 @@ class ModifyLocalGatewayResponse(AbstractModel):
54822
54822
  self._RequestId = params.get("RequestId")
54823
54823
 
54824
54824
 
54825
+ class ModifyNatGatewayAdvancedAttributeRequest(AbstractModel):
54826
+ r"""ModifyNatGatewayAdvancedAttribute请求参数结构体
54827
+
54828
+ """
54829
+
54830
+ def __init__(self):
54831
+ r"""
54832
+ :param _NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
54833
+ :type NatGatewayId: str
54834
+ :param _UDPMappingTimeout: UDP映射空闲时间,单位:秒。含义为UDP流空闲多少秒以后从NAT映射中释放。取值范围为:3-7200,默认为180。
54835
+ :type UDPMappingTimeout: int
54836
+ :param _TCPEstablishedConnectionTimeout: TCP已建立的连接空闲超时时间,单位:秒。含义为TCP已建立的连接空闲多少秒以后从NAT映射中释放。取值范围为:40-10800,默认为10800。
54837
+ :type TCPEstablishedConnectionTimeout: int
54838
+ :param _TCPTimeWaitTimeout: TCP TIME_WAIT超时时间,单位:秒。含义为完全关闭的TCP连接在到期后保留在NAT映射中的秒数。取值范围为:10-600,默认为120。
54839
+ :type TCPTimeWaitTimeout: int
54840
+ """
54841
+ self._NatGatewayId = None
54842
+ self._UDPMappingTimeout = None
54843
+ self._TCPEstablishedConnectionTimeout = None
54844
+ self._TCPTimeWaitTimeout = None
54845
+
54846
+ @property
54847
+ def NatGatewayId(self):
54848
+ r"""NAT网关的ID,形如:`nat-df45454`。
54849
+ :rtype: str
54850
+ """
54851
+ return self._NatGatewayId
54852
+
54853
+ @NatGatewayId.setter
54854
+ def NatGatewayId(self, NatGatewayId):
54855
+ self._NatGatewayId = NatGatewayId
54856
+
54857
+ @property
54858
+ def UDPMappingTimeout(self):
54859
+ r"""UDP映射空闲时间,单位:秒。含义为UDP流空闲多少秒以后从NAT映射中释放。取值范围为:3-7200,默认为180。
54860
+ :rtype: int
54861
+ """
54862
+ return self._UDPMappingTimeout
54863
+
54864
+ @UDPMappingTimeout.setter
54865
+ def UDPMappingTimeout(self, UDPMappingTimeout):
54866
+ self._UDPMappingTimeout = UDPMappingTimeout
54867
+
54868
+ @property
54869
+ def TCPEstablishedConnectionTimeout(self):
54870
+ r"""TCP已建立的连接空闲超时时间,单位:秒。含义为TCP已建立的连接空闲多少秒以后从NAT映射中释放。取值范围为:40-10800,默认为10800。
54871
+ :rtype: int
54872
+ """
54873
+ return self._TCPEstablishedConnectionTimeout
54874
+
54875
+ @TCPEstablishedConnectionTimeout.setter
54876
+ def TCPEstablishedConnectionTimeout(self, TCPEstablishedConnectionTimeout):
54877
+ self._TCPEstablishedConnectionTimeout = TCPEstablishedConnectionTimeout
54878
+
54879
+ @property
54880
+ def TCPTimeWaitTimeout(self):
54881
+ r"""TCP TIME_WAIT超时时间,单位:秒。含义为完全关闭的TCP连接在到期后保留在NAT映射中的秒数。取值范围为:10-600,默认为120。
54882
+ :rtype: int
54883
+ """
54884
+ return self._TCPTimeWaitTimeout
54885
+
54886
+ @TCPTimeWaitTimeout.setter
54887
+ def TCPTimeWaitTimeout(self, TCPTimeWaitTimeout):
54888
+ self._TCPTimeWaitTimeout = TCPTimeWaitTimeout
54889
+
54890
+
54891
+ def _deserialize(self, params):
54892
+ self._NatGatewayId = params.get("NatGatewayId")
54893
+ self._UDPMappingTimeout = params.get("UDPMappingTimeout")
54894
+ self._TCPEstablishedConnectionTimeout = params.get("TCPEstablishedConnectionTimeout")
54895
+ self._TCPTimeWaitTimeout = params.get("TCPTimeWaitTimeout")
54896
+ memeber_set = set(params.keys())
54897
+ for name, value in vars(self).items():
54898
+ property_name = name[1:]
54899
+ if property_name in memeber_set:
54900
+ memeber_set.remove(property_name)
54901
+ if len(memeber_set) > 0:
54902
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
54903
+
54904
+
54905
+
54906
+ class ModifyNatGatewayAdvancedAttributeResponse(AbstractModel):
54907
+ r"""ModifyNatGatewayAdvancedAttribute返回参数结构体
54908
+
54909
+ """
54910
+
54911
+ def __init__(self):
54912
+ r"""
54913
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
54914
+ :type RequestId: str
54915
+ """
54916
+ self._RequestId = None
54917
+
54918
+ @property
54919
+ def RequestId(self):
54920
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
54921
+ :rtype: str
54922
+ """
54923
+ return self._RequestId
54924
+
54925
+ @RequestId.setter
54926
+ def RequestId(self, RequestId):
54927
+ self._RequestId = RequestId
54928
+
54929
+
54930
+ def _deserialize(self, params):
54931
+ self._RequestId = params.get("RequestId")
54932
+
54933
+
54825
54934
  class ModifyNatGatewayAttributeRequest(AbstractModel):
54826
54935
  r"""ModifyNatGatewayAttribute请求参数结构体
54827
54936
 
@@ -75590,48 +75699,50 @@ class VpnGateway(AbstractModel):
75590
75699
 
75591
75700
  def __init__(self):
75592
75701
  r"""
75593
- :param _VpnGatewayId: 网关实例ID。
75702
+ :param _VpnGatewayId: <p>网关实例ID。</p>
75594
75703
  :type VpnGatewayId: str
75595
- :param _VpcId: VPC实例ID。
75704
+ :param _VpcId: <p>VPC实例ID。</p>
75596
75705
  :type VpcId: str
75597
- :param _VpnGatewayName: 网关实例名称。
75706
+ :param _VpnGatewayName: <p>网关实例名称。</p>
75598
75707
  :type VpnGatewayName: str
75599
- :param _Type: 网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。
75708
+ :param _Type: <p>网关实例类型</p><p>枚举值:</p><ul><li>IPSEC: IPSEC VPC类型VPN</li><li>SSL: SSL VPC类型VPN</li><li>CCN: IPSEC CCN类型VPN</li><li>SSL_CCN: SSL CCN类型VPN</li></ul><p>默认值:IPSEC</p>
75600
75709
  :type Type: str
75601
- :param _State: 网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。
75710
+ :param _State: <p>网关实例状态。</p><p>枚举值:</p><ul><li>PENDING: 生产中</li><li>PENDING_ERROR: 生产失败</li><li>DELETING: 删除中</li><li>DELETING_ERROR: 生产失败</li><li>AVAILABLE: 运行中</li></ul>
75602
75711
  :type State: str
75603
- :param _PublicIpAddress: 网关公网IP。
75712
+ :param _PublicIpAddress: <p>网关公网IP。</p>
75604
75713
  :type PublicIpAddress: str
75605
- :param _RenewFlag: 网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。
75714
+ :param _RenewFlag: <p>网关续费类型:&#39;NOTIFY_AND_MANUAL_RENEW&#39;:手动续费,&#39;NOTIFY_AND_AUTO_RENEW&#39;:自动续费,&#39;NOT_NOTIFY_AND_NOT_RENEW&#39;:到期不续费。</p>
75606
75715
  :type RenewFlag: str
75607
- :param _InstanceChargeType: 网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。
75716
+ :param _InstanceChargeType: <p>网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。</p>
75608
75717
  :type InstanceChargeType: str
75609
- :param _InternetMaxBandwidthOut: 网关出带宽,单位:Mbps。
75718
+ :param _InternetMaxBandwidthOut: <p>网关出带宽</p><p>单位:Mbps</p>
75610
75719
  :type InternetMaxBandwidthOut: int
75611
- :param _CreatedTime: 创建时间。
75720
+ :param _CreatedTime: <p>创建时间。</p>
75612
75721
  :type CreatedTime: str
75613
- :param _ExpiredTime: 预付费网关过期时间。
75722
+ :param _ExpiredTime: <p>预付费网关过期时间。</p>
75614
75723
  :type ExpiredTime: str
75615
- :param _IsAddressBlocked: 公网IP是否被封堵。
75724
+ :param _IsAddressBlocked: <p>公网IP是否被封堵。</p>
75616
75725
  :type IsAddressBlocked: bool
75617
- :param _NewPurchasePlan: 计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。
75726
+ :param _NewPurchasePlan: <p>计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。</p>
75618
75727
  :type NewPurchasePlan: str
75619
- :param _RestrictState: 网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。
75728
+ :param _RestrictState: <p>网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。</p>
75620
75729
  :type RestrictState: str
75621
- :param _Zone: 可用区,如:ap-guangzhou-2。
75730
+ :param _Zone: <p>可用区,如:ap-guangzhou-2。</p>
75622
75731
  :type Zone: str
75623
- :param _VpnGatewayQuotaSet: 网关带宽配额信息。
75732
+ :param _VpnGatewayQuotaSet: <p>网关带宽配额信息。</p>
75624
75733
  :type VpnGatewayQuotaSet: list of VpnGatewayQuota
75625
- :param _Version: 网关实例版本信息。
75734
+ :param _Version: <p>网关实例版本信息。</p>
75626
75735
  :type Version: str
75627
- :param _NetworkInstanceId: Type值为CCN时,该值表示云联网实例ID。
75736
+ :param _NetworkInstanceId: <p>Type值为CCN/SSL_CCN时,该值表示云联网实例ID。</p>
75628
75737
  :type NetworkInstanceId: str
75629
- :param _CdcId: CDC 实例ID。
75738
+ :param _CdcId: <p>CDC 实例ID。</p>
75630
75739
  :type CdcId: str
75631
- :param _MaxConnection: SSL-VPN 客户端连接数。
75740
+ :param _MaxConnection: <p>SSL-VPN 客户端连接数。</p>
75632
75741
  :type MaxConnection: int
75633
- :param _BgpAsn: Bgp ASN
75742
+ :param _BgpAsn: <p>Bgp ASN</p>
75634
75743
  :type BgpAsn: int
75744
+ :param _TagSet: <p>标签列表</p>
75745
+ :type TagSet: list of Tag
75635
75746
  """
75636
75747
  self._VpnGatewayId = None
75637
75748
  self._VpcId = None
@@ -75654,10 +75765,11 @@ class VpnGateway(AbstractModel):
75654
75765
  self._CdcId = None
75655
75766
  self._MaxConnection = None
75656
75767
  self._BgpAsn = None
75768
+ self._TagSet = None
75657
75769
 
75658
75770
  @property
75659
75771
  def VpnGatewayId(self):
75660
- r"""网关实例ID。
75772
+ r"""<p>网关实例ID。</p>
75661
75773
  :rtype: str
75662
75774
  """
75663
75775
  return self._VpnGatewayId
@@ -75668,7 +75780,7 @@ class VpnGateway(AbstractModel):
75668
75780
 
75669
75781
  @property
75670
75782
  def VpcId(self):
75671
- r"""VPC实例ID。
75783
+ r"""<p>VPC实例ID。</p>
75672
75784
  :rtype: str
75673
75785
  """
75674
75786
  return self._VpcId
@@ -75679,7 +75791,7 @@ class VpnGateway(AbstractModel):
75679
75791
 
75680
75792
  @property
75681
75793
  def VpnGatewayName(self):
75682
- r"""网关实例名称。
75794
+ r"""<p>网关实例名称。</p>
75683
75795
  :rtype: str
75684
75796
  """
75685
75797
  return self._VpnGatewayName
@@ -75690,7 +75802,7 @@ class VpnGateway(AbstractModel):
75690
75802
 
75691
75803
  @property
75692
75804
  def Type(self):
75693
- r"""网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。
75805
+ r"""<p>网关实例类型</p><p>枚举值:</p><ul><li>IPSEC: IPSEC VPC类型VPN</li><li>SSL: SSL VPC类型VPN</li><li>CCN: IPSEC CCN类型VPN</li><li>SSL_CCN: SSL CCN类型VPN</li></ul><p>默认值:IPSEC</p>
75694
75806
  :rtype: str
75695
75807
  """
75696
75808
  return self._Type
@@ -75701,7 +75813,7 @@ class VpnGateway(AbstractModel):
75701
75813
 
75702
75814
  @property
75703
75815
  def State(self):
75704
- r"""网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。
75816
+ r"""<p>网关实例状态。</p><p>枚举值:</p><ul><li>PENDING: 生产中</li><li>PENDING_ERROR: 生产失败</li><li>DELETING: 删除中</li><li>DELETING_ERROR: 生产失败</li><li>AVAILABLE: 运行中</li></ul>
75705
75817
  :rtype: str
75706
75818
  """
75707
75819
  return self._State
@@ -75712,7 +75824,7 @@ class VpnGateway(AbstractModel):
75712
75824
 
75713
75825
  @property
75714
75826
  def PublicIpAddress(self):
75715
- r"""网关公网IP。
75827
+ r"""<p>网关公网IP。</p>
75716
75828
  :rtype: str
75717
75829
  """
75718
75830
  return self._PublicIpAddress
@@ -75723,7 +75835,7 @@ class VpnGateway(AbstractModel):
75723
75835
 
75724
75836
  @property
75725
75837
  def RenewFlag(self):
75726
- r"""网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。
75838
+ r"""<p>网关续费类型:&#39;NOTIFY_AND_MANUAL_RENEW&#39;:手动续费,&#39;NOTIFY_AND_AUTO_RENEW&#39;:自动续费,&#39;NOT_NOTIFY_AND_NOT_RENEW&#39;:到期不续费。</p>
75727
75839
  :rtype: str
75728
75840
  """
75729
75841
  return self._RenewFlag
@@ -75734,7 +75846,7 @@ class VpnGateway(AbstractModel):
75734
75846
 
75735
75847
  @property
75736
75848
  def InstanceChargeType(self):
75737
- r"""网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。
75849
+ r"""<p>网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。</p>
75738
75850
  :rtype: str
75739
75851
  """
75740
75852
  return self._InstanceChargeType
@@ -75745,7 +75857,7 @@ class VpnGateway(AbstractModel):
75745
75857
 
75746
75858
  @property
75747
75859
  def InternetMaxBandwidthOut(self):
75748
- r"""网关出带宽,单位:Mbps。
75860
+ r"""<p>网关出带宽</p><p>单位:Mbps</p>
75749
75861
  :rtype: int
75750
75862
  """
75751
75863
  return self._InternetMaxBandwidthOut
@@ -75756,7 +75868,7 @@ class VpnGateway(AbstractModel):
75756
75868
 
75757
75869
  @property
75758
75870
  def CreatedTime(self):
75759
- r"""创建时间。
75871
+ r"""<p>创建时间。</p>
75760
75872
  :rtype: str
75761
75873
  """
75762
75874
  return self._CreatedTime
@@ -75767,7 +75879,7 @@ class VpnGateway(AbstractModel):
75767
75879
 
75768
75880
  @property
75769
75881
  def ExpiredTime(self):
75770
- r"""预付费网关过期时间。
75882
+ r"""<p>预付费网关过期时间。</p>
75771
75883
  :rtype: str
75772
75884
  """
75773
75885
  return self._ExpiredTime
@@ -75778,7 +75890,7 @@ class VpnGateway(AbstractModel):
75778
75890
 
75779
75891
  @property
75780
75892
  def IsAddressBlocked(self):
75781
- r"""公网IP是否被封堵。
75893
+ r"""<p>公网IP是否被封堵。</p>
75782
75894
  :rtype: bool
75783
75895
  """
75784
75896
  return self._IsAddressBlocked
@@ -75789,7 +75901,7 @@ class VpnGateway(AbstractModel):
75789
75901
 
75790
75902
  @property
75791
75903
  def NewPurchasePlan(self):
75792
- r"""计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。
75904
+ r"""<p>计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。</p>
75793
75905
  :rtype: str
75794
75906
  """
75795
75907
  return self._NewPurchasePlan
@@ -75800,7 +75912,7 @@ class VpnGateway(AbstractModel):
75800
75912
 
75801
75913
  @property
75802
75914
  def RestrictState(self):
75803
- r"""网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。
75915
+ r"""<p>网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。</p>
75804
75916
  :rtype: str
75805
75917
  """
75806
75918
  return self._RestrictState
@@ -75811,7 +75923,7 @@ class VpnGateway(AbstractModel):
75811
75923
 
75812
75924
  @property
75813
75925
  def Zone(self):
75814
- r"""可用区,如:ap-guangzhou-2。
75926
+ r"""<p>可用区,如:ap-guangzhou-2。</p>
75815
75927
  :rtype: str
75816
75928
  """
75817
75929
  return self._Zone
@@ -75822,7 +75934,7 @@ class VpnGateway(AbstractModel):
75822
75934
 
75823
75935
  @property
75824
75936
  def VpnGatewayQuotaSet(self):
75825
- r"""网关带宽配额信息。
75937
+ r"""<p>网关带宽配额信息。</p>
75826
75938
  :rtype: list of VpnGatewayQuota
75827
75939
  """
75828
75940
  return self._VpnGatewayQuotaSet
@@ -75833,7 +75945,7 @@ class VpnGateway(AbstractModel):
75833
75945
 
75834
75946
  @property
75835
75947
  def Version(self):
75836
- r"""网关实例版本信息。
75948
+ r"""<p>网关实例版本信息。</p>
75837
75949
  :rtype: str
75838
75950
  """
75839
75951
  return self._Version
@@ -75844,7 +75956,7 @@ class VpnGateway(AbstractModel):
75844
75956
 
75845
75957
  @property
75846
75958
  def NetworkInstanceId(self):
75847
- r"""Type值为CCN时,该值表示云联网实例ID。
75959
+ r"""<p>Type值为CCN/SSL_CCN时,该值表示云联网实例ID。</p>
75848
75960
  :rtype: str
75849
75961
  """
75850
75962
  return self._NetworkInstanceId
@@ -75855,7 +75967,7 @@ class VpnGateway(AbstractModel):
75855
75967
 
75856
75968
  @property
75857
75969
  def CdcId(self):
75858
- r"""CDC 实例ID。
75970
+ r"""<p>CDC 实例ID。</p>
75859
75971
  :rtype: str
75860
75972
  """
75861
75973
  return self._CdcId
@@ -75866,7 +75978,7 @@ class VpnGateway(AbstractModel):
75866
75978
 
75867
75979
  @property
75868
75980
  def MaxConnection(self):
75869
- r"""SSL-VPN 客户端连接数。
75981
+ r"""<p>SSL-VPN 客户端连接数。</p>
75870
75982
  :rtype: int
75871
75983
  """
75872
75984
  return self._MaxConnection
@@ -75877,7 +75989,7 @@ class VpnGateway(AbstractModel):
75877
75989
 
75878
75990
  @property
75879
75991
  def BgpAsn(self):
75880
- r"""Bgp ASN
75992
+ r"""<p>Bgp ASN</p>
75881
75993
  :rtype: int
75882
75994
  """
75883
75995
  return self._BgpAsn
@@ -75886,6 +75998,17 @@ class VpnGateway(AbstractModel):
75886
75998
  def BgpAsn(self, BgpAsn):
75887
75999
  self._BgpAsn = BgpAsn
75888
76000
 
76001
+ @property
76002
+ def TagSet(self):
76003
+ r"""<p>标签列表</p>
76004
+ :rtype: list of Tag
76005
+ """
76006
+ return self._TagSet
76007
+
76008
+ @TagSet.setter
76009
+ def TagSet(self, TagSet):
76010
+ self._TagSet = TagSet
76011
+
75889
76012
 
75890
76013
  def _deserialize(self, params):
75891
76014
  self._VpnGatewayId = params.get("VpnGatewayId")
@@ -75914,6 +76037,12 @@ class VpnGateway(AbstractModel):
75914
76037
  self._CdcId = params.get("CdcId")
75915
76038
  self._MaxConnection = params.get("MaxConnection")
75916
76039
  self._BgpAsn = params.get("BgpAsn")
76040
+ if params.get("TagSet") is not None:
76041
+ self._TagSet = []
76042
+ for item in params.get("TagSet"):
76043
+ obj = Tag()
76044
+ obj._deserialize(item)
76045
+ self._TagSet.append(obj)
75917
76046
  memeber_set = set(params.keys())
75918
76047
  for name, value in vars(self).items():
75919
76048
  property_name = name[1:]
@@ -8530,6 +8530,29 @@ class VpcClient(AbstractClient):
8530
8530
  raise TencentCloudSDKException(type(e).__name__, str(e))
8531
8531
 
8532
8532
 
8533
+ def ModifyNatGatewayAdvancedAttribute(self, request):
8534
+ r"""本接口(ModifyNatGatewayAdvancedAttribute)用于修改NAT网关的高级属性。
8535
+
8536
+ :param request: Request instance for ModifyNatGatewayAdvancedAttribute.
8537
+ :type request: :class:`tencentcloud.vpc.v20170312.models.ModifyNatGatewayAdvancedAttributeRequest`
8538
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.ModifyNatGatewayAdvancedAttributeResponse`
8539
+
8540
+ """
8541
+ try:
8542
+ params = request._serialize()
8543
+ headers = request.headers
8544
+ body = self.call("ModifyNatGatewayAdvancedAttribute", params, headers=headers)
8545
+ response = json.loads(body)
8546
+ model = models.ModifyNatGatewayAdvancedAttributeResponse()
8547
+ model._deserialize(response["Response"])
8548
+ return model
8549
+ except Exception as e:
8550
+ if isinstance(e, TencentCloudSDKException):
8551
+ raise
8552
+ else:
8553
+ raise TencentCloudSDKException(type(e).__name__, str(e))
8554
+
8555
+
8533
8556
  def ModifyNatGatewayAttribute(self, request):
8534
8557
  r"""本接口(ModifyNatGatewayAttribute)用于修改NAT网关的属性。
8535
8558
 
@@ -6739,6 +6739,24 @@ class VpcClient(AbstractClient):
6739
6739
 
6740
6740
  return await self.call_and_deserialize(**kwargs)
6741
6741
 
6742
+ async def ModifyNatGatewayAdvancedAttribute(
6743
+ self,
6744
+ request: models.ModifyNatGatewayAdvancedAttributeRequest,
6745
+ opts: Dict = None,
6746
+ ) -> models.ModifyNatGatewayAdvancedAttributeResponse:
6747
+ """
6748
+ 本接口(ModifyNatGatewayAdvancedAttribute)用于修改NAT网关的高级属性。
6749
+ """
6750
+
6751
+ kwargs = {}
6752
+ kwargs["action"] = "ModifyNatGatewayAdvancedAttribute"
6753
+ kwargs["params"] = request._serialize()
6754
+ kwargs["resp_cls"] = models.ModifyNatGatewayAdvancedAttributeResponse
6755
+ kwargs["headers"] = request.headers
6756
+ kwargs["opts"] = opts or {}
6757
+
6758
+ return await self.call_and_deserialize(**kwargs)
6759
+
6742
6760
  async def ModifyNatGatewayAttribute(
6743
6761
  self,
6744
6762
  request: models.ModifyNatGatewayAttributeRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.1.74
3
+ Version: 3.1.82
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.74
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.82
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.82
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.74