tencentcloud-sdk-python-vpc 3.0.1481__tar.gz → 3.0.1487__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.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/setup.py +1 -1
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud/vpc/v20170312/models.py +217 -75
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vpc-3.0.1487/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vpc-3.0.1481/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/README.rst +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1481 → tencentcloud_sdk_python_vpc-3.0.1487}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
|
@@ -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.1487
|
|
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<4.0.0,>=3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1487
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1487,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -419,6 +419,9 @@ INVALIDPARAMETERVALUE_PRIVATENATRULENOTEXISTS = 'InvalidParameterValue.PrivateNa
|
|
|
419
419
|
# 私网NAT网关传入规则类型不支持。
|
|
420
420
|
INVALIDPARAMETERVALUE_PRIVATENATSNATRULENOTSUPPORT = 'InvalidParameterValue.PrivateNatSnatRuleNotSupport'
|
|
421
421
|
|
|
422
|
+
# 必须携带服务等级。
|
|
423
|
+
INVALIDPARAMETERVALUE_QOSLEVELREQUIRED = 'InvalidParameterValue.QosLevelRequired'
|
|
424
|
+
|
|
422
425
|
# 参数值不在指定范围。
|
|
423
426
|
INVALIDPARAMETERVALUE_RANGE = 'InvalidParameterValue.Range'
|
|
424
427
|
|
|
@@ -1430,6 +1433,9 @@ UNSUPPORTEDOPERATION_VPNGATEWAYVPCNOIPV6SUBNET = 'UnsupportedOperation.VpnGatewa
|
|
|
1430
1433
|
# VPC类型VPN网关必须携带VpcId。
|
|
1431
1434
|
UNSUPPORTEDOPERATION_VPNGWVPCIDMUSTHAVE = 'UnsupportedOperation.VpnGwVpcIdMustHave'
|
|
1432
1435
|
|
|
1436
|
+
# CCN类型VPN网关 不用携带VpcId
|
|
1437
|
+
UNSUPPORTEDOPERATION_VPNGWVPCIDNOTHAVE = 'UnsupportedOperation.VpnGwVpcIdNotHave'
|
|
1438
|
+
|
|
1433
1439
|
# VPN不支持BGP
|
|
1434
1440
|
UNSUPPORTEDOPERATION_VPNUNSUPPORTEDBGP = 'UnsupportedOperation.VpnUnsupportedBgp'
|
|
1435
1441
|
|
|
@@ -1941,6 +1941,13 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
1941
1941
|
:type AntiDDoSPackageId: str
|
|
1942
1942
|
:param _ClientToken: 保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。
|
|
1943
1943
|
:type ClientToken: str
|
|
1944
|
+
:param _IPChargeType: 原生EIP IP资源的计费方式。
|
|
1945
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
1946
|
+
<li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
|
|
1947
|
+
<li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
|
|
1948
|
+
</ul></li>
|
|
1949
|
+
</ul>
|
|
1950
|
+
:type IPChargeType: str
|
|
1944
1951
|
"""
|
|
1945
1952
|
self._AddressCount = None
|
|
1946
1953
|
self._InternetServiceProvider = None
|
|
@@ -1959,6 +1966,7 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
1959
1966
|
self._Egress = None
|
|
1960
1967
|
self._AntiDDoSPackageId = None
|
|
1961
1968
|
self._ClientToken = None
|
|
1969
|
+
self._IPChargeType = None
|
|
1962
1970
|
|
|
1963
1971
|
@property
|
|
1964
1972
|
def AddressCount(self):
|
|
@@ -2178,6 +2186,22 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
2178
2186
|
def ClientToken(self, ClientToken):
|
|
2179
2187
|
self._ClientToken = ClientToken
|
|
2180
2188
|
|
|
2189
|
+
@property
|
|
2190
|
+
def IPChargeType(self):
|
|
2191
|
+
r"""原生EIP IP资源的计费方式。
|
|
2192
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
2193
|
+
<li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
|
|
2194
|
+
<li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
|
|
2195
|
+
</ul></li>
|
|
2196
|
+
</ul>
|
|
2197
|
+
:rtype: str
|
|
2198
|
+
"""
|
|
2199
|
+
return self._IPChargeType
|
|
2200
|
+
|
|
2201
|
+
@IPChargeType.setter
|
|
2202
|
+
def IPChargeType(self, IPChargeType):
|
|
2203
|
+
self._IPChargeType = IPChargeType
|
|
2204
|
+
|
|
2181
2205
|
|
|
2182
2206
|
def _deserialize(self, params):
|
|
2183
2207
|
self._AddressCount = params.get("AddressCount")
|
|
@@ -2204,6 +2228,7 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
2204
2228
|
self._Egress = params.get("Egress")
|
|
2205
2229
|
self._AntiDDoSPackageId = params.get("AntiDDoSPackageId")
|
|
2206
2230
|
self._ClientToken = params.get("ClientToken")
|
|
2231
|
+
self._IPChargeType = params.get("IPChargeType")
|
|
2207
2232
|
memeber_set = set(params.keys())
|
|
2208
2233
|
for name, value in vars(self).items():
|
|
2209
2234
|
property_name = name[1:]
|
|
@@ -16475,6 +16500,8 @@ class CreateVpcRequest(AbstractModel):
|
|
|
16475
16500
|
:type DomainName: str
|
|
16476
16501
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
16477
16502
|
:type Tags: list of Tag
|
|
16503
|
+
:param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
16504
|
+
:type EnableRouteVpcPublish: bool
|
|
16478
16505
|
"""
|
|
16479
16506
|
self._VpcName = None
|
|
16480
16507
|
self._CidrBlock = None
|
|
@@ -16482,6 +16509,7 @@ class CreateVpcRequest(AbstractModel):
|
|
|
16482
16509
|
self._DnsServers = None
|
|
16483
16510
|
self._DomainName = None
|
|
16484
16511
|
self._Tags = None
|
|
16512
|
+
self._EnableRouteVpcPublish = None
|
|
16485
16513
|
|
|
16486
16514
|
@property
|
|
16487
16515
|
def VpcName(self):
|
|
@@ -16549,6 +16577,17 @@ class CreateVpcRequest(AbstractModel):
|
|
|
16549
16577
|
def Tags(self, Tags):
|
|
16550
16578
|
self._Tags = Tags
|
|
16551
16579
|
|
|
16580
|
+
@property
|
|
16581
|
+
def EnableRouteVpcPublish(self):
|
|
16582
|
+
r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
16583
|
+
:rtype: bool
|
|
16584
|
+
"""
|
|
16585
|
+
return self._EnableRouteVpcPublish
|
|
16586
|
+
|
|
16587
|
+
@EnableRouteVpcPublish.setter
|
|
16588
|
+
def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
|
|
16589
|
+
self._EnableRouteVpcPublish = EnableRouteVpcPublish
|
|
16590
|
+
|
|
16552
16591
|
|
|
16553
16592
|
def _deserialize(self, params):
|
|
16554
16593
|
self._VpcName = params.get("VpcName")
|
|
@@ -16562,6 +16601,7 @@ class CreateVpcRequest(AbstractModel):
|
|
|
16562
16601
|
obj = Tag()
|
|
16563
16602
|
obj._deserialize(item)
|
|
16564
16603
|
self._Tags.append(obj)
|
|
16604
|
+
self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
|
|
16565
16605
|
memeber_set = set(params.keys())
|
|
16566
16606
|
for name, value in vars(self).items():
|
|
16567
16607
|
property_name = name[1:]
|
|
@@ -39769,23 +39809,23 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39769
39809
|
r"""
|
|
39770
39810
|
:param _Protocol: 协议
|
|
39771
39811
|
:type Protocol: str
|
|
39772
|
-
:param _OriginalPort:
|
|
39812
|
+
:param _OriginalPort: 映射前端口
|
|
39773
39813
|
:type OriginalPort: int
|
|
39774
|
-
:param _OriginalIp:
|
|
39814
|
+
:param _OriginalIp: 映射前IP
|
|
39775
39815
|
:type OriginalIp: str
|
|
39776
|
-
:param _TranslationPort:
|
|
39816
|
+
:param _TranslationPort: 映射后端口
|
|
39777
39817
|
:type TranslationPort: int
|
|
39778
|
-
:param _TranslationIp:
|
|
39818
|
+
:param _TranslationIp: 映射后IP
|
|
39779
39819
|
:type TranslationIp: str
|
|
39780
39820
|
:param _OldProtocol: 旧协议。
|
|
39781
39821
|
:type OldProtocol: str
|
|
39782
|
-
:param _OldOriginalPort:
|
|
39822
|
+
:param _OldOriginalPort: 旧映射前端口
|
|
39783
39823
|
:type OldOriginalPort: int
|
|
39784
|
-
:param _OldOriginalIp:
|
|
39824
|
+
:param _OldOriginalIp: 旧映射前IP
|
|
39785
39825
|
:type OldOriginalIp: str
|
|
39786
|
-
:param _OldTranslationPort:
|
|
39826
|
+
:param _OldTranslationPort: 旧映射后端口
|
|
39787
39827
|
:type OldTranslationPort: int
|
|
39788
|
-
:param _OldTranslationIp:
|
|
39828
|
+
:param _OldTranslationIp: 旧映射后IP
|
|
39789
39829
|
:type OldTranslationIp: str
|
|
39790
39830
|
:param _Description: 描述
|
|
39791
39831
|
:type Description: str
|
|
@@ -39815,7 +39855,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39815
39855
|
|
|
39816
39856
|
@property
|
|
39817
39857
|
def OriginalPort(self):
|
|
39818
|
-
r"""
|
|
39858
|
+
r"""映射前端口
|
|
39819
39859
|
:rtype: int
|
|
39820
39860
|
"""
|
|
39821
39861
|
return self._OriginalPort
|
|
@@ -39826,7 +39866,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39826
39866
|
|
|
39827
39867
|
@property
|
|
39828
39868
|
def OriginalIp(self):
|
|
39829
|
-
r"""
|
|
39869
|
+
r"""映射前IP
|
|
39830
39870
|
:rtype: str
|
|
39831
39871
|
"""
|
|
39832
39872
|
return self._OriginalIp
|
|
@@ -39837,7 +39877,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39837
39877
|
|
|
39838
39878
|
@property
|
|
39839
39879
|
def TranslationPort(self):
|
|
39840
|
-
r"""
|
|
39880
|
+
r"""映射后端口
|
|
39841
39881
|
:rtype: int
|
|
39842
39882
|
"""
|
|
39843
39883
|
return self._TranslationPort
|
|
@@ -39848,7 +39888,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39848
39888
|
|
|
39849
39889
|
@property
|
|
39850
39890
|
def TranslationIp(self):
|
|
39851
|
-
r"""
|
|
39891
|
+
r"""映射后IP
|
|
39852
39892
|
:rtype: str
|
|
39853
39893
|
"""
|
|
39854
39894
|
return self._TranslationIp
|
|
@@ -39870,7 +39910,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39870
39910
|
|
|
39871
39911
|
@property
|
|
39872
39912
|
def OldOriginalPort(self):
|
|
39873
|
-
r"""
|
|
39913
|
+
r"""旧映射前端口
|
|
39874
39914
|
:rtype: int
|
|
39875
39915
|
"""
|
|
39876
39916
|
return self._OldOriginalPort
|
|
@@ -39881,7 +39921,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39881
39921
|
|
|
39882
39922
|
@property
|
|
39883
39923
|
def OldOriginalIp(self):
|
|
39884
|
-
r"""
|
|
39924
|
+
r"""旧映射前IP
|
|
39885
39925
|
:rtype: str
|
|
39886
39926
|
"""
|
|
39887
39927
|
return self._OldOriginalIp
|
|
@@ -39892,7 +39932,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39892
39932
|
|
|
39893
39933
|
@property
|
|
39894
39934
|
def OldTranslationPort(self):
|
|
39895
|
-
r"""
|
|
39935
|
+
r"""旧映射后端口
|
|
39896
39936
|
:rtype: int
|
|
39897
39937
|
"""
|
|
39898
39938
|
return self._OldTranslationPort
|
|
@@ -39903,7 +39943,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39903
39943
|
|
|
39904
39944
|
@property
|
|
39905
39945
|
def OldTranslationIp(self):
|
|
39906
|
-
r"""
|
|
39946
|
+
r"""旧映射后IP
|
|
39907
39947
|
:rtype: str
|
|
39908
39948
|
"""
|
|
39909
39949
|
return self._OldTranslationIp
|
|
@@ -46021,11 +46061,19 @@ class InquiryPriceAllocateAddressesRequest(AbstractModel):
|
|
|
46021
46061
|
<ul style="margin:0"><li>精品IP,可选值:<ul><li>HighQualityEIP:精品IP</li></ul>注意:仅新加坡和中国香港支持精品IP。</li></ul>
|
|
46022
46062
|
<ul style="margin:0"><li>高防IP,可选值:<ul><li>AntiDDoSEIP:高防IP</li></ul>注意:仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li></ul>
|
|
46023
46063
|
:type AddressType: str
|
|
46064
|
+
:param _IPChargeType: 原生EIP IP资源的计费方式。
|
|
46065
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
46066
|
+
<li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
|
|
46067
|
+
<li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
|
|
46068
|
+
</ul></li>
|
|
46069
|
+
</ul>
|
|
46070
|
+
:type IPChargeType: str
|
|
46024
46071
|
"""
|
|
46025
46072
|
self._InternetChargeType = None
|
|
46026
46073
|
self._InternetMaxBandwidthOut = None
|
|
46027
46074
|
self._AddressChargePrepaid = None
|
|
46028
46075
|
self._AddressType = None
|
|
46076
|
+
self._IPChargeType = None
|
|
46029
46077
|
|
|
46030
46078
|
@property
|
|
46031
46079
|
def InternetChargeType(self):
|
|
@@ -46086,6 +46134,22 @@ class InquiryPriceAllocateAddressesRequest(AbstractModel):
|
|
|
46086
46134
|
def AddressType(self, AddressType):
|
|
46087
46135
|
self._AddressType = AddressType
|
|
46088
46136
|
|
|
46137
|
+
@property
|
|
46138
|
+
def IPChargeType(self):
|
|
46139
|
+
r"""原生EIP IP资源的计费方式。
|
|
46140
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
46141
|
+
<li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
|
|
46142
|
+
<li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
|
|
46143
|
+
</ul></li>
|
|
46144
|
+
</ul>
|
|
46145
|
+
:rtype: str
|
|
46146
|
+
"""
|
|
46147
|
+
return self._IPChargeType
|
|
46148
|
+
|
|
46149
|
+
@IPChargeType.setter
|
|
46150
|
+
def IPChargeType(self, IPChargeType):
|
|
46151
|
+
self._IPChargeType = IPChargeType
|
|
46152
|
+
|
|
46089
46153
|
|
|
46090
46154
|
def _deserialize(self, params):
|
|
46091
46155
|
self._InternetChargeType = params.get("InternetChargeType")
|
|
@@ -46094,6 +46158,7 @@ class InquiryPriceAllocateAddressesRequest(AbstractModel):
|
|
|
46094
46158
|
self._AddressChargePrepaid = AddressChargePrepaid()
|
|
46095
46159
|
self._AddressChargePrepaid._deserialize(params.get("AddressChargePrepaid"))
|
|
46096
46160
|
self._AddressType = params.get("AddressType")
|
|
46161
|
+
self._IPChargeType = params.get("IPChargeType")
|
|
46097
46162
|
memeber_set = set(params.keys())
|
|
46098
46163
|
for name, value in vars(self).items():
|
|
46099
46164
|
property_name = name[1:]
|
|
@@ -47014,14 +47079,23 @@ class InternetPrice(AbstractModel):
|
|
|
47014
47079
|
|
|
47015
47080
|
def __init__(self):
|
|
47016
47081
|
r"""
|
|
47017
|
-
:param _AddressPrice: 公网IP
|
|
47082
|
+
:param _AddressPrice: 公网IP网络费询价详细参数。
|
|
47018
47083
|
:type AddressPrice: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
47084
|
+
:param _IPPrice: 公网IP资源费询价详细参数。仅原生IP价格查询返回。
|
|
47085
|
+
:type IPPrice: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
47086
|
+
:param _OriginalPrice: 总原价,单位:元,仅预付费价格查询返回。
|
|
47087
|
+
:type OriginalPrice: float
|
|
47088
|
+
:param _DiscountPrice: 折扣后的总价格,单位:元。仅预付费价格查询返回。
|
|
47089
|
+
:type DiscountPrice: float
|
|
47019
47090
|
"""
|
|
47020
47091
|
self._AddressPrice = None
|
|
47092
|
+
self._IPPrice = None
|
|
47093
|
+
self._OriginalPrice = None
|
|
47094
|
+
self._DiscountPrice = None
|
|
47021
47095
|
|
|
47022
47096
|
@property
|
|
47023
47097
|
def AddressPrice(self):
|
|
47024
|
-
r"""公网IP
|
|
47098
|
+
r"""公网IP网络费询价详细参数。
|
|
47025
47099
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
47026
47100
|
"""
|
|
47027
47101
|
return self._AddressPrice
|
|
@@ -47030,11 +47104,49 @@ class InternetPrice(AbstractModel):
|
|
|
47030
47104
|
def AddressPrice(self, AddressPrice):
|
|
47031
47105
|
self._AddressPrice = AddressPrice
|
|
47032
47106
|
|
|
47107
|
+
@property
|
|
47108
|
+
def IPPrice(self):
|
|
47109
|
+
r"""公网IP资源费询价详细参数。仅原生IP价格查询返回。
|
|
47110
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
47111
|
+
"""
|
|
47112
|
+
return self._IPPrice
|
|
47113
|
+
|
|
47114
|
+
@IPPrice.setter
|
|
47115
|
+
def IPPrice(self, IPPrice):
|
|
47116
|
+
self._IPPrice = IPPrice
|
|
47117
|
+
|
|
47118
|
+
@property
|
|
47119
|
+
def OriginalPrice(self):
|
|
47120
|
+
r"""总原价,单位:元,仅预付费价格查询返回。
|
|
47121
|
+
:rtype: float
|
|
47122
|
+
"""
|
|
47123
|
+
return self._OriginalPrice
|
|
47124
|
+
|
|
47125
|
+
@OriginalPrice.setter
|
|
47126
|
+
def OriginalPrice(self, OriginalPrice):
|
|
47127
|
+
self._OriginalPrice = OriginalPrice
|
|
47128
|
+
|
|
47129
|
+
@property
|
|
47130
|
+
def DiscountPrice(self):
|
|
47131
|
+
r"""折扣后的总价格,单位:元。仅预付费价格查询返回。
|
|
47132
|
+
:rtype: float
|
|
47133
|
+
"""
|
|
47134
|
+
return self._DiscountPrice
|
|
47135
|
+
|
|
47136
|
+
@DiscountPrice.setter
|
|
47137
|
+
def DiscountPrice(self, DiscountPrice):
|
|
47138
|
+
self._DiscountPrice = DiscountPrice
|
|
47139
|
+
|
|
47033
47140
|
|
|
47034
47141
|
def _deserialize(self, params):
|
|
47035
47142
|
if params.get("AddressPrice") is not None:
|
|
47036
47143
|
self._AddressPrice = InternetPriceDetail()
|
|
47037
47144
|
self._AddressPrice._deserialize(params.get("AddressPrice"))
|
|
47145
|
+
if params.get("IPPrice") is not None:
|
|
47146
|
+
self._IPPrice = InternetPriceDetail()
|
|
47147
|
+
self._IPPrice._deserialize(params.get("IPPrice"))
|
|
47148
|
+
self._OriginalPrice = params.get("OriginalPrice")
|
|
47149
|
+
self._DiscountPrice = params.get("DiscountPrice")
|
|
47038
47150
|
memeber_set = set(params.keys())
|
|
47039
47151
|
for name, value in vars(self).items():
|
|
47040
47152
|
property_name = name[1:]
|
|
@@ -48190,15 +48302,15 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48190
48302
|
|
|
48191
48303
|
def __init__(self):
|
|
48192
48304
|
r"""
|
|
48193
|
-
:param _Protocol:
|
|
48305
|
+
:param _Protocol: 协议,包含TCP和UDP
|
|
48194
48306
|
:type Protocol: str
|
|
48195
|
-
:param _OriginalPort:
|
|
48307
|
+
:param _OriginalPort: 映射前端口
|
|
48196
48308
|
:type OriginalPort: int
|
|
48197
|
-
:param _OriginalIp:
|
|
48309
|
+
:param _OriginalIp: 映射前IP
|
|
48198
48310
|
:type OriginalIp: str
|
|
48199
|
-
:param _TranslationPort:
|
|
48311
|
+
:param _TranslationPort: 映射后端口
|
|
48200
48312
|
:type TranslationPort: int
|
|
48201
|
-
:param _TranslationIp:
|
|
48313
|
+
:param _TranslationIp: 映射后IP
|
|
48202
48314
|
:type TranslationIp: str
|
|
48203
48315
|
:param _Description: 描述
|
|
48204
48316
|
:type Description: str
|
|
@@ -48212,7 +48324,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48212
48324
|
|
|
48213
48325
|
@property
|
|
48214
48326
|
def Protocol(self):
|
|
48215
|
-
r"""
|
|
48327
|
+
r"""协议,包含TCP和UDP
|
|
48216
48328
|
:rtype: str
|
|
48217
48329
|
"""
|
|
48218
48330
|
return self._Protocol
|
|
@@ -48223,7 +48335,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48223
48335
|
|
|
48224
48336
|
@property
|
|
48225
48337
|
def OriginalPort(self):
|
|
48226
|
-
r"""
|
|
48338
|
+
r"""映射前端口
|
|
48227
48339
|
:rtype: int
|
|
48228
48340
|
"""
|
|
48229
48341
|
return self._OriginalPort
|
|
@@ -48234,7 +48346,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48234
48346
|
|
|
48235
48347
|
@property
|
|
48236
48348
|
def OriginalIp(self):
|
|
48237
|
-
r"""
|
|
48349
|
+
r"""映射前IP
|
|
48238
48350
|
:rtype: str
|
|
48239
48351
|
"""
|
|
48240
48352
|
return self._OriginalIp
|
|
@@ -48245,7 +48357,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48245
48357
|
|
|
48246
48358
|
@property
|
|
48247
48359
|
def TranslationPort(self):
|
|
48248
|
-
r"""
|
|
48360
|
+
r"""映射后端口
|
|
48249
48361
|
:rtype: int
|
|
48250
48362
|
"""
|
|
48251
48363
|
return self._TranslationPort
|
|
@@ -48256,7 +48368,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48256
48368
|
|
|
48257
48369
|
@property
|
|
48258
48370
|
def TranslationIp(self):
|
|
48259
|
-
r"""
|
|
48371
|
+
r"""映射后IP
|
|
48260
48372
|
:rtype: str
|
|
48261
48373
|
"""
|
|
48262
48374
|
return self._TranslationIp
|
|
@@ -54660,6 +54772,8 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
|
54660
54772
|
:type DnsServers: list of str
|
|
54661
54773
|
:param _DomainName: 域名。
|
|
54662
54774
|
:type DomainName: str
|
|
54775
|
+
:param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
54776
|
+
:type EnableRouteVpcPublish: bool
|
|
54663
54777
|
:param _EnableCdcPublish: 发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
|
|
54664
54778
|
:type EnableCdcPublish: bool
|
|
54665
54779
|
"""
|
|
@@ -54668,6 +54782,7 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
|
54668
54782
|
self._EnableMulticast = None
|
|
54669
54783
|
self._DnsServers = None
|
|
54670
54784
|
self._DomainName = None
|
|
54785
|
+
self._EnableRouteVpcPublish = None
|
|
54671
54786
|
self._EnableCdcPublish = None
|
|
54672
54787
|
|
|
54673
54788
|
@property
|
|
@@ -54725,6 +54840,17 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
|
54725
54840
|
def DomainName(self, DomainName):
|
|
54726
54841
|
self._DomainName = DomainName
|
|
54727
54842
|
|
|
54843
|
+
@property
|
|
54844
|
+
def EnableRouteVpcPublish(self):
|
|
54845
|
+
r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
54846
|
+
:rtype: bool
|
|
54847
|
+
"""
|
|
54848
|
+
return self._EnableRouteVpcPublish
|
|
54849
|
+
|
|
54850
|
+
@EnableRouteVpcPublish.setter
|
|
54851
|
+
def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
|
|
54852
|
+
self._EnableRouteVpcPublish = EnableRouteVpcPublish
|
|
54853
|
+
|
|
54728
54854
|
@property
|
|
54729
54855
|
def EnableCdcPublish(self):
|
|
54730
54856
|
r"""发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
|
|
@@ -54743,6 +54869,7 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
|
54743
54869
|
self._EnableMulticast = params.get("EnableMulticast")
|
|
54744
54870
|
self._DnsServers = params.get("DnsServers")
|
|
54745
54871
|
self._DomainName = params.get("DomainName")
|
|
54872
|
+
self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
|
|
54746
54873
|
self._EnableCdcPublish = params.get("EnableCdcPublish")
|
|
54747
54874
|
memeber_set = set(params.keys())
|
|
54748
54875
|
for name, value in vars(self).items():
|
|
@@ -59319,13 +59446,13 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59319
59446
|
r"""
|
|
59320
59447
|
:param _Protocol: 协议
|
|
59321
59448
|
:type Protocol: str
|
|
59322
|
-
:param _OriginalPort:
|
|
59449
|
+
:param _OriginalPort: 映射前端口
|
|
59323
59450
|
:type OriginalPort: int
|
|
59324
|
-
:param _OriginalIp:
|
|
59451
|
+
:param _OriginalIp: 映射前IP
|
|
59325
59452
|
:type OriginalIp: str
|
|
59326
|
-
:param _TranslationPort:
|
|
59453
|
+
:param _TranslationPort: 映射后端口
|
|
59327
59454
|
:type TranslationPort: int
|
|
59328
|
-
:param _TranslationIp:
|
|
59455
|
+
:param _TranslationIp: 映射后IP
|
|
59329
59456
|
:type TranslationIp: str
|
|
59330
59457
|
:param _Description: 描述
|
|
59331
59458
|
:type Description: str
|
|
@@ -59356,7 +59483,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59356
59483
|
|
|
59357
59484
|
@property
|
|
59358
59485
|
def OriginalPort(self):
|
|
59359
|
-
r"""
|
|
59486
|
+
r"""映射前端口
|
|
59360
59487
|
:rtype: int
|
|
59361
59488
|
"""
|
|
59362
59489
|
return self._OriginalPort
|
|
@@ -59367,7 +59494,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59367
59494
|
|
|
59368
59495
|
@property
|
|
59369
59496
|
def OriginalIp(self):
|
|
59370
|
-
r"""
|
|
59497
|
+
r"""映射前IP
|
|
59371
59498
|
:rtype: str
|
|
59372
59499
|
"""
|
|
59373
59500
|
return self._OriginalIp
|
|
@@ -59378,7 +59505,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59378
59505
|
|
|
59379
59506
|
@property
|
|
59380
59507
|
def TranslationPort(self):
|
|
59381
|
-
r"""
|
|
59508
|
+
r"""映射后端口
|
|
59382
59509
|
:rtype: int
|
|
59383
59510
|
"""
|
|
59384
59511
|
return self._TranslationPort
|
|
@@ -59389,7 +59516,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59389
59516
|
|
|
59390
59517
|
@property
|
|
59391
59518
|
def TranslationIp(self):
|
|
59392
|
-
r"""
|
|
59519
|
+
r"""映射后IP
|
|
59393
59520
|
:rtype: str
|
|
59394
59521
|
"""
|
|
59395
59522
|
return self._TranslationIp
|
|
@@ -59474,7 +59601,7 @@ class PrivateNatGateway(AbstractModel):
|
|
|
59474
59601
|
:type TagSet: list of Tag
|
|
59475
59602
|
:param _DirectConnectGatewayIds: 专线网关唯一`ID`
|
|
59476
59603
|
:type DirectConnectGatewayIds: list of str
|
|
59477
|
-
:param _NatType:
|
|
59604
|
+
:param _NatType: 私网网关类型。可选类型:"DCG","VPC","CCN",分别对应专线网关、私有网络、云联网。
|
|
59478
59605
|
:type NatType: str
|
|
59479
59606
|
:param _CrossDomainInfo: 私网NAT跨域信息
|
|
59480
59607
|
:type CrossDomainInfo: :class:`tencentcloud.vpc.v20170312.models.PrivateNatCrossDomainInfo`
|
|
@@ -59589,7 +59716,7 @@ class PrivateNatGateway(AbstractModel):
|
|
|
59589
59716
|
|
|
59590
59717
|
@property
|
|
59591
59718
|
def NatType(self):
|
|
59592
|
-
r"""
|
|
59719
|
+
r"""私网网关类型。可选类型:"DCG","VPC","CCN",分别对应专线网关、私有网络、云联网。
|
|
59593
59720
|
:rtype: str
|
|
59594
59721
|
"""
|
|
59595
59722
|
return self._NatType
|
|
@@ -67063,7 +67190,7 @@ class SourceIpTranslationNatRule(AbstractModel):
|
|
|
67063
67190
|
r"""
|
|
67064
67191
|
:param _ResourceId: 资源ID,如果ResourceType为USERDEFINED,可以为空字符串
|
|
67065
67192
|
:type ResourceId: str
|
|
67066
|
-
:param _ResourceType: 资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED
|
|
67193
|
+
:param _ResourceType: 资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED,分别表示子网、网卡、自定义网段
|
|
67067
67194
|
:type ResourceType: str
|
|
67068
67195
|
:param _PrivateIpAddress: 源IP/网段
|
|
67069
67196
|
:type PrivateIpAddress: str
|
|
@@ -67103,7 +67230,7 @@ class SourceIpTranslationNatRule(AbstractModel):
|
|
|
67103
67230
|
|
|
67104
67231
|
@property
|
|
67105
67232
|
def ResourceType(self):
|
|
67106
|
-
r"""资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED
|
|
67233
|
+
r"""资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED,分别表示子网、网卡、自定义网段
|
|
67107
67234
|
:rtype: str
|
|
67108
67235
|
"""
|
|
67109
67236
|
return self._ResourceType
|
|
@@ -69556,13 +69683,13 @@ class TranslationNatRule(AbstractModel):
|
|
|
69556
69683
|
r"""
|
|
69557
69684
|
:param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
|
69558
69685
|
:type TranslationDirection: str
|
|
69559
|
-
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
69686
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层和四层。
|
|
69560
69687
|
:type TranslationType: str
|
|
69561
|
-
:param _TranslationIp:
|
|
69688
|
+
:param _TranslationIp: 映射后IP,当转换规则类型为四层时为`IP`池。
|
|
69562
69689
|
:type TranslationIp: str
|
|
69563
69690
|
:param _Description: 转换规则描述。
|
|
69564
69691
|
:type Description: str
|
|
69565
|
-
:param _OriginalIp:
|
|
69692
|
+
:param _OriginalIp: 映射前IP,当转换规则类型为三层时有效。
|
|
69566
69693
|
:type OriginalIp: str
|
|
69567
69694
|
:param _CreateTime: 创建时间。
|
|
69568
69695
|
:type CreateTime: str
|
|
@@ -69590,7 +69717,7 @@ class TranslationNatRule(AbstractModel):
|
|
|
69590
69717
|
|
|
69591
69718
|
@property
|
|
69592
69719
|
def TranslationType(self):
|
|
69593
|
-
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
69720
|
+
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层和四层。
|
|
69594
69721
|
:rtype: str
|
|
69595
69722
|
"""
|
|
69596
69723
|
return self._TranslationType
|
|
@@ -69601,7 +69728,7 @@ class TranslationNatRule(AbstractModel):
|
|
|
69601
69728
|
|
|
69602
69729
|
@property
|
|
69603
69730
|
def TranslationIp(self):
|
|
69604
|
-
r"""
|
|
69731
|
+
r"""映射后IP,当转换规则类型为四层时为`IP`池。
|
|
69605
69732
|
:rtype: str
|
|
69606
69733
|
"""
|
|
69607
69734
|
return self._TranslationIp
|
|
@@ -69623,7 +69750,7 @@ class TranslationNatRule(AbstractModel):
|
|
|
69623
69750
|
|
|
69624
69751
|
@property
|
|
69625
69752
|
def OriginalIp(self):
|
|
69626
|
-
r"""
|
|
69753
|
+
r"""映射前IP,当转换规则类型为三层时有效。
|
|
69627
69754
|
:rtype: str
|
|
69628
69755
|
"""
|
|
69629
69756
|
return self._OriginalIp
|
|
@@ -69682,24 +69809,24 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69682
69809
|
r"""
|
|
69683
69810
|
:param _TranslationDirection: 转发规则目标,可选值"LOCAL","PEER"。
|
|
69684
69811
|
:type TranslationDirection: str
|
|
69685
|
-
:param _TranslationType:
|
|
69812
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
69686
69813
|
:type TranslationType: str
|
|
69687
|
-
:param _TranslationIp:
|
|
69814
|
+
:param _TranslationIp: 转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
69688
69815
|
:type TranslationIp: str
|
|
69816
|
+
:param _OldTranslationIp: 旧转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
69817
|
+
:type OldTranslationIp: str
|
|
69689
69818
|
:param _Description: 转发规则描述。
|
|
69690
69819
|
:type Description: str
|
|
69691
|
-
:param
|
|
69692
|
-
:type OldTranslationIp: str
|
|
69693
|
-
:param _OriginalIp: 新转发规则源`IP`,当转发规则类型为三层时有效
|
|
69820
|
+
:param _OriginalIp: 新转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
69694
69821
|
:type OriginalIp: str
|
|
69695
|
-
:param _OldOriginalIp:
|
|
69822
|
+
:param _OldOriginalIp: 旧转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
69696
69823
|
:type OldOriginalIp: str
|
|
69697
69824
|
"""
|
|
69698
69825
|
self._TranslationDirection = None
|
|
69699
69826
|
self._TranslationType = None
|
|
69700
69827
|
self._TranslationIp = None
|
|
69701
|
-
self._Description = None
|
|
69702
69828
|
self._OldTranslationIp = None
|
|
69829
|
+
self._Description = None
|
|
69703
69830
|
self._OriginalIp = None
|
|
69704
69831
|
self._OldOriginalIp = None
|
|
69705
69832
|
|
|
@@ -69716,7 +69843,7 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69716
69843
|
|
|
69717
69844
|
@property
|
|
69718
69845
|
def TranslationType(self):
|
|
69719
|
-
r"""
|
|
69846
|
+
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
69720
69847
|
:rtype: str
|
|
69721
69848
|
"""
|
|
69722
69849
|
return self._TranslationType
|
|
@@ -69727,7 +69854,7 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69727
69854
|
|
|
69728
69855
|
@property
|
|
69729
69856
|
def TranslationIp(self):
|
|
69730
|
-
r"""
|
|
69857
|
+
r"""转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
69731
69858
|
:rtype: str
|
|
69732
69859
|
"""
|
|
69733
69860
|
return self._TranslationIp
|
|
@@ -69736,6 +69863,17 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69736
69863
|
def TranslationIp(self, TranslationIp):
|
|
69737
69864
|
self._TranslationIp = TranslationIp
|
|
69738
69865
|
|
|
69866
|
+
@property
|
|
69867
|
+
def OldTranslationIp(self):
|
|
69868
|
+
r"""旧转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
69869
|
+
:rtype: str
|
|
69870
|
+
"""
|
|
69871
|
+
return self._OldTranslationIp
|
|
69872
|
+
|
|
69873
|
+
@OldTranslationIp.setter
|
|
69874
|
+
def OldTranslationIp(self, OldTranslationIp):
|
|
69875
|
+
self._OldTranslationIp = OldTranslationIp
|
|
69876
|
+
|
|
69739
69877
|
@property
|
|
69740
69878
|
def Description(self):
|
|
69741
69879
|
r"""转发规则描述。
|
|
@@ -69747,20 +69885,9 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69747
69885
|
def Description(self, Description):
|
|
69748
69886
|
self._Description = Description
|
|
69749
69887
|
|
|
69750
|
-
@property
|
|
69751
|
-
def OldTranslationIp(self):
|
|
69752
|
-
r"""旧转发规则映射`IP`,当转发规则类型为四层时为`IP`池
|
|
69753
|
-
:rtype: str
|
|
69754
|
-
"""
|
|
69755
|
-
return self._OldTranslationIp
|
|
69756
|
-
|
|
69757
|
-
@OldTranslationIp.setter
|
|
69758
|
-
def OldTranslationIp(self, OldTranslationIp):
|
|
69759
|
-
self._OldTranslationIp = OldTranslationIp
|
|
69760
|
-
|
|
69761
69888
|
@property
|
|
69762
69889
|
def OriginalIp(self):
|
|
69763
|
-
r"""
|
|
69890
|
+
r"""新转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
69764
69891
|
:rtype: str
|
|
69765
69892
|
"""
|
|
69766
69893
|
return self._OriginalIp
|
|
@@ -69771,7 +69898,7 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69771
69898
|
|
|
69772
69899
|
@property
|
|
69773
69900
|
def OldOriginalIp(self):
|
|
69774
|
-
r"""
|
|
69901
|
+
r"""旧转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
69775
69902
|
:rtype: str
|
|
69776
69903
|
"""
|
|
69777
69904
|
return self._OldOriginalIp
|
|
@@ -69785,8 +69912,8 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69785
69912
|
self._TranslationDirection = params.get("TranslationDirection")
|
|
69786
69913
|
self._TranslationType = params.get("TranslationType")
|
|
69787
69914
|
self._TranslationIp = params.get("TranslationIp")
|
|
69788
|
-
self._Description = params.get("Description")
|
|
69789
69915
|
self._OldTranslationIp = params.get("OldTranslationIp")
|
|
69916
|
+
self._Description = params.get("Description")
|
|
69790
69917
|
self._OriginalIp = params.get("OriginalIp")
|
|
69791
69918
|
self._OldOriginalIp = params.get("OldOriginalIp")
|
|
69792
69919
|
memeber_set = set(params.keys())
|
|
@@ -69808,13 +69935,13 @@ class TranslationNatRuleInput(AbstractModel):
|
|
|
69808
69935
|
r"""
|
|
69809
69936
|
:param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
|
69810
69937
|
:type TranslationDirection: str
|
|
69811
|
-
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
69938
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
69812
69939
|
:type TranslationType: str
|
|
69813
|
-
:param _TranslationIp:
|
|
69940
|
+
:param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
69814
69941
|
:type TranslationIp: str
|
|
69815
69942
|
:param _Description: 转换规则描述。
|
|
69816
69943
|
:type Description: str
|
|
69817
|
-
:param _OriginalIp:
|
|
69944
|
+
:param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
|
|
69818
69945
|
:type OriginalIp: str
|
|
69819
69946
|
"""
|
|
69820
69947
|
self._TranslationDirection = None
|
|
@@ -69836,7 +69963,7 @@ class TranslationNatRuleInput(AbstractModel):
|
|
|
69836
69963
|
|
|
69837
69964
|
@property
|
|
69838
69965
|
def TranslationType(self):
|
|
69839
|
-
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
69966
|
+
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
69840
69967
|
:rtype: str
|
|
69841
69968
|
"""
|
|
69842
69969
|
return self._TranslationType
|
|
@@ -69847,7 +69974,7 @@ class TranslationNatRuleInput(AbstractModel):
|
|
|
69847
69974
|
|
|
69848
69975
|
@property
|
|
69849
69976
|
def TranslationIp(self):
|
|
69850
|
-
r"""
|
|
69977
|
+
r"""映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
69851
69978
|
:rtype: str
|
|
69852
69979
|
"""
|
|
69853
69980
|
return self._TranslationIp
|
|
@@ -69869,7 +69996,7 @@ class TranslationNatRuleInput(AbstractModel):
|
|
|
69869
69996
|
|
|
69870
69997
|
@property
|
|
69871
69998
|
def OriginalIp(self):
|
|
69872
|
-
r"""
|
|
69999
|
+
r"""映射前`IP`,当转换规则类型为三层时有效。
|
|
69873
70000
|
:rtype: str
|
|
69874
70001
|
"""
|
|
69875
70002
|
return self._OriginalIp
|
|
@@ -70770,6 +70897,8 @@ class Vpc(AbstractModel):
|
|
|
70770
70897
|
:type TagSet: list of Tag
|
|
70771
70898
|
:param _AssistantCidrSet: 辅助CIDR
|
|
70772
70899
|
:type AssistantCidrSet: list of AssistantCidr
|
|
70900
|
+
:param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
70901
|
+
:type EnableRouteVpcPublish: bool
|
|
70773
70902
|
:param _Ipv6CidrBlockSet: 返回多运营商IPv6 Cidr Block
|
|
70774
70903
|
:type Ipv6CidrBlockSet: list of ISPIPv6CidrBlock
|
|
70775
70904
|
"""
|
|
@@ -70786,6 +70915,7 @@ class Vpc(AbstractModel):
|
|
|
70786
70915
|
self._Ipv6CidrBlock = None
|
|
70787
70916
|
self._TagSet = None
|
|
70788
70917
|
self._AssistantCidrSet = None
|
|
70918
|
+
self._EnableRouteVpcPublish = None
|
|
70789
70919
|
self._Ipv6CidrBlockSet = None
|
|
70790
70920
|
|
|
70791
70921
|
@property
|
|
@@ -70931,6 +71061,17 @@ class Vpc(AbstractModel):
|
|
|
70931
71061
|
def AssistantCidrSet(self, AssistantCidrSet):
|
|
70932
71062
|
self._AssistantCidrSet = AssistantCidrSet
|
|
70933
71063
|
|
|
71064
|
+
@property
|
|
71065
|
+
def EnableRouteVpcPublish(self):
|
|
71066
|
+
r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
71067
|
+
:rtype: bool
|
|
71068
|
+
"""
|
|
71069
|
+
return self._EnableRouteVpcPublish
|
|
71070
|
+
|
|
71071
|
+
@EnableRouteVpcPublish.setter
|
|
71072
|
+
def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
|
|
71073
|
+
self._EnableRouteVpcPublish = EnableRouteVpcPublish
|
|
71074
|
+
|
|
70934
71075
|
@property
|
|
70935
71076
|
def Ipv6CidrBlockSet(self):
|
|
70936
71077
|
r"""返回多运营商IPv6 Cidr Block
|
|
@@ -70967,6 +71108,7 @@ class Vpc(AbstractModel):
|
|
|
70967
71108
|
obj = AssistantCidr()
|
|
70968
71109
|
obj._deserialize(item)
|
|
70969
71110
|
self._AssistantCidrSet.append(obj)
|
|
71111
|
+
self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
|
|
70970
71112
|
if params.get("Ipv6CidrBlockSet") is not None:
|
|
70971
71113
|
self._Ipv6CidrBlockSet = []
|
|
70972
71114
|
for item in params.get("Ipv6CidrBlockSet"):
|
|
@@ -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.1487
|
|
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<4.0.0,>=3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1487
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1487
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|