tencentcloud-sdk-python-cfw 3.1.88__tar.gz → 3.1.94__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 (17) hide show
  1. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  5. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud/cfw/v20190904/cfw_client_async.py +18 -0
  6. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud/cfw/v20190904/models.py +243 -0
  7. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_cfw-3.1.94/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_cfw-3.1.88/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud/cfw/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud/cfw/v20190904/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.94}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfw
3
- Version: 3.1.88
3
+ Version: 3.1.94
4
4
  Summary: Tencent Cloud Cfw 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.88
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.94
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-cfw',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.88,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.94,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cfw SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.88'
17
+ __version__ = '3.1.94'
@@ -1592,6 +1592,29 @@ class CfwClient(AbstractClient):
1592
1592
  raise TencentCloudSDKException(type(e).__name__, str(e))
1593
1593
 
1594
1594
 
1595
+ def DescribeSerialRegion(self, request):
1596
+ r"""查询串行防火墙地域带宽分配信息
1597
+
1598
+ :param request: Request instance for DescribeSerialRegion.
1599
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeSerialRegionRequest`
1600
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeSerialRegionResponse`
1601
+
1602
+ """
1603
+ try:
1604
+ params = request._serialize()
1605
+ headers = request.headers
1606
+ body = self.call("DescribeSerialRegion", params, headers=headers)
1607
+ response = json.loads(body)
1608
+ model = models.DescribeSerialRegionResponse()
1609
+ model._deserialize(response["Response"])
1610
+ return model
1611
+ except Exception as e:
1612
+ if isinstance(e, TencentCloudSDKException):
1613
+ raise
1614
+ else:
1615
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1616
+
1617
+
1595
1618
  def DescribeSourceAsset(self, request):
1596
1619
  r"""DescribeSourceAsset-查询全部资产信息
1597
1620
 
@@ -1251,6 +1251,24 @@ class CfwClient(AbstractClient):
1251
1251
 
1252
1252
  return await self.call_and_deserialize(**kwargs)
1253
1253
 
1254
+ async def DescribeSerialRegion(
1255
+ self,
1256
+ request: models.DescribeSerialRegionRequest,
1257
+ opts: Dict = None,
1258
+ ) -> models.DescribeSerialRegionResponse:
1259
+ """
1260
+ 查询串行防火墙地域带宽分配信息
1261
+ """
1262
+
1263
+ kwargs = {}
1264
+ kwargs["action"] = "DescribeSerialRegion"
1265
+ kwargs["params"] = request._serialize()
1266
+ kwargs["resp_cls"] = models.DescribeSerialRegionResponse
1267
+ kwargs["headers"] = request.headers
1268
+ kwargs["opts"] = opts or {}
1269
+
1270
+ return await self.call_and_deserialize(**kwargs)
1271
+
1254
1272
  async def DescribeSourceAsset(
1255
1273
  self,
1256
1274
  request: models.DescribeSourceAssetRequest,
@@ -14528,6 +14528,130 @@ class DescribeSecurityGroupListResponse(AbstractModel):
14528
14528
  self._RequestId = params.get("RequestId")
14529
14529
 
14530
14530
 
14531
+ class DescribeSerialRegionRequest(AbstractModel):
14532
+ r"""DescribeSerialRegion请求参数结构体
14533
+
14534
+ """
14535
+
14536
+
14537
+ class DescribeSerialRegionResponse(AbstractModel):
14538
+ r"""DescribeSerialRegion返回参数结构体
14539
+
14540
+ """
14541
+
14542
+ def __init__(self):
14543
+ r"""
14544
+ :param _SerialRegionLst: 串行地域带宽分配
14545
+ 注意:此字段可能返回 null,表示取不到有效值。
14546
+ :type SerialRegionLst: list of SerialRegionInfo
14547
+ :param _UnUsedWidth: 剩余可分配通用带宽 单位M
14548
+ 注意:此字段可能返回 null,表示取不到有效值。
14549
+ :type UnUsedWidth: int
14550
+ :param _UnUsedQuota: 可配置实例个数
14551
+ 注意:此字段可能返回 null,表示取不到有效值。
14552
+ :type UnUsedQuota: int
14553
+ :param _BypassWidth: 旁路带宽数据
14554
+ 注意:此字段可能返回 null,表示取不到有效值。
14555
+ :type BypassWidth: int
14556
+ :param _SendBypassWidth: 赠送的旁路带宽数据
14557
+ 注意:此字段可能返回 null,表示取不到有效值。
14558
+ :type SendBypassWidth: int
14559
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14560
+ :type RequestId: str
14561
+ """
14562
+ self._SerialRegionLst = None
14563
+ self._UnUsedWidth = None
14564
+ self._UnUsedQuota = None
14565
+ self._BypassWidth = None
14566
+ self._SendBypassWidth = None
14567
+ self._RequestId = None
14568
+
14569
+ @property
14570
+ def SerialRegionLst(self):
14571
+ r"""串行地域带宽分配
14572
+ 注意:此字段可能返回 null,表示取不到有效值。
14573
+ :rtype: list of SerialRegionInfo
14574
+ """
14575
+ return self._SerialRegionLst
14576
+
14577
+ @SerialRegionLst.setter
14578
+ def SerialRegionLst(self, SerialRegionLst):
14579
+ self._SerialRegionLst = SerialRegionLst
14580
+
14581
+ @property
14582
+ def UnUsedWidth(self):
14583
+ r"""剩余可分配通用带宽 单位M
14584
+ 注意:此字段可能返回 null,表示取不到有效值。
14585
+ :rtype: int
14586
+ """
14587
+ return self._UnUsedWidth
14588
+
14589
+ @UnUsedWidth.setter
14590
+ def UnUsedWidth(self, UnUsedWidth):
14591
+ self._UnUsedWidth = UnUsedWidth
14592
+
14593
+ @property
14594
+ def UnUsedQuota(self):
14595
+ r"""可配置实例个数
14596
+ 注意:此字段可能返回 null,表示取不到有效值。
14597
+ :rtype: int
14598
+ """
14599
+ return self._UnUsedQuota
14600
+
14601
+ @UnUsedQuota.setter
14602
+ def UnUsedQuota(self, UnUsedQuota):
14603
+ self._UnUsedQuota = UnUsedQuota
14604
+
14605
+ @property
14606
+ def BypassWidth(self):
14607
+ r"""旁路带宽数据
14608
+ 注意:此字段可能返回 null,表示取不到有效值。
14609
+ :rtype: int
14610
+ """
14611
+ return self._BypassWidth
14612
+
14613
+ @BypassWidth.setter
14614
+ def BypassWidth(self, BypassWidth):
14615
+ self._BypassWidth = BypassWidth
14616
+
14617
+ @property
14618
+ def SendBypassWidth(self):
14619
+ r"""赠送的旁路带宽数据
14620
+ 注意:此字段可能返回 null,表示取不到有效值。
14621
+ :rtype: int
14622
+ """
14623
+ return self._SendBypassWidth
14624
+
14625
+ @SendBypassWidth.setter
14626
+ def SendBypassWidth(self, SendBypassWidth):
14627
+ self._SendBypassWidth = SendBypassWidth
14628
+
14629
+ @property
14630
+ def RequestId(self):
14631
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14632
+ :rtype: str
14633
+ """
14634
+ return self._RequestId
14635
+
14636
+ @RequestId.setter
14637
+ def RequestId(self, RequestId):
14638
+ self._RequestId = RequestId
14639
+
14640
+
14641
+ def _deserialize(self, params):
14642
+ if params.get("SerialRegionLst") is not None:
14643
+ self._SerialRegionLst = []
14644
+ for item in params.get("SerialRegionLst"):
14645
+ obj = SerialRegionInfo()
14646
+ obj._deserialize(item)
14647
+ self._SerialRegionLst.append(obj)
14648
+ self._UnUsedWidth = params.get("UnUsedWidth")
14649
+ self._UnUsedQuota = params.get("UnUsedQuota")
14650
+ self._BypassWidth = params.get("BypassWidth")
14651
+ self._SendBypassWidth = params.get("SendBypassWidth")
14652
+ self._RequestId = params.get("RequestId")
14653
+
14654
+
14531
14655
  class DescribeSourceAssetRequest(AbstractModel):
14532
14656
  r"""DescribeSourceAsset请求参数结构体
14533
14657
 
@@ -28241,6 +28365,125 @@ class SequenceData(AbstractModel):
28241
28365
 
28242
28366
 
28243
28367
 
28368
+ class SerialRegionInfo(AbstractModel):
28369
+ r"""防火墙串行地域带宽分配情况
28370
+
28371
+ """
28372
+
28373
+ def __init__(self):
28374
+ r"""
28375
+ :param _Region: 地域
28376
+ 注意:此字段可能返回 null,表示取不到有效值。
28377
+ :type Region: str
28378
+ :param _Width: 分配带宽值 单位Mbps
28379
+ 注意:此字段可能返回 null,表示取不到有效值。
28380
+ :type Width: int
28381
+ :param _ElasticSwitch: 弹性开关
28382
+ 注意:此字段可能返回 null,表示取不到有效值。
28383
+ :type ElasticSwitch: int
28384
+ :param _ElasticBandwidth: 弹性带宽上限,单位Mbps
28385
+ 注意:此字段可能返回 null,表示取不到有效值。
28386
+ :type ElasticBandwidth: int
28387
+ :param _InFlowMax: 七天入向峰值带宽,单位bps
28388
+ :type InFlowMax: int
28389
+ :param _OutFlowMax: 七天出向峰值带宽,单位bps
28390
+ :type OutFlowMax: int
28391
+ """
28392
+ self._Region = None
28393
+ self._Width = None
28394
+ self._ElasticSwitch = None
28395
+ self._ElasticBandwidth = None
28396
+ self._InFlowMax = None
28397
+ self._OutFlowMax = None
28398
+
28399
+ @property
28400
+ def Region(self):
28401
+ r"""地域
28402
+ 注意:此字段可能返回 null,表示取不到有效值。
28403
+ :rtype: str
28404
+ """
28405
+ return self._Region
28406
+
28407
+ @Region.setter
28408
+ def Region(self, Region):
28409
+ self._Region = Region
28410
+
28411
+ @property
28412
+ def Width(self):
28413
+ r"""分配带宽值 单位Mbps
28414
+ 注意:此字段可能返回 null,表示取不到有效值。
28415
+ :rtype: int
28416
+ """
28417
+ return self._Width
28418
+
28419
+ @Width.setter
28420
+ def Width(self, Width):
28421
+ self._Width = Width
28422
+
28423
+ @property
28424
+ def ElasticSwitch(self):
28425
+ r"""弹性开关
28426
+ 注意:此字段可能返回 null,表示取不到有效值。
28427
+ :rtype: int
28428
+ """
28429
+ return self._ElasticSwitch
28430
+
28431
+ @ElasticSwitch.setter
28432
+ def ElasticSwitch(self, ElasticSwitch):
28433
+ self._ElasticSwitch = ElasticSwitch
28434
+
28435
+ @property
28436
+ def ElasticBandwidth(self):
28437
+ r"""弹性带宽上限,单位Mbps
28438
+ 注意:此字段可能返回 null,表示取不到有效值。
28439
+ :rtype: int
28440
+ """
28441
+ return self._ElasticBandwidth
28442
+
28443
+ @ElasticBandwidth.setter
28444
+ def ElasticBandwidth(self, ElasticBandwidth):
28445
+ self._ElasticBandwidth = ElasticBandwidth
28446
+
28447
+ @property
28448
+ def InFlowMax(self):
28449
+ r"""七天入向峰值带宽,单位bps
28450
+ :rtype: int
28451
+ """
28452
+ return self._InFlowMax
28453
+
28454
+ @InFlowMax.setter
28455
+ def InFlowMax(self, InFlowMax):
28456
+ self._InFlowMax = InFlowMax
28457
+
28458
+ @property
28459
+ def OutFlowMax(self):
28460
+ r"""七天出向峰值带宽,单位bps
28461
+ :rtype: int
28462
+ """
28463
+ return self._OutFlowMax
28464
+
28465
+ @OutFlowMax.setter
28466
+ def OutFlowMax(self, OutFlowMax):
28467
+ self._OutFlowMax = OutFlowMax
28468
+
28469
+
28470
+ def _deserialize(self, params):
28471
+ self._Region = params.get("Region")
28472
+ self._Width = params.get("Width")
28473
+ self._ElasticSwitch = params.get("ElasticSwitch")
28474
+ self._ElasticBandwidth = params.get("ElasticBandwidth")
28475
+ self._InFlowMax = params.get("InFlowMax")
28476
+ self._OutFlowMax = params.get("OutFlowMax")
28477
+ memeber_set = set(params.keys())
28478
+ for name, value in vars(self).items():
28479
+ property_name = name[1:]
28480
+ if property_name in memeber_set:
28481
+ memeber_set.remove(property_name)
28482
+ if len(memeber_set) > 0:
28483
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
28484
+
28485
+
28486
+
28244
28487
  class SetNatFwDnatRuleRequest(AbstractModel):
28245
28488
  r"""SetNatFwDnatRule请求参数结构体
28246
28489
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfw
3
- Version: 3.1.88
3
+ Version: 3.1.94
4
4
  Summary: Tencent Cloud Cfw 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.88
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.94
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.94
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.88