tencentcloud-sdk-python-vpc 3.0.1389__tar.gz → 3.0.1391__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.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud/vpc/v20170312/models.py +103 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud/vpc/v20170312/vpc_client.py +46 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1391/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1389/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1389 → tencentcloud-sdk-python-vpc-3.0.1391}/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.1391"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -974,6 +974,9 @@ UNSUPPORTEDOPERATION_FLOWLOGSNOTSUPPORTKOINSTANCEENI = 'UnsupportedOperation.Flo
|
|
|
974
974
|
# 不支持创建流日志:当前弹性网卡未绑定实例。
|
|
975
975
|
UNSUPPORTEDOPERATION_FLOWLOGSNOTSUPPORTNULLINSTANCEENI = 'UnsupportedOperation.FlowLogsNotSupportNullInstanceEni'
|
|
976
976
|
|
|
977
|
+
# GUA类型的网段不支持分配给CDC子网。
|
|
978
|
+
UNSUPPORTEDOPERATION_GUANOTSUPPORTALLOCATECDCSUBNET = 'UnsupportedOperation.GUANotSupportAllocateCdcSubnet'
|
|
979
|
+
|
|
977
980
|
# TGW还没有投放IPv6网段
|
|
978
981
|
UNSUPPORTEDOPERATION_IPV6CIDRNOTDEPLOYED = 'UnsupportedOperation.IPV6CidrNotDeployed'
|
|
979
982
|
|
|
@@ -3640,6 +3640,40 @@ class AssociateDirectConnectGatewayNatGatewayResponse(AbstractModel):
|
|
|
3640
3640
|
self._RequestId = params.get("RequestId")
|
|
3641
3641
|
|
|
3642
3642
|
|
|
3643
|
+
class AssociateHaVipInstanceRequest(AbstractModel):
|
|
3644
|
+
"""AssociateHaVipInstance请求参数结构体
|
|
3645
|
+
|
|
3646
|
+
"""
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
class AssociateHaVipInstanceResponse(AbstractModel):
|
|
3650
|
+
"""AssociateHaVipInstance返回参数结构体
|
|
3651
|
+
|
|
3652
|
+
"""
|
|
3653
|
+
|
|
3654
|
+
def __init__(self):
|
|
3655
|
+
r"""
|
|
3656
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3657
|
+
:type RequestId: str
|
|
3658
|
+
"""
|
|
3659
|
+
self._RequestId = None
|
|
3660
|
+
|
|
3661
|
+
@property
|
|
3662
|
+
def RequestId(self):
|
|
3663
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3664
|
+
:rtype: str
|
|
3665
|
+
"""
|
|
3666
|
+
return self._RequestId
|
|
3667
|
+
|
|
3668
|
+
@RequestId.setter
|
|
3669
|
+
def RequestId(self, RequestId):
|
|
3670
|
+
self._RequestId = RequestId
|
|
3671
|
+
|
|
3672
|
+
|
|
3673
|
+
def _deserialize(self, params):
|
|
3674
|
+
self._RequestId = params.get("RequestId")
|
|
3675
|
+
|
|
3676
|
+
|
|
3643
3677
|
class AssociateIPv6AddressRequest(AbstractModel):
|
|
3644
3678
|
"""AssociateIPv6Address请求参数结构体
|
|
3645
3679
|
|
|
@@ -40399,6 +40433,75 @@ class DisassociateDirectConnectGatewayNatGatewayResponse(AbstractModel):
|
|
|
40399
40433
|
self._RequestId = params.get("RequestId")
|
|
40400
40434
|
|
|
40401
40435
|
|
|
40436
|
+
class DisassociateHaVipInstanceRequest(AbstractModel):
|
|
40437
|
+
"""DisassociateHaVipInstance请求参数结构体
|
|
40438
|
+
|
|
40439
|
+
"""
|
|
40440
|
+
|
|
40441
|
+
def __init__(self):
|
|
40442
|
+
r"""
|
|
40443
|
+
:param _HaVipAssociationSet: HaVip解绑的子机或网卡。最多支持10个实例。
|
|
40444
|
+
:type HaVipAssociationSet: list of HaVipAssociation
|
|
40445
|
+
"""
|
|
40446
|
+
self._HaVipAssociationSet = None
|
|
40447
|
+
|
|
40448
|
+
@property
|
|
40449
|
+
def HaVipAssociationSet(self):
|
|
40450
|
+
"""HaVip解绑的子机或网卡。最多支持10个实例。
|
|
40451
|
+
:rtype: list of HaVipAssociation
|
|
40452
|
+
"""
|
|
40453
|
+
return self._HaVipAssociationSet
|
|
40454
|
+
|
|
40455
|
+
@HaVipAssociationSet.setter
|
|
40456
|
+
def HaVipAssociationSet(self, HaVipAssociationSet):
|
|
40457
|
+
self._HaVipAssociationSet = HaVipAssociationSet
|
|
40458
|
+
|
|
40459
|
+
|
|
40460
|
+
def _deserialize(self, params):
|
|
40461
|
+
if params.get("HaVipAssociationSet") is not None:
|
|
40462
|
+
self._HaVipAssociationSet = []
|
|
40463
|
+
for item in params.get("HaVipAssociationSet"):
|
|
40464
|
+
obj = HaVipAssociation()
|
|
40465
|
+
obj._deserialize(item)
|
|
40466
|
+
self._HaVipAssociationSet.append(obj)
|
|
40467
|
+
memeber_set = set(params.keys())
|
|
40468
|
+
for name, value in vars(self).items():
|
|
40469
|
+
property_name = name[1:]
|
|
40470
|
+
if property_name in memeber_set:
|
|
40471
|
+
memeber_set.remove(property_name)
|
|
40472
|
+
if len(memeber_set) > 0:
|
|
40473
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
40474
|
+
|
|
40475
|
+
|
|
40476
|
+
|
|
40477
|
+
class DisassociateHaVipInstanceResponse(AbstractModel):
|
|
40478
|
+
"""DisassociateHaVipInstance返回参数结构体
|
|
40479
|
+
|
|
40480
|
+
"""
|
|
40481
|
+
|
|
40482
|
+
def __init__(self):
|
|
40483
|
+
r"""
|
|
40484
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40485
|
+
:type RequestId: str
|
|
40486
|
+
"""
|
|
40487
|
+
self._RequestId = None
|
|
40488
|
+
|
|
40489
|
+
@property
|
|
40490
|
+
def RequestId(self):
|
|
40491
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40492
|
+
:rtype: str
|
|
40493
|
+
"""
|
|
40494
|
+
return self._RequestId
|
|
40495
|
+
|
|
40496
|
+
@RequestId.setter
|
|
40497
|
+
def RequestId(self, RequestId):
|
|
40498
|
+
self._RequestId = RequestId
|
|
40499
|
+
|
|
40500
|
+
|
|
40501
|
+
def _deserialize(self, params):
|
|
40502
|
+
self._RequestId = params.get("RequestId")
|
|
40503
|
+
|
|
40504
|
+
|
|
40402
40505
|
class DisassociateIPv6AddressRequest(AbstractModel):
|
|
40403
40506
|
"""DisassociateIPv6Address请求参数结构体
|
|
40404
40507
|
|
|
@@ -429,6 +429,29 @@ class VpcClient(AbstractClient):
|
|
|
429
429
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
430
430
|
|
|
431
431
|
|
|
432
|
+
def AssociateHaVipInstance(self, request):
|
|
433
|
+
"""本接口(AssociateHaVipInstance)用于HAVIP绑定子机或网卡(限制HaVip的飘移范围)。
|
|
434
|
+
|
|
435
|
+
:param request: Request instance for AssociateHaVipInstance.
|
|
436
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.AssociateHaVipInstanceRequest`
|
|
437
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.AssociateHaVipInstanceResponse`
|
|
438
|
+
|
|
439
|
+
"""
|
|
440
|
+
try:
|
|
441
|
+
params = request._serialize()
|
|
442
|
+
headers = request.headers
|
|
443
|
+
body = self.call("AssociateHaVipInstance", params, headers=headers)
|
|
444
|
+
response = json.loads(body)
|
|
445
|
+
model = models.AssociateHaVipInstanceResponse()
|
|
446
|
+
model._deserialize(response["Response"])
|
|
447
|
+
return model
|
|
448
|
+
except Exception as e:
|
|
449
|
+
if isinstance(e, TencentCloudSDKException):
|
|
450
|
+
raise
|
|
451
|
+
else:
|
|
452
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
453
|
+
|
|
454
|
+
|
|
432
455
|
def AssociateIPv6Address(self, request):
|
|
433
456
|
"""本接口(AssociateIPv6Address)用于将弹性公网IPv6(简称EIPv6)实例绑定到 CVM 或弹性网卡配置的内网 IPv6 地址上。
|
|
434
457
|
|
|
@@ -6409,6 +6432,29 @@ class VpcClient(AbstractClient):
|
|
|
6409
6432
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6410
6433
|
|
|
6411
6434
|
|
|
6435
|
+
def DisassociateHaVipInstance(self, request):
|
|
6436
|
+
"""本接口(DisassociateHaVipInstance)用于HAVIP解绑子机或网卡(去掉HaVip飘移范围)。
|
|
6437
|
+
|
|
6438
|
+
:param request: Request instance for DisassociateHaVipInstance.
|
|
6439
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.DisassociateHaVipInstanceRequest`
|
|
6440
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.DisassociateHaVipInstanceResponse`
|
|
6441
|
+
|
|
6442
|
+
"""
|
|
6443
|
+
try:
|
|
6444
|
+
params = request._serialize()
|
|
6445
|
+
headers = request.headers
|
|
6446
|
+
body = self.call("DisassociateHaVipInstance", params, headers=headers)
|
|
6447
|
+
response = json.loads(body)
|
|
6448
|
+
model = models.DisassociateHaVipInstanceResponse()
|
|
6449
|
+
model._deserialize(response["Response"])
|
|
6450
|
+
return model
|
|
6451
|
+
except Exception as e:
|
|
6452
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6453
|
+
raise
|
|
6454
|
+
else:
|
|
6455
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6456
|
+
|
|
6457
|
+
|
|
6412
6458
|
def DisassociateIPv6Address(self, request):
|
|
6413
6459
|
"""本接口(DisassociateIPv6Address)用于解绑弹性公网 IPv6(简称EIPv6)实例。
|
|
6414
6460
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1391
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1389
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|