tencentcloud-sdk-python-vpc 3.0.1394__tar.gz → 3.0.1410__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-vpc might be problematic. Click here for more details.
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud/vpc/v20170312/models.py +38 -6
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1410/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1394/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1394 → tencentcloud-sdk-python-vpc-3.0.1410}/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.1410"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -224,6 +224,9 @@ INVALIDPARAMETERVALUE_DUPLICATEDLBTRAFFICMIRRORRECIVERENDPOINT = 'InvalidParamet
|
|
|
224
224
|
# 值超过上限。
|
|
225
225
|
INVALIDPARAMETERVALUE_EIPBRANDWIDTHOUTINVALID = 'InvalidParameterValue.EIPBrandWidthOutInvalid'
|
|
226
226
|
|
|
227
|
+
# 出口不一致
|
|
228
|
+
INVALIDPARAMETERVALUE_EGRESSCONFLICT = 'InvalidParameterValue.EgressConflict'
|
|
229
|
+
|
|
227
230
|
# 缺少参数。
|
|
228
231
|
INVALIDPARAMETERVALUE_EMPTY = 'InvalidParameterValue.Empty'
|
|
229
232
|
|
|
@@ -278,6 +281,9 @@ INVALIDPARAMETERVALUE_INVALIDBUSINESS = 'InvalidParameterValue.InvalidBusiness'
|
|
|
278
281
|
# 传入的DedicatedClusterId有误。
|
|
279
282
|
INVALIDPARAMETERVALUE_INVALIDDEDICATEDCLUSTERID = 'InvalidParameterValue.InvalidDedicatedClusterId'
|
|
280
283
|
|
|
284
|
+
# egress的值无效。
|
|
285
|
+
INVALIDPARAMETERVALUE_INVALIDEGRESS = 'InvalidParameterValue.InvalidEgress'
|
|
286
|
+
|
|
281
287
|
# 该IP只能绑定小时流量后付费和带宽包实例。
|
|
282
288
|
INVALIDPARAMETERVALUE_INVALIDINSTANCEINTERNETCHARGETYPE = 'InvalidParameterValue.InvalidInstanceInternetChargeType'
|
|
283
289
|
|
|
@@ -503,6 +509,9 @@ INVALIDPARAMETERVALUE_TRAFFICPACKAGERESOURCEIDMALFORMED = 'InvalidParameterValue
|
|
|
503
509
|
# 该可用区不可用。
|
|
504
510
|
INVALIDPARAMETERVALUE_UNAVAILABLEZONE = 'InvalidParameterValue.UnavailableZone'
|
|
505
511
|
|
|
512
|
+
# 账号不支持该egress
|
|
513
|
+
INVALIDPARAMETERVALUE_UNSUPPORTEDEGRESS = 'InvalidParameterValue.UnsupportedEgress'
|
|
514
|
+
|
|
506
515
|
# 当前公网IP所在的地区不支持流量采集。
|
|
507
516
|
INVALIDPARAMETERVALUE_UNSUPPORTEDLBTRAFFICMIRRORAZ = 'InvalidParameterValue.UnsupportedLbTrafficMirrorAz'
|
|
508
517
|
|
|
@@ -3683,12 +3683,15 @@ class AssociateIPv6AddressRequest(AbstractModel):
|
|
|
3683
3683
|
r"""
|
|
3684
3684
|
:param _IPv6AddressId: 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。可以使用[DescribeIPv6Addresses](https://cloud.tencent.com/document/api/215/113677)接口获取IPv6AddressId。
|
|
3685
3685
|
:type IPv6AddressId: str
|
|
3686
|
+
:param _InstanceId: 要绑定的实例 ID。实例 ID 形如:ins-djflxkvi。可通过登录控制台查询,也可通过 DescribeInstances 接口返回值中的InstanceId获取。
|
|
3687
|
+
:type InstanceId: str
|
|
3686
3688
|
:param _NetworkInterfaceId: 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni?rid=1)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的networkInterfaceId获取。
|
|
3687
3689
|
:type NetworkInterfaceId: str
|
|
3688
3690
|
:param _PrivateIPv6Address: 要绑定的内网 IPv6。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIPv6Address ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIPv6Address 是指定的 NetworkInterfaceId 上的一个内网 IPv6。指定弹性网卡的内网 IPv6 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni?rid=1)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的Ipv6AddressSet.Address获取。
|
|
3689
3691
|
:type PrivateIPv6Address: str
|
|
3690
3692
|
"""
|
|
3691
3693
|
self._IPv6AddressId = None
|
|
3694
|
+
self._InstanceId = None
|
|
3692
3695
|
self._NetworkInterfaceId = None
|
|
3693
3696
|
self._PrivateIPv6Address = None
|
|
3694
3697
|
|
|
@@ -3703,6 +3706,17 @@ class AssociateIPv6AddressRequest(AbstractModel):
|
|
|
3703
3706
|
def IPv6AddressId(self, IPv6AddressId):
|
|
3704
3707
|
self._IPv6AddressId = IPv6AddressId
|
|
3705
3708
|
|
|
3709
|
+
@property
|
|
3710
|
+
def InstanceId(self):
|
|
3711
|
+
"""要绑定的实例 ID。实例 ID 形如:ins-djflxkvi。可通过登录控制台查询,也可通过 DescribeInstances 接口返回值中的InstanceId获取。
|
|
3712
|
+
:rtype: str
|
|
3713
|
+
"""
|
|
3714
|
+
return self._InstanceId
|
|
3715
|
+
|
|
3716
|
+
@InstanceId.setter
|
|
3717
|
+
def InstanceId(self, InstanceId):
|
|
3718
|
+
self._InstanceId = InstanceId
|
|
3719
|
+
|
|
3706
3720
|
@property
|
|
3707
3721
|
def NetworkInterfaceId(self):
|
|
3708
3722
|
"""要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni?rid=1)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的networkInterfaceId获取。
|
|
@@ -3728,6 +3742,7 @@ class AssociateIPv6AddressRequest(AbstractModel):
|
|
|
3728
3742
|
|
|
3729
3743
|
def _deserialize(self, params):
|
|
3730
3744
|
self._IPv6AddressId = params.get("IPv6AddressId")
|
|
3745
|
+
self._InstanceId = params.get("InstanceId")
|
|
3731
3746
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
3732
3747
|
self._PrivateIPv6Address = params.get("PrivateIPv6Address")
|
|
3733
3748
|
memeber_set = set(params.keys())
|
|
@@ -15256,7 +15271,6 @@ class CreateTrafficPackagesRequest(AbstractModel):
|
|
|
15256
15271
|
<li>51200: 50TB流量,有效期一个月</li>
|
|
15257
15272
|
<li>60: 60GB流量,有效期半年</li>
|
|
15258
15273
|
<li>300: 300GB流量,有效期半年</li>
|
|
15259
|
-
<li>600: 600GB流量,有效期半年</li>
|
|
15260
15274
|
<li>3072: 3TB流量,有效期半年</li>
|
|
15261
15275
|
<li>6144: 6TB流量,有效期半年</li>
|
|
15262
15276
|
<li>30720: 30TB流量,有效期半年</li>
|
|
@@ -15265,9 +15279,14 @@ class CreateTrafficPackagesRequest(AbstractModel):
|
|
|
15265
15279
|
:type TrafficAmount: int
|
|
15266
15280
|
:param _TrafficPackageCount: 流量包数量,可选范围 1~20。
|
|
15267
15281
|
:type TrafficPackageCount: int
|
|
15282
|
+
:param _DeductType: 抵扣类型,默认为 FULL_TIME,可选值:
|
|
15283
|
+
<li>FULL_TIME: 全时流量包</li>
|
|
15284
|
+
<li>IDLE_TIME: 闲时流量包</li>
|
|
15285
|
+
:type DeductType: str
|
|
15268
15286
|
"""
|
|
15269
15287
|
self._TrafficAmount = None
|
|
15270
15288
|
self._TrafficPackageCount = None
|
|
15289
|
+
self._DeductType = None
|
|
15271
15290
|
|
|
15272
15291
|
@property
|
|
15273
15292
|
def TrafficAmount(self):
|
|
@@ -15280,7 +15299,6 @@ class CreateTrafficPackagesRequest(AbstractModel):
|
|
|
15280
15299
|
<li>51200: 50TB流量,有效期一个月</li>
|
|
15281
15300
|
<li>60: 60GB流量,有效期半年</li>
|
|
15282
15301
|
<li>300: 300GB流量,有效期半年</li>
|
|
15283
|
-
<li>600: 600GB流量,有效期半年</li>
|
|
15284
15302
|
<li>3072: 3TB流量,有效期半年</li>
|
|
15285
15303
|
<li>6144: 6TB流量,有效期半年</li>
|
|
15286
15304
|
<li>30720: 30TB流量,有效期半年</li>
|
|
@@ -15305,10 +15323,24 @@ class CreateTrafficPackagesRequest(AbstractModel):
|
|
|
15305
15323
|
def TrafficPackageCount(self, TrafficPackageCount):
|
|
15306
15324
|
self._TrafficPackageCount = TrafficPackageCount
|
|
15307
15325
|
|
|
15326
|
+
@property
|
|
15327
|
+
def DeductType(self):
|
|
15328
|
+
"""抵扣类型,默认为 FULL_TIME,可选值:
|
|
15329
|
+
<li>FULL_TIME: 全时流量包</li>
|
|
15330
|
+
<li>IDLE_TIME: 闲时流量包</li>
|
|
15331
|
+
:rtype: str
|
|
15332
|
+
"""
|
|
15333
|
+
return self._DeductType
|
|
15334
|
+
|
|
15335
|
+
@DeductType.setter
|
|
15336
|
+
def DeductType(self, DeductType):
|
|
15337
|
+
self._DeductType = DeductType
|
|
15338
|
+
|
|
15308
15339
|
|
|
15309
15340
|
def _deserialize(self, params):
|
|
15310
15341
|
self._TrafficAmount = params.get("TrafficAmount")
|
|
15311
15342
|
self._TrafficPackageCount = params.get("TrafficPackageCount")
|
|
15343
|
+
self._DeductType = params.get("DeductType")
|
|
15312
15344
|
memeber_set = set(params.keys())
|
|
15313
15345
|
for name, value in vars(self).items():
|
|
15314
15346
|
property_name = name[1:]
|
|
@@ -29076,9 +29108,9 @@ class DescribeNatGatewayDirectConnectGatewayRouteRequest(AbstractModel):
|
|
|
29076
29108
|
:type NatGatewayId: str
|
|
29077
29109
|
:param _VpcId: vpc的唯一标识
|
|
29078
29110
|
:type VpcId: str
|
|
29079
|
-
:param _Limit: 0
|
|
29111
|
+
:param _Limit: 查询NAT网关绑定的路由数量,可选值0-200,默认为10
|
|
29080
29112
|
:type Limit: int
|
|
29081
|
-
:param _Offset:
|
|
29113
|
+
:param _Offset: 数据偏移量,默认为0
|
|
29082
29114
|
:type Offset: int
|
|
29083
29115
|
"""
|
|
29084
29116
|
self._NatGatewayId = None
|
|
@@ -29110,7 +29142,7 @@ class DescribeNatGatewayDirectConnectGatewayRouteRequest(AbstractModel):
|
|
|
29110
29142
|
|
|
29111
29143
|
@property
|
|
29112
29144
|
def Limit(self):
|
|
29113
|
-
"""0
|
|
29145
|
+
"""查询NAT网关绑定的路由数量,可选值0-200,默认为10
|
|
29114
29146
|
:rtype: int
|
|
29115
29147
|
"""
|
|
29116
29148
|
return self._Limit
|
|
@@ -29121,7 +29153,7 @@ class DescribeNatGatewayDirectConnectGatewayRouteRequest(AbstractModel):
|
|
|
29121
29153
|
|
|
29122
29154
|
@property
|
|
29123
29155
|
def Offset(self):
|
|
29124
|
-
"""
|
|
29156
|
+
"""数据偏移量,默认为0
|
|
29125
29157
|
:rtype: int
|
|
29126
29158
|
"""
|
|
29127
29159
|
return self._Offset
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1410
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1394
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|