tencentcloud-sdk-python-vpc 3.0.1395__py2.py3-none-any.whl → 3.0.1412__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +30 -0
- tencentcloud/vpc/v20170312/models.py +19 -4
- {tencentcloud_sdk_python_vpc-3.0.1395.dist-info → tencentcloud_sdk_python_vpc-3.0.1412.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_vpc-3.0.1412.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_vpc-3.0.1395.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_vpc-3.0.1395.dist-info → tencentcloud_sdk_python_vpc-3.0.1412.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1395.dist-info → tencentcloud_sdk_python_vpc-3.0.1412.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -32,6 +32,9 @@ FAILEDOPERATION_BALANCEINSUFFICIENT = 'FailedOperation.BalanceInsufficient'
|
|
|
32
32
|
# 创建云联网失败. 请重试你的请求,如果问题仍然存在,请联系腾讯云客服。
|
|
33
33
|
FAILEDOPERATION_CREATECCNFAILED = 'FailedOperation.CreateCcnFailed'
|
|
34
34
|
|
|
35
|
+
# 创建VPN网关失败,请重试你的请求,如果问题仍然存在,请联系腾讯云客服。
|
|
36
|
+
FAILEDOPERATION_CREATEVPNGATEWAYFAILED = 'FailedOperation.CreateVpnGatewayFailed'
|
|
37
|
+
|
|
35
38
|
# 不支持的地域。
|
|
36
39
|
FAILEDOPERATION_INVALIDREGION = 'FailedOperation.InvalidRegion'
|
|
37
40
|
|
|
@@ -140,6 +143,12 @@ INVALIDPARAMETERCONFLICT = 'InvalidParameterConflict'
|
|
|
140
143
|
# 参数取值错误。
|
|
141
144
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
142
145
|
|
|
146
|
+
# 接入网段掩码必须在12-28之间。
|
|
147
|
+
INVALIDPARAMETERVALUE_ACCESSSUBNETMASK = 'InvalidParameterValue.AccessSubnetMask'
|
|
148
|
+
|
|
149
|
+
# 接入网段前缀必须是10,172,192开头。
|
|
150
|
+
INVALIDPARAMETERVALUE_ACCESSSUBNETPREFIX = 'InvalidParameterValue.AccessSubnetPrefix'
|
|
151
|
+
|
|
143
152
|
# 被攻击的IP地址。
|
|
144
153
|
INVALIDPARAMETERVALUE_ADDRESSATTACKED = 'InvalidParameterValue.AddressAttacked'
|
|
145
154
|
|
|
@@ -224,6 +233,9 @@ INVALIDPARAMETERVALUE_DUPLICATEDLBTRAFFICMIRRORRECIVERENDPOINT = 'InvalidParamet
|
|
|
224
233
|
# 值超过上限。
|
|
225
234
|
INVALIDPARAMETERVALUE_EIPBRANDWIDTHOUTINVALID = 'InvalidParameterValue.EIPBrandWidthOutInvalid'
|
|
226
235
|
|
|
236
|
+
# 出口不一致
|
|
237
|
+
INVALIDPARAMETERVALUE_EGRESSCONFLICT = 'InvalidParameterValue.EgressConflict'
|
|
238
|
+
|
|
227
239
|
# 缺少参数。
|
|
228
240
|
INVALIDPARAMETERVALUE_EMPTY = 'InvalidParameterValue.Empty'
|
|
229
241
|
|
|
@@ -278,6 +290,9 @@ INVALIDPARAMETERVALUE_INVALIDBUSINESS = 'InvalidParameterValue.InvalidBusiness'
|
|
|
278
290
|
# 传入的DedicatedClusterId有误。
|
|
279
291
|
INVALIDPARAMETERVALUE_INVALIDDEDICATEDCLUSTERID = 'InvalidParameterValue.InvalidDedicatedClusterId'
|
|
280
292
|
|
|
293
|
+
# egress的值无效。
|
|
294
|
+
INVALIDPARAMETERVALUE_INVALIDEGRESS = 'InvalidParameterValue.InvalidEgress'
|
|
295
|
+
|
|
281
296
|
# 该IP只能绑定小时流量后付费和带宽包实例。
|
|
282
297
|
INVALIDPARAMETERVALUE_INVALIDINSTANCEINTERNETCHARGETYPE = 'InvalidParameterValue.InvalidInstanceInternetChargeType'
|
|
283
298
|
|
|
@@ -503,6 +518,9 @@ INVALIDPARAMETERVALUE_TRAFFICPACKAGERESOURCEIDMALFORMED = 'InvalidParameterValue
|
|
|
503
518
|
# 该可用区不可用。
|
|
504
519
|
INVALIDPARAMETERVALUE_UNAVAILABLEZONE = 'InvalidParameterValue.UnavailableZone'
|
|
505
520
|
|
|
521
|
+
# 账号不支持该egress
|
|
522
|
+
INVALIDPARAMETERVALUE_UNSUPPORTEDEGRESS = 'InvalidParameterValue.UnsupportedEgress'
|
|
523
|
+
|
|
506
524
|
# 当前公网IP所在的地区不支持流量采集。
|
|
507
525
|
INVALIDPARAMETERVALUE_UNSUPPORTEDLBTRAFFICMIRRORAZ = 'InvalidParameterValue.UnsupportedLbTrafficMirrorAz'
|
|
508
526
|
|
|
@@ -1115,6 +1133,9 @@ UNSUPPORTEDOPERATION_NOTSUPPORTATTACHEDGEANDCROSSBORDERINSTANCE = 'UnsupportedOp
|
|
|
1115
1133
|
# 没有开启多路由表特性,不能创建用户路由表。
|
|
1116
1134
|
UNSUPPORTEDOPERATION_NOTSUPPORTCREATECCNROUTETABLE = 'UnsupportedOperation.NotSupportCreateCcnRouteTable'
|
|
1117
1135
|
|
|
1136
|
+
# 当前操作不支持创建Ipv6类型VPN网关。
|
|
1137
|
+
UNSUPPORTEDOPERATION_NOTSUPPORTCREATEIPV6VPNGATEWAY = 'UnsupportedOperation.NotSupportCreateIpv6VpnGateway'
|
|
1138
|
+
|
|
1118
1139
|
# 默认路由表,不支持删除。
|
|
1119
1140
|
UNSUPPORTEDOPERATION_NOTSUPPORTDELETEDEFAULTCCNROUTETABLE = 'UnsupportedOperation.NotSupportDeleteDefaultCcnRouteTable'
|
|
1120
1141
|
|
|
@@ -1166,9 +1187,18 @@ UNSUPPORTEDOPERATION_PREPAIDCCNONLYSUPPORTINTERREGIONLIMIT = 'UnsupportedOperati
|
|
|
1166
1187
|
# 指定的值是主IP。
|
|
1167
1188
|
UNSUPPORTEDOPERATION_PRIMARYIP = 'UnsupportedOperation.PrimaryIp'
|
|
1168
1189
|
|
|
1190
|
+
# 不支持创建私网BGP类型VPN网关。
|
|
1191
|
+
UNSUPPORTEDOPERATION_PRIVATEBGPVPNGATEWAY = 'UnsupportedOperation.PrivateBgpVpnGateway'
|
|
1192
|
+
|
|
1169
1193
|
# 私网NAT网关存在关联规则。
|
|
1170
1194
|
UNSUPPORTEDOPERATION_PRIVATENATGATEWAYASSOCIATIONEXISTS = 'UnsupportedOperation.PrivateNatGatewayAssociationExists'
|
|
1171
1195
|
|
|
1196
|
+
# 不支持创建私网Ssl类型VPN网关。
|
|
1197
|
+
UNSUPPORTEDOPERATION_PRIVATESSLVPNGATEWAY = 'UnsupportedOperation.PrivateSslVpnGateway'
|
|
1198
|
+
|
|
1199
|
+
# 不支持创建私网类型VPN网关。
|
|
1200
|
+
UNSUPPORTEDOPERATION_PRIVATEVPNGATEWAY = 'UnsupportedOperation.PrivateVpnGateway'
|
|
1201
|
+
|
|
1172
1202
|
# 不支持公网CLB。
|
|
1173
1203
|
UNSUPPORTEDOPERATION_PUBLICCLBNOTSUPPORT = 'UnsupportedOperation.PublicClbNotSupport'
|
|
1174
1204
|
|
|
@@ -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())
|
|
@@ -29093,9 +29108,9 @@ class DescribeNatGatewayDirectConnectGatewayRouteRequest(AbstractModel):
|
|
|
29093
29108
|
:type NatGatewayId: str
|
|
29094
29109
|
:param _VpcId: vpc的唯一标识
|
|
29095
29110
|
:type VpcId: str
|
|
29096
|
-
:param _Limit: 0
|
|
29111
|
+
:param _Limit: 查询NAT网关绑定的路由数量,可选值0-200,默认为10
|
|
29097
29112
|
:type Limit: int
|
|
29098
|
-
:param _Offset:
|
|
29113
|
+
:param _Offset: 数据偏移量,默认为0
|
|
29099
29114
|
:type Offset: int
|
|
29100
29115
|
"""
|
|
29101
29116
|
self._NatGatewayId = None
|
|
@@ -29127,7 +29142,7 @@ class DescribeNatGatewayDirectConnectGatewayRouteRequest(AbstractModel):
|
|
|
29127
29142
|
|
|
29128
29143
|
@property
|
|
29129
29144
|
def Limit(self):
|
|
29130
|
-
"""0
|
|
29145
|
+
"""查询NAT网关绑定的路由数量,可选值0-200,默认为10
|
|
29131
29146
|
:rtype: int
|
|
29132
29147
|
"""
|
|
29133
29148
|
return self._Limit
|
|
@@ -29138,7 +29153,7 @@ class DescribeNatGatewayDirectConnectGatewayRouteRequest(AbstractModel):
|
|
|
29138
29153
|
|
|
29139
29154
|
@property
|
|
29140
29155
|
def Offset(self):
|
|
29141
|
-
"""
|
|
29156
|
+
"""数据偏移量,默认为0
|
|
29142
29157
|
:rtype: int
|
|
29143
29158
|
"""
|
|
29144
29159
|
return self._Offset
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vpc
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1412
|
|
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 (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1412)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=Tkxct_zdy_hHvHt9h3Z7ac-e8b_f_RP2Ui_IHD0kV_E,631
|
|
2
|
+
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/vpc/v20170312/errorcodes.py,sha256=gSchQ1yKWuhqlOFrIuzHTwA2x5r4xmE-IpBRcA9WMvo,61858
|
|
5
|
+
tencentcloud/vpc/v20170312/models.py,sha256=_PXAmLku3IED-YGG1q6kfex2tQQqmO6jWD0n69tkEv8,2338858
|
|
6
|
+
tencentcloud/vpc/v20170312/vpc_client.py,sha256=Uu2ejyYUJ3_iVCMYy7l9y5tBw4-L_FIvkVHlgcNd2w4,448258
|
|
7
|
+
tencentcloud_sdk_python_vpc-3.0.1412.dist-info/METADATA,sha256=NFXIe5acNqpATaI6FOPtF_SufomSzZt65aSuugndAQM,1496
|
|
8
|
+
tencentcloud_sdk_python_vpc-3.0.1412.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_vpc-3.0.1412.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_vpc-3.0.1412.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=9e4QQrlAwDuyTfX8q_uyzdLgfF87dQ6sPReNva7SAWg,631
|
|
2
|
-
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/vpc/v20170312/errorcodes.py,sha256=rhnkWknlezYcNSLXuV22r0GiGxp2ZMEnx1F4XnvPo8w,60541
|
|
5
|
-
tencentcloud/vpc/v20170312/models.py,sha256=IElTTAleBQgEgUtH_FsTV07rpp8rEFa0P0Hb4KxmZmw,2338024
|
|
6
|
-
tencentcloud/vpc/v20170312/vpc_client.py,sha256=Uu2ejyYUJ3_iVCMYy7l9y5tBw4-L_FIvkVHlgcNd2w4,448258
|
|
7
|
-
tencentcloud_sdk_python_vpc-3.0.1395.dist-info/METADATA,sha256=-3Y1uDPyZ77LqUq6ysAEl4LIMTKp9VbQgw-gBS0vgfQ,1496
|
|
8
|
-
tencentcloud_sdk_python_vpc-3.0.1395.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_vpc-3.0.1395.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_vpc-3.0.1395.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|