tencentcloud-sdk-python-vpc 3.0.1203__tar.gz → 3.0.1205__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.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud/vpc/v20170312/models.py +127 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud/vpc/v20170312/vpc_client.py +2 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1205/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1203/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1203 → tencentcloud-sdk-python-vpc-3.0.1205}/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.1205"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -42179,6 +42179,66 @@ AVAILABLE:可用的
|
|
|
42179
42179
|
|
|
42180
42180
|
|
|
42181
42181
|
|
|
42182
|
+
class PrivateNatCrossDomainInfo(AbstractModel):
|
|
42183
|
+
"""私网NAT网关跨域信息
|
|
42184
|
+
|
|
42185
|
+
"""
|
|
42186
|
+
|
|
42187
|
+
def __init__(self):
|
|
42188
|
+
r"""
|
|
42189
|
+
:param _CcnId: 跨域私网NAT关联的云联网ID
|
|
42190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42191
|
+
:type CcnId: str
|
|
42192
|
+
:param _LocalVpcId: 跨域私网NAT本端Vpc
|
|
42193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42194
|
+
:type LocalVpcId: str
|
|
42195
|
+
:param _PeerVpcId: 跨域私网NAT对端Vpc
|
|
42196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42197
|
+
:type PeerVpcId: str
|
|
42198
|
+
"""
|
|
42199
|
+
self._CcnId = None
|
|
42200
|
+
self._LocalVpcId = None
|
|
42201
|
+
self._PeerVpcId = None
|
|
42202
|
+
|
|
42203
|
+
@property
|
|
42204
|
+
def CcnId(self):
|
|
42205
|
+
return self._CcnId
|
|
42206
|
+
|
|
42207
|
+
@CcnId.setter
|
|
42208
|
+
def CcnId(self, CcnId):
|
|
42209
|
+
self._CcnId = CcnId
|
|
42210
|
+
|
|
42211
|
+
@property
|
|
42212
|
+
def LocalVpcId(self):
|
|
42213
|
+
return self._LocalVpcId
|
|
42214
|
+
|
|
42215
|
+
@LocalVpcId.setter
|
|
42216
|
+
def LocalVpcId(self, LocalVpcId):
|
|
42217
|
+
self._LocalVpcId = LocalVpcId
|
|
42218
|
+
|
|
42219
|
+
@property
|
|
42220
|
+
def PeerVpcId(self):
|
|
42221
|
+
return self._PeerVpcId
|
|
42222
|
+
|
|
42223
|
+
@PeerVpcId.setter
|
|
42224
|
+
def PeerVpcId(self, PeerVpcId):
|
|
42225
|
+
self._PeerVpcId = PeerVpcId
|
|
42226
|
+
|
|
42227
|
+
|
|
42228
|
+
def _deserialize(self, params):
|
|
42229
|
+
self._CcnId = params.get("CcnId")
|
|
42230
|
+
self._LocalVpcId = params.get("LocalVpcId")
|
|
42231
|
+
self._PeerVpcId = params.get("PeerVpcId")
|
|
42232
|
+
memeber_set = set(params.keys())
|
|
42233
|
+
for name, value in vars(self).items():
|
|
42234
|
+
property_name = name[1:]
|
|
42235
|
+
if property_name in memeber_set:
|
|
42236
|
+
memeber_set.remove(property_name)
|
|
42237
|
+
if len(memeber_set) > 0:
|
|
42238
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42239
|
+
|
|
42240
|
+
|
|
42241
|
+
|
|
42182
42242
|
class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
42183
42243
|
"""本端目的IP端口转换复杂结构
|
|
42184
42244
|
|
|
@@ -42319,6 +42379,21 @@ class PrivateNatGateway(AbstractModel):
|
|
|
42319
42379
|
:param _TagSet: 标签键值对。
|
|
42320
42380
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
42321
42381
|
:type TagSet: list of Tag
|
|
42382
|
+
:param _DirectConnectGatewayIds: 专线网关唯一`ID`
|
|
42383
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42384
|
+
:type DirectConnectGatewayIds: list of str
|
|
42385
|
+
:param _NatType: 私网网关类型
|
|
42386
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42387
|
+
:type NatType: str
|
|
42388
|
+
:param _CrossDomainInfo: 私网NAT跨域信息
|
|
42389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42390
|
+
:type CrossDomainInfo: :class:`tencentcloud.vpc.v20170312.models.PrivateNatCrossDomainInfo`
|
|
42391
|
+
:param _VpcType: 是否VPC型私网网关
|
|
42392
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42393
|
+
:type VpcType: bool
|
|
42394
|
+
:param _CcnId: 跨域私网NAT关联的云联网ID
|
|
42395
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42396
|
+
:type CcnId: str
|
|
42322
42397
|
"""
|
|
42323
42398
|
self._NatGatewayId = None
|
|
42324
42399
|
self._NatGatewayName = None
|
|
@@ -42327,6 +42402,11 @@ class PrivateNatGateway(AbstractModel):
|
|
|
42327
42402
|
self._CrossDomain = None
|
|
42328
42403
|
self._CreatedTime = None
|
|
42329
42404
|
self._TagSet = None
|
|
42405
|
+
self._DirectConnectGatewayIds = None
|
|
42406
|
+
self._NatType = None
|
|
42407
|
+
self._CrossDomainInfo = None
|
|
42408
|
+
self._VpcType = None
|
|
42409
|
+
self._CcnId = None
|
|
42330
42410
|
|
|
42331
42411
|
@property
|
|
42332
42412
|
def NatGatewayId(self):
|
|
@@ -42384,6 +42464,46 @@ class PrivateNatGateway(AbstractModel):
|
|
|
42384
42464
|
def TagSet(self, TagSet):
|
|
42385
42465
|
self._TagSet = TagSet
|
|
42386
42466
|
|
|
42467
|
+
@property
|
|
42468
|
+
def DirectConnectGatewayIds(self):
|
|
42469
|
+
return self._DirectConnectGatewayIds
|
|
42470
|
+
|
|
42471
|
+
@DirectConnectGatewayIds.setter
|
|
42472
|
+
def DirectConnectGatewayIds(self, DirectConnectGatewayIds):
|
|
42473
|
+
self._DirectConnectGatewayIds = DirectConnectGatewayIds
|
|
42474
|
+
|
|
42475
|
+
@property
|
|
42476
|
+
def NatType(self):
|
|
42477
|
+
return self._NatType
|
|
42478
|
+
|
|
42479
|
+
@NatType.setter
|
|
42480
|
+
def NatType(self, NatType):
|
|
42481
|
+
self._NatType = NatType
|
|
42482
|
+
|
|
42483
|
+
@property
|
|
42484
|
+
def CrossDomainInfo(self):
|
|
42485
|
+
return self._CrossDomainInfo
|
|
42486
|
+
|
|
42487
|
+
@CrossDomainInfo.setter
|
|
42488
|
+
def CrossDomainInfo(self, CrossDomainInfo):
|
|
42489
|
+
self._CrossDomainInfo = CrossDomainInfo
|
|
42490
|
+
|
|
42491
|
+
@property
|
|
42492
|
+
def VpcType(self):
|
|
42493
|
+
return self._VpcType
|
|
42494
|
+
|
|
42495
|
+
@VpcType.setter
|
|
42496
|
+
def VpcType(self, VpcType):
|
|
42497
|
+
self._VpcType = VpcType
|
|
42498
|
+
|
|
42499
|
+
@property
|
|
42500
|
+
def CcnId(self):
|
|
42501
|
+
return self._CcnId
|
|
42502
|
+
|
|
42503
|
+
@CcnId.setter
|
|
42504
|
+
def CcnId(self, CcnId):
|
|
42505
|
+
self._CcnId = CcnId
|
|
42506
|
+
|
|
42387
42507
|
|
|
42388
42508
|
def _deserialize(self, params):
|
|
42389
42509
|
self._NatGatewayId = params.get("NatGatewayId")
|
|
@@ -42398,6 +42518,13 @@ class PrivateNatGateway(AbstractModel):
|
|
|
42398
42518
|
obj = Tag()
|
|
42399
42519
|
obj._deserialize(item)
|
|
42400
42520
|
self._TagSet.append(obj)
|
|
42521
|
+
self._DirectConnectGatewayIds = params.get("DirectConnectGatewayIds")
|
|
42522
|
+
self._NatType = params.get("NatType")
|
|
42523
|
+
if params.get("CrossDomainInfo") is not None:
|
|
42524
|
+
self._CrossDomainInfo = PrivateNatCrossDomainInfo()
|
|
42525
|
+
self._CrossDomainInfo._deserialize(params.get("CrossDomainInfo"))
|
|
42526
|
+
self._VpcType = params.get("VpcType")
|
|
42527
|
+
self._CcnId = params.get("CcnId")
|
|
42401
42528
|
memeber_set = set(params.keys())
|
|
42402
42529
|
for name, value in vars(self).items():
|
|
42403
42530
|
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.1205
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1203
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|