tencentcloud-sdk-python-vpc 3.0.1388__py2.py3-none-any.whl → 3.0.1390__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/models.py +117 -2
- tencentcloud/vpc/v20170312/vpc_client.py +46 -0
- {tencentcloud_sdk_python_vpc-3.0.1388.dist-info → tencentcloud_sdk_python_vpc-3.0.1390.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_vpc-3.0.1390.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_vpc-3.0.1388.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_vpc-3.0.1388.dist-info → tencentcloud_sdk_python_vpc-3.0.1390.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1388.dist-info → tencentcloud_sdk_python_vpc-3.0.1390.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1900,7 +1900,7 @@ class AllocateAddressesRequest(AbstractModel):
|
|
|
1900
1900
|
<li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li>
|
|
1901
1901
|
:type AddressType: str
|
|
1902
1902
|
:param _AnycastZone: Anycast发布域。
|
|
1903
|
-
<ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li
|
|
1903
|
+
<ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul>
|
|
1904
1904
|
:type AnycastZone: str
|
|
1905
1905
|
:param _VipCluster: 指定IP地址申请EIP,每个账户每个月只有三次配额
|
|
1906
1906
|
:type VipCluster: list of str
|
|
@@ -2036,7 +2036,7 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
2036
2036
|
@property
|
|
2037
2037
|
def AnycastZone(self):
|
|
2038
2038
|
"""Anycast发布域。
|
|
2039
|
-
<ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li
|
|
2039
|
+
<ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul>
|
|
2040
2040
|
:rtype: str
|
|
2041
2041
|
"""
|
|
2042
2042
|
return self._AnycastZone
|
|
@@ -2058,6 +2058,8 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
2058
2058
|
|
|
2059
2059
|
@property
|
|
2060
2060
|
def ApplicableForCLB(self):
|
|
2061
|
+
warnings.warn("parameter `ApplicableForCLB` is deprecated", DeprecationWarning)
|
|
2062
|
+
|
|
2061
2063
|
"""<b>[已废弃]</b> AnycastEIP不再区分是否负载均衡。原参数说明如下:
|
|
2062
2064
|
AnycastEIP是否用于绑定负载均衡。
|
|
2063
2065
|
<ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>TRUE:AnycastEIP可绑定对象为负载均衡</li>
|
|
@@ -2068,6 +2070,8 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
2068
2070
|
|
|
2069
2071
|
@ApplicableForCLB.setter
|
|
2070
2072
|
def ApplicableForCLB(self, ApplicableForCLB):
|
|
2073
|
+
warnings.warn("parameter `ApplicableForCLB` is deprecated", DeprecationWarning)
|
|
2074
|
+
|
|
2071
2075
|
self._ApplicableForCLB = ApplicableForCLB
|
|
2072
2076
|
|
|
2073
2077
|
@property
|
|
@@ -3636,6 +3640,40 @@ class AssociateDirectConnectGatewayNatGatewayResponse(AbstractModel):
|
|
|
3636
3640
|
self._RequestId = params.get("RequestId")
|
|
3637
3641
|
|
|
3638
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
|
+
|
|
3639
3677
|
class AssociateIPv6AddressRequest(AbstractModel):
|
|
3640
3678
|
"""AssociateIPv6Address请求参数结构体
|
|
3641
3679
|
|
|
@@ -40395,6 +40433,75 @@ class DisassociateDirectConnectGatewayNatGatewayResponse(AbstractModel):
|
|
|
40395
40433
|
self._RequestId = params.get("RequestId")
|
|
40396
40434
|
|
|
40397
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
|
+
|
|
40398
40505
|
class DisassociateIPv6AddressRequest(AbstractModel):
|
|
40399
40506
|
"""DisassociateIPv6Address请求参数结构体
|
|
40400
40507
|
|
|
@@ -47932,6 +48039,8 @@ class ModifyAddressesBandwidthRequest(AbstractModel):
|
|
|
47932
48039
|
|
|
47933
48040
|
@property
|
|
47934
48041
|
def StartTime(self):
|
|
48042
|
+
warnings.warn("parameter `StartTime` is deprecated", DeprecationWarning)
|
|
48043
|
+
|
|
47935
48044
|
"""包月带宽起始时间(已废弃,输入无效)
|
|
47936
48045
|
:rtype: str
|
|
47937
48046
|
"""
|
|
@@ -47939,10 +48048,14 @@ class ModifyAddressesBandwidthRequest(AbstractModel):
|
|
|
47939
48048
|
|
|
47940
48049
|
@StartTime.setter
|
|
47941
48050
|
def StartTime(self, StartTime):
|
|
48051
|
+
warnings.warn("parameter `StartTime` is deprecated", DeprecationWarning)
|
|
48052
|
+
|
|
47942
48053
|
self._StartTime = StartTime
|
|
47943
48054
|
|
|
47944
48055
|
@property
|
|
47945
48056
|
def EndTime(self):
|
|
48057
|
+
warnings.warn("parameter `EndTime` is deprecated", DeprecationWarning)
|
|
48058
|
+
|
|
47946
48059
|
"""包月带宽结束时间(已废弃,输入无效)
|
|
47947
48060
|
:rtype: str
|
|
47948
48061
|
"""
|
|
@@ -47950,6 +48063,8 @@ class ModifyAddressesBandwidthRequest(AbstractModel):
|
|
|
47950
48063
|
|
|
47951
48064
|
@EndTime.setter
|
|
47952
48065
|
def EndTime(self, EndTime):
|
|
48066
|
+
warnings.warn("parameter `EndTime` is deprecated", DeprecationWarning)
|
|
48067
|
+
|
|
47953
48068
|
self._EndTime = EndTime
|
|
47954
48069
|
|
|
47955
48070
|
|
|
@@ -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.
|
|
3
|
+
Version: 3.0.1390
|
|
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.1390)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=cysGRAcjWsIdFUySBZYE9yApvwI7YxoYvzLDIzIxRhQ,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=gtZInkqdO7KakeZEVGR0HD0lhveaejjj-ODRglG5Szo,2337528
|
|
6
|
+
tencentcloud/vpc/v20170312/vpc_client.py,sha256=Uu2ejyYUJ3_iVCMYy7l9y5tBw4-L_FIvkVHlgcNd2w4,448258
|
|
7
|
+
tencentcloud_sdk_python_vpc-3.0.1390.dist-info/METADATA,sha256=gw4jgNoRD9C2GwF2gDprfZBymTtpQfwxMxgrM9vUsCs,1496
|
|
8
|
+
tencentcloud_sdk_python_vpc-3.0.1390.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_vpc-3.0.1390.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_vpc-3.0.1390.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=P_6PiW8DYNHHHgqiC-uyC2CmatjXuaUnBhcwC2nkIBg,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=HPMU_SdHHqellhb6ld4usBV0MIMbibLI6-SYUQk4-44,2333906
|
|
6
|
-
tencentcloud/vpc/v20170312/vpc_client.py,sha256=zCeeZadQbtALurbzanxMdDjMTI6Zcnz4_ZwCFKhojsg,446270
|
|
7
|
-
tencentcloud_sdk_python_vpc-3.0.1388.dist-info/METADATA,sha256=5ubpPlEWvFhTpCFozJXBj4NAJ61QXXiR5aN6_4gGV0U,1496
|
|
8
|
-
tencentcloud_sdk_python_vpc-3.0.1388.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_vpc-3.0.1388.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_vpc-3.0.1388.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|