tencentcloud-sdk-python-vpc 3.0.1241__tar.gz → 3.0.1250__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.
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud/vpc/v20170312/models.py +83 -7
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1250/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1241/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1241 → tencentcloud-sdk-python-vpc-3.0.1250}/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.1250"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -746,6 +746,9 @@ UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = 'UnsupportedOperation.Band
|
|
|
746
746
|
# 已绑定EIP。
|
|
747
747
|
UNSUPPORTEDOPERATION_BINDEIP = 'UnsupportedOperation.BindEIP'
|
|
748
748
|
|
|
749
|
+
# 添加 community 时,传播条件只支持 vpg 类型或 vpg 实例
|
|
750
|
+
UNSUPPORTEDOPERATION_BROADCASTCONDITIONMUSTBEVPGTYPEORVPGINSTANCE = 'UnsupportedOperation.BroadcastConditionMustBeVpgTypeOrVpgInstance'
|
|
751
|
+
|
|
749
752
|
# 指定VPC CIDR范围不支持私有网络和基础网络设备互通。
|
|
750
753
|
UNSUPPORTEDOPERATION_CIDRUNSUPPORTEDCLASSICLINK = 'UnsupportedOperation.CIDRUnSupportedClassicLink'
|
|
751
754
|
|
|
@@ -770,6 +773,9 @@ UNSUPPORTEDOPERATION_CCNNOTATTACHED = 'UnsupportedOperation.CcnNotAttached'
|
|
|
770
773
|
# 当前云联网未开启路由传播策略。
|
|
771
774
|
UNSUPPORTEDOPERATION_CCNNOTENABLEBROADCASTPOLICY = 'UnsupportedOperation.CcnNotEnableBroadcastPolicy'
|
|
772
775
|
|
|
776
|
+
# 添加 community 时,vpg 需要开通传播 community 白名单
|
|
777
|
+
UNSUPPORTEDOPERATION_CCNNOTENABLECOMMUNITY = 'UnsupportedOperation.CcnNotEnableCommunity'
|
|
778
|
+
|
|
773
779
|
# 跨账号场景下不支持自驾云账号实例 关联普通账号云联网。
|
|
774
780
|
UNSUPPORTEDOPERATION_CCNORDINARYACCOUNTREFUSEATTACH = 'UnsupportedOperation.CcnOrdinaryAccountRefuseAttach'
|
|
775
781
|
|
|
@@ -2388,12 +2388,15 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
2388
2388
|
:type PrivateIpAddress: str
|
|
2389
2389
|
:param _EipDirectConnection: 指定绑定时是否设置直通。弹性公网 IP 直通请参见 [EIP 直通](https://cloud.tencent.com/document/product/1199/41709)。取值:True、False,默认值为 False。当绑定 CVM 实例、EKS 弹性集群时,可设定此参数为 True。此参数目前处于内测中,如需使用,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2)。
|
|
2390
2390
|
:type EipDirectConnection: bool
|
|
2391
|
+
:param _InstanceRegion: 要绑定的实例所在的地域
|
|
2392
|
+
:type InstanceRegion: str
|
|
2391
2393
|
"""
|
|
2392
2394
|
self._AddressId = None
|
|
2393
2395
|
self._InstanceId = None
|
|
2394
2396
|
self._NetworkInterfaceId = None
|
|
2395
2397
|
self._PrivateIpAddress = None
|
|
2396
2398
|
self._EipDirectConnection = None
|
|
2399
|
+
self._InstanceRegion = None
|
|
2397
2400
|
|
|
2398
2401
|
@property
|
|
2399
2402
|
def AddressId(self):
|
|
@@ -2435,6 +2438,14 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
2435
2438
|
def EipDirectConnection(self, EipDirectConnection):
|
|
2436
2439
|
self._EipDirectConnection = EipDirectConnection
|
|
2437
2440
|
|
|
2441
|
+
@property
|
|
2442
|
+
def InstanceRegion(self):
|
|
2443
|
+
return self._InstanceRegion
|
|
2444
|
+
|
|
2445
|
+
@InstanceRegion.setter
|
|
2446
|
+
def InstanceRegion(self, InstanceRegion):
|
|
2447
|
+
self._InstanceRegion = InstanceRegion
|
|
2448
|
+
|
|
2438
2449
|
|
|
2439
2450
|
def _deserialize(self, params):
|
|
2440
2451
|
self._AddressId = params.get("AddressId")
|
|
@@ -2442,6 +2453,7 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
2442
2453
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2443
2454
|
self._PrivateIpAddress = params.get("PrivateIpAddress")
|
|
2444
2455
|
self._EipDirectConnection = params.get("EipDirectConnection")
|
|
2456
|
+
self._InstanceRegion = params.get("InstanceRegion")
|
|
2445
2457
|
memeber_set = set(params.keys())
|
|
2446
2458
|
for name, value in vars(self).items():
|
|
2447
2459
|
property_name = name[1:]
|
|
@@ -3910,7 +3922,7 @@ class CCN(AbstractModel):
|
|
|
3910
3922
|
:type DirectConnectAccelerateChannelFlag: bool
|
|
3911
3923
|
:param _Ipv6Flag: 是否支持ipv6路由表
|
|
3912
3924
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3913
|
-
:type Ipv6Flag:
|
|
3925
|
+
:type Ipv6Flag: bool
|
|
3914
3926
|
:param _MrtbAggregatePolicyFlag: 是否支持路由表聚合策略
|
|
3915
3927
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3916
3928
|
:type MrtbAggregatePolicyFlag: bool
|
|
@@ -11845,6 +11857,8 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
|
|
|
11845
11857
|
:type ChargeType: str
|
|
11846
11858
|
:param _QosLevel: 服务分级:PT、AU、AG。
|
|
11847
11859
|
:type QosLevel: str
|
|
11860
|
+
:param _Tags: 标签键值对
|
|
11861
|
+
:type Tags: list of Tags
|
|
11848
11862
|
"""
|
|
11849
11863
|
self._SourceVpcId = None
|
|
11850
11864
|
self._PeeringConnectionName = None
|
|
@@ -11855,6 +11869,7 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
|
|
|
11855
11869
|
self._Type = None
|
|
11856
11870
|
self._ChargeType = None
|
|
11857
11871
|
self._QosLevel = None
|
|
11872
|
+
self._Tags = None
|
|
11858
11873
|
|
|
11859
11874
|
@property
|
|
11860
11875
|
def SourceVpcId(self):
|
|
@@ -11928,6 +11943,14 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
|
|
|
11928
11943
|
def QosLevel(self, QosLevel):
|
|
11929
11944
|
self._QosLevel = QosLevel
|
|
11930
11945
|
|
|
11946
|
+
@property
|
|
11947
|
+
def Tags(self):
|
|
11948
|
+
return self._Tags
|
|
11949
|
+
|
|
11950
|
+
@Tags.setter
|
|
11951
|
+
def Tags(self, Tags):
|
|
11952
|
+
self._Tags = Tags
|
|
11953
|
+
|
|
11931
11954
|
|
|
11932
11955
|
def _deserialize(self, params):
|
|
11933
11956
|
self._SourceVpcId = params.get("SourceVpcId")
|
|
@@ -11939,6 +11962,12 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
|
|
|
11939
11962
|
self._Type = params.get("Type")
|
|
11940
11963
|
self._ChargeType = params.get("ChargeType")
|
|
11941
11964
|
self._QosLevel = params.get("QosLevel")
|
|
11965
|
+
if params.get("Tags") is not None:
|
|
11966
|
+
self._Tags = []
|
|
11967
|
+
for item in params.get("Tags"):
|
|
11968
|
+
obj = Tags()
|
|
11969
|
+
obj._deserialize(item)
|
|
11970
|
+
self._Tags.append(obj)
|
|
11942
11971
|
memeber_set = set(params.keys())
|
|
11943
11972
|
for name, value in vars(self).items():
|
|
11944
11973
|
property_name = name[1:]
|
|
@@ -17509,7 +17538,7 @@ class DescribeAddressesRequest(AbstractModel):
|
|
|
17509
17538
|
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li>
|
|
17510
17539
|
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li>
|
|
17511
17540
|
<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
|
|
17512
|
-
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP'。默认值是'EIP'。</li>
|
|
17541
|
+
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP', 'AntiDDoSEIP'。默认值是'EIP'。</li>
|
|
17513
17542
|
<li> address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'</li>
|
|
17514
17543
|
<li> dedicated-cluster-id - String - 是否必填:否 - (过滤条件)按照 CDC 的唯一 ID 过滤。CDC 唯一 ID 形如:cluster-11112222。</li>
|
|
17515
17544
|
<li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li>
|
|
@@ -30387,7 +30416,7 @@ class DisableCcnRoutesRequest(AbstractModel):
|
|
|
30387
30416
|
r"""
|
|
30388
30417
|
:param _CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
|
30389
30418
|
:type CcnId: str
|
|
30390
|
-
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z
|
|
30419
|
+
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes获取。
|
|
30391
30420
|
:type RouteIds: list of str
|
|
30392
30421
|
"""
|
|
30393
30422
|
self._CcnId = None
|
|
@@ -30798,7 +30827,7 @@ class DisassociateAddressRequest(AbstractModel):
|
|
|
30798
30827
|
r"""
|
|
30799
30828
|
:param _AddressId: 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。
|
|
30800
30829
|
:type AddressId: str
|
|
30801
|
-
:param _ReallocateNormalPublicIp: 表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li
|
|
30830
|
+
:param _ReallocateNormalPublicIp: 表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li />TRUE:表示解绑 EIP 之后分配普通公网 IP。<br><li />FALSE:表示解绑 EIP 之后不分配普通公网 IP。<br>默认取值:FALSE。<br><br>只有满足以下条件时才能指定该参数:<br><li /> 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。<br><li />解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。
|
|
30802
30831
|
:type ReallocateNormalPublicIp: bool
|
|
30803
30832
|
"""
|
|
30804
30833
|
self._AddressId = None
|
|
@@ -31543,7 +31572,7 @@ class EnableCcnRoutesRequest(AbstractModel):
|
|
|
31543
31572
|
r"""
|
|
31544
31573
|
:param _CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
|
31545
31574
|
:type CcnId: str
|
|
31546
|
-
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z
|
|
31575
|
+
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes接口获取。
|
|
31547
31576
|
:type RouteIds: list of str
|
|
31548
31577
|
"""
|
|
31549
31578
|
self._CcnId = None
|
|
@@ -39770,9 +39799,9 @@ class ModifyRouteTableInfo(AbstractModel):
|
|
|
39770
39799
|
r"""
|
|
39771
39800
|
:param _RouteTableId: 云联网路由表id。
|
|
39772
39801
|
:type RouteTableId: str
|
|
39773
|
-
:param _Name: 云联网路由表名称。
|
|
39802
|
+
:param _Name: 云联网路由表名称。Name和Description 两者必传一个。
|
|
39774
39803
|
:type Name: str
|
|
39775
|
-
:param _Description: 云联网路由表描述。
|
|
39804
|
+
:param _Description: 云联网路由表描述。Name和Description 两者必传一个。
|
|
39776
39805
|
:type Description: str
|
|
39777
39806
|
"""
|
|
39778
39807
|
self._RouteTableId = None
|
|
@@ -50619,6 +50648,53 @@ class Tag(AbstractModel):
|
|
|
50619
50648
|
|
|
50620
50649
|
|
|
50621
50650
|
|
|
50651
|
+
class Tags(AbstractModel):
|
|
50652
|
+
"""标签描述信息
|
|
50653
|
+
|
|
50654
|
+
"""
|
|
50655
|
+
|
|
50656
|
+
def __init__(self):
|
|
50657
|
+
r"""
|
|
50658
|
+
:param _Key: 标签键
|
|
50659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50660
|
+
:type Key: str
|
|
50661
|
+
:param _Value: 标签值
|
|
50662
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50663
|
+
:type Value: str
|
|
50664
|
+
"""
|
|
50665
|
+
self._Key = None
|
|
50666
|
+
self._Value = None
|
|
50667
|
+
|
|
50668
|
+
@property
|
|
50669
|
+
def Key(self):
|
|
50670
|
+
return self._Key
|
|
50671
|
+
|
|
50672
|
+
@Key.setter
|
|
50673
|
+
def Key(self, Key):
|
|
50674
|
+
self._Key = Key
|
|
50675
|
+
|
|
50676
|
+
@property
|
|
50677
|
+
def Value(self):
|
|
50678
|
+
return self._Value
|
|
50679
|
+
|
|
50680
|
+
@Value.setter
|
|
50681
|
+
def Value(self, Value):
|
|
50682
|
+
self._Value = Value
|
|
50683
|
+
|
|
50684
|
+
|
|
50685
|
+
def _deserialize(self, params):
|
|
50686
|
+
self._Key = params.get("Key")
|
|
50687
|
+
self._Value = params.get("Value")
|
|
50688
|
+
memeber_set = set(params.keys())
|
|
50689
|
+
for name, value in vars(self).items():
|
|
50690
|
+
property_name = name[1:]
|
|
50691
|
+
if property_name in memeber_set:
|
|
50692
|
+
memeber_set.remove(property_name)
|
|
50693
|
+
if len(memeber_set) > 0:
|
|
50694
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
50695
|
+
|
|
50696
|
+
|
|
50697
|
+
|
|
50622
50698
|
class TemplateLimit(AbstractModel):
|
|
50623
50699
|
"""参数模板配额
|
|
50624
50700
|
|
|
@@ -8181,7 +8181,7 @@ class VpcClient(AbstractClient):
|
|
|
8181
8181
|
|
|
8182
8182
|
**路由条件支持以下四种:**
|
|
8183
8183
|
|
|
8184
|
-
- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT
|
|
8184
|
+
- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT`、VPN网关 `VPNGW`
|
|
8185
8185
|
- 实例ID: `instance-id`,例如:`dcg-8zljkrft`、`vpc-jdevjrup`,暂不支持 `Edge` 实例
|
|
8186
8186
|
- 实例地域: `instance-region`,例如:`ap-guangzhou`<br />产品支持的所有地域列表可通过接口 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询,其中参数 `Product` 设置为 `ccn`
|
|
8187
8187
|
- 路由前缀: `cidr-block`,例如:`10.1.0.0/16`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1250
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1241
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|