tencentcloud-sdk-python-cfw 3.1.79__tar.gz → 3.1.83__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.79 → tencentcloud_sdk_python_cfw-3.1.83}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud/cfw/v20190904/models.py +225 -48
  5. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cfw-3.1.83/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cfw-3.1.79/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud/cfw/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud/cfw/v20190904/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud/cfw/v20190904/cfw_client.py +0 -0
  13. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud/cfw/v20190904/cfw_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.83}/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.79
3
+ Version: 3.1.83
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.79
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.83
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.79,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.83,<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.79'
17
+ __version__ = '3.1.83'
@@ -2379,49 +2379,48 @@ class ClusterSwitchDetail(AbstractModel):
2379
2379
 
2380
2380
  def __init__(self):
2381
2381
  r"""
2382
- :param _InsObj: 实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等
2382
+ :param _InsObj: <p>实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等</p>
2383
2383
  :type InsObj: str
2384
- :param _ObjName: 实例对象名称
2384
+ :param _ObjName: <p>实例对象名称</p>
2385
2385
  :type ObjName: str
2386
- :param _FwType: 防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙
2386
+ :param _FwType: <p>防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙</p>
2387
2387
  :type FwType: str
2388
- :param _AssetType: 资产类型,ccn:ccn实例类型;nat:nat网关类型
2388
+ :param _AssetType: <p>资产类型,ccn:ccn实例类型;nat:nat网关类型</p>
2389
2389
  :type AssetType: str
2390
- :param _Region: 地域
2390
+ :param _Region: <p>地域</p>
2391
2391
  :type Region: str
2392
- :param _Status: 开关状态
2393
- 0 : 关闭
2394
- 1 : 开启
2395
- 2 : 开启中
2396
- 3 : 关闭中
2397
- 4 : 异常
2392
+ :param _Status: <p>开关状态<br>0 : 关闭<br>1 : 开启<br>2 : 开启中<br>3 : 关闭中<br>4 : 异常</p>
2398
2393
  :type Status: int
2399
- :param _SwitchMode: 开关接入模式,1:自动接入;2,手动接入,0:未选择
2394
+ :param _SwitchMode: <p>开关接入模式,1:自动接入;2,手动接入,0:未选择</p>
2400
2395
  :type SwitchMode: int
2401
- :param _NonCluster: 实例对象是否处于非集群接入场景(主备模式)
2396
+ :param _NonCluster: <p>实例对象是否处于非集群接入场景(主备模式)</p>
2402
2397
  :type NonCluster: int
2403
- :param _IpVersion: ip版本,0:ipv4;1:ipv6
2398
+ :param _IpVersion: <p>ip版本,0:ipv4;1:ipv6</p>
2404
2399
  :type IpVersion: int
2405
- :param _AttachIns: 关联实例
2400
+ :param _AttachIns: <p>关联实例</p>
2406
2401
  注意:此字段可能返回 null,表示取不到有效值。
2407
2402
  :type AttachIns: list of AttachInsInfo
2408
- :param _Endpoints: 引流私有网络端点信息
2403
+ :param _Endpoints: <p>引流私有网络端点信息</p>
2409
2404
  注意:此字段可能返回 null,表示取不到有效值。
2410
2405
  :type Endpoints: list of EndpointInfo
2411
- :param _Idpsaction: 入侵防护模式,0:观察;1:拦截;2:严格;3:关闭
2406
+ :param _Idpsaction: <p>入侵防护模式,0:观察;1:拦截;2:严格;3:关闭</p>
2412
2407
  :type Idpsaction: int
2413
- :param _TransEnable: //透明模式开关,0:未开启,1:已开启
2408
+ :param _TransEnable: <p>//透明模式开关,0:未开启,1:已开启</p>
2414
2409
  :type TransEnable: int
2415
- :param _Enable: 开关状态 0关闭 1开启
2410
+ :param _Enable: <p>开关状态 0关闭 1开启</p>
2416
2411
  :type Enable: int
2417
- :param _RoutingMode: 路由模式:0:多路由表,1:策略路由
2412
+ :param _RoutingMode: <p>路由模式:0:多路由表,1:策略路由</p>
2418
2413
  :type RoutingMode: int
2419
- :param _IsPeer: 是否跨租户开关 1是 0不是
2414
+ :param _IsPeer: <p>是否跨租户开关 1是 0不是</p>
2420
2415
  :type IsPeer: int
2421
- :param _PeerAppid: 跨租户appid
2416
+ :param _PeerAppid: <p>跨租户appid</p>
2422
2417
  :type PeerAppid: str
2423
- :param _PeerStatus: 跨租户操作状态 1不允许操作 0可以
2418
+ :param _PeerStatus: <p>跨租户操作状态 1不允许操作 0可以</p>
2424
2419
  :type PeerStatus: int
2420
+ :param _Bypass: <p>Bypass状态</p>
2421
+ :type Bypass: int
2422
+ :param _Progress: <p>防火墙开关操作时的进度状态:</p><p>// 开启 — 自动模式(3步)<br>&quot;AUTO_OPEN_ORCHESTRATING&quot; // 步骤1: 预编排策略路由<br>&quot;AUTO_OPEN_CREATING_RESOURCES&quot; // 步骤2: 创建引流网络和资源<br>&quot;AUTO_OPEN_PUSHING_ROUTES&quot; // 步骤3: 创建策略路由</p><p>// 开启 — 手动模式(1步)<br>&quot;MANUAL_OPEN_CREATING_RESOURCES&quot; // 步骤1: 创建引流网络和资源</p><p>// 关闭 — 自动模式(2步)<br>&quot;AUTO_CLOSE_DELETING_ROUTES&quot; // 步骤1: 删除策略路由<br>&quot;AUTO_CLOSE_DELETING_RESOURCES&quot; // 步骤2: 删除引流网络和资源<br>// 关闭 — 手动模式(1步)<br>&quot;MANUAL_CLOSE_DELETING_RESOURCES&quot; // 步骤1: 删除引流网络和资源</p><p>// 修改 — 自动模式(3步)<br>&quot;AUTO_MODIFY_ORCHESTRATING&quot; // 步骤1: 预编排策略路由<br>&quot;AUTO_MODIFY_DELETING_ROUTES&quot; // 步骤2: 删除旧策略路由<br>&quot;AUTO_MODIFY_PUSHING_ROUTES&quot; // 步骤3: 创建新策略路由</p><p>// 修改 — 手动模式(1步,仅 VPC 防火墙存在手动模式修改)<br>&quot;MANUAL_MODIFY_UPDATING_RESOURCES&quot; // 步骤1: 更新引流网络和资源</p>
2423
+ :type Progress: str
2425
2424
  """
2426
2425
  self._InsObj = None
2427
2426
  self._ObjName = None
@@ -2441,10 +2440,12 @@ class ClusterSwitchDetail(AbstractModel):
2441
2440
  self._IsPeer = None
2442
2441
  self._PeerAppid = None
2443
2442
  self._PeerStatus = None
2443
+ self._Bypass = None
2444
+ self._Progress = None
2444
2445
 
2445
2446
  @property
2446
2447
  def InsObj(self):
2447
- r"""实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等
2448
+ r"""<p>实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等</p>
2448
2449
  :rtype: str
2449
2450
  """
2450
2451
  return self._InsObj
@@ -2455,7 +2456,7 @@ class ClusterSwitchDetail(AbstractModel):
2455
2456
 
2456
2457
  @property
2457
2458
  def ObjName(self):
2458
- r"""实例对象名称
2459
+ r"""<p>实例对象名称</p>
2459
2460
  :rtype: str
2460
2461
  """
2461
2462
  return self._ObjName
@@ -2466,7 +2467,7 @@ class ClusterSwitchDetail(AbstractModel):
2466
2467
 
2467
2468
  @property
2468
2469
  def FwType(self):
2469
- r"""防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙
2470
+ r"""<p>防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙</p>
2470
2471
  :rtype: str
2471
2472
  """
2472
2473
  return self._FwType
@@ -2477,7 +2478,7 @@ class ClusterSwitchDetail(AbstractModel):
2477
2478
 
2478
2479
  @property
2479
2480
  def AssetType(self):
2480
- r"""资产类型,ccn:ccn实例类型;nat:nat网关类型
2481
+ r"""<p>资产类型,ccn:ccn实例类型;nat:nat网关类型</p>
2481
2482
  :rtype: str
2482
2483
  """
2483
2484
  return self._AssetType
@@ -2488,7 +2489,7 @@ class ClusterSwitchDetail(AbstractModel):
2488
2489
 
2489
2490
  @property
2490
2491
  def Region(self):
2491
- r"""地域
2492
+ r"""<p>地域</p>
2492
2493
  :rtype: str
2493
2494
  """
2494
2495
  return self._Region
@@ -2499,12 +2500,7 @@ class ClusterSwitchDetail(AbstractModel):
2499
2500
 
2500
2501
  @property
2501
2502
  def Status(self):
2502
- r"""开关状态
2503
- 0 : 关闭
2504
- 1 : 开启
2505
- 2 : 开启中
2506
- 3 : 关闭中
2507
- 4 : 异常
2503
+ r"""<p>开关状态<br>0 : 关闭<br>1 : 开启<br>2 : 开启中<br>3 : 关闭中<br>4 : 异常</p>
2508
2504
  :rtype: int
2509
2505
  """
2510
2506
  return self._Status
@@ -2515,7 +2511,7 @@ class ClusterSwitchDetail(AbstractModel):
2515
2511
 
2516
2512
  @property
2517
2513
  def SwitchMode(self):
2518
- r"""开关接入模式,1:自动接入;2,手动接入,0:未选择
2514
+ r"""<p>开关接入模式,1:自动接入;2,手动接入,0:未选择</p>
2519
2515
  :rtype: int
2520
2516
  """
2521
2517
  return self._SwitchMode
@@ -2526,7 +2522,7 @@ class ClusterSwitchDetail(AbstractModel):
2526
2522
 
2527
2523
  @property
2528
2524
  def NonCluster(self):
2529
- r"""实例对象是否处于非集群接入场景(主备模式)
2525
+ r"""<p>实例对象是否处于非集群接入场景(主备模式)</p>
2530
2526
  :rtype: int
2531
2527
  """
2532
2528
  return self._NonCluster
@@ -2537,7 +2533,7 @@ class ClusterSwitchDetail(AbstractModel):
2537
2533
 
2538
2534
  @property
2539
2535
  def IpVersion(self):
2540
- r"""ip版本,0:ipv4;1:ipv6
2536
+ r"""<p>ip版本,0:ipv4;1:ipv6</p>
2541
2537
  :rtype: int
2542
2538
  """
2543
2539
  return self._IpVersion
@@ -2548,7 +2544,7 @@ class ClusterSwitchDetail(AbstractModel):
2548
2544
 
2549
2545
  @property
2550
2546
  def AttachIns(self):
2551
- r"""关联实例
2547
+ r"""<p>关联实例</p>
2552
2548
  注意:此字段可能返回 null,表示取不到有效值。
2553
2549
  :rtype: list of AttachInsInfo
2554
2550
  """
@@ -2560,7 +2556,7 @@ class ClusterSwitchDetail(AbstractModel):
2560
2556
 
2561
2557
  @property
2562
2558
  def Endpoints(self):
2563
- r"""引流私有网络端点信息
2559
+ r"""<p>引流私有网络端点信息</p>
2564
2560
  注意:此字段可能返回 null,表示取不到有效值。
2565
2561
  :rtype: list of EndpointInfo
2566
2562
  """
@@ -2572,7 +2568,7 @@ class ClusterSwitchDetail(AbstractModel):
2572
2568
 
2573
2569
  @property
2574
2570
  def Idpsaction(self):
2575
- r"""入侵防护模式,0:观察;1:拦截;2:严格;3:关闭
2571
+ r"""<p>入侵防护模式,0:观察;1:拦截;2:严格;3:关闭</p>
2576
2572
  :rtype: int
2577
2573
  """
2578
2574
  return self._Idpsaction
@@ -2583,7 +2579,7 @@ class ClusterSwitchDetail(AbstractModel):
2583
2579
 
2584
2580
  @property
2585
2581
  def TransEnable(self):
2586
- r"""//透明模式开关,0:未开启,1:已开启
2582
+ r"""<p>//透明模式开关,0:未开启,1:已开启</p>
2587
2583
  :rtype: int
2588
2584
  """
2589
2585
  return self._TransEnable
@@ -2594,7 +2590,7 @@ class ClusterSwitchDetail(AbstractModel):
2594
2590
 
2595
2591
  @property
2596
2592
  def Enable(self):
2597
- r"""开关状态 0关闭 1开启
2593
+ r"""<p>开关状态 0关闭 1开启</p>
2598
2594
  :rtype: int
2599
2595
  """
2600
2596
  return self._Enable
@@ -2605,7 +2601,7 @@ class ClusterSwitchDetail(AbstractModel):
2605
2601
 
2606
2602
  @property
2607
2603
  def RoutingMode(self):
2608
- r"""路由模式:0:多路由表,1:策略路由
2604
+ r"""<p>路由模式:0:多路由表,1:策略路由</p>
2609
2605
  :rtype: int
2610
2606
  """
2611
2607
  return self._RoutingMode
@@ -2616,7 +2612,7 @@ class ClusterSwitchDetail(AbstractModel):
2616
2612
 
2617
2613
  @property
2618
2614
  def IsPeer(self):
2619
- r"""是否跨租户开关 1是 0不是
2615
+ r"""<p>是否跨租户开关 1是 0不是</p>
2620
2616
  :rtype: int
2621
2617
  """
2622
2618
  return self._IsPeer
@@ -2627,7 +2623,7 @@ class ClusterSwitchDetail(AbstractModel):
2627
2623
 
2628
2624
  @property
2629
2625
  def PeerAppid(self):
2630
- r"""跨租户appid
2626
+ r"""<p>跨租户appid</p>
2631
2627
  :rtype: str
2632
2628
  """
2633
2629
  return self._PeerAppid
@@ -2638,7 +2634,7 @@ class ClusterSwitchDetail(AbstractModel):
2638
2634
 
2639
2635
  @property
2640
2636
  def PeerStatus(self):
2641
- r"""跨租户操作状态 1不允许操作 0可以
2637
+ r"""<p>跨租户操作状态 1不允许操作 0可以</p>
2642
2638
  :rtype: int
2643
2639
  """
2644
2640
  return self._PeerStatus
@@ -2647,6 +2643,28 @@ class ClusterSwitchDetail(AbstractModel):
2647
2643
  def PeerStatus(self, PeerStatus):
2648
2644
  self._PeerStatus = PeerStatus
2649
2645
 
2646
+ @property
2647
+ def Bypass(self):
2648
+ r"""<p>Bypass状态</p>
2649
+ :rtype: int
2650
+ """
2651
+ return self._Bypass
2652
+
2653
+ @Bypass.setter
2654
+ def Bypass(self, Bypass):
2655
+ self._Bypass = Bypass
2656
+
2657
+ @property
2658
+ def Progress(self):
2659
+ r"""<p>防火墙开关操作时的进度状态:</p><p>// 开启 — 自动模式(3步)<br>&quot;AUTO_OPEN_ORCHESTRATING&quot; // 步骤1: 预编排策略路由<br>&quot;AUTO_OPEN_CREATING_RESOURCES&quot; // 步骤2: 创建引流网络和资源<br>&quot;AUTO_OPEN_PUSHING_ROUTES&quot; // 步骤3: 创建策略路由</p><p>// 开启 — 手动模式(1步)<br>&quot;MANUAL_OPEN_CREATING_RESOURCES&quot; // 步骤1: 创建引流网络和资源</p><p>// 关闭 — 自动模式(2步)<br>&quot;AUTO_CLOSE_DELETING_ROUTES&quot; // 步骤1: 删除策略路由<br>&quot;AUTO_CLOSE_DELETING_RESOURCES&quot; // 步骤2: 删除引流网络和资源<br>// 关闭 — 手动模式(1步)<br>&quot;MANUAL_CLOSE_DELETING_RESOURCES&quot; // 步骤1: 删除引流网络和资源</p><p>// 修改 — 自动模式(3步)<br>&quot;AUTO_MODIFY_ORCHESTRATING&quot; // 步骤1: 预编排策略路由<br>&quot;AUTO_MODIFY_DELETING_ROUTES&quot; // 步骤2: 删除旧策略路由<br>&quot;AUTO_MODIFY_PUSHING_ROUTES&quot; // 步骤3: 创建新策略路由</p><p>// 修改 — 手动模式(1步,仅 VPC 防火墙存在手动模式修改)<br>&quot;MANUAL_MODIFY_UPDATING_RESOURCES&quot; // 步骤1: 更新引流网络和资源</p>
2660
+ :rtype: str
2661
+ """
2662
+ return self._Progress
2663
+
2664
+ @Progress.setter
2665
+ def Progress(self, Progress):
2666
+ self._Progress = Progress
2667
+
2650
2668
 
2651
2669
  def _deserialize(self, params):
2652
2670
  self._InsObj = params.get("InsObj")
@@ -2677,6 +2695,8 @@ class ClusterSwitchDetail(AbstractModel):
2677
2695
  self._IsPeer = params.get("IsPeer")
2678
2696
  self._PeerAppid = params.get("PeerAppid")
2679
2697
  self._PeerStatus = params.get("PeerStatus")
2698
+ self._Bypass = params.get("Bypass")
2699
+ self._Progress = params.get("Progress")
2680
2700
  memeber_set = set(params.keys())
2681
2701
  for name, value in vars(self).items():
2682
2702
  property_name = name[1:]
@@ -10196,11 +10216,14 @@ class DescribeClusterVpcFwSwitchsResponse(AbstractModel):
10196
10216
  :param _Data: 防火墙开关列表
10197
10217
  注意:此字段可能返回 null,表示取不到有效值。
10198
10218
  :type Data: list of ClusterSwitchDetail
10219
+ :param _FailData: 开关开启失败列表
10220
+ :type FailData: list of SwitchFailInfo
10199
10221
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10200
10222
  :type RequestId: str
10201
10223
  """
10202
10224
  self._Total = None
10203
10225
  self._Data = None
10226
+ self._FailData = None
10204
10227
  self._RequestId = None
10205
10228
 
10206
10229
  @property
@@ -10226,6 +10249,17 @@ class DescribeClusterVpcFwSwitchsResponse(AbstractModel):
10226
10249
  def Data(self, Data):
10227
10250
  self._Data = Data
10228
10251
 
10252
+ @property
10253
+ def FailData(self):
10254
+ r"""开关开启失败列表
10255
+ :rtype: list of SwitchFailInfo
10256
+ """
10257
+ return self._FailData
10258
+
10259
+ @FailData.setter
10260
+ def FailData(self, FailData):
10261
+ self._FailData = FailData
10262
+
10229
10263
  @property
10230
10264
  def RequestId(self):
10231
10265
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -10246,6 +10280,12 @@ class DescribeClusterVpcFwSwitchsResponse(AbstractModel):
10246
10280
  obj = ClusterSwitchDetail()
10247
10281
  obj._deserialize(item)
10248
10282
  self._Data.append(obj)
10283
+ if params.get("FailData") is not None:
10284
+ self._FailData = []
10285
+ for item in params.get("FailData"):
10286
+ obj = SwitchFailInfo()
10287
+ obj._deserialize(item)
10288
+ self._FailData.append(obj)
10249
10289
  self._RequestId = params.get("RequestId")
10250
10290
 
10251
10291
 
@@ -13154,17 +13194,20 @@ class DescribeNatFwInstanceResponse(AbstractModel):
13154
13194
 
13155
13195
  def __init__(self):
13156
13196
  r"""
13157
- :param _NatinsLst: 实例数组
13197
+ :param _NatinsLst: <p>实例数组</p>
13158
13198
  :type NatinsLst: list of NatFwInstance
13199
+ :param _NatClusterLst: <p>nat ccn集群防火墙列表</p>
13200
+ :type NatClusterLst: list of NatClusterInfo
13159
13201
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13160
13202
  :type RequestId: str
13161
13203
  """
13162
13204
  self._NatinsLst = None
13205
+ self._NatClusterLst = None
13163
13206
  self._RequestId = None
13164
13207
 
13165
13208
  @property
13166
13209
  def NatinsLst(self):
13167
- r"""实例数组
13210
+ r"""<p>实例数组</p>
13168
13211
  :rtype: list of NatFwInstance
13169
13212
  """
13170
13213
  return self._NatinsLst
@@ -13173,6 +13216,17 @@ class DescribeNatFwInstanceResponse(AbstractModel):
13173
13216
  def NatinsLst(self, NatinsLst):
13174
13217
  self._NatinsLst = NatinsLst
13175
13218
 
13219
+ @property
13220
+ def NatClusterLst(self):
13221
+ r"""<p>nat ccn集群防火墙列表</p>
13222
+ :rtype: list of NatClusterInfo
13223
+ """
13224
+ return self._NatClusterLst
13225
+
13226
+ @NatClusterLst.setter
13227
+ def NatClusterLst(self, NatClusterLst):
13228
+ self._NatClusterLst = NatClusterLst
13229
+
13176
13230
  @property
13177
13231
  def RequestId(self):
13178
13232
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -13192,6 +13246,12 @@ class DescribeNatFwInstanceResponse(AbstractModel):
13192
13246
  obj = NatFwInstance()
13193
13247
  obj._deserialize(item)
13194
13248
  self._NatinsLst.append(obj)
13249
+ if params.get("NatClusterLst") is not None:
13250
+ self._NatClusterLst = []
13251
+ for item in params.get("NatClusterLst"):
13252
+ obj = NatClusterInfo()
13253
+ obj._deserialize(item)
13254
+ self._NatClusterLst.append(obj)
13195
13255
  self._RequestId = params.get("RequestId")
13196
13256
 
13197
13257
 
@@ -23531,6 +23591,57 @@ class NDRAssetServiceStats(AbstractModel):
23531
23591
 
23532
23592
 
23533
23593
 
23594
+ class NatClusterInfo(AbstractModel):
23595
+ r"""NAT集群模式开关信息
23596
+
23597
+ """
23598
+
23599
+ def __init__(self):
23600
+ r"""
23601
+ :param _NatInsId: <p>nat网关ID</p>
23602
+ :type NatInsId: str
23603
+ :param _NatInsName: <p>nat网关名称</p>
23604
+ :type NatInsName: str
23605
+ """
23606
+ self._NatInsId = None
23607
+ self._NatInsName = None
23608
+
23609
+ @property
23610
+ def NatInsId(self):
23611
+ r"""<p>nat网关ID</p>
23612
+ :rtype: str
23613
+ """
23614
+ return self._NatInsId
23615
+
23616
+ @NatInsId.setter
23617
+ def NatInsId(self, NatInsId):
23618
+ self._NatInsId = NatInsId
23619
+
23620
+ @property
23621
+ def NatInsName(self):
23622
+ r"""<p>nat网关名称</p>
23623
+ :rtype: str
23624
+ """
23625
+ return self._NatInsName
23626
+
23627
+ @NatInsName.setter
23628
+ def NatInsName(self, NatInsName):
23629
+ self._NatInsName = NatInsName
23630
+
23631
+
23632
+ def _deserialize(self, params):
23633
+ self._NatInsId = params.get("NatInsId")
23634
+ self._NatInsName = params.get("NatInsName")
23635
+ memeber_set = set(params.keys())
23636
+ for name, value in vars(self).items():
23637
+ property_name = name[1:]
23638
+ if property_name in memeber_set:
23639
+ memeber_set.remove(property_name)
23640
+ if len(memeber_set) > 0:
23641
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23642
+
23643
+
23644
+
23534
23645
  class NatFwEipsInfo(AbstractModel):
23535
23646
  r"""Nat防火墙弹性公网ip列表
23536
23647
 
@@ -28900,6 +29011,72 @@ class SwitchError(AbstractModel):
28900
29011
 
28901
29012
 
28902
29013
 
29014
+ class SwitchFailInfo(AbstractModel):
29015
+ r"""开关开启错误码数据
29016
+
29017
+ """
29018
+
29019
+ def __init__(self):
29020
+ r"""
29021
+ :param _Id: 自增唯一ID
29022
+ :type Id: int
29023
+ :param _Name: 开关名称
29024
+ :type Name: str
29025
+ :param _Status: 防火墙开关变动状态,小于0
29026
+ :type Status: int
29027
+ """
29028
+ self._Id = None
29029
+ self._Name = None
29030
+ self._Status = None
29031
+
29032
+ @property
29033
+ def Id(self):
29034
+ r"""自增唯一ID
29035
+ :rtype: int
29036
+ """
29037
+ return self._Id
29038
+
29039
+ @Id.setter
29040
+ def Id(self, Id):
29041
+ self._Id = Id
29042
+
29043
+ @property
29044
+ def Name(self):
29045
+ r"""开关名称
29046
+ :rtype: str
29047
+ """
29048
+ return self._Name
29049
+
29050
+ @Name.setter
29051
+ def Name(self, Name):
29052
+ self._Name = Name
29053
+
29054
+ @property
29055
+ def Status(self):
29056
+ r"""防火墙开关变动状态,小于0
29057
+ :rtype: int
29058
+ """
29059
+ return self._Status
29060
+
29061
+ @Status.setter
29062
+ def Status(self, Status):
29063
+ self._Status = Status
29064
+
29065
+
29066
+ def _deserialize(self, params):
29067
+ self._Id = params.get("Id")
29068
+ self._Name = params.get("Name")
29069
+ self._Status = params.get("Status")
29070
+ memeber_set = set(params.keys())
29071
+ for name, value in vars(self).items():
29072
+ property_name = name[1:]
29073
+ if property_name in memeber_set:
29074
+ memeber_set.remove(property_name)
29075
+ if len(memeber_set) > 0:
29076
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
29077
+
29078
+
29079
+
28903
29080
  class SwitchListsData(AbstractModel):
28904
29081
  r"""防火墙开关列表对象
28905
29082
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfw
3
- Version: 3.1.79
3
+ Version: 3.1.83
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.79
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.83
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.83
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.79