tencentcloud-sdk-python-vpc 3.0.1264__tar.gz → 3.0.1266__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.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud/vpc/v20170312/models.py +64 -6
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1266/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1264/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1264 → tencentcloud-sdk-python-vpc-3.0.1266}/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.1266"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1484,7 +1484,7 @@ class AddressTemplateItem(AbstractModel):
|
|
|
1484
1484
|
|
|
1485
1485
|
def __init__(self):
|
|
1486
1486
|
r"""
|
|
1487
|
-
:param _AddressTemplateId:
|
|
1487
|
+
:param _AddressTemplateId: IP地址模板ID
|
|
1488
1488
|
:type AddressTemplateId: str
|
|
1489
1489
|
:param _AddressTemplateName: IP模板名称
|
|
1490
1490
|
:type AddressTemplateName: str
|
|
@@ -1500,7 +1500,7 @@ class AddressTemplateItem(AbstractModel):
|
|
|
1500
1500
|
|
|
1501
1501
|
@property
|
|
1502
1502
|
def AddressTemplateId(self):
|
|
1503
|
-
"""
|
|
1503
|
+
"""IP地址模板ID
|
|
1504
1504
|
:rtype: str
|
|
1505
1505
|
"""
|
|
1506
1506
|
return self._AddressTemplateId
|
|
@@ -1792,6 +1792,8 @@ class AllocateAddressesRequest(AbstractModel):
|
|
|
1792
1792
|
:param _AnycastZone: Anycast发布域。
|
|
1793
1793
|
<ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li><li><b>[已废弃]</b> ANYCAST_ZONE_A:发布域A(已更新为全球发布域)</li><li><b>[已废弃]</b> ANYCAST_ZONE_B:发布域B(已更新为全球发布域)</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul>
|
|
1794
1794
|
:type AnycastZone: str
|
|
1795
|
+
:param _VipCluster: 指定IP地址申请EIP,每个账户每个月只有三次配额
|
|
1796
|
+
:type VipCluster: list of str
|
|
1795
1797
|
:param _ApplicableForCLB: <b>[已废弃]</b> AnycastEIP不再区分是否负载均衡。原参数说明如下:
|
|
1796
1798
|
AnycastEIP是否用于绑定负载均衡。
|
|
1797
1799
|
<ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>TRUE:AnycastEIP可绑定对象为负载均衡</li>
|
|
@@ -1819,6 +1821,7 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
1819
1821
|
self._AddressChargePrepaid = None
|
|
1820
1822
|
self._AddressType = None
|
|
1821
1823
|
self._AnycastZone = None
|
|
1824
|
+
self._VipCluster = None
|
|
1822
1825
|
self._ApplicableForCLB = None
|
|
1823
1826
|
self._Tags = None
|
|
1824
1827
|
self._BandwidthPackageId = None
|
|
@@ -1922,6 +1925,17 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
1922
1925
|
def AnycastZone(self, AnycastZone):
|
|
1923
1926
|
self._AnycastZone = AnycastZone
|
|
1924
1927
|
|
|
1928
|
+
@property
|
|
1929
|
+
def VipCluster(self):
|
|
1930
|
+
"""指定IP地址申请EIP,每个账户每个月只有三次配额
|
|
1931
|
+
:rtype: list of str
|
|
1932
|
+
"""
|
|
1933
|
+
return self._VipCluster
|
|
1934
|
+
|
|
1935
|
+
@VipCluster.setter
|
|
1936
|
+
def VipCluster(self, VipCluster):
|
|
1937
|
+
self._VipCluster = VipCluster
|
|
1938
|
+
|
|
1925
1939
|
@property
|
|
1926
1940
|
def ApplicableForCLB(self):
|
|
1927
1941
|
"""<b>[已废弃]</b> AnycastEIP不再区分是否负载均衡。原参数说明如下:
|
|
@@ -2024,6 +2038,7 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
2024
2038
|
self._AddressChargePrepaid._deserialize(params.get("AddressChargePrepaid"))
|
|
2025
2039
|
self._AddressType = params.get("AddressType")
|
|
2026
2040
|
self._AnycastZone = params.get("AnycastZone")
|
|
2041
|
+
self._VipCluster = params.get("VipCluster")
|
|
2027
2042
|
self._ApplicableForCLB = params.get("ApplicableForCLB")
|
|
2028
2043
|
if params.get("Tags") is not None:
|
|
2029
2044
|
self._Tags = []
|
|
@@ -7750,17 +7765,20 @@ class ConflictItem(AbstractModel):
|
|
|
7750
7765
|
|
|
7751
7766
|
def __init__(self):
|
|
7752
7767
|
r"""
|
|
7753
|
-
:param _ConfilctId: 冲突资源的ID
|
|
7768
|
+
:param _ConfilctId: 冲突资源的ID。已废弃
|
|
7754
7769
|
:type ConfilctId: str
|
|
7755
7770
|
:param _DestinationItem: 冲突目的资源
|
|
7756
7771
|
:type DestinationItem: str
|
|
7772
|
+
:param _ConflictId: 冲突资源的ID
|
|
7773
|
+
:type ConflictId: str
|
|
7757
7774
|
"""
|
|
7758
7775
|
self._ConfilctId = None
|
|
7759
7776
|
self._DestinationItem = None
|
|
7777
|
+
self._ConflictId = None
|
|
7760
7778
|
|
|
7761
7779
|
@property
|
|
7762
7780
|
def ConfilctId(self):
|
|
7763
|
-
"""冲突资源的ID
|
|
7781
|
+
"""冲突资源的ID。已废弃
|
|
7764
7782
|
:rtype: str
|
|
7765
7783
|
"""
|
|
7766
7784
|
return self._ConfilctId
|
|
@@ -7780,10 +7798,22 @@ class ConflictItem(AbstractModel):
|
|
|
7780
7798
|
def DestinationItem(self, DestinationItem):
|
|
7781
7799
|
self._DestinationItem = DestinationItem
|
|
7782
7800
|
|
|
7801
|
+
@property
|
|
7802
|
+
def ConflictId(self):
|
|
7803
|
+
"""冲突资源的ID
|
|
7804
|
+
:rtype: str
|
|
7805
|
+
"""
|
|
7806
|
+
return self._ConflictId
|
|
7807
|
+
|
|
7808
|
+
@ConflictId.setter
|
|
7809
|
+
def ConflictId(self, ConflictId):
|
|
7810
|
+
self._ConflictId = ConflictId
|
|
7811
|
+
|
|
7783
7812
|
|
|
7784
7813
|
def _deserialize(self, params):
|
|
7785
7814
|
self._ConfilctId = params.get("ConfilctId")
|
|
7786
7815
|
self._DestinationItem = params.get("DestinationItem")
|
|
7816
|
+
self._ConflictId = params.get("ConflictId")
|
|
7787
7817
|
memeber_set = set(params.keys())
|
|
7788
7818
|
for name, value in vars(self).items():
|
|
7789
7819
|
property_name = name[1:]
|
|
@@ -9957,6 +9987,8 @@ class CreateHaVipRequest(AbstractModel):
|
|
|
9957
9987
|
:type NetworkInterfaceId: str
|
|
9958
9988
|
:param _CheckAssociate: 是否开启`HAVIP`漂移时子机或网卡范围的校验。默认不开启。
|
|
9959
9989
|
:type CheckAssociate: bool
|
|
9990
|
+
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
9991
|
+
:type Tags: list of Tag
|
|
9960
9992
|
"""
|
|
9961
9993
|
self._VpcId = None
|
|
9962
9994
|
self._HaVipName = None
|
|
@@ -9964,6 +9996,7 @@ class CreateHaVipRequest(AbstractModel):
|
|
|
9964
9996
|
self._Vip = None
|
|
9965
9997
|
self._NetworkInterfaceId = None
|
|
9966
9998
|
self._CheckAssociate = None
|
|
9999
|
+
self._Tags = None
|
|
9967
10000
|
|
|
9968
10001
|
@property
|
|
9969
10002
|
def VpcId(self):
|
|
@@ -10031,6 +10064,17 @@ class CreateHaVipRequest(AbstractModel):
|
|
|
10031
10064
|
def CheckAssociate(self, CheckAssociate):
|
|
10032
10065
|
self._CheckAssociate = CheckAssociate
|
|
10033
10066
|
|
|
10067
|
+
@property
|
|
10068
|
+
def Tags(self):
|
|
10069
|
+
"""指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
10070
|
+
:rtype: list of Tag
|
|
10071
|
+
"""
|
|
10072
|
+
return self._Tags
|
|
10073
|
+
|
|
10074
|
+
@Tags.setter
|
|
10075
|
+
def Tags(self, Tags):
|
|
10076
|
+
self._Tags = Tags
|
|
10077
|
+
|
|
10034
10078
|
|
|
10035
10079
|
def _deserialize(self, params):
|
|
10036
10080
|
self._VpcId = params.get("VpcId")
|
|
@@ -10039,6 +10083,12 @@ class CreateHaVipRequest(AbstractModel):
|
|
|
10039
10083
|
self._Vip = params.get("Vip")
|
|
10040
10084
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
10041
10085
|
self._CheckAssociate = params.get("CheckAssociate")
|
|
10086
|
+
if params.get("Tags") is not None:
|
|
10087
|
+
self._Tags = []
|
|
10088
|
+
for item in params.get("Tags"):
|
|
10089
|
+
obj = Tag()
|
|
10090
|
+
obj._deserialize(item)
|
|
10091
|
+
self._Tags.append(obj)
|
|
10042
10092
|
memeber_set = set(params.keys())
|
|
10043
10093
|
for name, value in vars(self).items():
|
|
10044
10094
|
property_name = name[1:]
|
|
@@ -42180,12 +42230,16 @@ class ItemPrice(AbstractModel):
|
|
|
42180
42230
|
def __init__(self):
|
|
42181
42231
|
r"""
|
|
42182
42232
|
:param _UnitPrice: 按量计费后付费单价,单位:元。
|
|
42233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42183
42234
|
:type UnitPrice: float
|
|
42184
42235
|
:param _ChargeUnit: 按量计费后付费计价单元,可取值范围: HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR): GB:表示计价单元是按每GB来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)。
|
|
42236
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42185
42237
|
:type ChargeUnit: str
|
|
42186
42238
|
:param _OriginalPrice: 预付费商品的原价,单位:元。
|
|
42239
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42187
42240
|
:type OriginalPrice: float
|
|
42188
42241
|
:param _DiscountPrice: 预付费商品的折扣价,单位:元。
|
|
42242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42189
42243
|
:type DiscountPrice: float
|
|
42190
42244
|
"""
|
|
42191
42245
|
self._UnitPrice = None
|
|
@@ -42196,6 +42250,7 @@ class ItemPrice(AbstractModel):
|
|
|
42196
42250
|
@property
|
|
42197
42251
|
def UnitPrice(self):
|
|
42198
42252
|
"""按量计费后付费单价,单位:元。
|
|
42253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42199
42254
|
:rtype: float
|
|
42200
42255
|
"""
|
|
42201
42256
|
return self._UnitPrice
|
|
@@ -42207,6 +42262,7 @@ class ItemPrice(AbstractModel):
|
|
|
42207
42262
|
@property
|
|
42208
42263
|
def ChargeUnit(self):
|
|
42209
42264
|
"""按量计费后付费计价单元,可取值范围: HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR): GB:表示计价单元是按每GB来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)。
|
|
42265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42210
42266
|
:rtype: str
|
|
42211
42267
|
"""
|
|
42212
42268
|
return self._ChargeUnit
|
|
@@ -42218,6 +42274,7 @@ class ItemPrice(AbstractModel):
|
|
|
42218
42274
|
@property
|
|
42219
42275
|
def OriginalPrice(self):
|
|
42220
42276
|
"""预付费商品的原价,单位:元。
|
|
42277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42221
42278
|
:rtype: float
|
|
42222
42279
|
"""
|
|
42223
42280
|
return self._OriginalPrice
|
|
@@ -42229,6 +42286,7 @@ class ItemPrice(AbstractModel):
|
|
|
42229
42286
|
@property
|
|
42230
42287
|
def DiscountPrice(self):
|
|
42231
42288
|
"""预付费商品的折扣价,单位:元。
|
|
42289
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42232
42290
|
:rtype: float
|
|
42233
42291
|
"""
|
|
42234
42292
|
return self._DiscountPrice
|
|
@@ -58800,7 +58858,7 @@ class SourceIpTranslationNatRule(AbstractModel):
|
|
|
58800
58858
|
:type PrivateIpAddress: str
|
|
58801
58859
|
:param _PublicIpAddresses: 弹性IP地址池
|
|
58802
58860
|
:type PublicIpAddresses: list of str
|
|
58803
|
-
:param _Description:
|
|
58861
|
+
:param _Description: 规则描述
|
|
58804
58862
|
:type Description: str
|
|
58805
58863
|
:param _NatGatewaySnatId: Snat规则ID
|
|
58806
58864
|
:type NatGatewaySnatId: str
|
|
@@ -58871,7 +58929,7 @@ class SourceIpTranslationNatRule(AbstractModel):
|
|
|
58871
58929
|
|
|
58872
58930
|
@property
|
|
58873
58931
|
def Description(self):
|
|
58874
|
-
"""
|
|
58932
|
+
"""规则描述
|
|
58875
58933
|
:rtype: str
|
|
58876
58934
|
"""
|
|
58877
58935
|
return self._Description
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1266
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1264
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|