tencentcloud-sdk-python-vpc 3.0.1482__tar.gz → 3.0.1490__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.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/setup.py +1 -1
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/v20170312/models.py +372 -46
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vpc-3.0.1490/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vpc-3.0.1482/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/README.rst +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1482 → tencentcloud_sdk_python_vpc-3.0.1490}/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.1490
|
|
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.1490
|
|
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.1490,<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(),
|
|
@@ -1127,6 +1127,15 @@ UNSUPPORTEDOPERATION_NATGATEWAYEIPNOTEXISTS = 'UnsupportedOperation.NatGatewayEi
|
|
|
1127
1127
|
# NAT网关存在未解绑的IP。
|
|
1128
1128
|
UNSUPPORTEDOPERATION_NATGATEWAYHADEIPUNASSOCIATE = 'UnsupportedOperation.NatGatewayHadEipUnassociate'
|
|
1129
1129
|
|
|
1130
|
+
# NAT网关最近流量“出/入带宽”峰值取大超过检测带宽阈值。
|
|
1131
|
+
UNSUPPORTEDOPERATION_NATGATEWAYHAVEHIGHTRAFFIC = 'UnsupportedOperation.NatGatewayHaveHighTraffic'
|
|
1132
|
+
|
|
1133
|
+
# NAT网关存在路由。
|
|
1134
|
+
UNSUPPORTEDOPERATION_NATGATEWAYHAVEROUTE = 'UnsupportedOperation.NatGatewayHaveRoute'
|
|
1135
|
+
|
|
1136
|
+
# NAT网关存在路由和最近流量“出/入带宽”峰值取大超过检测带宽阈值。
|
|
1137
|
+
UNSUPPORTEDOPERATION_NATGATEWAYHAVEROUTEANDHIGHTRAFFIC = 'UnsupportedOperation.NatGatewayHaveRouteAndHighTraffic'
|
|
1138
|
+
|
|
1130
1139
|
# NAT网关已被封禁,不支持此操作。
|
|
1131
1140
|
UNSUPPORTEDOPERATION_NATGATEWAYRESTRICTED = 'UnsupportedOperation.NatGatewayRestricted'
|
|
1132
1141
|
|
|
@@ -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:]
|
|
@@ -3943,6 +3968,7 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
3943
3968
|
:param _PublicIpAddresses: 绑定NAT网关的弹性IP数组,其中AddressCount和PublicAddresses至少传递一个。
|
|
3944
3969
|
:type PublicIpAddresses: list of str
|
|
3945
3970
|
:param _Zone: 弹性IP可用区,自动分配弹性IP时传递。
|
|
3971
|
+
其中产品可用区查询接口为[查询产品可用区列表](https://cloud.tencent.com/document/product/1596/77929)
|
|
3946
3972
|
:type Zone: str
|
|
3947
3973
|
:param _StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
|
|
3948
3974
|
:type StockPublicIpAddressesBandwidthOut: int
|
|
@@ -3950,6 +3976,8 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
3950
3976
|
:type PublicIpAddressesBandwidthOut: int
|
|
3951
3977
|
:param _PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
|
|
3952
3978
|
:type PublicIpFromSameZone: bool
|
|
3979
|
+
:param _IpAddressEnableMode: 启用或者禁用NAT网关绑定的EIP
|
|
3980
|
+
:type IpAddressEnableMode: bool
|
|
3953
3981
|
"""
|
|
3954
3982
|
self._NatGatewayId = None
|
|
3955
3983
|
self._AddressCount = None
|
|
@@ -3958,6 +3986,7 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
3958
3986
|
self._StockPublicIpAddressesBandwidthOut = None
|
|
3959
3987
|
self._PublicIpAddressesBandwidthOut = None
|
|
3960
3988
|
self._PublicIpFromSameZone = None
|
|
3989
|
+
self._IpAddressEnableMode = None
|
|
3961
3990
|
|
|
3962
3991
|
@property
|
|
3963
3992
|
def NatGatewayId(self):
|
|
@@ -3995,6 +4024,7 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
3995
4024
|
@property
|
|
3996
4025
|
def Zone(self):
|
|
3997
4026
|
r"""弹性IP可用区,自动分配弹性IP时传递。
|
|
4027
|
+
其中产品可用区查询接口为[查询产品可用区列表](https://cloud.tencent.com/document/product/1596/77929)
|
|
3998
4028
|
:rtype: str
|
|
3999
4029
|
"""
|
|
4000
4030
|
return self._Zone
|
|
@@ -4036,6 +4066,17 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
4036
4066
|
def PublicIpFromSameZone(self, PublicIpFromSameZone):
|
|
4037
4067
|
self._PublicIpFromSameZone = PublicIpFromSameZone
|
|
4038
4068
|
|
|
4069
|
+
@property
|
|
4070
|
+
def IpAddressEnableMode(self):
|
|
4071
|
+
r"""启用或者禁用NAT网关绑定的EIP
|
|
4072
|
+
:rtype: bool
|
|
4073
|
+
"""
|
|
4074
|
+
return self._IpAddressEnableMode
|
|
4075
|
+
|
|
4076
|
+
@IpAddressEnableMode.setter
|
|
4077
|
+
def IpAddressEnableMode(self, IpAddressEnableMode):
|
|
4078
|
+
self._IpAddressEnableMode = IpAddressEnableMode
|
|
4079
|
+
|
|
4039
4080
|
|
|
4040
4081
|
def _deserialize(self, params):
|
|
4041
4082
|
self._NatGatewayId = params.get("NatGatewayId")
|
|
@@ -4045,6 +4086,7 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
4045
4086
|
self._StockPublicIpAddressesBandwidthOut = params.get("StockPublicIpAddressesBandwidthOut")
|
|
4046
4087
|
self._PublicIpAddressesBandwidthOut = params.get("PublicIpAddressesBandwidthOut")
|
|
4047
4088
|
self._PublicIpFromSameZone = params.get("PublicIpFromSameZone")
|
|
4089
|
+
self._IpAddressEnableMode = params.get("IpAddressEnableMode")
|
|
4048
4090
|
memeber_set = set(params.keys())
|
|
4049
4091
|
for name, value in vars(self).items():
|
|
4050
4092
|
property_name = name[1:]
|
|
@@ -11955,7 +11997,7 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
11955
11997
|
|
|
11956
11998
|
def __init__(self):
|
|
11957
11999
|
r"""
|
|
11958
|
-
:param _NatGatewayName: NAT
|
|
12000
|
+
:param _NatGatewayName: NAT网关名称,限制60字符
|
|
11959
12001
|
:type NatGatewayName: str
|
|
11960
12002
|
:param _VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
|
11961
12003
|
:type VpcId: str
|
|
@@ -12001,7 +12043,7 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
12001
12043
|
|
|
12002
12044
|
@property
|
|
12003
12045
|
def NatGatewayName(self):
|
|
12004
|
-
r"""NAT
|
|
12046
|
+
r"""NAT网关名称,限制60字符
|
|
12005
12047
|
:rtype: str
|
|
12006
12048
|
"""
|
|
12007
12049
|
return self._NatGatewayName
|
|
@@ -13198,7 +13240,7 @@ class CreatePrivateNatGatewayRequest(AbstractModel):
|
|
|
13198
13240
|
|
|
13199
13241
|
def __init__(self):
|
|
13200
13242
|
r"""
|
|
13201
|
-
:param _NatGatewayName:
|
|
13243
|
+
:param _NatGatewayName: 私网网关名称,限制60个字符
|
|
13202
13244
|
:type NatGatewayName: str
|
|
13203
13245
|
:param _VpcId: 私有网络实例ID。当创建VPC类型私网NAT网关或者专线网关类型私网NAT网关时,此参数必填。
|
|
13204
13246
|
:type VpcId: str
|
|
@@ -13223,7 +13265,7 @@ class CreatePrivateNatGatewayRequest(AbstractModel):
|
|
|
13223
13265
|
|
|
13224
13266
|
@property
|
|
13225
13267
|
def NatGatewayName(self):
|
|
13226
|
-
r"""
|
|
13268
|
+
r"""私网网关名称,限制60个字符
|
|
13227
13269
|
:rtype: str
|
|
13228
13270
|
"""
|
|
13229
13271
|
return self._NatGatewayName
|
|
@@ -13394,15 +13436,15 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13394
13436
|
r"""
|
|
13395
13437
|
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
|
13396
13438
|
:type NatGatewayId: str
|
|
13397
|
-
:param _TranslationDirection: 转换规则目标,可选值
|
|
13439
|
+
:param _TranslationDirection: 转换规则目标,可选值LOCAL。
|
|
13398
13440
|
:type TranslationDirection: str
|
|
13399
|
-
:param _TranslationType: 转换规则类型,可选值
|
|
13441
|
+
:param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
13400
13442
|
:type TranslationType: str
|
|
13401
|
-
:param _TranslationIp:
|
|
13443
|
+
:param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
13402
13444
|
:type TranslationIp: str
|
|
13403
13445
|
:param _TranslationAclRules: 访问控制列表。
|
|
13404
13446
|
:type TranslationAclRules: list of TranslationAclRule
|
|
13405
|
-
:param _OriginalIp:
|
|
13447
|
+
:param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
|
|
13406
13448
|
:type OriginalIp: str
|
|
13407
13449
|
"""
|
|
13408
13450
|
self._NatGatewayId = None
|
|
@@ -13425,7 +13467,7 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13425
13467
|
|
|
13426
13468
|
@property
|
|
13427
13469
|
def TranslationDirection(self):
|
|
13428
|
-
r"""转换规则目标,可选值
|
|
13470
|
+
r"""转换规则目标,可选值LOCAL。
|
|
13429
13471
|
:rtype: str
|
|
13430
13472
|
"""
|
|
13431
13473
|
return self._TranslationDirection
|
|
@@ -13436,7 +13478,7 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13436
13478
|
|
|
13437
13479
|
@property
|
|
13438
13480
|
def TranslationType(self):
|
|
13439
|
-
r"""转换规则类型,可选值
|
|
13481
|
+
r"""转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
13440
13482
|
:rtype: str
|
|
13441
13483
|
"""
|
|
13442
13484
|
return self._TranslationType
|
|
@@ -13447,7 +13489,7 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13447
13489
|
|
|
13448
13490
|
@property
|
|
13449
13491
|
def TranslationIp(self):
|
|
13450
|
-
r"""
|
|
13492
|
+
r"""映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
13451
13493
|
:rtype: str
|
|
13452
13494
|
"""
|
|
13453
13495
|
return self._TranslationIp
|
|
@@ -13469,7 +13511,7 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13469
13511
|
|
|
13470
13512
|
@property
|
|
13471
13513
|
def OriginalIp(self):
|
|
13472
|
-
r"""
|
|
13514
|
+
r"""映射前`IP`,当转换规则类型为三层时有效。
|
|
13473
13515
|
:rtype: str
|
|
13474
13516
|
"""
|
|
13475
13517
|
return self._OriginalIp
|
|
@@ -20148,8 +20190,11 @@ class DeleteNatGatewayRequest(AbstractModel):
|
|
|
20148
20190
|
r"""
|
|
20149
20191
|
:param _NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
|
|
20150
20192
|
:type NatGatewayId: str
|
|
20193
|
+
:param _IgnoreOperationRisk: 忽略操作风险
|
|
20194
|
+
:type IgnoreOperationRisk: bool
|
|
20151
20195
|
"""
|
|
20152
20196
|
self._NatGatewayId = None
|
|
20197
|
+
self._IgnoreOperationRisk = None
|
|
20153
20198
|
|
|
20154
20199
|
@property
|
|
20155
20200
|
def NatGatewayId(self):
|
|
@@ -20162,9 +20207,21 @@ class DeleteNatGatewayRequest(AbstractModel):
|
|
|
20162
20207
|
def NatGatewayId(self, NatGatewayId):
|
|
20163
20208
|
self._NatGatewayId = NatGatewayId
|
|
20164
20209
|
|
|
20210
|
+
@property
|
|
20211
|
+
def IgnoreOperationRisk(self):
|
|
20212
|
+
r"""忽略操作风险
|
|
20213
|
+
:rtype: bool
|
|
20214
|
+
"""
|
|
20215
|
+
return self._IgnoreOperationRisk
|
|
20216
|
+
|
|
20217
|
+
@IgnoreOperationRisk.setter
|
|
20218
|
+
def IgnoreOperationRisk(self, IgnoreOperationRisk):
|
|
20219
|
+
self._IgnoreOperationRisk = IgnoreOperationRisk
|
|
20220
|
+
|
|
20165
20221
|
|
|
20166
20222
|
def _deserialize(self, params):
|
|
20167
20223
|
self._NatGatewayId = params.get("NatGatewayId")
|
|
20224
|
+
self._IgnoreOperationRisk = params.get("IgnoreOperationRisk")
|
|
20168
20225
|
memeber_set = set(params.keys())
|
|
20169
20226
|
for name, value in vars(self).items():
|
|
20170
20227
|
property_name = name[1:]
|
|
@@ -20795,15 +20852,15 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20795
20852
|
r"""
|
|
20796
20853
|
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
|
20797
20854
|
:type NatGatewayId: str
|
|
20798
|
-
:param _TranslationDirection: 转换规则目标,可选值
|
|
20855
|
+
:param _TranslationDirection: 转换规则目标,可选值LOCAL。
|
|
20799
20856
|
:type TranslationDirection: str
|
|
20800
|
-
:param _TranslationType: 转换规则类型,可选值
|
|
20857
|
+
:param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
20801
20858
|
:type TranslationType: str
|
|
20802
|
-
:param _TranslationIp:
|
|
20859
|
+
:param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池
|
|
20803
20860
|
:type TranslationIp: str
|
|
20804
20861
|
:param _AclRuleIds: 访问控制规则对应`ID`
|
|
20805
20862
|
:type AclRuleIds: list of int non-negative
|
|
20806
|
-
:param _OriginalIp:
|
|
20863
|
+
:param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效
|
|
20807
20864
|
:type OriginalIp: str
|
|
20808
20865
|
"""
|
|
20809
20866
|
self._NatGatewayId = None
|
|
@@ -20826,7 +20883,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20826
20883
|
|
|
20827
20884
|
@property
|
|
20828
20885
|
def TranslationDirection(self):
|
|
20829
|
-
r"""转换规则目标,可选值
|
|
20886
|
+
r"""转换规则目标,可选值LOCAL。
|
|
20830
20887
|
:rtype: str
|
|
20831
20888
|
"""
|
|
20832
20889
|
return self._TranslationDirection
|
|
@@ -20837,7 +20894,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20837
20894
|
|
|
20838
20895
|
@property
|
|
20839
20896
|
def TranslationType(self):
|
|
20840
|
-
r"""转换规则类型,可选值
|
|
20897
|
+
r"""转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
20841
20898
|
:rtype: str
|
|
20842
20899
|
"""
|
|
20843
20900
|
return self._TranslationType
|
|
@@ -20848,7 +20905,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20848
20905
|
|
|
20849
20906
|
@property
|
|
20850
20907
|
def TranslationIp(self):
|
|
20851
|
-
r"""
|
|
20908
|
+
r"""映射后`IP`,当转换规则类型为四层时为`IP`池
|
|
20852
20909
|
:rtype: str
|
|
20853
20910
|
"""
|
|
20854
20911
|
return self._TranslationIp
|
|
@@ -20870,7 +20927,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20870
20927
|
|
|
20871
20928
|
@property
|
|
20872
20929
|
def OriginalIp(self):
|
|
20873
|
-
r"""
|
|
20930
|
+
r"""映射前`IP`,当转换规则类型为三层时有效
|
|
20874
20931
|
:rtype: str
|
|
20875
20932
|
"""
|
|
20876
20933
|
return self._OriginalIp
|
|
@@ -30355,6 +30412,60 @@ class DescribeNatGatewaySourceIpTranslationNatRulesResponse(AbstractModel):
|
|
|
30355
30412
|
self._RequestId = params.get("RequestId")
|
|
30356
30413
|
|
|
30357
30414
|
|
|
30415
|
+
class DescribeNatGatewayZonesRequest(AbstractModel):
|
|
30416
|
+
r"""DescribeNatGatewayZones请求参数结构体
|
|
30417
|
+
|
|
30418
|
+
"""
|
|
30419
|
+
|
|
30420
|
+
|
|
30421
|
+
class DescribeNatGatewayZonesResponse(AbstractModel):
|
|
30422
|
+
r"""DescribeNatGatewayZones返回参数结构体
|
|
30423
|
+
|
|
30424
|
+
"""
|
|
30425
|
+
|
|
30426
|
+
def __init__(self):
|
|
30427
|
+
r"""
|
|
30428
|
+
:param _ZoneSet: 可售卖可用区信息列表
|
|
30429
|
+
:type ZoneSet: list of NatZoneInfo
|
|
30430
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30431
|
+
:type RequestId: str
|
|
30432
|
+
"""
|
|
30433
|
+
self._ZoneSet = None
|
|
30434
|
+
self._RequestId = None
|
|
30435
|
+
|
|
30436
|
+
@property
|
|
30437
|
+
def ZoneSet(self):
|
|
30438
|
+
r"""可售卖可用区信息列表
|
|
30439
|
+
:rtype: list of NatZoneInfo
|
|
30440
|
+
"""
|
|
30441
|
+
return self._ZoneSet
|
|
30442
|
+
|
|
30443
|
+
@ZoneSet.setter
|
|
30444
|
+
def ZoneSet(self, ZoneSet):
|
|
30445
|
+
self._ZoneSet = ZoneSet
|
|
30446
|
+
|
|
30447
|
+
@property
|
|
30448
|
+
def RequestId(self):
|
|
30449
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30450
|
+
:rtype: str
|
|
30451
|
+
"""
|
|
30452
|
+
return self._RequestId
|
|
30453
|
+
|
|
30454
|
+
@RequestId.setter
|
|
30455
|
+
def RequestId(self, RequestId):
|
|
30456
|
+
self._RequestId = RequestId
|
|
30457
|
+
|
|
30458
|
+
|
|
30459
|
+
def _deserialize(self, params):
|
|
30460
|
+
if params.get("ZoneSet") is not None:
|
|
30461
|
+
self._ZoneSet = []
|
|
30462
|
+
for item in params.get("ZoneSet"):
|
|
30463
|
+
obj = NatZoneInfo()
|
|
30464
|
+
obj._deserialize(item)
|
|
30465
|
+
self._ZoneSet.append(obj)
|
|
30466
|
+
self._RequestId = params.get("RequestId")
|
|
30467
|
+
|
|
30468
|
+
|
|
30358
30469
|
class DescribeNatGatewaysRequest(AbstractModel):
|
|
30359
30470
|
r"""DescribeNatGateways请求参数结构体
|
|
30360
30471
|
|
|
@@ -30364,7 +30475,7 @@ class DescribeNatGatewaysRequest(AbstractModel):
|
|
|
30364
30475
|
r"""
|
|
30365
30476
|
:param _NatGatewayIds: NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
|
|
30366
30477
|
:type NatGatewayIds: list of str
|
|
30367
|
-
:param _Filters: 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-
|
|
30478
|
+
:param _Filters: 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-state - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
|
30368
30479
|
:type Filters: list of Filter
|
|
30369
30480
|
:param _Offset: 偏移量,默认为0。
|
|
30370
30481
|
:type Offset: int
|
|
@@ -30389,7 +30500,7 @@ class DescribeNatGatewaysRequest(AbstractModel):
|
|
|
30389
30500
|
|
|
30390
30501
|
@property
|
|
30391
30502
|
def Filters(self):
|
|
30392
|
-
r"""过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-
|
|
30503
|
+
r"""过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-state - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
|
30393
30504
|
:rtype: list of Filter
|
|
30394
30505
|
"""
|
|
30395
30506
|
return self._Filters
|
|
@@ -31582,7 +31693,7 @@ class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest(Abstr
|
|
|
31582
31693
|
r"""
|
|
31583
31694
|
:param _NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
|
|
31584
31695
|
:type NatGatewayId: str
|
|
31585
|
-
:param _Filters: 过滤条件,Name
|
|
31696
|
+
:param _Filters: 过滤条件,Name可选值:OriginalIp、TranslationIp、OriginalPort、TranslationPort、Protocol、Description,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
|
|
31586
31697
|
:type Filters: list of Filter
|
|
31587
31698
|
:param _Offset: 偏移量,默认值为0。
|
|
31588
31699
|
:type Offset: int
|
|
@@ -31607,7 +31718,7 @@ class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest(Abstr
|
|
|
31607
31718
|
|
|
31608
31719
|
@property
|
|
31609
31720
|
def Filters(self):
|
|
31610
|
-
r"""过滤条件,Name
|
|
31721
|
+
r"""过滤条件,Name可选值:OriginalIp、TranslationIp、OriginalPort、TranslationPort、Protocol、Description,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
|
|
31611
31722
|
:rtype: list of Filter
|
|
31612
31723
|
"""
|
|
31613
31724
|
return self._Filters
|
|
@@ -31936,13 +32047,13 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
31936
32047
|
r"""
|
|
31937
32048
|
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
|
31938
32049
|
:type NatGatewayId: str
|
|
31939
|
-
:param _TranslationDirection: 转换规则目标,可选值
|
|
32050
|
+
:param _TranslationDirection: 转换规则目标,可选值LOCAL。
|
|
31940
32051
|
:type TranslationDirection: str
|
|
31941
|
-
:param _TranslationType: 转换规则类型,可选值
|
|
32052
|
+
:param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
31942
32053
|
:type TranslationType: str
|
|
31943
|
-
:param _TranslationIp:
|
|
32054
|
+
:param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
31944
32055
|
:type TranslationIp: str
|
|
31945
|
-
:param _OriginalIp:
|
|
32056
|
+
:param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
|
|
31946
32057
|
:type OriginalIp: str
|
|
31947
32058
|
:param _Offset: 偏移量。默认值为0。
|
|
31948
32059
|
:type Offset: int
|
|
@@ -31973,7 +32084,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
31973
32084
|
|
|
31974
32085
|
@property
|
|
31975
32086
|
def TranslationDirection(self):
|
|
31976
|
-
r"""转换规则目标,可选值
|
|
32087
|
+
r"""转换规则目标,可选值LOCAL。
|
|
31977
32088
|
:rtype: str
|
|
31978
32089
|
"""
|
|
31979
32090
|
return self._TranslationDirection
|
|
@@ -31984,7 +32095,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
31984
32095
|
|
|
31985
32096
|
@property
|
|
31986
32097
|
def TranslationType(self):
|
|
31987
|
-
r"""转换规则类型,可选值
|
|
32098
|
+
r"""转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
31988
32099
|
:rtype: str
|
|
31989
32100
|
"""
|
|
31990
32101
|
return self._TranslationType
|
|
@@ -31995,7 +32106,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
31995
32106
|
|
|
31996
32107
|
@property
|
|
31997
32108
|
def TranslationIp(self):
|
|
31998
|
-
r"""
|
|
32109
|
+
r"""映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
31999
32110
|
:rtype: str
|
|
32000
32111
|
"""
|
|
32001
32112
|
return self._TranslationIp
|
|
@@ -32006,7 +32117,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
32006
32117
|
|
|
32007
32118
|
@property
|
|
32008
32119
|
def OriginalIp(self):
|
|
32009
|
-
r"""
|
|
32120
|
+
r"""映射前`IP`,当转换规则类型为三层时有效。
|
|
32010
32121
|
:rtype: str
|
|
32011
32122
|
"""
|
|
32012
32123
|
return self._OriginalIp
|
|
@@ -32296,6 +32407,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32296
32407
|
def __init__(self):
|
|
32297
32408
|
r"""
|
|
32298
32409
|
:param _NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
|
32410
|
+
注意:NatGatewayIds和Filters参数互斥,不能同时传入。
|
|
32299
32411
|
:type NatGatewayIds: list of str
|
|
32300
32412
|
:param _Filters: 过滤条件。<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li><li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li><li>VpcId - String - 私网网关所在`VpcId`。</li><li>TagKey - Tag数组 - 私网网关标签键值对数组</li><li>intranat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
|
32301
32413
|
:type Filters: list of Filter
|
|
@@ -32303,9 +32415,9 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32303
32415
|
:type Offset: int
|
|
32304
32416
|
:param _Limit: 返回数量,默认为20。
|
|
32305
32417
|
:type Limit: int
|
|
32306
|
-
:param _OrderField: 排序字段。可选值:
|
|
32418
|
+
:param _OrderField: 排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime。
|
|
32307
32419
|
:type OrderField: str
|
|
32308
|
-
:param _OrderDirection: 排序方式。可选值:
|
|
32420
|
+
:param _OrderDirection: 排序方式。可选值:ASC、DESC。分别表示升序、降序。
|
|
32309
32421
|
:type OrderDirection: str
|
|
32310
32422
|
"""
|
|
32311
32423
|
self._NatGatewayIds = None
|
|
@@ -32318,6 +32430,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32318
32430
|
@property
|
|
32319
32431
|
def NatGatewayIds(self):
|
|
32320
32432
|
r"""私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
|
32433
|
+
注意:NatGatewayIds和Filters参数互斥,不能同时传入。
|
|
32321
32434
|
:rtype: list of str
|
|
32322
32435
|
"""
|
|
32323
32436
|
return self._NatGatewayIds
|
|
@@ -32361,7 +32474,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32361
32474
|
|
|
32362
32475
|
@property
|
|
32363
32476
|
def OrderField(self):
|
|
32364
|
-
r"""排序字段。可选值:
|
|
32477
|
+
r"""排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime。
|
|
32365
32478
|
:rtype: str
|
|
32366
32479
|
"""
|
|
32367
32480
|
return self._OrderField
|
|
@@ -32372,7 +32485,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32372
32485
|
|
|
32373
32486
|
@property
|
|
32374
32487
|
def OrderDirection(self):
|
|
32375
|
-
r"""排序方式。可选值:
|
|
32488
|
+
r"""排序方式。可选值:ASC、DESC。分别表示升序、降序。
|
|
32376
32489
|
:rtype: str
|
|
32377
32490
|
"""
|
|
32378
32491
|
return self._OrderDirection
|
|
@@ -37176,14 +37289,20 @@ class DescribeVpcEndPointRequest(AbstractModel):
|
|
|
37176
37289
|
:param _EndPointId: 终端节点ID列表。可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)
|
|
37177
37290
|
获取。
|
|
37178
37291
|
:type EndPointId: list of str
|
|
37179
|
-
:param _IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
|
|
37292
|
+
:param _IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
|
|
37180
37293
|
:type IpAddressType: str
|
|
37294
|
+
:param _MaxResults: 每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
|
|
37295
|
+
:type MaxResults: int
|
|
37296
|
+
:param _NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37297
|
+
:type NextToken: str
|
|
37181
37298
|
"""
|
|
37182
37299
|
self._Filters = None
|
|
37183
37300
|
self._Offset = None
|
|
37184
37301
|
self._Limit = None
|
|
37185
37302
|
self._EndPointId = None
|
|
37186
37303
|
self._IpAddressType = None
|
|
37304
|
+
self._MaxResults = None
|
|
37305
|
+
self._NextToken = None
|
|
37187
37306
|
|
|
37188
37307
|
@property
|
|
37189
37308
|
def Filters(self):
|
|
@@ -37239,7 +37358,7 @@ class DescribeVpcEndPointRequest(AbstractModel):
|
|
|
37239
37358
|
|
|
37240
37359
|
@property
|
|
37241
37360
|
def IpAddressType(self):
|
|
37242
|
-
r"""协议类型,支持 Ipv4,Ipv6,默认 Ipv4
|
|
37361
|
+
r"""协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
|
|
37243
37362
|
:rtype: str
|
|
37244
37363
|
"""
|
|
37245
37364
|
return self._IpAddressType
|
|
@@ -37248,6 +37367,28 @@ class DescribeVpcEndPointRequest(AbstractModel):
|
|
|
37248
37367
|
def IpAddressType(self, IpAddressType):
|
|
37249
37368
|
self._IpAddressType = IpAddressType
|
|
37250
37369
|
|
|
37370
|
+
@property
|
|
37371
|
+
def MaxResults(self):
|
|
37372
|
+
r"""每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
|
|
37373
|
+
:rtype: int
|
|
37374
|
+
"""
|
|
37375
|
+
return self._MaxResults
|
|
37376
|
+
|
|
37377
|
+
@MaxResults.setter
|
|
37378
|
+
def MaxResults(self, MaxResults):
|
|
37379
|
+
self._MaxResults = MaxResults
|
|
37380
|
+
|
|
37381
|
+
@property
|
|
37382
|
+
def NextToken(self):
|
|
37383
|
+
r"""如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37384
|
+
:rtype: str
|
|
37385
|
+
"""
|
|
37386
|
+
return self._NextToken
|
|
37387
|
+
|
|
37388
|
+
@NextToken.setter
|
|
37389
|
+
def NextToken(self, NextToken):
|
|
37390
|
+
self._NextToken = NextToken
|
|
37391
|
+
|
|
37251
37392
|
|
|
37252
37393
|
def _deserialize(self, params):
|
|
37253
37394
|
if params.get("Filters") is not None:
|
|
@@ -37260,6 +37401,8 @@ class DescribeVpcEndPointRequest(AbstractModel):
|
|
|
37260
37401
|
self._Limit = params.get("Limit")
|
|
37261
37402
|
self._EndPointId = params.get("EndPointId")
|
|
37262
37403
|
self._IpAddressType = params.get("IpAddressType")
|
|
37404
|
+
self._MaxResults = params.get("MaxResults")
|
|
37405
|
+
self._NextToken = params.get("NextToken")
|
|
37263
37406
|
memeber_set = set(params.keys())
|
|
37264
37407
|
for name, value in vars(self).items():
|
|
37265
37408
|
property_name = name[1:]
|
|
@@ -37281,11 +37424,14 @@ class DescribeVpcEndPointResponse(AbstractModel):
|
|
|
37281
37424
|
:type EndPointSet: list of EndPoint
|
|
37282
37425
|
:param _TotalCount: 符合查询条件的终端节点个数。
|
|
37283
37426
|
:type TotalCount: int
|
|
37427
|
+
:param _NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37428
|
+
:type NextToken: str
|
|
37284
37429
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
37285
37430
|
:type RequestId: str
|
|
37286
37431
|
"""
|
|
37287
37432
|
self._EndPointSet = None
|
|
37288
37433
|
self._TotalCount = None
|
|
37434
|
+
self._NextToken = None
|
|
37289
37435
|
self._RequestId = None
|
|
37290
37436
|
|
|
37291
37437
|
@property
|
|
@@ -37310,6 +37456,17 @@ class DescribeVpcEndPointResponse(AbstractModel):
|
|
|
37310
37456
|
def TotalCount(self, TotalCount):
|
|
37311
37457
|
self._TotalCount = TotalCount
|
|
37312
37458
|
|
|
37459
|
+
@property
|
|
37460
|
+
def NextToken(self):
|
|
37461
|
+
r"""如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37462
|
+
:rtype: str
|
|
37463
|
+
"""
|
|
37464
|
+
return self._NextToken
|
|
37465
|
+
|
|
37466
|
+
@NextToken.setter
|
|
37467
|
+
def NextToken(self, NextToken):
|
|
37468
|
+
self._NextToken = NextToken
|
|
37469
|
+
|
|
37313
37470
|
@property
|
|
37314
37471
|
def RequestId(self):
|
|
37315
37472
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -37330,6 +37487,7 @@ class DescribeVpcEndPointResponse(AbstractModel):
|
|
|
37330
37487
|
obj._deserialize(item)
|
|
37331
37488
|
self._EndPointSet.append(obj)
|
|
37332
37489
|
self._TotalCount = params.get("TotalCount")
|
|
37490
|
+
self._NextToken = params.get("NextToken")
|
|
37333
37491
|
self._RequestId = params.get("RequestId")
|
|
37334
37492
|
|
|
37335
37493
|
|
|
@@ -37359,8 +37517,12 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37359
37517
|
:type EndPointServiceIds: list of str
|
|
37360
37518
|
:param _IsListAuthorizedEndPointService: <li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。</li>
|
|
37361
37519
|
:type IsListAuthorizedEndPointService: bool
|
|
37362
|
-
:param _IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
|
|
37520
|
+
:param _IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
|
|
37363
37521
|
:type IpAddressType: str
|
|
37522
|
+
:param _MaxResults: 每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
|
|
37523
|
+
:type MaxResults: int
|
|
37524
|
+
:param _NextToken: 如果NextToken返回 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37525
|
+
:type NextToken: str
|
|
37364
37526
|
"""
|
|
37365
37527
|
self._Filters = None
|
|
37366
37528
|
self._Offset = None
|
|
@@ -37368,6 +37530,8 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37368
37530
|
self._EndPointServiceIds = None
|
|
37369
37531
|
self._IsListAuthorizedEndPointService = None
|
|
37370
37532
|
self._IpAddressType = None
|
|
37533
|
+
self._MaxResults = None
|
|
37534
|
+
self._NextToken = None
|
|
37371
37535
|
|
|
37372
37536
|
@property
|
|
37373
37537
|
def Filters(self):
|
|
@@ -37435,7 +37599,7 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37435
37599
|
|
|
37436
37600
|
@property
|
|
37437
37601
|
def IpAddressType(self):
|
|
37438
|
-
r"""协议类型,支持 Ipv4,Ipv6,默认 Ipv4
|
|
37602
|
+
r"""协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
|
|
37439
37603
|
:rtype: str
|
|
37440
37604
|
"""
|
|
37441
37605
|
return self._IpAddressType
|
|
@@ -37444,6 +37608,28 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37444
37608
|
def IpAddressType(self, IpAddressType):
|
|
37445
37609
|
self._IpAddressType = IpAddressType
|
|
37446
37610
|
|
|
37611
|
+
@property
|
|
37612
|
+
def MaxResults(self):
|
|
37613
|
+
r"""每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
|
|
37614
|
+
:rtype: int
|
|
37615
|
+
"""
|
|
37616
|
+
return self._MaxResults
|
|
37617
|
+
|
|
37618
|
+
@MaxResults.setter
|
|
37619
|
+
def MaxResults(self, MaxResults):
|
|
37620
|
+
self._MaxResults = MaxResults
|
|
37621
|
+
|
|
37622
|
+
@property
|
|
37623
|
+
def NextToken(self):
|
|
37624
|
+
r"""如果NextToken返回 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37625
|
+
:rtype: str
|
|
37626
|
+
"""
|
|
37627
|
+
return self._NextToken
|
|
37628
|
+
|
|
37629
|
+
@NextToken.setter
|
|
37630
|
+
def NextToken(self, NextToken):
|
|
37631
|
+
self._NextToken = NextToken
|
|
37632
|
+
|
|
37447
37633
|
|
|
37448
37634
|
def _deserialize(self, params):
|
|
37449
37635
|
if params.get("Filters") is not None:
|
|
@@ -37457,6 +37643,8 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37457
37643
|
self._EndPointServiceIds = params.get("EndPointServiceIds")
|
|
37458
37644
|
self._IsListAuthorizedEndPointService = params.get("IsListAuthorizedEndPointService")
|
|
37459
37645
|
self._IpAddressType = params.get("IpAddressType")
|
|
37646
|
+
self._MaxResults = params.get("MaxResults")
|
|
37647
|
+
self._NextToken = params.get("NextToken")
|
|
37460
37648
|
memeber_set = set(params.keys())
|
|
37461
37649
|
for name, value in vars(self).items():
|
|
37462
37650
|
property_name = name[1:]
|
|
@@ -37478,11 +37666,14 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
|
|
|
37478
37666
|
:type EndPointServiceSet: list of EndPointService
|
|
37479
37667
|
:param _TotalCount: 符合查询条件的个数。
|
|
37480
37668
|
:type TotalCount: int
|
|
37669
|
+
:param _NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37670
|
+
:type NextToken: str
|
|
37481
37671
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
37482
37672
|
:type RequestId: str
|
|
37483
37673
|
"""
|
|
37484
37674
|
self._EndPointServiceSet = None
|
|
37485
37675
|
self._TotalCount = None
|
|
37676
|
+
self._NextToken = None
|
|
37486
37677
|
self._RequestId = None
|
|
37487
37678
|
|
|
37488
37679
|
@property
|
|
@@ -37507,6 +37698,17 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
|
|
|
37507
37698
|
def TotalCount(self, TotalCount):
|
|
37508
37699
|
self._TotalCount = TotalCount
|
|
37509
37700
|
|
|
37701
|
+
@property
|
|
37702
|
+
def NextToken(self):
|
|
37703
|
+
r"""如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37704
|
+
:rtype: str
|
|
37705
|
+
"""
|
|
37706
|
+
return self._NextToken
|
|
37707
|
+
|
|
37708
|
+
@NextToken.setter
|
|
37709
|
+
def NextToken(self, NextToken):
|
|
37710
|
+
self._NextToken = NextToken
|
|
37711
|
+
|
|
37510
37712
|
@property
|
|
37511
37713
|
def RequestId(self):
|
|
37512
37714
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -37527,6 +37729,7 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
|
|
|
37527
37729
|
obj._deserialize(item)
|
|
37528
37730
|
self._EndPointServiceSet.append(obj)
|
|
37529
37731
|
self._TotalCount = params.get("TotalCount")
|
|
37732
|
+
self._NextToken = params.get("NextToken")
|
|
37530
37733
|
self._RequestId = params.get("RequestId")
|
|
37531
37734
|
|
|
37532
37735
|
|
|
@@ -46036,11 +46239,19 @@ class InquiryPriceAllocateAddressesRequest(AbstractModel):
|
|
|
46036
46239
|
<ul style="margin:0"><li>精品IP,可选值:<ul><li>HighQualityEIP:精品IP</li></ul>注意:仅新加坡和中国香港支持精品IP。</li></ul>
|
|
46037
46240
|
<ul style="margin:0"><li>高防IP,可选值:<ul><li>AntiDDoSEIP:高防IP</li></ul>注意:仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li></ul>
|
|
46038
46241
|
:type AddressType: str
|
|
46242
|
+
:param _IPChargeType: 原生EIP IP资源的计费方式。
|
|
46243
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
46244
|
+
<li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
|
|
46245
|
+
<li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
|
|
46246
|
+
</ul></li>
|
|
46247
|
+
</ul>
|
|
46248
|
+
:type IPChargeType: str
|
|
46039
46249
|
"""
|
|
46040
46250
|
self._InternetChargeType = None
|
|
46041
46251
|
self._InternetMaxBandwidthOut = None
|
|
46042
46252
|
self._AddressChargePrepaid = None
|
|
46043
46253
|
self._AddressType = None
|
|
46254
|
+
self._IPChargeType = None
|
|
46044
46255
|
|
|
46045
46256
|
@property
|
|
46046
46257
|
def InternetChargeType(self):
|
|
@@ -46101,6 +46312,22 @@ class InquiryPriceAllocateAddressesRequest(AbstractModel):
|
|
|
46101
46312
|
def AddressType(self, AddressType):
|
|
46102
46313
|
self._AddressType = AddressType
|
|
46103
46314
|
|
|
46315
|
+
@property
|
|
46316
|
+
def IPChargeType(self):
|
|
46317
|
+
r"""原生EIP IP资源的计费方式。
|
|
46318
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
46319
|
+
<li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
|
|
46320
|
+
<li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
|
|
46321
|
+
</ul></li>
|
|
46322
|
+
</ul>
|
|
46323
|
+
:rtype: str
|
|
46324
|
+
"""
|
|
46325
|
+
return self._IPChargeType
|
|
46326
|
+
|
|
46327
|
+
@IPChargeType.setter
|
|
46328
|
+
def IPChargeType(self, IPChargeType):
|
|
46329
|
+
self._IPChargeType = IPChargeType
|
|
46330
|
+
|
|
46104
46331
|
|
|
46105
46332
|
def _deserialize(self, params):
|
|
46106
46333
|
self._InternetChargeType = params.get("InternetChargeType")
|
|
@@ -46109,6 +46336,7 @@ class InquiryPriceAllocateAddressesRequest(AbstractModel):
|
|
|
46109
46336
|
self._AddressChargePrepaid = AddressChargePrepaid()
|
|
46110
46337
|
self._AddressChargePrepaid._deserialize(params.get("AddressChargePrepaid"))
|
|
46111
46338
|
self._AddressType = params.get("AddressType")
|
|
46339
|
+
self._IPChargeType = params.get("IPChargeType")
|
|
46112
46340
|
memeber_set = set(params.keys())
|
|
46113
46341
|
for name, value in vars(self).items():
|
|
46114
46342
|
property_name = name[1:]
|
|
@@ -47029,14 +47257,23 @@ class InternetPrice(AbstractModel):
|
|
|
47029
47257
|
|
|
47030
47258
|
def __init__(self):
|
|
47031
47259
|
r"""
|
|
47032
|
-
:param _AddressPrice: 公网IP
|
|
47260
|
+
:param _AddressPrice: 公网IP网络费询价详细参数。
|
|
47033
47261
|
:type AddressPrice: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
47262
|
+
:param _IPPrice: 公网IP资源费询价详细参数。仅原生IP价格查询返回。
|
|
47263
|
+
:type IPPrice: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
47264
|
+
:param _OriginalPrice: 总原价,单位:元,仅预付费价格查询返回。
|
|
47265
|
+
:type OriginalPrice: float
|
|
47266
|
+
:param _DiscountPrice: 折扣后的总价格,单位:元。仅预付费价格查询返回。
|
|
47267
|
+
:type DiscountPrice: float
|
|
47034
47268
|
"""
|
|
47035
47269
|
self._AddressPrice = None
|
|
47270
|
+
self._IPPrice = None
|
|
47271
|
+
self._OriginalPrice = None
|
|
47272
|
+
self._DiscountPrice = None
|
|
47036
47273
|
|
|
47037
47274
|
@property
|
|
47038
47275
|
def AddressPrice(self):
|
|
47039
|
-
r"""公网IP
|
|
47276
|
+
r"""公网IP网络费询价详细参数。
|
|
47040
47277
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
47041
47278
|
"""
|
|
47042
47279
|
return self._AddressPrice
|
|
@@ -47045,11 +47282,49 @@ class InternetPrice(AbstractModel):
|
|
|
47045
47282
|
def AddressPrice(self, AddressPrice):
|
|
47046
47283
|
self._AddressPrice = AddressPrice
|
|
47047
47284
|
|
|
47285
|
+
@property
|
|
47286
|
+
def IPPrice(self):
|
|
47287
|
+
r"""公网IP资源费询价详细参数。仅原生IP价格查询返回。
|
|
47288
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
47289
|
+
"""
|
|
47290
|
+
return self._IPPrice
|
|
47291
|
+
|
|
47292
|
+
@IPPrice.setter
|
|
47293
|
+
def IPPrice(self, IPPrice):
|
|
47294
|
+
self._IPPrice = IPPrice
|
|
47295
|
+
|
|
47296
|
+
@property
|
|
47297
|
+
def OriginalPrice(self):
|
|
47298
|
+
r"""总原价,单位:元,仅预付费价格查询返回。
|
|
47299
|
+
:rtype: float
|
|
47300
|
+
"""
|
|
47301
|
+
return self._OriginalPrice
|
|
47302
|
+
|
|
47303
|
+
@OriginalPrice.setter
|
|
47304
|
+
def OriginalPrice(self, OriginalPrice):
|
|
47305
|
+
self._OriginalPrice = OriginalPrice
|
|
47306
|
+
|
|
47307
|
+
@property
|
|
47308
|
+
def DiscountPrice(self):
|
|
47309
|
+
r"""折扣后的总价格,单位:元。仅预付费价格查询返回。
|
|
47310
|
+
:rtype: float
|
|
47311
|
+
"""
|
|
47312
|
+
return self._DiscountPrice
|
|
47313
|
+
|
|
47314
|
+
@DiscountPrice.setter
|
|
47315
|
+
def DiscountPrice(self, DiscountPrice):
|
|
47316
|
+
self._DiscountPrice = DiscountPrice
|
|
47317
|
+
|
|
47048
47318
|
|
|
47049
47319
|
def _deserialize(self, params):
|
|
47050
47320
|
if params.get("AddressPrice") is not None:
|
|
47051
47321
|
self._AddressPrice = InternetPriceDetail()
|
|
47052
47322
|
self._AddressPrice._deserialize(params.get("AddressPrice"))
|
|
47323
|
+
if params.get("IPPrice") is not None:
|
|
47324
|
+
self._IPPrice = InternetPriceDetail()
|
|
47325
|
+
self._IPPrice._deserialize(params.get("IPPrice"))
|
|
47326
|
+
self._OriginalPrice = params.get("OriginalPrice")
|
|
47327
|
+
self._DiscountPrice = params.get("DiscountPrice")
|
|
47053
47328
|
memeber_set = set(params.keys())
|
|
47054
47329
|
for name, value in vars(self).items():
|
|
47055
47330
|
property_name = name[1:]
|
|
@@ -52224,7 +52499,7 @@ class ModifyNatGatewaySourceIpTranslationNatRuleRequest(AbstractModel):
|
|
|
52224
52499
|
r"""
|
|
52225
52500
|
:param _NatGatewayId: NAT网关的ID,形如:`nat-df453454`。
|
|
52226
52501
|
:type NatGatewayId: str
|
|
52227
|
-
:param _SourceIpTranslationNatRule: NAT网关的SNAT
|
|
52502
|
+
:param _SourceIpTranslationNatRule: NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
|
|
52228
52503
|
:type SourceIpTranslationNatRule: :class:`tencentcloud.vpc.v20170312.models.SourceIpTranslationNatRule`
|
|
52229
52504
|
"""
|
|
52230
52505
|
self._NatGatewayId = None
|
|
@@ -52243,7 +52518,7 @@ class ModifyNatGatewaySourceIpTranslationNatRuleRequest(AbstractModel):
|
|
|
52243
52518
|
|
|
52244
52519
|
@property
|
|
52245
52520
|
def SourceIpTranslationNatRule(self):
|
|
52246
|
-
r"""NAT网关的SNAT
|
|
52521
|
+
r"""NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
|
|
52247
52522
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.SourceIpTranslationNatRule`
|
|
52248
52523
|
"""
|
|
52249
52524
|
return self._SourceIpTranslationNatRule
|
|
@@ -57052,6 +57327,57 @@ class NatRegionInfoWithArea(AbstractModel):
|
|
|
57052
57327
|
"""
|
|
57053
57328
|
|
|
57054
57329
|
|
|
57330
|
+
class NatZoneInfo(AbstractModel):
|
|
57331
|
+
r"""NAT网关可用区集合
|
|
57332
|
+
|
|
57333
|
+
"""
|
|
57334
|
+
|
|
57335
|
+
def __init__(self):
|
|
57336
|
+
r"""
|
|
57337
|
+
:param _Zone: 可用区名称
|
|
57338
|
+
:type Zone: str
|
|
57339
|
+
:param _ZoneId: 可用区id
|
|
57340
|
+
:type ZoneId: int
|
|
57341
|
+
"""
|
|
57342
|
+
self._Zone = None
|
|
57343
|
+
self._ZoneId = None
|
|
57344
|
+
|
|
57345
|
+
@property
|
|
57346
|
+
def Zone(self):
|
|
57347
|
+
r"""可用区名称
|
|
57348
|
+
:rtype: str
|
|
57349
|
+
"""
|
|
57350
|
+
return self._Zone
|
|
57351
|
+
|
|
57352
|
+
@Zone.setter
|
|
57353
|
+
def Zone(self, Zone):
|
|
57354
|
+
self._Zone = Zone
|
|
57355
|
+
|
|
57356
|
+
@property
|
|
57357
|
+
def ZoneId(self):
|
|
57358
|
+
r"""可用区id
|
|
57359
|
+
:rtype: int
|
|
57360
|
+
"""
|
|
57361
|
+
return self._ZoneId
|
|
57362
|
+
|
|
57363
|
+
@ZoneId.setter
|
|
57364
|
+
def ZoneId(self, ZoneId):
|
|
57365
|
+
self._ZoneId = ZoneId
|
|
57366
|
+
|
|
57367
|
+
|
|
57368
|
+
def _deserialize(self, params):
|
|
57369
|
+
self._Zone = params.get("Zone")
|
|
57370
|
+
self._ZoneId = params.get("ZoneId")
|
|
57371
|
+
memeber_set = set(params.keys())
|
|
57372
|
+
for name, value in vars(self).items():
|
|
57373
|
+
property_name = name[1:]
|
|
57374
|
+
if property_name in memeber_set:
|
|
57375
|
+
memeber_set.remove(property_name)
|
|
57376
|
+
if len(memeber_set) > 0:
|
|
57377
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
57378
|
+
|
|
57379
|
+
|
|
57380
|
+
|
|
57055
57381
|
class NetDetect(AbstractModel):
|
|
57056
57382
|
r"""网络探测对象。
|
|
57057
57383
|
|
|
@@ -60039,7 +60365,7 @@ class RefreshDirectConnectGatewayRouteToNatGatewayRequest(AbstractModel):
|
|
|
60039
60365
|
:type VpcId: str
|
|
60040
60366
|
:param _NatGatewayId: NAT网关ID
|
|
60041
60367
|
:type NatGatewayId: str
|
|
60042
|
-
:param _DryRun: 是否是预刷新;
|
|
60368
|
+
:param _DryRun: 是否是预刷新;true:是, false:否
|
|
60043
60369
|
:type DryRun: bool
|
|
60044
60370
|
"""
|
|
60045
60371
|
self._VpcId = None
|
|
@@ -60070,7 +60396,7 @@ class RefreshDirectConnectGatewayRouteToNatGatewayRequest(AbstractModel):
|
|
|
60070
60396
|
|
|
60071
60397
|
@property
|
|
60072
60398
|
def DryRun(self):
|
|
60073
|
-
r"""是否是预刷新;
|
|
60399
|
+
r"""是否是预刷新;true:是, false:否
|
|
60074
60400
|
:rtype: bool
|
|
60075
60401
|
"""
|
|
60076
60402
|
return self._DryRun
|
|
@@ -4884,6 +4884,29 @@ class VpcClient(AbstractClient):
|
|
|
4884
4884
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4885
4885
|
|
|
4886
4886
|
|
|
4887
|
+
def DescribeNatGatewayZones(self, request):
|
|
4888
|
+
r"""本接口(DescribeNatGatewayZones)用于查询NAT网关可售卖的可用区信息
|
|
4889
|
+
|
|
4890
|
+
:param request: Request instance for DescribeNatGatewayZones.
|
|
4891
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.DescribeNatGatewayZonesRequest`
|
|
4892
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.DescribeNatGatewayZonesResponse`
|
|
4893
|
+
|
|
4894
|
+
"""
|
|
4895
|
+
try:
|
|
4896
|
+
params = request._serialize()
|
|
4897
|
+
headers = request.headers
|
|
4898
|
+
body = self.call("DescribeNatGatewayZones", params, headers=headers)
|
|
4899
|
+
response = json.loads(body)
|
|
4900
|
+
model = models.DescribeNatGatewayZonesResponse()
|
|
4901
|
+
model._deserialize(response["Response"])
|
|
4902
|
+
return model
|
|
4903
|
+
except Exception as e:
|
|
4904
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4905
|
+
raise
|
|
4906
|
+
else:
|
|
4907
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4908
|
+
|
|
4909
|
+
|
|
4887
4910
|
def DescribeNatGateways(self, request):
|
|
4888
4911
|
r"""本接口(DescribeNatGateways)用于查询 NAT 网关。
|
|
4889
4912
|
|
|
@@ -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.1490
|
|
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.1490
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|