tencentcloud-sdk-python-vpc 3.0.1389__py2.py3-none-any.whl → 3.0.1391__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1389'
17
+ __version__ = '3.0.1391'
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1389
3
+ Version: 3.0.1391
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.1389)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1391)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=U2Y8yJV_KI2SvTInuLDD06v3BlFATPY0rw_Ustkmyhc,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=gtZInkqdO7KakeZEVGR0HD0lhveaejjj-ODRglG5Szo,2337528
6
+ tencentcloud/vpc/v20170312/vpc_client.py,sha256=Uu2ejyYUJ3_iVCMYy7l9y5tBw4-L_FIvkVHlgcNd2w4,448258
7
+ tencentcloud_sdk_python_vpc-3.0.1391.dist-info/METADATA,sha256=I_qJBGEZ9IaNFDF-zSafvE3KT1IhvlHZzNRYXPUbbyE,1496
8
+ tencentcloud_sdk_python_vpc-3.0.1391.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_vpc-3.0.1391.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_vpc-3.0.1391.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=nBK-1j3XIIxicQz6HbAUPtSUwXbrgeYKzD88GgNG-38,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=JjPa4PRnvyq2z81j5w5sdd29HPjNUBoaVpomnasDQOw,60381
5
- tencentcloud/vpc/v20170312/models.py,sha256=794ue2zXYehkfgnWcF6ZDK2nUF5y7Hj0XX2xWpYNHLw,2334062
6
- tencentcloud/vpc/v20170312/vpc_client.py,sha256=zCeeZadQbtALurbzanxMdDjMTI6Zcnz4_ZwCFKhojsg,446270
7
- tencentcloud_sdk_python_vpc-3.0.1389.dist-info/METADATA,sha256=lXJGIzXHa6Iu8uEDFB1CLP2bA-cueNL1LgOf0fitC6s,1496
8
- tencentcloud_sdk_python_vpc-3.0.1389.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_vpc-3.0.1389.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_vpc-3.0.1389.dist-info/RECORD,,