tencentcloud-sdk-python-vpc 3.1.21__py2.py3-none-any.whl → 3.1.27__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.21'
17
+ __version__ = '3.1.27'
@@ -13672,11 +13672,25 @@ class CreatePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
13672
13672
 
13673
13673
  def __init__(self):
13674
13674
  r"""
13675
+ :param _TranslationAclRuleSet: 创建成功的访问控制列表。
13676
+ :type TranslationAclRuleSet: list of TranslationAclRule
13675
13677
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13676
13678
  :type RequestId: str
13677
13679
  """
13680
+ self._TranslationAclRuleSet = None
13678
13681
  self._RequestId = None
13679
13682
 
13683
+ @property
13684
+ def TranslationAclRuleSet(self):
13685
+ r"""创建成功的访问控制列表。
13686
+ :rtype: list of TranslationAclRule
13687
+ """
13688
+ return self._TranslationAclRuleSet
13689
+
13690
+ @TranslationAclRuleSet.setter
13691
+ def TranslationAclRuleSet(self, TranslationAclRuleSet):
13692
+ self._TranslationAclRuleSet = TranslationAclRuleSet
13693
+
13680
13694
  @property
13681
13695
  def RequestId(self):
13682
13696
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -13690,6 +13704,12 @@ class CreatePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
13690
13704
 
13691
13705
 
13692
13706
  def _deserialize(self, params):
13707
+ if params.get("TranslationAclRuleSet") is not None:
13708
+ self._TranslationAclRuleSet = []
13709
+ for item in params.get("TranslationAclRuleSet"):
13710
+ obj = TranslationAclRule()
13711
+ obj._deserialize(item)
13712
+ self._TranslationAclRuleSet.append(obj)
13693
13713
  self._RequestId = params.get("RequestId")
13694
13714
 
13695
13715
 
@@ -32223,6 +32243,8 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32223
32243
  :type Limit: int
32224
32244
  :param _Description: ACL规则描述
32225
32245
  :type Description: str
32246
+ :param _Filters: 过滤条件。<li>AclRuleId - Integer - ACL规则ID。</li>
32247
+ :type Filters: list of Filter
32226
32248
  """
32227
32249
  self._NatGatewayId = None
32228
32250
  self._TranslationDirection = None
@@ -32232,6 +32254,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32232
32254
  self._Offset = None
32233
32255
  self._Limit = None
32234
32256
  self._Description = None
32257
+ self._Filters = None
32235
32258
 
32236
32259
  @property
32237
32260
  def NatGatewayId(self):
@@ -32321,6 +32344,17 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32321
32344
  def Description(self, Description):
32322
32345
  self._Description = Description
32323
32346
 
32347
+ @property
32348
+ def Filters(self):
32349
+ r"""过滤条件。<li>AclRuleId - Integer - ACL规则ID。</li>
32350
+ :rtype: list of Filter
32351
+ """
32352
+ return self._Filters
32353
+
32354
+ @Filters.setter
32355
+ def Filters(self, Filters):
32356
+ self._Filters = Filters
32357
+
32324
32358
 
32325
32359
  def _deserialize(self, params):
32326
32360
  self._NatGatewayId = params.get("NatGatewayId")
@@ -32331,6 +32365,12 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32331
32365
  self._Offset = params.get("Offset")
32332
32366
  self._Limit = params.get("Limit")
32333
32367
  self._Description = params.get("Description")
32368
+ if params.get("Filters") is not None:
32369
+ self._Filters = []
32370
+ for item in params.get("Filters"):
32371
+ obj = Filter()
32372
+ obj._deserialize(item)
32373
+ self._Filters.append(obj)
32334
32374
  memeber_set = set(params.keys())
32335
32375
  for name, value in vars(self).items():
32336
32376
  property_name = name[1:]
@@ -44706,15 +44746,18 @@ class GatewayQos(AbstractModel):
44706
44746
  :type VpcId: str
44707
44747
  :param _IpAddress: 云服务器内网IP。
44708
44748
  :type IpAddress: str
44709
- :param _Bandwidth: 流控带宽值。
44749
+ :param _Bandwidth: 网关流控出方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
44710
44750
  :type Bandwidth: int
44711
44751
  :param _CreateTime: 创建时间。
44712
44752
  :type CreateTime: str
44753
+ :param _InBandwidth: 网关流控入方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
44754
+ :type InBandwidth: int
44713
44755
  """
44714
44756
  self._VpcId = None
44715
44757
  self._IpAddress = None
44716
44758
  self._Bandwidth = None
44717
44759
  self._CreateTime = None
44760
+ self._InBandwidth = None
44718
44761
 
44719
44762
  @property
44720
44763
  def VpcId(self):
@@ -44740,7 +44783,7 @@ class GatewayQos(AbstractModel):
44740
44783
 
44741
44784
  @property
44742
44785
  def Bandwidth(self):
44743
- r"""流控带宽值。
44786
+ r"""网关流控出方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
44744
44787
  :rtype: int
44745
44788
  """
44746
44789
  return self._Bandwidth
@@ -44760,12 +44803,24 @@ class GatewayQos(AbstractModel):
44760
44803
  def CreateTime(self, CreateTime):
44761
44804
  self._CreateTime = CreateTime
44762
44805
 
44806
+ @property
44807
+ def InBandwidth(self):
44808
+ r"""网关流控入方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
44809
+ :rtype: int
44810
+ """
44811
+ return self._InBandwidth
44812
+
44813
+ @InBandwidth.setter
44814
+ def InBandwidth(self, InBandwidth):
44815
+ self._InBandwidth = InBandwidth
44816
+
44763
44817
 
44764
44818
  def _deserialize(self, params):
44765
44819
  self._VpcId = params.get("VpcId")
44766
44820
  self._IpAddress = params.get("IpAddress")
44767
44821
  self._Bandwidth = params.get("Bandwidth")
44768
44822
  self._CreateTime = params.get("CreateTime")
44823
+ self._InBandwidth = params.get("InBandwidth")
44769
44824
  memeber_set = set(params.keys())
44770
44825
  for name, value in vars(self).items():
44771
44826
  property_name = name[1:]
@@ -73090,6 +73145,8 @@ class VpnGatewayRoute(AbstractModel):
73090
73145
  :type CreateTime: str
73091
73146
  :param _UpdateTime: 更新时间。
73092
73147
  :type UpdateTime: str
73148
+ :param _Description: 路由备注
73149
+ :type Description: str
73093
73150
  """
73094
73151
  self._DestinationCidrBlock = None
73095
73152
  self._InstanceType = None
@@ -73100,6 +73157,7 @@ class VpnGatewayRoute(AbstractModel):
73100
73157
  self._Type = None
73101
73158
  self._CreateTime = None
73102
73159
  self._UpdateTime = None
73160
+ self._Description = None
73103
73161
 
73104
73162
  @property
73105
73163
  def DestinationCidrBlock(self):
@@ -73200,6 +73258,17 @@ class VpnGatewayRoute(AbstractModel):
73200
73258
  def UpdateTime(self, UpdateTime):
73201
73259
  self._UpdateTime = UpdateTime
73202
73260
 
73261
+ @property
73262
+ def Description(self):
73263
+ r"""路由备注
73264
+ :rtype: str
73265
+ """
73266
+ return self._Description
73267
+
73268
+ @Description.setter
73269
+ def Description(self, Description):
73270
+ self._Description = Description
73271
+
73203
73272
 
73204
73273
  def _deserialize(self, params):
73205
73274
  self._DestinationCidrBlock = params.get("DestinationCidrBlock")
@@ -73211,6 +73280,7 @@ class VpnGatewayRoute(AbstractModel):
73211
73280
  self._Type = params.get("Type")
73212
73281
  self._CreateTime = params.get("CreateTime")
73213
73282
  self._UpdateTime = params.get("UpdateTime")
73283
+ self._Description = params.get("Description")
73214
73284
  memeber_set = set(params.keys())
73215
73285
  for name, value in vars(self).items():
73216
73286
  property_name = name[1:]
@@ -73232,9 +73302,12 @@ class VpnGatewayRouteModify(AbstractModel):
73232
73302
  :type RouteId: str
73233
73303
  :param _Status: VPN网关状态, ENABLE 启用, DISABLE禁用。
73234
73304
  :type Status: str
73305
+ :param _Description: VPN路由备注
73306
+ :type Description: str
73235
73307
  """
73236
73308
  self._RouteId = None
73237
73309
  self._Status = None
73310
+ self._Description = None
73238
73311
 
73239
73312
  @property
73240
73313
  def RouteId(self):
@@ -73258,10 +73331,22 @@ class VpnGatewayRouteModify(AbstractModel):
73258
73331
  def Status(self, Status):
73259
73332
  self._Status = Status
73260
73333
 
73334
+ @property
73335
+ def Description(self):
73336
+ r"""VPN路由备注
73337
+ :rtype: str
73338
+ """
73339
+ return self._Description
73340
+
73341
+ @Description.setter
73342
+ def Description(self, Description):
73343
+ self._Description = Description
73344
+
73261
73345
 
73262
73346
  def _deserialize(self, params):
73263
73347
  self._RouteId = params.get("RouteId")
73264
73348
  self._Status = params.get("Status")
73349
+ self._Description = params.get("Description")
73265
73350
  memeber_set = set(params.keys())
73266
73351
  for name, value in vars(self).items():
73267
73352
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.1.21
3
+ Version: 3.1.27
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.1.21
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.27
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=XonCI0_IdxAlEyO-i43CFCE8QA9UpP1uSFdnquHF36w,629
1
+ tencentcloud/__init__.py,sha256=eN9-HwuAC6zcMyZNe2fQN1ELZy3pf1Rk7VomEwITWCE,629
2
2
  tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/vpc/v20170312/errorcodes.py,sha256=l66F-rgF4wCMRzUXSvZR66OjGV9u6yp_JGodyN7YaIg,65865
5
- tencentcloud/vpc/v20170312/models.py,sha256=hxUpVSBWLodfanGQTqAb0LC29KMrOLKBAvCHz3TBgyU,2467109
5
+ tencentcloud/vpc/v20170312/models.py,sha256=wZ_ynLm8h8nay5S9yB6G_HqA4p8113gzyNLXnEDv6yk,2470248
6
6
  tencentcloud/vpc/v20170312/vpc_client.py,sha256=8fGIJxTI4aFd67LRjb8JBdDc9Oirz5aj1Vw88nu_qqU,468664
7
7
  tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=i-0dbwatRJMkJwngJ4fO8BEzcPbSEAfTkiuLcbCofZY,335869
8
- tencentcloud_sdk_python_vpc-3.1.21.dist-info/METADATA,sha256=StZXxqn0aeQR5Z6Pqc0e-_2VL1QTjuB4Ge7dCor_i7k,1495
9
- tencentcloud_sdk_python_vpc-3.1.21.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
- tencentcloud_sdk_python_vpc-3.1.21.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_vpc-3.1.21.dist-info/RECORD,,
8
+ tencentcloud_sdk_python_vpc-3.1.27.dist-info/METADATA,sha256=HGM2YzkCCDcMdxJhDGXj0Fcy08PxrBwWImzFEp35DYI,1495
9
+ tencentcloud_sdk_python_vpc-3.1.27.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
+ tencentcloud_sdk_python_vpc-3.1.27.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_vpc-3.1.27.dist-info/RECORD,,