tencentcloud-sdk-python-vpc 3.0.1487__tar.gz → 3.0.1491__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.
Files changed (16) hide show
  1. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud/vpc/v20170312/errorcodes.py +9 -0
  5. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud/vpc/v20170312/models.py +288 -44
  6. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  7. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_vpc-3.0.1491/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_vpc-3.0.1487/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/README.rst +0 -0
  11. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud/vpc/__init__.py +0 -0
  13. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  14. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud_sdk_python_vpc-3.0.1487 → tencentcloud_sdk_python_vpc-3.0.1491}/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.1487
3
+ Version: 3.0.1491
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.1487
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1491
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.1487,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1491,<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(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1487'
17
+ __version__ = '3.0.1491'
@@ -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: 转换规则目标,可选值"LOCAL"。
13439
+ :param _TranslationDirection: 转换规则目标,可选值LOCAL。
13423
13440
  :type TranslationDirection: str
13424
- :param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
13441
+ :param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
13425
13442
  :type TranslationType: str
13426
- :param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
13443
+ :param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
13427
13444
  :type TranslationIp: str
13428
13445
  :param _TranslationAclRules: 访问控制列表。
13429
13446
  :type TranslationAclRules: list of TranslationAclRule
13430
- :param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
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"""转换规则目标,可选值"LOCAL"。
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"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
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"""转换`IP`,当转换规则类型为四层时为`IP`池。
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"""源`IP`,当转换规则类型为三层时有效。
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:]
@@ -20756,8 +20788,11 @@ class DeletePrivateNatGatewayRequest(AbstractModel):
20756
20788
  r"""
20757
20789
  :param _NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx"。
20758
20790
  :type NatGatewayId: str
20791
+ :param _IgnoreOperationRisk: 忽略操作风险
20792
+ :type IgnoreOperationRisk: bool
20759
20793
  """
20760
20794
  self._NatGatewayId = None
20795
+ self._IgnoreOperationRisk = None
20761
20796
 
20762
20797
  @property
20763
20798
  def NatGatewayId(self):
@@ -20770,9 +20805,21 @@ class DeletePrivateNatGatewayRequest(AbstractModel):
20770
20805
  def NatGatewayId(self, NatGatewayId):
20771
20806
  self._NatGatewayId = NatGatewayId
20772
20807
 
20808
+ @property
20809
+ def IgnoreOperationRisk(self):
20810
+ r"""忽略操作风险
20811
+ :rtype: bool
20812
+ """
20813
+ return self._IgnoreOperationRisk
20814
+
20815
+ @IgnoreOperationRisk.setter
20816
+ def IgnoreOperationRisk(self, IgnoreOperationRisk):
20817
+ self._IgnoreOperationRisk = IgnoreOperationRisk
20818
+
20773
20819
 
20774
20820
  def _deserialize(self, params):
20775
20821
  self._NatGatewayId = params.get("NatGatewayId")
20822
+ self._IgnoreOperationRisk = params.get("IgnoreOperationRisk")
20776
20823
  memeber_set = set(params.keys())
20777
20824
  for name, value in vars(self).items():
20778
20825
  property_name = name[1:]
@@ -20820,15 +20867,15 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
20820
20867
  r"""
20821
20868
  :param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
20822
20869
  :type NatGatewayId: str
20823
- :param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
20870
+ :param _TranslationDirection: 转换规则目标,可选值LOCAL。
20824
20871
  :type TranslationDirection: str
20825
- :param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
20872
+ :param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
20826
20873
  :type TranslationType: str
20827
- :param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
20874
+ :param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池
20828
20875
  :type TranslationIp: str
20829
20876
  :param _AclRuleIds: 访问控制规则对应`ID`
20830
20877
  :type AclRuleIds: list of int non-negative
20831
- :param _OriginalIp: 源`IP`,当转换规则类型为三层时有效
20878
+ :param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效
20832
20879
  :type OriginalIp: str
20833
20880
  """
20834
20881
  self._NatGatewayId = None
@@ -20851,7 +20898,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
20851
20898
 
20852
20899
  @property
20853
20900
  def TranslationDirection(self):
20854
- r"""转换规则目标,可选值"LOCAL"。
20901
+ r"""转换规则目标,可选值LOCAL。
20855
20902
  :rtype: str
20856
20903
  """
20857
20904
  return self._TranslationDirection
@@ -20862,7 +20909,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
20862
20909
 
20863
20910
  @property
20864
20911
  def TranslationType(self):
20865
- r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
20912
+ r"""转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
20866
20913
  :rtype: str
20867
20914
  """
20868
20915
  return self._TranslationType
@@ -20873,7 +20920,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
20873
20920
 
20874
20921
  @property
20875
20922
  def TranslationIp(self):
20876
- r"""转换`IP`,当转换规则类型为四层时为`IP`池
20923
+ r"""映射后`IP`,当转换规则类型为四层时为`IP`池
20877
20924
  :rtype: str
20878
20925
  """
20879
20926
  return self._TranslationIp
@@ -20895,7 +20942,7 @@ class DeletePrivateNatGatewayTranslationAclRuleRequest(AbstractModel):
20895
20942
 
20896
20943
  @property
20897
20944
  def OriginalIp(self):
20898
- r"""源`IP`,当转换规则类型为三层时有效
20945
+ r"""映射前`IP`,当转换规则类型为三层时有效
20899
20946
  :rtype: str
20900
20947
  """
20901
20948
  return self._OriginalIp
@@ -30380,6 +30427,60 @@ class DescribeNatGatewaySourceIpTranslationNatRulesResponse(AbstractModel):
30380
30427
  self._RequestId = params.get("RequestId")
30381
30428
 
30382
30429
 
30430
+ class DescribeNatGatewayZonesRequest(AbstractModel):
30431
+ r"""DescribeNatGatewayZones请求参数结构体
30432
+
30433
+ """
30434
+
30435
+
30436
+ class DescribeNatGatewayZonesResponse(AbstractModel):
30437
+ r"""DescribeNatGatewayZones返回参数结构体
30438
+
30439
+ """
30440
+
30441
+ def __init__(self):
30442
+ r"""
30443
+ :param _ZoneSet: 可售卖可用区信息列表
30444
+ :type ZoneSet: list of NatZoneInfo
30445
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30446
+ :type RequestId: str
30447
+ """
30448
+ self._ZoneSet = None
30449
+ self._RequestId = None
30450
+
30451
+ @property
30452
+ def ZoneSet(self):
30453
+ r"""可售卖可用区信息列表
30454
+ :rtype: list of NatZoneInfo
30455
+ """
30456
+ return self._ZoneSet
30457
+
30458
+ @ZoneSet.setter
30459
+ def ZoneSet(self, ZoneSet):
30460
+ self._ZoneSet = ZoneSet
30461
+
30462
+ @property
30463
+ def RequestId(self):
30464
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30465
+ :rtype: str
30466
+ """
30467
+ return self._RequestId
30468
+
30469
+ @RequestId.setter
30470
+ def RequestId(self, RequestId):
30471
+ self._RequestId = RequestId
30472
+
30473
+
30474
+ def _deserialize(self, params):
30475
+ if params.get("ZoneSet") is not None:
30476
+ self._ZoneSet = []
30477
+ for item in params.get("ZoneSet"):
30478
+ obj = NatZoneInfo()
30479
+ obj._deserialize(item)
30480
+ self._ZoneSet.append(obj)
30481
+ self._RequestId = params.get("RequestId")
30482
+
30483
+
30383
30484
  class DescribeNatGatewaysRequest(AbstractModel):
30384
30485
  r"""DescribeNatGateways请求参数结构体
30385
30486
 
@@ -30389,7 +30490,7 @@ class DescribeNatGatewaysRequest(AbstractModel):
30389
30490
  r"""
30390
30491
  :param _NatGatewayIds: NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
30391
30492
  :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-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
30493
+ :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
30494
  :type Filters: list of Filter
30394
30495
  :param _Offset: 偏移量,默认为0。
30395
30496
  :type Offset: int
@@ -30414,7 +30515,7 @@ class DescribeNatGatewaysRequest(AbstractModel):
30414
30515
 
30415
30516
  @property
30416
30517
  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-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
30518
+ 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
30519
  :rtype: list of Filter
30419
30520
  """
30420
30521
  return self._Filters
@@ -31607,7 +31708,7 @@ class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest(Abstr
31607
31708
  r"""
31608
31709
  :param _NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
31609
31710
  :type NatGatewayId: str
31610
- :param _Filters: 过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
31711
+ :param _Filters: 过滤条件,Name可选值:OriginalIp、TranslationIp、OriginalPort、TranslationPort、Protocol、Description,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
31611
31712
  :type Filters: list of Filter
31612
31713
  :param _Offset: 偏移量,默认值为0。
31613
31714
  :type Offset: int
@@ -31632,7 +31733,7 @@ class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest(Abstr
31632
31733
 
31633
31734
  @property
31634
31735
  def Filters(self):
31635
- r"""过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
31736
+ r"""过滤条件,Name可选值:OriginalIp、TranslationIp、OriginalPort、TranslationPort、Protocol、Description,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
31636
31737
  :rtype: list of Filter
31637
31738
  """
31638
31739
  return self._Filters
@@ -31961,13 +32062,13 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
31961
32062
  r"""
31962
32063
  :param _NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
31963
32064
  :type NatGatewayId: str
31964
- :param _TranslationDirection: 转换规则目标,可选值"LOCAL"。
32065
+ :param _TranslationDirection: 转换规则目标,可选值LOCAL。
31965
32066
  :type TranslationDirection: str
31966
- :param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
32067
+ :param _TranslationType: 转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
31967
32068
  :type TranslationType: str
31968
- :param _TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
32069
+ :param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
31969
32070
  :type TranslationIp: str
31970
- :param _OriginalIp: 源`IP`,当转换规则类型为三层时有效。
32071
+ :param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
31971
32072
  :type OriginalIp: str
31972
32073
  :param _Offset: 偏移量。默认值为0。
31973
32074
  :type Offset: int
@@ -31998,7 +32099,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
31998
32099
 
31999
32100
  @property
32000
32101
  def TranslationDirection(self):
32001
- r"""转换规则目标,可选值"LOCAL"。
32102
+ r"""转换规则目标,可选值LOCAL。
32002
32103
  :rtype: str
32003
32104
  """
32004
32105
  return self._TranslationDirection
@@ -32009,7 +32110,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32009
32110
 
32010
32111
  @property
32011
32112
  def TranslationType(self):
32012
- r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
32113
+ r"""转换规则类型,可选值NETWORK_LAYER、TRANSPORT_LAYER。分别对应三层、四层。
32013
32114
  :rtype: str
32014
32115
  """
32015
32116
  return self._TranslationType
@@ -32020,7 +32121,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32020
32121
 
32021
32122
  @property
32022
32123
  def TranslationIp(self):
32023
- r"""转换`IP`,当转换规则类型为四层时为`IP`池。
32124
+ r"""映射后`IP`,当转换规则类型为四层时为`IP`池。
32024
32125
  :rtype: str
32025
32126
  """
32026
32127
  return self._TranslationIp
@@ -32031,7 +32132,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32031
32132
 
32032
32133
  @property
32033
32134
  def OriginalIp(self):
32034
- r"""源`IP`,当转换规则类型为三层时有效。
32135
+ r"""映射前`IP`,当转换规则类型为三层时有效。
32035
32136
  :rtype: str
32036
32137
  """
32037
32138
  return self._OriginalIp
@@ -32321,6 +32422,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
32321
32422
  def __init__(self):
32322
32423
  r"""
32323
32424
  :param _NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
32425
+ 注意:NatGatewayIds和Filters参数互斥,不能同时传入。
32324
32426
  :type NatGatewayIds: list of str
32325
32427
  :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
32428
  :type Filters: list of Filter
@@ -32328,9 +32430,9 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
32328
32430
  :type Offset: int
32329
32431
  :param _Limit: 返回数量,默认为20。
32330
32432
  :type Limit: int
32331
- :param _OrderField: 排序字段。可选值:"NatGatewayId"、"NatGatewayName"、"CreatedTime"
32433
+ :param _OrderField: 排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime。
32332
32434
  :type OrderField: str
32333
- :param _OrderDirection: 排序方式。可选值:"ASC"、"DESC"。
32435
+ :param _OrderDirection: 排序方式。可选值:ASC、DESC。分别表示升序、降序。
32334
32436
  :type OrderDirection: str
32335
32437
  """
32336
32438
  self._NatGatewayIds = None
@@ -32343,6 +32445,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
32343
32445
  @property
32344
32446
  def NatGatewayIds(self):
32345
32447
  r"""私网网关唯一`ID`,形如:`intranat-0g3blj80`。
32448
+ 注意:NatGatewayIds和Filters参数互斥,不能同时传入。
32346
32449
  :rtype: list of str
32347
32450
  """
32348
32451
  return self._NatGatewayIds
@@ -32386,7 +32489,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
32386
32489
 
32387
32490
  @property
32388
32491
  def OrderField(self):
32389
- r"""排序字段。可选值:"NatGatewayId"、"NatGatewayName"、"CreatedTime"
32492
+ r"""排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime。
32390
32493
  :rtype: str
32391
32494
  """
32392
32495
  return self._OrderField
@@ -32397,7 +32500,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
32397
32500
 
32398
32501
  @property
32399
32502
  def OrderDirection(self):
32400
- r"""排序方式。可选值:"ASC"、"DESC"。
32503
+ r"""排序方式。可选值:ASC、DESC。分别表示升序、降序。
32401
32504
  :rtype: str
32402
32505
  """
32403
32506
  return self._OrderDirection
@@ -37201,14 +37304,20 @@ class DescribeVpcEndPointRequest(AbstractModel):
37201
37304
  :param _EndPointId: 终端节点ID列表。可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)
37202
37305
  获取。
37203
37306
  :type EndPointId: list of str
37204
- :param _IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4。
37307
+ :param _IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
37205
37308
  :type IpAddressType: str
37309
+ :param _MaxResults: 每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
37310
+ :type MaxResults: int
37311
+ :param _NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
37312
+ :type NextToken: str
37206
37313
  """
37207
37314
  self._Filters = None
37208
37315
  self._Offset = None
37209
37316
  self._Limit = None
37210
37317
  self._EndPointId = None
37211
37318
  self._IpAddressType = None
37319
+ self._MaxResults = None
37320
+ self._NextToken = None
37212
37321
 
37213
37322
  @property
37214
37323
  def Filters(self):
@@ -37264,7 +37373,7 @@ class DescribeVpcEndPointRequest(AbstractModel):
37264
37373
 
37265
37374
  @property
37266
37375
  def IpAddressType(self):
37267
- r"""协议类型,支持 Ipv4,Ipv6,默认 Ipv4。
37376
+ r"""协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
37268
37377
  :rtype: str
37269
37378
  """
37270
37379
  return self._IpAddressType
@@ -37273,6 +37382,28 @@ class DescribeVpcEndPointRequest(AbstractModel):
37273
37382
  def IpAddressType(self, IpAddressType):
37274
37383
  self._IpAddressType = IpAddressType
37275
37384
 
37385
+ @property
37386
+ def MaxResults(self):
37387
+ r"""每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
37388
+ :rtype: int
37389
+ """
37390
+ return self._MaxResults
37391
+
37392
+ @MaxResults.setter
37393
+ def MaxResults(self, MaxResults):
37394
+ self._MaxResults = MaxResults
37395
+
37396
+ @property
37397
+ def NextToken(self):
37398
+ r"""如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
37399
+ :rtype: str
37400
+ """
37401
+ return self._NextToken
37402
+
37403
+ @NextToken.setter
37404
+ def NextToken(self, NextToken):
37405
+ self._NextToken = NextToken
37406
+
37276
37407
 
37277
37408
  def _deserialize(self, params):
37278
37409
  if params.get("Filters") is not None:
@@ -37285,6 +37416,8 @@ class DescribeVpcEndPointRequest(AbstractModel):
37285
37416
  self._Limit = params.get("Limit")
37286
37417
  self._EndPointId = params.get("EndPointId")
37287
37418
  self._IpAddressType = params.get("IpAddressType")
37419
+ self._MaxResults = params.get("MaxResults")
37420
+ self._NextToken = params.get("NextToken")
37288
37421
  memeber_set = set(params.keys())
37289
37422
  for name, value in vars(self).items():
37290
37423
  property_name = name[1:]
@@ -37306,11 +37439,14 @@ class DescribeVpcEndPointResponse(AbstractModel):
37306
37439
  :type EndPointSet: list of EndPoint
37307
37440
  :param _TotalCount: 符合查询条件的终端节点个数。
37308
37441
  :type TotalCount: int
37442
+ :param _NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
37443
+ :type NextToken: str
37309
37444
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
37310
37445
  :type RequestId: str
37311
37446
  """
37312
37447
  self._EndPointSet = None
37313
37448
  self._TotalCount = None
37449
+ self._NextToken = None
37314
37450
  self._RequestId = None
37315
37451
 
37316
37452
  @property
@@ -37335,6 +37471,17 @@ class DescribeVpcEndPointResponse(AbstractModel):
37335
37471
  def TotalCount(self, TotalCount):
37336
37472
  self._TotalCount = TotalCount
37337
37473
 
37474
+ @property
37475
+ def NextToken(self):
37476
+ r"""如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
37477
+ :rtype: str
37478
+ """
37479
+ return self._NextToken
37480
+
37481
+ @NextToken.setter
37482
+ def NextToken(self, NextToken):
37483
+ self._NextToken = NextToken
37484
+
37338
37485
  @property
37339
37486
  def RequestId(self):
37340
37487
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -37355,6 +37502,7 @@ class DescribeVpcEndPointResponse(AbstractModel):
37355
37502
  obj._deserialize(item)
37356
37503
  self._EndPointSet.append(obj)
37357
37504
  self._TotalCount = params.get("TotalCount")
37505
+ self._NextToken = params.get("NextToken")
37358
37506
  self._RequestId = params.get("RequestId")
37359
37507
 
37360
37508
 
@@ -37384,8 +37532,12 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
37384
37532
  :type EndPointServiceIds: list of str
37385
37533
  :param _IsListAuthorizedEndPointService: <li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。</li>
37386
37534
  :type IsListAuthorizedEndPointService: bool
37387
- :param _IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4。
37535
+ :param _IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
37388
37536
  :type IpAddressType: str
37537
+ :param _MaxResults: 每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
37538
+ :type MaxResults: int
37539
+ :param _NextToken: 如果NextToken返回 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
37540
+ :type NextToken: str
37389
37541
  """
37390
37542
  self._Filters = None
37391
37543
  self._Offset = None
@@ -37393,6 +37545,8 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
37393
37545
  self._EndPointServiceIds = None
37394
37546
  self._IsListAuthorizedEndPointService = None
37395
37547
  self._IpAddressType = None
37548
+ self._MaxResults = None
37549
+ self._NextToken = None
37396
37550
 
37397
37551
  @property
37398
37552
  def Filters(self):
@@ -37460,7 +37614,7 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
37460
37614
 
37461
37615
  @property
37462
37616
  def IpAddressType(self):
37463
- r"""协议类型,支持 Ipv4,Ipv6,默认 Ipv4。
37617
+ r"""协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
37464
37618
  :rtype: str
37465
37619
  """
37466
37620
  return self._IpAddressType
@@ -37469,6 +37623,28 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
37469
37623
  def IpAddressType(self, IpAddressType):
37470
37624
  self._IpAddressType = IpAddressType
37471
37625
 
37626
+ @property
37627
+ def MaxResults(self):
37628
+ r"""每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
37629
+ :rtype: int
37630
+ """
37631
+ return self._MaxResults
37632
+
37633
+ @MaxResults.setter
37634
+ def MaxResults(self, MaxResults):
37635
+ self._MaxResults = MaxResults
37636
+
37637
+ @property
37638
+ def NextToken(self):
37639
+ r"""如果NextToken返回 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
37640
+ :rtype: str
37641
+ """
37642
+ return self._NextToken
37643
+
37644
+ @NextToken.setter
37645
+ def NextToken(self, NextToken):
37646
+ self._NextToken = NextToken
37647
+
37472
37648
 
37473
37649
  def _deserialize(self, params):
37474
37650
  if params.get("Filters") is not None:
@@ -37482,6 +37658,8 @@ GWLB可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/p
37482
37658
  self._EndPointServiceIds = params.get("EndPointServiceIds")
37483
37659
  self._IsListAuthorizedEndPointService = params.get("IsListAuthorizedEndPointService")
37484
37660
  self._IpAddressType = params.get("IpAddressType")
37661
+ self._MaxResults = params.get("MaxResults")
37662
+ self._NextToken = params.get("NextToken")
37485
37663
  memeber_set = set(params.keys())
37486
37664
  for name, value in vars(self).items():
37487
37665
  property_name = name[1:]
@@ -37503,11 +37681,14 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
37503
37681
  :type EndPointServiceSet: list of EndPointService
37504
37682
  :param _TotalCount: 符合查询条件的个数。
37505
37683
  :type TotalCount: int
37684
+ :param _NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
37685
+ :type NextToken: str
37506
37686
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
37507
37687
  :type RequestId: str
37508
37688
  """
37509
37689
  self._EndPointServiceSet = None
37510
37690
  self._TotalCount = None
37691
+ self._NextToken = None
37511
37692
  self._RequestId = None
37512
37693
 
37513
37694
  @property
@@ -37532,6 +37713,17 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
37532
37713
  def TotalCount(self, TotalCount):
37533
37714
  self._TotalCount = TotalCount
37534
37715
 
37716
+ @property
37717
+ def NextToken(self):
37718
+ r"""如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
37719
+ :rtype: str
37720
+ """
37721
+ return self._NextToken
37722
+
37723
+ @NextToken.setter
37724
+ def NextToken(self, NextToken):
37725
+ self._NextToken = NextToken
37726
+
37535
37727
  @property
37536
37728
  def RequestId(self):
37537
37729
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -37552,6 +37744,7 @@ class DescribeVpcEndPointServiceResponse(AbstractModel):
37552
37744
  obj._deserialize(item)
37553
37745
  self._EndPointServiceSet.append(obj)
37554
37746
  self._TotalCount = params.get("TotalCount")
37747
+ self._NextToken = params.get("NextToken")
37555
37748
  self._RequestId = params.get("RequestId")
37556
37749
 
37557
37750
 
@@ -52321,7 +52514,7 @@ class ModifyNatGatewaySourceIpTranslationNatRuleRequest(AbstractModel):
52321
52514
  r"""
52322
52515
  :param _NatGatewayId: NAT网关的ID,形如:`nat-df453454`。
52323
52516
  :type NatGatewayId: str
52324
- :param _SourceIpTranslationNatRule: NAT网关的SNAT转换规则。
52517
+ :param _SourceIpTranslationNatRule: NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
52325
52518
  :type SourceIpTranslationNatRule: :class:`tencentcloud.vpc.v20170312.models.SourceIpTranslationNatRule`
52326
52519
  """
52327
52520
  self._NatGatewayId = None
@@ -52340,7 +52533,7 @@ class ModifyNatGatewaySourceIpTranslationNatRuleRequest(AbstractModel):
52340
52533
 
52341
52534
  @property
52342
52535
  def SourceIpTranslationNatRule(self):
52343
- r"""NAT网关的SNAT转换规则。
52536
+ r"""NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
52344
52537
  :rtype: :class:`tencentcloud.vpc.v20170312.models.SourceIpTranslationNatRule`
52345
52538
  """
52346
52539
  return self._SourceIpTranslationNatRule
@@ -57149,6 +57342,57 @@ class NatRegionInfoWithArea(AbstractModel):
57149
57342
  """
57150
57343
 
57151
57344
 
57345
+ class NatZoneInfo(AbstractModel):
57346
+ r"""NAT网关可用区集合
57347
+
57348
+ """
57349
+
57350
+ def __init__(self):
57351
+ r"""
57352
+ :param _Zone: 可用区名称
57353
+ :type Zone: str
57354
+ :param _ZoneId: 可用区id
57355
+ :type ZoneId: int
57356
+ """
57357
+ self._Zone = None
57358
+ self._ZoneId = None
57359
+
57360
+ @property
57361
+ def Zone(self):
57362
+ r"""可用区名称
57363
+ :rtype: str
57364
+ """
57365
+ return self._Zone
57366
+
57367
+ @Zone.setter
57368
+ def Zone(self, Zone):
57369
+ self._Zone = Zone
57370
+
57371
+ @property
57372
+ def ZoneId(self):
57373
+ r"""可用区id
57374
+ :rtype: int
57375
+ """
57376
+ return self._ZoneId
57377
+
57378
+ @ZoneId.setter
57379
+ def ZoneId(self, ZoneId):
57380
+ self._ZoneId = ZoneId
57381
+
57382
+
57383
+ def _deserialize(self, params):
57384
+ self._Zone = params.get("Zone")
57385
+ self._ZoneId = params.get("ZoneId")
57386
+ memeber_set = set(params.keys())
57387
+ for name, value in vars(self).items():
57388
+ property_name = name[1:]
57389
+ if property_name in memeber_set:
57390
+ memeber_set.remove(property_name)
57391
+ if len(memeber_set) > 0:
57392
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
57393
+
57394
+
57395
+
57152
57396
  class NetDetect(AbstractModel):
57153
57397
  r"""网络探测对象。
57154
57398
 
@@ -60136,7 +60380,7 @@ class RefreshDirectConnectGatewayRouteToNatGatewayRequest(AbstractModel):
60136
60380
  :type VpcId: str
60137
60381
  :param _NatGatewayId: NAT网关ID
60138
60382
  :type NatGatewayId: str
60139
- :param _DryRun: 是否是预刷新;True:是, False:否
60383
+ :param _DryRun: 是否是预刷新;true:是, false:否
60140
60384
  :type DryRun: bool
60141
60385
  """
60142
60386
  self._VpcId = None
@@ -60167,7 +60411,7 @@ class RefreshDirectConnectGatewayRouteToNatGatewayRequest(AbstractModel):
60167
60411
 
60168
60412
  @property
60169
60413
  def DryRun(self):
60170
- r"""是否是预刷新;True:是, False:否
60414
+ r"""是否是预刷新;true:是, false:否
60171
60415
  :rtype: bool
60172
60416
  """
60173
60417
  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.1487
3
+ Version: 3.0.1491
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.1487
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1491
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1491
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1487