tencentcloud-sdk-python-vpc 3.0.1487__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.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/setup.py +1 -1
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/v20170312/models.py +273 -44
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python_vpc-3.0.1487 → 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.1487/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/README.rst +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1490}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1487 → 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
|
|
|
@@ -3968,6 +3968,7 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
3968
3968
|
:param _PublicIpAddresses: 绑定NAT网关的弹性IP数组,其中AddressCount和PublicAddresses至少传递一个。
|
|
3969
3969
|
:type PublicIpAddresses: list of str
|
|
3970
3970
|
:param _Zone: 弹性IP可用区,自动分配弹性IP时传递。
|
|
3971
|
+
其中产品可用区查询接口为[查询产品可用区列表](https://cloud.tencent.com/document/product/1596/77929)
|
|
3971
3972
|
:type Zone: str
|
|
3972
3973
|
:param _StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
|
|
3973
3974
|
:type StockPublicIpAddressesBandwidthOut: int
|
|
@@ -3975,6 +3976,8 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
3975
3976
|
:type PublicIpAddressesBandwidthOut: int
|
|
3976
3977
|
:param _PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
|
|
3977
3978
|
:type PublicIpFromSameZone: bool
|
|
3979
|
+
:param _IpAddressEnableMode: 启用或者禁用NAT网关绑定的EIP
|
|
3980
|
+
:type IpAddressEnableMode: bool
|
|
3978
3981
|
"""
|
|
3979
3982
|
self._NatGatewayId = None
|
|
3980
3983
|
self._AddressCount = None
|
|
@@ -3983,6 +3986,7 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
3983
3986
|
self._StockPublicIpAddressesBandwidthOut = None
|
|
3984
3987
|
self._PublicIpAddressesBandwidthOut = None
|
|
3985
3988
|
self._PublicIpFromSameZone = None
|
|
3989
|
+
self._IpAddressEnableMode = None
|
|
3986
3990
|
|
|
3987
3991
|
@property
|
|
3988
3992
|
def NatGatewayId(self):
|
|
@@ -4020,6 +4024,7 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
4020
4024
|
@property
|
|
4021
4025
|
def Zone(self):
|
|
4022
4026
|
r"""弹性IP可用区,自动分配弹性IP时传递。
|
|
4027
|
+
其中产品可用区查询接口为[查询产品可用区列表](https://cloud.tencent.com/document/product/1596/77929)
|
|
4023
4028
|
:rtype: str
|
|
4024
4029
|
"""
|
|
4025
4030
|
return self._Zone
|
|
@@ -4061,6 +4066,17 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
4061
4066
|
def PublicIpFromSameZone(self, PublicIpFromSameZone):
|
|
4062
4067
|
self._PublicIpFromSameZone = PublicIpFromSameZone
|
|
4063
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
|
+
|
|
4064
4080
|
|
|
4065
4081
|
def _deserialize(self, params):
|
|
4066
4082
|
self._NatGatewayId = params.get("NatGatewayId")
|
|
@@ -4070,6 +4086,7 @@ class AssociateNatGatewayAddressRequest(AbstractModel):
|
|
|
4070
4086
|
self._StockPublicIpAddressesBandwidthOut = params.get("StockPublicIpAddressesBandwidthOut")
|
|
4071
4087
|
self._PublicIpAddressesBandwidthOut = params.get("PublicIpAddressesBandwidthOut")
|
|
4072
4088
|
self._PublicIpFromSameZone = params.get("PublicIpFromSameZone")
|
|
4089
|
+
self._IpAddressEnableMode = params.get("IpAddressEnableMode")
|
|
4073
4090
|
memeber_set = set(params.keys())
|
|
4074
4091
|
for name, value in vars(self).items():
|
|
4075
4092
|
property_name = name[1:]
|
|
@@ -11980,7 +11997,7 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
11980
11997
|
|
|
11981
11998
|
def __init__(self):
|
|
11982
11999
|
r"""
|
|
11983
|
-
:param _NatGatewayName: NAT
|
|
12000
|
+
:param _NatGatewayName: NAT网关名称,限制60字符
|
|
11984
12001
|
:type NatGatewayName: str
|
|
11985
12002
|
:param _VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
|
11986
12003
|
:type VpcId: str
|
|
@@ -12026,7 +12043,7 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
12026
12043
|
|
|
12027
12044
|
@property
|
|
12028
12045
|
def NatGatewayName(self):
|
|
12029
|
-
r"""NAT
|
|
12046
|
+
r"""NAT网关名称,限制60字符
|
|
12030
12047
|
:rtype: str
|
|
12031
12048
|
"""
|
|
12032
12049
|
return self._NatGatewayName
|
|
@@ -13223,7 +13240,7 @@ class CreatePrivateNatGatewayRequest(AbstractModel):
|
|
|
13223
13240
|
|
|
13224
13241
|
def __init__(self):
|
|
13225
13242
|
r"""
|
|
13226
|
-
:param _NatGatewayName:
|
|
13243
|
+
:param _NatGatewayName: 私网网关名称,限制60个字符
|
|
13227
13244
|
:type NatGatewayName: str
|
|
13228
13245
|
:param _VpcId: 私有网络实例ID。当创建VPC类型私网NAT网关或者专线网关类型私网NAT网关时,此参数必填。
|
|
13229
13246
|
:type VpcId: str
|
|
@@ -13248,7 +13265,7 @@ class CreatePrivateNatGatewayRequest(AbstractModel):
|
|
|
13248
13265
|
|
|
13249
13266
|
@property
|
|
13250
13267
|
def NatGatewayName(self):
|
|
13251
|
-
r"""
|
|
13268
|
+
r"""私网网关名称,限制60个字符
|
|
13252
13269
|
:rtype: str
|
|
13253
13270
|
"""
|
|
13254
13271
|
return self._NatGatewayName
|
|
@@ -13419,15 +13436,15 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13419
13436
|
r"""
|
|
13420
13437
|
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
|
13421
13438
|
:type NatGatewayId: str
|
|
13422
|
-
:param _TranslationDirection: 转换规则目标,可选值
|
|
13439
|
+
:param _TranslationDirection: 转换规则目标,可选值LOCAL。
|
|
13423
13440
|
:type TranslationDirection: str
|
|
13424
|
-
:param _TranslationType: 转换规则类型,可选值
|
|
13441
|
+
:param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
13425
13442
|
:type TranslationType: str
|
|
13426
|
-
:param _TranslationIp:
|
|
13443
|
+
:param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
13427
13444
|
:type TranslationIp: str
|
|
13428
13445
|
:param _TranslationAclRules: 访问控制列表。
|
|
13429
13446
|
:type TranslationAclRules: list of TranslationAclRule
|
|
13430
|
-
:param _OriginalIp:
|
|
13447
|
+
:param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
|
|
13431
13448
|
:type OriginalIp: str
|
|
13432
13449
|
"""
|
|
13433
13450
|
self._NatGatewayId = None
|
|
@@ -13450,7 +13467,7 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13450
13467
|
|
|
13451
13468
|
@property
|
|
13452
13469
|
def TranslationDirection(self):
|
|
13453
|
-
r"""转换规则目标,可选值
|
|
13470
|
+
r"""转换规则目标,可选值LOCAL。
|
|
13454
13471
|
:rtype: str
|
|
13455
13472
|
"""
|
|
13456
13473
|
return self._TranslationDirection
|
|
@@ -13461,7 +13478,7 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13461
13478
|
|
|
13462
13479
|
@property
|
|
13463
13480
|
def TranslationType(self):
|
|
13464
|
-
r"""转换规则类型,可选值
|
|
13481
|
+
r"""转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
13465
13482
|
:rtype: str
|
|
13466
13483
|
"""
|
|
13467
13484
|
return self._TranslationType
|
|
@@ -13472,7 +13489,7 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13472
13489
|
|
|
13473
13490
|
@property
|
|
13474
13491
|
def TranslationIp(self):
|
|
13475
|
-
r"""
|
|
13492
|
+
r"""映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
13476
13493
|
:rtype: str
|
|
13477
13494
|
"""
|
|
13478
13495
|
return self._TranslationIp
|
|
@@ -13494,7 +13511,7 @@ class CreatePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
13494
13511
|
|
|
13495
13512
|
@property
|
|
13496
13513
|
def OriginalIp(self):
|
|
13497
|
-
r"""
|
|
13514
|
+
r"""映射前`IP`,当转换规则类型为三层时有效。
|
|
13498
13515
|
:rtype: str
|
|
13499
13516
|
"""
|
|
13500
13517
|
return self._OriginalIp
|
|
@@ -20173,8 +20190,11 @@ class DeleteNatGatewayRequest(AbstractModel):
|
|
|
20173
20190
|
r"""
|
|
20174
20191
|
:param _NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
|
|
20175
20192
|
:type NatGatewayId: str
|
|
20193
|
+
:param _IgnoreOperationRisk: 忽略操作风险
|
|
20194
|
+
:type IgnoreOperationRisk: bool
|
|
20176
20195
|
"""
|
|
20177
20196
|
self._NatGatewayId = None
|
|
20197
|
+
self._IgnoreOperationRisk = None
|
|
20178
20198
|
|
|
20179
20199
|
@property
|
|
20180
20200
|
def NatGatewayId(self):
|
|
@@ -20187,9 +20207,21 @@ class DeleteNatGatewayRequest(AbstractModel):
|
|
|
20187
20207
|
def NatGatewayId(self, NatGatewayId):
|
|
20188
20208
|
self._NatGatewayId = NatGatewayId
|
|
20189
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
|
+
|
|
20190
20221
|
|
|
20191
20222
|
def _deserialize(self, params):
|
|
20192
20223
|
self._NatGatewayId = params.get("NatGatewayId")
|
|
20224
|
+
self._IgnoreOperationRisk = params.get("IgnoreOperationRisk")
|
|
20193
20225
|
memeber_set = set(params.keys())
|
|
20194
20226
|
for name, value in vars(self).items():
|
|
20195
20227
|
property_name = name[1:]
|
|
@@ -20820,15 +20852,15 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20820
20852
|
r"""
|
|
20821
20853
|
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
|
20822
20854
|
:type NatGatewayId: str
|
|
20823
|
-
:param _TranslationDirection: 转换规则目标,可选值
|
|
20855
|
+
:param _TranslationDirection: 转换规则目标,可选值LOCAL。
|
|
20824
20856
|
:type TranslationDirection: str
|
|
20825
|
-
:param _TranslationType: 转换规则类型,可选值
|
|
20857
|
+
:param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
20826
20858
|
:type TranslationType: str
|
|
20827
|
-
:param _TranslationIp:
|
|
20859
|
+
:param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池
|
|
20828
20860
|
:type TranslationIp: str
|
|
20829
20861
|
:param _AclRuleIds: 访问控制规则对应`ID`
|
|
20830
20862
|
:type AclRuleIds: list of int non-negative
|
|
20831
|
-
:param _OriginalIp:
|
|
20863
|
+
:param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效
|
|
20832
20864
|
:type OriginalIp: str
|
|
20833
20865
|
"""
|
|
20834
20866
|
self._NatGatewayId = None
|
|
@@ -20851,7 +20883,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20851
20883
|
|
|
20852
20884
|
@property
|
|
20853
20885
|
def TranslationDirection(self):
|
|
20854
|
-
r"""转换规则目标,可选值
|
|
20886
|
+
r"""转换规则目标,可选值LOCAL。
|
|
20855
20887
|
:rtype: str
|
|
20856
20888
|
"""
|
|
20857
20889
|
return self._TranslationDirection
|
|
@@ -20862,7 +20894,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20862
20894
|
|
|
20863
20895
|
@property
|
|
20864
20896
|
def TranslationType(self):
|
|
20865
|
-
r"""转换规则类型,可选值
|
|
20897
|
+
r"""转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
20866
20898
|
:rtype: str
|
|
20867
20899
|
"""
|
|
20868
20900
|
return self._TranslationType
|
|
@@ -20873,7 +20905,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20873
20905
|
|
|
20874
20906
|
@property
|
|
20875
20907
|
def TranslationIp(self):
|
|
20876
|
-
r"""
|
|
20908
|
+
r"""映射后`IP`,当转换规则类型为四层时为`IP`池
|
|
20877
20909
|
:rtype: str
|
|
20878
20910
|
"""
|
|
20879
20911
|
return self._TranslationIp
|
|
@@ -20895,7 +20927,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
|
|
|
20895
20927
|
|
|
20896
20928
|
@property
|
|
20897
20929
|
def OriginalIp(self):
|
|
20898
|
-
r"""
|
|
20930
|
+
r"""映射前`IP`,当转换规则类型为三层时有效
|
|
20899
20931
|
:rtype: str
|
|
20900
20932
|
"""
|
|
20901
20933
|
return self._OriginalIp
|
|
@@ -30380,6 +30412,60 @@ class DescribeNatGatewaySourceIpTranslationNatRulesResponse(AbstractModel):
|
|
|
30380
30412
|
self._RequestId = params.get("RequestId")
|
|
30381
30413
|
|
|
30382
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
|
+
|
|
30383
30469
|
class DescribeNatGatewaysRequest(AbstractModel):
|
|
30384
30470
|
r"""DescribeNatGateways请求参数结构体
|
|
30385
30471
|
|
|
@@ -30389,7 +30475,7 @@ class DescribeNatGatewaysRequest(AbstractModel):
|
|
|
30389
30475
|
r"""
|
|
30390
30476
|
:param _NatGatewayIds: NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
|
|
30391
30477
|
:type NatGatewayIds: list of str
|
|
30392
|
-
: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>
|
|
30393
30479
|
:type Filters: list of Filter
|
|
30394
30480
|
:param _Offset: 偏移量,默认为0。
|
|
30395
30481
|
:type Offset: int
|
|
@@ -30414,7 +30500,7 @@ class DescribeNatGatewaysRequest(AbstractModel):
|
|
|
30414
30500
|
|
|
30415
30501
|
@property
|
|
30416
30502
|
def Filters(self):
|
|
30417
|
-
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>
|
|
30418
30504
|
:rtype: list of Filter
|
|
30419
30505
|
"""
|
|
30420
30506
|
return self._Filters
|
|
@@ -31607,7 +31693,7 @@ class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest(Abstr
|
|
|
31607
31693
|
r"""
|
|
31608
31694
|
:param _NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
|
|
31609
31695
|
:type NatGatewayId: str
|
|
31610
|
-
:param _Filters: 过滤条件,Name
|
|
31696
|
+
:param _Filters: 过滤条件,Name可选值:OriginalIp、TranslationIp、OriginalPort、TranslationPort、Protocol、Description,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
|
|
31611
31697
|
:type Filters: list of Filter
|
|
31612
31698
|
:param _Offset: 偏移量,默认值为0。
|
|
31613
31699
|
:type Offset: int
|
|
@@ -31632,7 +31718,7 @@ class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest(Abstr
|
|
|
31632
31718
|
|
|
31633
31719
|
@property
|
|
31634
31720
|
def Filters(self):
|
|
31635
|
-
r"""过滤条件,Name
|
|
31721
|
+
r"""过滤条件,Name可选值:OriginalIp、TranslationIp、OriginalPort、TranslationPort、Protocol、Description,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
|
|
31636
31722
|
:rtype: list of Filter
|
|
31637
31723
|
"""
|
|
31638
31724
|
return self._Filters
|
|
@@ -31961,13 +32047,13 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
31961
32047
|
r"""
|
|
31962
32048
|
:param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
|
31963
32049
|
:type NatGatewayId: str
|
|
31964
|
-
:param _TranslationDirection: 转换规则目标,可选值
|
|
32050
|
+
:param _TranslationDirection: 转换规则目标,可选值LOCAL。
|
|
31965
32051
|
:type TranslationDirection: str
|
|
31966
|
-
:param _TranslationType: 转换规则类型,可选值
|
|
32052
|
+
:param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
31967
32053
|
:type TranslationType: str
|
|
31968
|
-
:param _TranslationIp:
|
|
32054
|
+
:param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
31969
32055
|
:type TranslationIp: str
|
|
31970
|
-
:param _OriginalIp:
|
|
32056
|
+
:param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
|
|
31971
32057
|
:type OriginalIp: str
|
|
31972
32058
|
:param _Offset: 偏移量。默认值为0。
|
|
31973
32059
|
:type Offset: int
|
|
@@ -31998,7 +32084,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
31998
32084
|
|
|
31999
32085
|
@property
|
|
32000
32086
|
def TranslationDirection(self):
|
|
32001
|
-
r"""转换规则目标,可选值
|
|
32087
|
+
r"""转换规则目标,可选值LOCAL。
|
|
32002
32088
|
:rtype: str
|
|
32003
32089
|
"""
|
|
32004
32090
|
return self._TranslationDirection
|
|
@@ -32009,7 +32095,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
32009
32095
|
|
|
32010
32096
|
@property
|
|
32011
32097
|
def TranslationType(self):
|
|
32012
|
-
r"""转换规则类型,可选值
|
|
32098
|
+
r"""转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
|
|
32013
32099
|
:rtype: str
|
|
32014
32100
|
"""
|
|
32015
32101
|
return self._TranslationType
|
|
@@ -32020,7 +32106,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
32020
32106
|
|
|
32021
32107
|
@property
|
|
32022
32108
|
def TranslationIp(self):
|
|
32023
|
-
r"""
|
|
32109
|
+
r"""映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
32024
32110
|
:rtype: str
|
|
32025
32111
|
"""
|
|
32026
32112
|
return self._TranslationIp
|
|
@@ -32031,7 +32117,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
|
|
|
32031
32117
|
|
|
32032
32118
|
@property
|
|
32033
32119
|
def OriginalIp(self):
|
|
32034
|
-
r"""
|
|
32120
|
+
r"""映射前`IP`,当转换规则类型为三层时有效。
|
|
32035
32121
|
:rtype: str
|
|
32036
32122
|
"""
|
|
32037
32123
|
return self._OriginalIp
|
|
@@ -32321,6 +32407,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32321
32407
|
def __init__(self):
|
|
32322
32408
|
r"""
|
|
32323
32409
|
:param _NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
|
32410
|
+
注意:NatGatewayIds和Filters参数互斥,不能同时传入。
|
|
32324
32411
|
:type NatGatewayIds: list of str
|
|
32325
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>
|
|
32326
32413
|
:type Filters: list of Filter
|
|
@@ -32328,9 +32415,9 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32328
32415
|
:type Offset: int
|
|
32329
32416
|
:param _Limit: 返回数量,默认为20。
|
|
32330
32417
|
:type Limit: int
|
|
32331
|
-
:param _OrderField: 排序字段。可选值:
|
|
32418
|
+
:param _OrderField: 排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime。
|
|
32332
32419
|
:type OrderField: str
|
|
32333
|
-
:param _OrderDirection: 排序方式。可选值:
|
|
32420
|
+
:param _OrderDirection: 排序方式。可选值:ASC、DESC。分别表示升序、降序。
|
|
32334
32421
|
:type OrderDirection: str
|
|
32335
32422
|
"""
|
|
32336
32423
|
self._NatGatewayIds = None
|
|
@@ -32343,6 +32430,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32343
32430
|
@property
|
|
32344
32431
|
def NatGatewayIds(self):
|
|
32345
32432
|
r"""私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
|
32433
|
+
注意:NatGatewayIds和Filters参数互斥,不能同时传入。
|
|
32346
32434
|
:rtype: list of str
|
|
32347
32435
|
"""
|
|
32348
32436
|
return self._NatGatewayIds
|
|
@@ -32386,7 +32474,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32386
32474
|
|
|
32387
32475
|
@property
|
|
32388
32476
|
def OrderField(self):
|
|
32389
|
-
r"""排序字段。可选值:
|
|
32477
|
+
r"""排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime。
|
|
32390
32478
|
:rtype: str
|
|
32391
32479
|
"""
|
|
32392
32480
|
return self._OrderField
|
|
@@ -32397,7 +32485,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
32397
32485
|
|
|
32398
32486
|
@property
|
|
32399
32487
|
def OrderDirection(self):
|
|
32400
|
-
r"""排序方式。可选值:
|
|
32488
|
+
r"""排序方式。可选值:ASC、DESC。分别表示升序、降序。
|
|
32401
32489
|
:rtype: str
|
|
32402
32490
|
"""
|
|
32403
32491
|
return self._OrderDirection
|
|
@@ -37201,14 +37289,20 @@ class DescribeVpcEndPointRequest(AbstractModel):
|
|
|
37201
37289
|
:param _EndPointId: 终端节点ID列表。可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)
|
|
37202
37290
|
获取。
|
|
37203
37291
|
:type EndPointId: list of str
|
|
37204
|
-
:param _IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
|
|
37292
|
+
:param _IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
|
|
37205
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
|
|
37206
37298
|
"""
|
|
37207
37299
|
self._Filters = None
|
|
37208
37300
|
self._Offset = None
|
|
37209
37301
|
self._Limit = None
|
|
37210
37302
|
self._EndPointId = None
|
|
37211
37303
|
self._IpAddressType = None
|
|
37304
|
+
self._MaxResults = None
|
|
37305
|
+
self._NextToken = None
|
|
37212
37306
|
|
|
37213
37307
|
@property
|
|
37214
37308
|
def Filters(self):
|
|
@@ -37264,7 +37358,7 @@ class DescribeVpcEndPointRequest(AbstractModel):
|
|
|
37264
37358
|
|
|
37265
37359
|
@property
|
|
37266
37360
|
def IpAddressType(self):
|
|
37267
|
-
r"""协议类型,支持 Ipv4,Ipv6,默认 Ipv4
|
|
37361
|
+
r"""协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
|
|
37268
37362
|
:rtype: str
|
|
37269
37363
|
"""
|
|
37270
37364
|
return self._IpAddressType
|
|
@@ -37273,6 +37367,28 @@ class DescribeVpcEndPointRequest(AbstractModel):
|
|
|
37273
37367
|
def IpAddressType(self, IpAddressType):
|
|
37274
37368
|
self._IpAddressType = IpAddressType
|
|
37275
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
|
+
|
|
37276
37392
|
|
|
37277
37393
|
def _deserialize(self, params):
|
|
37278
37394
|
if params.get("Filters") is not None:
|
|
@@ -37285,6 +37401,8 @@ class DescribeVpcEndPointRequest(AbstractModel):
|
|
|
37285
37401
|
self._Limit = params.get("Limit")
|
|
37286
37402
|
self._EndPointId = params.get("EndPointId")
|
|
37287
37403
|
self._IpAddressType = params.get("IpAddressType")
|
|
37404
|
+
self._MaxResults = params.get("MaxResults")
|
|
37405
|
+
self._NextToken = params.get("NextToken")
|
|
37288
37406
|
memeber_set = set(params.keys())
|
|
37289
37407
|
for name, value in vars(self).items():
|
|
37290
37408
|
property_name = name[1:]
|
|
@@ -37306,11 +37424,14 @@ class DescribeVpcEndPointResponse(AbstractModel):
|
|
|
37306
37424
|
:type EndPointSet: list of EndPoint
|
|
37307
37425
|
:param _TotalCount: 符合查询条件的终端节点个数。
|
|
37308
37426
|
:type TotalCount: int
|
|
37427
|
+
:param _NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37428
|
+
:type NextToken: str
|
|
37309
37429
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
37310
37430
|
:type RequestId: str
|
|
37311
37431
|
"""
|
|
37312
37432
|
self._EndPointSet = None
|
|
37313
37433
|
self._TotalCount = None
|
|
37434
|
+
self._NextToken = None
|
|
37314
37435
|
self._RequestId = None
|
|
37315
37436
|
|
|
37316
37437
|
@property
|
|
@@ -37335,6 +37456,17 @@ class DescribeVpcEndPointResponse(AbstractModel):
|
|
|
37335
37456
|
def TotalCount(self, TotalCount):
|
|
37336
37457
|
self._TotalCount = TotalCount
|
|
37337
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
|
+
|
|
37338
37470
|
@property
|
|
37339
37471
|
def RequestId(self):
|
|
37340
37472
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -37355,6 +37487,7 @@ class DescribeVpcEndPointResponse(AbstractModel):
|
|
|
37355
37487
|
obj._deserialize(item)
|
|
37356
37488
|
self._EndPointSet.append(obj)
|
|
37357
37489
|
self._TotalCount = params.get("TotalCount")
|
|
37490
|
+
self._NextToken = params.get("NextToken")
|
|
37358
37491
|
self._RequestId = params.get("RequestId")
|
|
37359
37492
|
|
|
37360
37493
|
|
|
@@ -37384,8 +37517,12 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37384
37517
|
:type EndPointServiceIds: list of str
|
|
37385
37518
|
:param _IsListAuthorizedEndPointService: <li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。</li>
|
|
37386
37519
|
:type IsListAuthorizedEndPointService: bool
|
|
37387
|
-
:param _IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
|
|
37520
|
+
:param _IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
|
|
37388
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
|
|
37389
37526
|
"""
|
|
37390
37527
|
self._Filters = None
|
|
37391
37528
|
self._Offset = None
|
|
@@ -37393,6 +37530,8 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37393
37530
|
self._EndPointServiceIds = None
|
|
37394
37531
|
self._IsListAuthorizedEndPointService = None
|
|
37395
37532
|
self._IpAddressType = None
|
|
37533
|
+
self._MaxResults = None
|
|
37534
|
+
self._NextToken = None
|
|
37396
37535
|
|
|
37397
37536
|
@property
|
|
37398
37537
|
def Filters(self):
|
|
@@ -37460,7 +37599,7 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37460
37599
|
|
|
37461
37600
|
@property
|
|
37462
37601
|
def IpAddressType(self):
|
|
37463
|
-
r"""协议类型,支持 Ipv4,Ipv6,默认 Ipv4
|
|
37602
|
+
r"""协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
|
|
37464
37603
|
:rtype: str
|
|
37465
37604
|
"""
|
|
37466
37605
|
return self._IpAddressType
|
|
@@ -37469,6 +37608,28 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37469
37608
|
def IpAddressType(self, IpAddressType):
|
|
37470
37609
|
self._IpAddressType = IpAddressType
|
|
37471
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
|
+
|
|
37472
37633
|
|
|
37473
37634
|
def _deserialize(self, params):
|
|
37474
37635
|
if params.get("Filters") is not None:
|
|
@@ -37482,6 +37643,8 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
|
|
|
37482
37643
|
self._EndPointServiceIds = params.get("EndPointServiceIds")
|
|
37483
37644
|
self._IsListAuthorizedEndPointService = params.get("IsListAuthorizedEndPointService")
|
|
37484
37645
|
self._IpAddressType = params.get("IpAddressType")
|
|
37646
|
+
self._MaxResults = params.get("MaxResults")
|
|
37647
|
+
self._NextToken = params.get("NextToken")
|
|
37485
37648
|
memeber_set = set(params.keys())
|
|
37486
37649
|
for name, value in vars(self).items():
|
|
37487
37650
|
property_name = name[1:]
|
|
@@ -37503,11 +37666,14 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
|
|
|
37503
37666
|
:type EndPointServiceSet: list of EndPointService
|
|
37504
37667
|
:param _TotalCount: 符合查询条件的个数。
|
|
37505
37668
|
:type TotalCount: int
|
|
37669
|
+
:param _NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
|
|
37670
|
+
:type NextToken: str
|
|
37506
37671
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
37507
37672
|
:type RequestId: str
|
|
37508
37673
|
"""
|
|
37509
37674
|
self._EndPointServiceSet = None
|
|
37510
37675
|
self._TotalCount = None
|
|
37676
|
+
self._NextToken = None
|
|
37511
37677
|
self._RequestId = None
|
|
37512
37678
|
|
|
37513
37679
|
@property
|
|
@@ -37532,6 +37698,17 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
|
|
|
37532
37698
|
def TotalCount(self, TotalCount):
|
|
37533
37699
|
self._TotalCount = TotalCount
|
|
37534
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
|
+
|
|
37535
37712
|
@property
|
|
37536
37713
|
def RequestId(self):
|
|
37537
37714
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -37552,6 +37729,7 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
|
|
|
37552
37729
|
obj._deserialize(item)
|
|
37553
37730
|
self._EndPointServiceSet.append(obj)
|
|
37554
37731
|
self._TotalCount = params.get("TotalCount")
|
|
37732
|
+
self._NextToken = params.get("NextToken")
|
|
37555
37733
|
self._RequestId = params.get("RequestId")
|
|
37556
37734
|
|
|
37557
37735
|
|
|
@@ -52321,7 +52499,7 @@ class ModifyNatGatewaySourceIpTranslationNatRuleRequest(AbstractModel):
|
|
|
52321
52499
|
r"""
|
|
52322
52500
|
:param _NatGatewayId: NAT网关的ID,形如:`nat-df453454`。
|
|
52323
52501
|
:type NatGatewayId: str
|
|
52324
|
-
:param _SourceIpTranslationNatRule: NAT网关的SNAT
|
|
52502
|
+
:param _SourceIpTranslationNatRule: NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
|
|
52325
52503
|
:type SourceIpTranslationNatRule: :class:`tencentcloud.vpc.v20170312.models.SourceIpTranslationNatRule`
|
|
52326
52504
|
"""
|
|
52327
52505
|
self._NatGatewayId = None
|
|
@@ -52340,7 +52518,7 @@ class ModifyNatGatewaySourceIpTranslationNatRuleRequest(AbstractModel):
|
|
|
52340
52518
|
|
|
52341
52519
|
@property
|
|
52342
52520
|
def SourceIpTranslationNatRule(self):
|
|
52343
|
-
r"""NAT网关的SNAT
|
|
52521
|
+
r"""NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
|
|
52344
52522
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.SourceIpTranslationNatRule`
|
|
52345
52523
|
"""
|
|
52346
52524
|
return self._SourceIpTranslationNatRule
|
|
@@ -57149,6 +57327,57 @@ class NatRegionInfoWithArea(AbstractModel):
|
|
|
57149
57327
|
"""
|
|
57150
57328
|
|
|
57151
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
|
+
|
|
57152
57381
|
class NetDetect(AbstractModel):
|
|
57153
57382
|
r"""网络探测对象。
|
|
57154
57383
|
|
|
@@ -60136,7 +60365,7 @@ class RefreshDirectConnectGatewayRouteToNatGatewayRequest(AbstractModel):
|
|
|
60136
60365
|
:type VpcId: str
|
|
60137
60366
|
:param _NatGatewayId: NAT网关ID
|
|
60138
60367
|
:type NatGatewayId: str
|
|
60139
|
-
:param _DryRun: 是否是预刷新;
|
|
60368
|
+
:param _DryRun: 是否是预刷新;true:是, false:否
|
|
60140
60369
|
:type DryRun: bool
|
|
60141
60370
|
"""
|
|
60142
60371
|
self._VpcId = None
|
|
@@ -60167,7 +60396,7 @@ class RefreshDirectConnectGatewayRouteToNatGatewayRequest(AbstractModel):
|
|
|
60167
60396
|
|
|
60168
60397
|
@property
|
|
60169
60398
|
def DryRun(self):
|
|
60170
|
-
r"""是否是预刷新;
|
|
60399
|
+
r"""是否是预刷新;true:是, false:否
|
|
60171
60400
|
:rtype: bool
|
|
60172
60401
|
"""
|
|
60173
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.1487
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|