tencentcloud-sdk-python-cfw 3.1.88__tar.gz → 3.1.96__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.96}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud/cfw/v20190904/cfw_client.py +46 -0
  5. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud/cfw/v20190904/cfw_client_async.py +36 -0
  6. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud/cfw/v20190904/models.py +558 -0
  7. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_cfw-3.1.96/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.96}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud/cfw/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud/cfw/v20190904/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfw-3.1.88 → tencentcloud_sdk_python_cfw-3.1.96}/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.96}/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.96
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.96
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.96,<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.96'
@@ -1040,6 +1040,29 @@ class CfwClient(AbstractClient):
1040
1040
  raise TencentCloudSDKException(type(e).__name__, str(e))
1041
1041
 
1042
1042
 
1043
+ def DescribeEdgeIpSimple(self, request):
1044
+ r"""互联网边界防火墙开关列表(轻量)
1045
+
1046
+ :param request: Request instance for DescribeEdgeIpSimple.
1047
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeEdgeIpSimpleRequest`
1048
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeEdgeIpSimpleResponse`
1049
+
1050
+ """
1051
+ try:
1052
+ params = request._serialize()
1053
+ headers = request.headers
1054
+ body = self.call("DescribeEdgeIpSimple", params, headers=headers)
1055
+ response = json.loads(body)
1056
+ model = models.DescribeEdgeIpSimpleResponse()
1057
+ model._deserialize(response["Response"])
1058
+ return model
1059
+ except Exception as e:
1060
+ if isinstance(e, TencentCloudSDKException):
1061
+ raise
1062
+ else:
1063
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1064
+
1065
+
1043
1066
  def DescribeEnterpriseSGRuleProgress(self, request):
1044
1067
  r"""查询新版安全组下发进度
1045
1068
 
@@ -1592,6 +1615,29 @@ class CfwClient(AbstractClient):
1592
1615
  raise TencentCloudSDKException(type(e).__name__, str(e))
1593
1616
 
1594
1617
 
1618
+ def DescribeSerialRegion(self, request):
1619
+ r"""查询串行防火墙地域带宽分配信息
1620
+
1621
+ :param request: Request instance for DescribeSerialRegion.
1622
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeSerialRegionRequest`
1623
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeSerialRegionResponse`
1624
+
1625
+ """
1626
+ try:
1627
+ params = request._serialize()
1628
+ headers = request.headers
1629
+ body = self.call("DescribeSerialRegion", params, headers=headers)
1630
+ response = json.loads(body)
1631
+ model = models.DescribeSerialRegionResponse()
1632
+ model._deserialize(response["Response"])
1633
+ return model
1634
+ except Exception as e:
1635
+ if isinstance(e, TencentCloudSDKException):
1636
+ raise
1637
+ else:
1638
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1639
+
1640
+
1595
1641
  def DescribeSourceAsset(self, request):
1596
1642
  r"""DescribeSourceAsset-查询全部资产信息
1597
1643
 
@@ -819,6 +819,24 @@ class CfwClient(AbstractClient):
819
819
 
820
820
  return await self.call_and_deserialize(**kwargs)
821
821
 
822
+ async def DescribeEdgeIpSimple(
823
+ self,
824
+ request: models.DescribeEdgeIpSimpleRequest,
825
+ opts: Dict = None,
826
+ ) -> models.DescribeEdgeIpSimpleResponse:
827
+ """
828
+ 互联网边界防火墙开关列表(轻量)
829
+ """
830
+
831
+ kwargs = {}
832
+ kwargs["action"] = "DescribeEdgeIpSimple"
833
+ kwargs["params"] = request._serialize()
834
+ kwargs["resp_cls"] = models.DescribeEdgeIpSimpleResponse
835
+ kwargs["headers"] = request.headers
836
+ kwargs["opts"] = opts or {}
837
+
838
+ return await self.call_and_deserialize(**kwargs)
839
+
822
840
  async def DescribeEnterpriseSGRuleProgress(
823
841
  self,
824
842
  request: models.DescribeEnterpriseSGRuleProgressRequest,
@@ -1251,6 +1269,24 @@ class CfwClient(AbstractClient):
1251
1269
 
1252
1270
  return await self.call_and_deserialize(**kwargs)
1253
1271
 
1272
+ async def DescribeSerialRegion(
1273
+ self,
1274
+ request: models.DescribeSerialRegionRequest,
1275
+ opts: Dict = None,
1276
+ ) -> models.DescribeSerialRegionResponse:
1277
+ """
1278
+ 查询串行防火墙地域带宽分配信息
1279
+ """
1280
+
1281
+ kwargs = {}
1282
+ kwargs["action"] = "DescribeSerialRegion"
1283
+ kwargs["params"] = request._serialize()
1284
+ kwargs["resp_cls"] = models.DescribeSerialRegionResponse
1285
+ kwargs["headers"] = request.headers
1286
+ kwargs["opts"] = opts or {}
1287
+
1288
+ return await self.call_and_deserialize(**kwargs)
1289
+
1254
1290
  async def DescribeSourceAsset(
1255
1291
  self,
1256
1292
  request: models.DescribeSourceAssetRequest,
@@ -10443,6 +10443,170 @@ class DescribeDefenseSwitchResponse(AbstractModel):
10443
10443
  self._RequestId = params.get("RequestId")
10444
10444
 
10445
10445
 
10446
+ class DescribeEdgeIpSimpleRequest(AbstractModel):
10447
+ r"""DescribeEdgeIpSimple请求参数结构体
10448
+
10449
+ """
10450
+
10451
+ def __init__(self):
10452
+ r"""
10453
+ :param _Filters: 过滤条件组合
10454
+ :type Filters: list of CommonFilter
10455
+ :param _Limit: 每页条数
10456
+ :type Limit: int
10457
+ :param _Offset: 偏移值
10458
+ :type Offset: int
10459
+ :param _Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
10460
+ :type Order: str
10461
+ :param _By: 排序所用到的字段
10462
+ :type By: str
10463
+ """
10464
+ self._Filters = None
10465
+ self._Limit = None
10466
+ self._Offset = None
10467
+ self._Order = None
10468
+ self._By = None
10469
+
10470
+ @property
10471
+ def Filters(self):
10472
+ r"""过滤条件组合
10473
+ :rtype: list of CommonFilter
10474
+ """
10475
+ return self._Filters
10476
+
10477
+ @Filters.setter
10478
+ def Filters(self, Filters):
10479
+ self._Filters = Filters
10480
+
10481
+ @property
10482
+ def Limit(self):
10483
+ r"""每页条数
10484
+ :rtype: int
10485
+ """
10486
+ return self._Limit
10487
+
10488
+ @Limit.setter
10489
+ def Limit(self, Limit):
10490
+ self._Limit = Limit
10491
+
10492
+ @property
10493
+ def Offset(self):
10494
+ r"""偏移值
10495
+ :rtype: int
10496
+ """
10497
+ return self._Offset
10498
+
10499
+ @Offset.setter
10500
+ def Offset(self, Offset):
10501
+ self._Offset = Offset
10502
+
10503
+ @property
10504
+ def Order(self):
10505
+ r"""desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
10506
+ :rtype: str
10507
+ """
10508
+ return self._Order
10509
+
10510
+ @Order.setter
10511
+ def Order(self, Order):
10512
+ self._Order = Order
10513
+
10514
+ @property
10515
+ def By(self):
10516
+ r"""排序所用到的字段
10517
+ :rtype: str
10518
+ """
10519
+ return self._By
10520
+
10521
+ @By.setter
10522
+ def By(self, By):
10523
+ self._By = By
10524
+
10525
+
10526
+ def _deserialize(self, params):
10527
+ if params.get("Filters") is not None:
10528
+ self._Filters = []
10529
+ for item in params.get("Filters"):
10530
+ obj = CommonFilter()
10531
+ obj._deserialize(item)
10532
+ self._Filters.append(obj)
10533
+ self._Limit = params.get("Limit")
10534
+ self._Offset = params.get("Offset")
10535
+ self._Order = params.get("Order")
10536
+ self._By = params.get("By")
10537
+ memeber_set = set(params.keys())
10538
+ for name, value in vars(self).items():
10539
+ property_name = name[1:]
10540
+ if property_name in memeber_set:
10541
+ memeber_set.remove(property_name)
10542
+ if len(memeber_set) > 0:
10543
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10544
+
10545
+
10546
+
10547
+ class DescribeEdgeIpSimpleResponse(AbstractModel):
10548
+ r"""DescribeEdgeIpSimple返回参数结构体
10549
+
10550
+ """
10551
+
10552
+ def __init__(self):
10553
+ r"""
10554
+ :param _Data: ip 开关列表
10555
+ :type Data: list of EdgeIpInfoSimple
10556
+ :param _Total: ip 开关列表个数
10557
+ :type Total: int
10558
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10559
+ :type RequestId: str
10560
+ """
10561
+ self._Data = None
10562
+ self._Total = None
10563
+ self._RequestId = None
10564
+
10565
+ @property
10566
+ def Data(self):
10567
+ r"""ip 开关列表
10568
+ :rtype: list of EdgeIpInfoSimple
10569
+ """
10570
+ return self._Data
10571
+
10572
+ @Data.setter
10573
+ def Data(self, Data):
10574
+ self._Data = Data
10575
+
10576
+ @property
10577
+ def Total(self):
10578
+ r"""ip 开关列表个数
10579
+ :rtype: int
10580
+ """
10581
+ return self._Total
10582
+
10583
+ @Total.setter
10584
+ def Total(self, Total):
10585
+ self._Total = Total
10586
+
10587
+ @property
10588
+ def RequestId(self):
10589
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10590
+ :rtype: str
10591
+ """
10592
+ return self._RequestId
10593
+
10594
+ @RequestId.setter
10595
+ def RequestId(self, RequestId):
10596
+ self._RequestId = RequestId
10597
+
10598
+
10599
+ def _deserialize(self, params):
10600
+ if params.get("Data") is not None:
10601
+ self._Data = []
10602
+ for item in params.get("Data"):
10603
+ obj = EdgeIpInfoSimple()
10604
+ obj._deserialize(item)
10605
+ self._Data.append(obj)
10606
+ self._Total = params.get("Total")
10607
+ self._RequestId = params.get("RequestId")
10608
+
10609
+
10446
10610
  class DescribeEnterpriseSGRuleProgressRequest(AbstractModel):
10447
10611
  r"""DescribeEnterpriseSGRuleProgress请求参数结构体
10448
10612
 
@@ -14528,6 +14692,130 @@ class DescribeSecurityGroupListResponse(AbstractModel):
14528
14692
  self._RequestId = params.get("RequestId")
14529
14693
 
14530
14694
 
14695
+ class DescribeSerialRegionRequest(AbstractModel):
14696
+ r"""DescribeSerialRegion请求参数结构体
14697
+
14698
+ """
14699
+
14700
+
14701
+ class DescribeSerialRegionResponse(AbstractModel):
14702
+ r"""DescribeSerialRegion返回参数结构体
14703
+
14704
+ """
14705
+
14706
+ def __init__(self):
14707
+ r"""
14708
+ :param _SerialRegionLst: 串行地域带宽分配
14709
+ 注意:此字段可能返回 null,表示取不到有效值。
14710
+ :type SerialRegionLst: list of SerialRegionInfo
14711
+ :param _UnUsedWidth: 剩余可分配通用带宽 单位M
14712
+ 注意:此字段可能返回 null,表示取不到有效值。
14713
+ :type UnUsedWidth: int
14714
+ :param _UnUsedQuota: 可配置实例个数
14715
+ 注意:此字段可能返回 null,表示取不到有效值。
14716
+ :type UnUsedQuota: int
14717
+ :param _BypassWidth: 旁路带宽数据
14718
+ 注意:此字段可能返回 null,表示取不到有效值。
14719
+ :type BypassWidth: int
14720
+ :param _SendBypassWidth: 赠送的旁路带宽数据
14721
+ 注意:此字段可能返回 null,表示取不到有效值。
14722
+ :type SendBypassWidth: int
14723
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14724
+ :type RequestId: str
14725
+ """
14726
+ self._SerialRegionLst = None
14727
+ self._UnUsedWidth = None
14728
+ self._UnUsedQuota = None
14729
+ self._BypassWidth = None
14730
+ self._SendBypassWidth = None
14731
+ self._RequestId = None
14732
+
14733
+ @property
14734
+ def SerialRegionLst(self):
14735
+ r"""串行地域带宽分配
14736
+ 注意:此字段可能返回 null,表示取不到有效值。
14737
+ :rtype: list of SerialRegionInfo
14738
+ """
14739
+ return self._SerialRegionLst
14740
+
14741
+ @SerialRegionLst.setter
14742
+ def SerialRegionLst(self, SerialRegionLst):
14743
+ self._SerialRegionLst = SerialRegionLst
14744
+
14745
+ @property
14746
+ def UnUsedWidth(self):
14747
+ r"""剩余可分配通用带宽 单位M
14748
+ 注意:此字段可能返回 null,表示取不到有效值。
14749
+ :rtype: int
14750
+ """
14751
+ return self._UnUsedWidth
14752
+
14753
+ @UnUsedWidth.setter
14754
+ def UnUsedWidth(self, UnUsedWidth):
14755
+ self._UnUsedWidth = UnUsedWidth
14756
+
14757
+ @property
14758
+ def UnUsedQuota(self):
14759
+ r"""可配置实例个数
14760
+ 注意:此字段可能返回 null,表示取不到有效值。
14761
+ :rtype: int
14762
+ """
14763
+ return self._UnUsedQuota
14764
+
14765
+ @UnUsedQuota.setter
14766
+ def UnUsedQuota(self, UnUsedQuota):
14767
+ self._UnUsedQuota = UnUsedQuota
14768
+
14769
+ @property
14770
+ def BypassWidth(self):
14771
+ r"""旁路带宽数据
14772
+ 注意:此字段可能返回 null,表示取不到有效值。
14773
+ :rtype: int
14774
+ """
14775
+ return self._BypassWidth
14776
+
14777
+ @BypassWidth.setter
14778
+ def BypassWidth(self, BypassWidth):
14779
+ self._BypassWidth = BypassWidth
14780
+
14781
+ @property
14782
+ def SendBypassWidth(self):
14783
+ r"""赠送的旁路带宽数据
14784
+ 注意:此字段可能返回 null,表示取不到有效值。
14785
+ :rtype: int
14786
+ """
14787
+ return self._SendBypassWidth
14788
+
14789
+ @SendBypassWidth.setter
14790
+ def SendBypassWidth(self, SendBypassWidth):
14791
+ self._SendBypassWidth = SendBypassWidth
14792
+
14793
+ @property
14794
+ def RequestId(self):
14795
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14796
+ :rtype: str
14797
+ """
14798
+ return self._RequestId
14799
+
14800
+ @RequestId.setter
14801
+ def RequestId(self, RequestId):
14802
+ self._RequestId = RequestId
14803
+
14804
+
14805
+ def _deserialize(self, params):
14806
+ if params.get("SerialRegionLst") is not None:
14807
+ self._SerialRegionLst = []
14808
+ for item in params.get("SerialRegionLst"):
14809
+ obj = SerialRegionInfo()
14810
+ obj._deserialize(item)
14811
+ self._SerialRegionLst.append(obj)
14812
+ self._UnUsedWidth = params.get("UnUsedWidth")
14813
+ self._UnUsedQuota = params.get("UnUsedQuota")
14814
+ self._BypassWidth = params.get("BypassWidth")
14815
+ self._SendBypassWidth = params.get("SendBypassWidth")
14816
+ self._RequestId = params.get("RequestId")
14817
+
14818
+
14531
14819
  class DescribeSourceAssetRequest(AbstractModel):
14532
14820
  r"""DescribeSourceAsset请求参数结构体
14533
14821
 
@@ -16543,6 +16831,157 @@ class EdgeIpInfo(AbstractModel):
16543
16831
 
16544
16832
 
16545
16833
 
16834
+ class EdgeIpInfoSimple(AbstractModel):
16835
+ r"""边界防火墙公网IP开关列表
16836
+
16837
+ """
16838
+
16839
+ def __init__(self):
16840
+ r"""
16841
+ :param _PublicIp: 公网IP
16842
+ :type PublicIp: str
16843
+ :param _PublicIpType: 公网 IP 类型 1 公网,2 弹性,3 弹性ipv6,4 anycastIP, 6 HighQualityEIP
16844
+ :type PublicIpType: int
16845
+ :param _InstanceId: 实例ID
16846
+ :type InstanceId: str
16847
+ :param _InstanceName: 实例名
16848
+ :type InstanceName: str
16849
+ :param _Status: 开关状态
16850
+ 0 : 关闭
16851
+ 1 : 开启
16852
+ 2 : 开启中
16853
+ 3 : 关闭中
16854
+ 4 : 异常
16855
+ :type Status: int
16856
+ :param _SwitchMode: 0 : 旁路 1 : 串行 2 : 正在模式切换
16857
+ :type SwitchMode: int
16858
+ :param _Region: 地域
16859
+ :type Region: str
16860
+ :param _AssetType: 资产类型
16861
+ :type AssetType: str
16862
+ """
16863
+ self._PublicIp = None
16864
+ self._PublicIpType = None
16865
+ self._InstanceId = None
16866
+ self._InstanceName = None
16867
+ self._Status = None
16868
+ self._SwitchMode = None
16869
+ self._Region = None
16870
+ self._AssetType = None
16871
+
16872
+ @property
16873
+ def PublicIp(self):
16874
+ r"""公网IP
16875
+ :rtype: str
16876
+ """
16877
+ return self._PublicIp
16878
+
16879
+ @PublicIp.setter
16880
+ def PublicIp(self, PublicIp):
16881
+ self._PublicIp = PublicIp
16882
+
16883
+ @property
16884
+ def PublicIpType(self):
16885
+ r"""公网 IP 类型 1 公网,2 弹性,3 弹性ipv6,4 anycastIP, 6 HighQualityEIP
16886
+ :rtype: int
16887
+ """
16888
+ return self._PublicIpType
16889
+
16890
+ @PublicIpType.setter
16891
+ def PublicIpType(self, PublicIpType):
16892
+ self._PublicIpType = PublicIpType
16893
+
16894
+ @property
16895
+ def InstanceId(self):
16896
+ r"""实例ID
16897
+ :rtype: str
16898
+ """
16899
+ return self._InstanceId
16900
+
16901
+ @InstanceId.setter
16902
+ def InstanceId(self, InstanceId):
16903
+ self._InstanceId = InstanceId
16904
+
16905
+ @property
16906
+ def InstanceName(self):
16907
+ r"""实例名
16908
+ :rtype: str
16909
+ """
16910
+ return self._InstanceName
16911
+
16912
+ @InstanceName.setter
16913
+ def InstanceName(self, InstanceName):
16914
+ self._InstanceName = InstanceName
16915
+
16916
+ @property
16917
+ def Status(self):
16918
+ r"""开关状态
16919
+ 0 : 关闭
16920
+ 1 : 开启
16921
+ 2 : 开启中
16922
+ 3 : 关闭中
16923
+ 4 : 异常
16924
+ :rtype: int
16925
+ """
16926
+ return self._Status
16927
+
16928
+ @Status.setter
16929
+ def Status(self, Status):
16930
+ self._Status = Status
16931
+
16932
+ @property
16933
+ def SwitchMode(self):
16934
+ r"""0 : 旁路 1 : 串行 2 : 正在模式切换
16935
+ :rtype: int
16936
+ """
16937
+ return self._SwitchMode
16938
+
16939
+ @SwitchMode.setter
16940
+ def SwitchMode(self, SwitchMode):
16941
+ self._SwitchMode = SwitchMode
16942
+
16943
+ @property
16944
+ def Region(self):
16945
+ r"""地域
16946
+ :rtype: str
16947
+ """
16948
+ return self._Region
16949
+
16950
+ @Region.setter
16951
+ def Region(self, Region):
16952
+ self._Region = Region
16953
+
16954
+ @property
16955
+ def AssetType(self):
16956
+ r"""资产类型
16957
+ :rtype: str
16958
+ """
16959
+ return self._AssetType
16960
+
16961
+ @AssetType.setter
16962
+ def AssetType(self, AssetType):
16963
+ self._AssetType = AssetType
16964
+
16965
+
16966
+ def _deserialize(self, params):
16967
+ self._PublicIp = params.get("PublicIp")
16968
+ self._PublicIpType = params.get("PublicIpType")
16969
+ self._InstanceId = params.get("InstanceId")
16970
+ self._InstanceName = params.get("InstanceName")
16971
+ self._Status = params.get("Status")
16972
+ self._SwitchMode = params.get("SwitchMode")
16973
+ self._Region = params.get("Region")
16974
+ self._AssetType = params.get("AssetType")
16975
+ memeber_set = set(params.keys())
16976
+ for name, value in vars(self).items():
16977
+ property_name = name[1:]
16978
+ if property_name in memeber_set:
16979
+ memeber_set.remove(property_name)
16980
+ if len(memeber_set) > 0:
16981
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16982
+
16983
+
16984
+
16546
16985
  class EdgeIpSwitch(AbstractModel):
16547
16986
  r"""开启、关闭 防火墙互联网边界开关
16548
16987
 
@@ -28241,6 +28680,125 @@ class SequenceData(AbstractModel):
28241
28680
 
28242
28681
 
28243
28682
 
28683
+ class SerialRegionInfo(AbstractModel):
28684
+ r"""防火墙串行地域带宽分配情况
28685
+
28686
+ """
28687
+
28688
+ def __init__(self):
28689
+ r"""
28690
+ :param _Region: 地域
28691
+ 注意:此字段可能返回 null,表示取不到有效值。
28692
+ :type Region: str
28693
+ :param _Width: 分配带宽值 单位Mbps
28694
+ 注意:此字段可能返回 null,表示取不到有效值。
28695
+ :type Width: int
28696
+ :param _ElasticSwitch: 弹性开关
28697
+ 注意:此字段可能返回 null,表示取不到有效值。
28698
+ :type ElasticSwitch: int
28699
+ :param _ElasticBandwidth: 弹性带宽上限,单位Mbps
28700
+ 注意:此字段可能返回 null,表示取不到有效值。
28701
+ :type ElasticBandwidth: int
28702
+ :param _InFlowMax: 七天入向峰值带宽,单位bps
28703
+ :type InFlowMax: int
28704
+ :param _OutFlowMax: 七天出向峰值带宽,单位bps
28705
+ :type OutFlowMax: int
28706
+ """
28707
+ self._Region = None
28708
+ self._Width = None
28709
+ self._ElasticSwitch = None
28710
+ self._ElasticBandwidth = None
28711
+ self._InFlowMax = None
28712
+ self._OutFlowMax = None
28713
+
28714
+ @property
28715
+ def Region(self):
28716
+ r"""地域
28717
+ 注意:此字段可能返回 null,表示取不到有效值。
28718
+ :rtype: str
28719
+ """
28720
+ return self._Region
28721
+
28722
+ @Region.setter
28723
+ def Region(self, Region):
28724
+ self._Region = Region
28725
+
28726
+ @property
28727
+ def Width(self):
28728
+ r"""分配带宽值 单位Mbps
28729
+ 注意:此字段可能返回 null,表示取不到有效值。
28730
+ :rtype: int
28731
+ """
28732
+ return self._Width
28733
+
28734
+ @Width.setter
28735
+ def Width(self, Width):
28736
+ self._Width = Width
28737
+
28738
+ @property
28739
+ def ElasticSwitch(self):
28740
+ r"""弹性开关
28741
+ 注意:此字段可能返回 null,表示取不到有效值。
28742
+ :rtype: int
28743
+ """
28744
+ return self._ElasticSwitch
28745
+
28746
+ @ElasticSwitch.setter
28747
+ def ElasticSwitch(self, ElasticSwitch):
28748
+ self._ElasticSwitch = ElasticSwitch
28749
+
28750
+ @property
28751
+ def ElasticBandwidth(self):
28752
+ r"""弹性带宽上限,单位Mbps
28753
+ 注意:此字段可能返回 null,表示取不到有效值。
28754
+ :rtype: int
28755
+ """
28756
+ return self._ElasticBandwidth
28757
+
28758
+ @ElasticBandwidth.setter
28759
+ def ElasticBandwidth(self, ElasticBandwidth):
28760
+ self._ElasticBandwidth = ElasticBandwidth
28761
+
28762
+ @property
28763
+ def InFlowMax(self):
28764
+ r"""七天入向峰值带宽,单位bps
28765
+ :rtype: int
28766
+ """
28767
+ return self._InFlowMax
28768
+
28769
+ @InFlowMax.setter
28770
+ def InFlowMax(self, InFlowMax):
28771
+ self._InFlowMax = InFlowMax
28772
+
28773
+ @property
28774
+ def OutFlowMax(self):
28775
+ r"""七天出向峰值带宽,单位bps
28776
+ :rtype: int
28777
+ """
28778
+ return self._OutFlowMax
28779
+
28780
+ @OutFlowMax.setter
28781
+ def OutFlowMax(self, OutFlowMax):
28782
+ self._OutFlowMax = OutFlowMax
28783
+
28784
+
28785
+ def _deserialize(self, params):
28786
+ self._Region = params.get("Region")
28787
+ self._Width = params.get("Width")
28788
+ self._ElasticSwitch = params.get("ElasticSwitch")
28789
+ self._ElasticBandwidth = params.get("ElasticBandwidth")
28790
+ self._InFlowMax = params.get("InFlowMax")
28791
+ self._OutFlowMax = params.get("OutFlowMax")
28792
+ memeber_set = set(params.keys())
28793
+ for name, value in vars(self).items():
28794
+ property_name = name[1:]
28795
+ if property_name in memeber_set:
28796
+ memeber_set.remove(property_name)
28797
+ if len(memeber_set) > 0:
28798
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
28799
+
28800
+
28801
+
28244
28802
  class SetNatFwDnatRuleRequest(AbstractModel):
28245
28803
  r"""SetNatFwDnatRule请求参数结构体
28246
28804
 
@@ -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.96
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.96
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.96
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.88