tencentcloud-sdk-python-vpc 3.0.1204__tar.gz → 3.0.1206__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.
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud/vpc/v20170312/models.py +139 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud/vpc/v20170312/vpc_client.py +2 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1206/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1204/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1204 → tencentcloud-sdk-python-vpc-3.0.1206}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1206"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1817,10 +1817,13 @@ class AssignIpv6AddressesRequest(AbstractModel):
|
|
|
1817
1817
|
:type Ipv6Addresses: list of Ipv6Address
|
|
1818
1818
|
:param _Ipv6AddressCount: 自动分配`IPv6`地址个数,内网IP地址个数总和不能超过配额数。与入参`Ipv6Addresses`合并计算配额。与Ipv6Addresses必填一个。
|
|
1819
1819
|
:type Ipv6AddressCount: int
|
|
1820
|
+
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
1821
|
+
:type ClientToken: str
|
|
1820
1822
|
"""
|
|
1821
1823
|
self._NetworkInterfaceId = None
|
|
1822
1824
|
self._Ipv6Addresses = None
|
|
1823
1825
|
self._Ipv6AddressCount = None
|
|
1826
|
+
self._ClientToken = None
|
|
1824
1827
|
|
|
1825
1828
|
@property
|
|
1826
1829
|
def NetworkInterfaceId(self):
|
|
@@ -1846,6 +1849,14 @@ class AssignIpv6AddressesRequest(AbstractModel):
|
|
|
1846
1849
|
def Ipv6AddressCount(self, Ipv6AddressCount):
|
|
1847
1850
|
self._Ipv6AddressCount = Ipv6AddressCount
|
|
1848
1851
|
|
|
1852
|
+
@property
|
|
1853
|
+
def ClientToken(self):
|
|
1854
|
+
return self._ClientToken
|
|
1855
|
+
|
|
1856
|
+
@ClientToken.setter
|
|
1857
|
+
def ClientToken(self, ClientToken):
|
|
1858
|
+
self._ClientToken = ClientToken
|
|
1859
|
+
|
|
1849
1860
|
|
|
1850
1861
|
def _deserialize(self, params):
|
|
1851
1862
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
@@ -1856,6 +1867,7 @@ class AssignIpv6AddressesRequest(AbstractModel):
|
|
|
1856
1867
|
obj._deserialize(item)
|
|
1857
1868
|
self._Ipv6Addresses.append(obj)
|
|
1858
1869
|
self._Ipv6AddressCount = params.get("Ipv6AddressCount")
|
|
1870
|
+
self._ClientToken = params.get("ClientToken")
|
|
1859
1871
|
memeber_set = set(params.keys())
|
|
1860
1872
|
for name, value in vars(self).items():
|
|
1861
1873
|
property_name = name[1:]
|
|
@@ -42179,6 +42191,66 @@ AVAILABLE:可用的
|
|
|
42179
42191
|
|
|
42180
42192
|
|
|
42181
42193
|
|
|
42194
|
+
class PrivateNatCrossDomainInfo(AbstractModel):
|
|
42195
|
+
"""私网NAT网关跨域信息
|
|
42196
|
+
|
|
42197
|
+
"""
|
|
42198
|
+
|
|
42199
|
+
def __init__(self):
|
|
42200
|
+
r"""
|
|
42201
|
+
:param _CcnId: 跨域私网NAT关联的云联网ID
|
|
42202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42203
|
+
:type CcnId: str
|
|
42204
|
+
:param _LocalVpcId: 跨域私网NAT本端Vpc
|
|
42205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42206
|
+
:type LocalVpcId: str
|
|
42207
|
+
:param _PeerVpcId: 跨域私网NAT对端Vpc
|
|
42208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42209
|
+
:type PeerVpcId: str
|
|
42210
|
+
"""
|
|
42211
|
+
self._CcnId = None
|
|
42212
|
+
self._LocalVpcId = None
|
|
42213
|
+
self._PeerVpcId = None
|
|
42214
|
+
|
|
42215
|
+
@property
|
|
42216
|
+
def CcnId(self):
|
|
42217
|
+
return self._CcnId
|
|
42218
|
+
|
|
42219
|
+
@CcnId.setter
|
|
42220
|
+
def CcnId(self, CcnId):
|
|
42221
|
+
self._CcnId = CcnId
|
|
42222
|
+
|
|
42223
|
+
@property
|
|
42224
|
+
def LocalVpcId(self):
|
|
42225
|
+
return self._LocalVpcId
|
|
42226
|
+
|
|
42227
|
+
@LocalVpcId.setter
|
|
42228
|
+
def LocalVpcId(self, LocalVpcId):
|
|
42229
|
+
self._LocalVpcId = LocalVpcId
|
|
42230
|
+
|
|
42231
|
+
@property
|
|
42232
|
+
def PeerVpcId(self):
|
|
42233
|
+
return self._PeerVpcId
|
|
42234
|
+
|
|
42235
|
+
@PeerVpcId.setter
|
|
42236
|
+
def PeerVpcId(self, PeerVpcId):
|
|
42237
|
+
self._PeerVpcId = PeerVpcId
|
|
42238
|
+
|
|
42239
|
+
|
|
42240
|
+
def _deserialize(self, params):
|
|
42241
|
+
self._CcnId = params.get("CcnId")
|
|
42242
|
+
self._LocalVpcId = params.get("LocalVpcId")
|
|
42243
|
+
self._PeerVpcId = params.get("PeerVpcId")
|
|
42244
|
+
memeber_set = set(params.keys())
|
|
42245
|
+
for name, value in vars(self).items():
|
|
42246
|
+
property_name = name[1:]
|
|
42247
|
+
if property_name in memeber_set:
|
|
42248
|
+
memeber_set.remove(property_name)
|
|
42249
|
+
if len(memeber_set) > 0:
|
|
42250
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42251
|
+
|
|
42252
|
+
|
|
42253
|
+
|
|
42182
42254
|
class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
42183
42255
|
"""本端目的IP端口转换复杂结构
|
|
42184
42256
|
|
|
@@ -42319,6 +42391,21 @@ class PrivateNatGateway(AbstractModel):
|
|
|
42319
42391
|
:param _TagSet: 标签键值对。
|
|
42320
42392
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
42321
42393
|
:type TagSet: list of Tag
|
|
42394
|
+
:param _DirectConnectGatewayIds: 专线网关唯一`ID`
|
|
42395
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42396
|
+
:type DirectConnectGatewayIds: list of str
|
|
42397
|
+
:param _NatType: 私网网关类型
|
|
42398
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42399
|
+
:type NatType: str
|
|
42400
|
+
:param _CrossDomainInfo: 私网NAT跨域信息
|
|
42401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42402
|
+
:type CrossDomainInfo: :class:`tencentcloud.vpc.v20170312.models.PrivateNatCrossDomainInfo`
|
|
42403
|
+
:param _VpcType: 是否VPC型私网网关
|
|
42404
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42405
|
+
:type VpcType: bool
|
|
42406
|
+
:param _CcnId: 跨域私网NAT关联的云联网ID
|
|
42407
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42408
|
+
:type CcnId: str
|
|
42322
42409
|
"""
|
|
42323
42410
|
self._NatGatewayId = None
|
|
42324
42411
|
self._NatGatewayName = None
|
|
@@ -42327,6 +42414,11 @@ class PrivateNatGateway(AbstractModel):
|
|
|
42327
42414
|
self._CrossDomain = None
|
|
42328
42415
|
self._CreatedTime = None
|
|
42329
42416
|
self._TagSet = None
|
|
42417
|
+
self._DirectConnectGatewayIds = None
|
|
42418
|
+
self._NatType = None
|
|
42419
|
+
self._CrossDomainInfo = None
|
|
42420
|
+
self._VpcType = None
|
|
42421
|
+
self._CcnId = None
|
|
42330
42422
|
|
|
42331
42423
|
@property
|
|
42332
42424
|
def NatGatewayId(self):
|
|
@@ -42384,6 +42476,46 @@ class PrivateNatGateway(AbstractModel):
|
|
|
42384
42476
|
def TagSet(self, TagSet):
|
|
42385
42477
|
self._TagSet = TagSet
|
|
42386
42478
|
|
|
42479
|
+
@property
|
|
42480
|
+
def DirectConnectGatewayIds(self):
|
|
42481
|
+
return self._DirectConnectGatewayIds
|
|
42482
|
+
|
|
42483
|
+
@DirectConnectGatewayIds.setter
|
|
42484
|
+
def DirectConnectGatewayIds(self, DirectConnectGatewayIds):
|
|
42485
|
+
self._DirectConnectGatewayIds = DirectConnectGatewayIds
|
|
42486
|
+
|
|
42487
|
+
@property
|
|
42488
|
+
def NatType(self):
|
|
42489
|
+
return self._NatType
|
|
42490
|
+
|
|
42491
|
+
@NatType.setter
|
|
42492
|
+
def NatType(self, NatType):
|
|
42493
|
+
self._NatType = NatType
|
|
42494
|
+
|
|
42495
|
+
@property
|
|
42496
|
+
def CrossDomainInfo(self):
|
|
42497
|
+
return self._CrossDomainInfo
|
|
42498
|
+
|
|
42499
|
+
@CrossDomainInfo.setter
|
|
42500
|
+
def CrossDomainInfo(self, CrossDomainInfo):
|
|
42501
|
+
self._CrossDomainInfo = CrossDomainInfo
|
|
42502
|
+
|
|
42503
|
+
@property
|
|
42504
|
+
def VpcType(self):
|
|
42505
|
+
return self._VpcType
|
|
42506
|
+
|
|
42507
|
+
@VpcType.setter
|
|
42508
|
+
def VpcType(self, VpcType):
|
|
42509
|
+
self._VpcType = VpcType
|
|
42510
|
+
|
|
42511
|
+
@property
|
|
42512
|
+
def CcnId(self):
|
|
42513
|
+
return self._CcnId
|
|
42514
|
+
|
|
42515
|
+
@CcnId.setter
|
|
42516
|
+
def CcnId(self, CcnId):
|
|
42517
|
+
self._CcnId = CcnId
|
|
42518
|
+
|
|
42387
42519
|
|
|
42388
42520
|
def _deserialize(self, params):
|
|
42389
42521
|
self._NatGatewayId = params.get("NatGatewayId")
|
|
@@ -42398,6 +42530,13 @@ class PrivateNatGateway(AbstractModel):
|
|
|
42398
42530
|
obj = Tag()
|
|
42399
42531
|
obj._deserialize(item)
|
|
42400
42532
|
self._TagSet.append(obj)
|
|
42533
|
+
self._DirectConnectGatewayIds = params.get("DirectConnectGatewayIds")
|
|
42534
|
+
self._NatType = params.get("NatType")
|
|
42535
|
+
if params.get("CrossDomainInfo") is not None:
|
|
42536
|
+
self._CrossDomainInfo = PrivateNatCrossDomainInfo()
|
|
42537
|
+
self._CrossDomainInfo._deserialize(params.get("CrossDomainInfo"))
|
|
42538
|
+
self._VpcType = params.get("VpcType")
|
|
42539
|
+
self._CcnId = params.get("CcnId")
|
|
42401
42540
|
memeber_set = set(params.keys())
|
|
42402
42541
|
for name, value in vars(self).items():
|
|
42403
42542
|
property_name = name[1:]
|
|
@@ -2945,6 +2945,8 @@ class VpcClient(AbstractClient):
|
|
|
2945
2945
|
|
|
2946
2946
|
def DeleteVpnConnection(self, request):
|
|
2947
2947
|
"""本接口(DeleteVpnConnection)用于删除VPN通道。
|
|
2948
|
+
>?本接口为异步接口
|
|
2949
|
+
>
|
|
2948
2950
|
|
|
2949
2951
|
:param request: Request instance for DeleteVpnConnection.
|
|
2950
2952
|
:type request: :class:`tencentcloud.vpc.v20170312.models.DeleteVpnConnectionRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1206
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1204
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|