tencentcloud-sdk-python-cfw 3.1.24__tar.gz → 3.1.25__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.
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/cfw_client.py +46 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/cfw_client_async.py +36 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/models.py +760 -8
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.25/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.24/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.24 → tencentcloud_sdk_python_cfw-3.1.25}/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.
|
|
3
|
+
Version: 3.1.25
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.25
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.25,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -856,6 +856,29 @@ class CfwClient(AbstractClient):
|
|
|
856
856
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
857
857
|
|
|
858
858
|
|
|
859
|
+
def DescribeCcnVpcFwPolicyLimit(self, request):
|
|
860
|
+
r"""查询CCN中VPC防火墙接入策略配置时的规则数量限制
|
|
861
|
+
|
|
862
|
+
:param request: Request instance for DescribeCcnVpcFwPolicyLimit.
|
|
863
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnVpcFwPolicyLimitRequest`
|
|
864
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeCcnVpcFwPolicyLimitResponse`
|
|
865
|
+
|
|
866
|
+
"""
|
|
867
|
+
try:
|
|
868
|
+
params = request._serialize()
|
|
869
|
+
headers = request.headers
|
|
870
|
+
body = self.call("DescribeCcnVpcFwPolicyLimit", params, headers=headers)
|
|
871
|
+
response = json.loads(body)
|
|
872
|
+
model = models.DescribeCcnVpcFwPolicyLimitResponse()
|
|
873
|
+
model._deserialize(response["Response"])
|
|
874
|
+
return model
|
|
875
|
+
except Exception as e:
|
|
876
|
+
if isinstance(e, TencentCloudSDKException):
|
|
877
|
+
raise
|
|
878
|
+
else:
|
|
879
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
880
|
+
|
|
881
|
+
|
|
859
882
|
def DescribeCcnVpcFwSwitch(self, request):
|
|
860
883
|
r"""查询CCN VPC防火墙开关配置
|
|
861
884
|
|
|
@@ -925,6 +948,29 @@ class CfwClient(AbstractClient):
|
|
|
925
948
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
926
949
|
|
|
927
950
|
|
|
951
|
+
def DescribeClusterVpcFwSwitchs(self, request):
|
|
952
|
+
r"""查询集群模式Vpc间防火墙开关
|
|
953
|
+
|
|
954
|
+
:param request: Request instance for DescribeClusterVpcFwSwitchs.
|
|
955
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeClusterVpcFwSwitchsRequest`
|
|
956
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeClusterVpcFwSwitchsResponse`
|
|
957
|
+
|
|
958
|
+
"""
|
|
959
|
+
try:
|
|
960
|
+
params = request._serialize()
|
|
961
|
+
headers = request.headers
|
|
962
|
+
body = self.call("DescribeClusterVpcFwSwitchs", params, headers=headers)
|
|
963
|
+
response = json.loads(body)
|
|
964
|
+
model = models.DescribeClusterVpcFwSwitchsResponse()
|
|
965
|
+
model._deserialize(response["Response"])
|
|
966
|
+
return model
|
|
967
|
+
except Exception as e:
|
|
968
|
+
if isinstance(e, TencentCloudSDKException):
|
|
969
|
+
raise
|
|
970
|
+
else:
|
|
971
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
972
|
+
|
|
973
|
+
|
|
928
974
|
def DescribeDefenseSwitch(self, request):
|
|
929
975
|
r"""获取入侵防御按钮列表
|
|
930
976
|
|
|
@@ -675,6 +675,24 @@ class CfwClient(AbstractClient):
|
|
|
675
675
|
|
|
676
676
|
return await self.call_and_deserialize(**kwargs)
|
|
677
677
|
|
|
678
|
+
async def DescribeCcnVpcFwPolicyLimit(
|
|
679
|
+
self,
|
|
680
|
+
request: models.DescribeCcnVpcFwPolicyLimitRequest,
|
|
681
|
+
opts: Dict = None,
|
|
682
|
+
) -> models.DescribeCcnVpcFwPolicyLimitResponse:
|
|
683
|
+
"""
|
|
684
|
+
查询CCN中VPC防火墙接入策略配置时的规则数量限制
|
|
685
|
+
"""
|
|
686
|
+
|
|
687
|
+
kwargs = {}
|
|
688
|
+
kwargs["action"] = "DescribeCcnVpcFwPolicyLimit"
|
|
689
|
+
kwargs["params"] = request._serialize()
|
|
690
|
+
kwargs["resp_cls"] = models.DescribeCcnVpcFwPolicyLimitResponse
|
|
691
|
+
kwargs["headers"] = request.headers
|
|
692
|
+
kwargs["opts"] = opts or {}
|
|
693
|
+
|
|
694
|
+
return await self.call_and_deserialize(**kwargs)
|
|
695
|
+
|
|
678
696
|
async def DescribeCcnVpcFwSwitch(
|
|
679
697
|
self,
|
|
680
698
|
request: models.DescribeCcnVpcFwSwitchRequest,
|
|
@@ -729,6 +747,24 @@ class CfwClient(AbstractClient):
|
|
|
729
747
|
|
|
730
748
|
return await self.call_and_deserialize(**kwargs)
|
|
731
749
|
|
|
750
|
+
async def DescribeClusterVpcFwSwitchs(
|
|
751
|
+
self,
|
|
752
|
+
request: models.DescribeClusterVpcFwSwitchsRequest,
|
|
753
|
+
opts: Dict = None,
|
|
754
|
+
) -> models.DescribeClusterVpcFwSwitchsResponse:
|
|
755
|
+
"""
|
|
756
|
+
查询集群模式Vpc间防火墙开关
|
|
757
|
+
"""
|
|
758
|
+
|
|
759
|
+
kwargs = {}
|
|
760
|
+
kwargs["action"] = "DescribeClusterVpcFwSwitchs"
|
|
761
|
+
kwargs["params"] = request._serialize()
|
|
762
|
+
kwargs["resp_cls"] = models.DescribeClusterVpcFwSwitchsResponse
|
|
763
|
+
kwargs["headers"] = request.headers
|
|
764
|
+
kwargs["opts"] = opts or {}
|
|
765
|
+
|
|
766
|
+
return await self.call_and_deserialize(**kwargs)
|
|
767
|
+
|
|
732
768
|
async def DescribeDefenseSwitch(
|
|
733
769
|
self,
|
|
734
770
|
request: models.DescribeDefenseSwitchRequest,
|
|
@@ -1197,6 +1197,72 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1197
1197
|
|
|
1198
1198
|
|
|
1199
1199
|
|
|
1200
|
+
class AttachInsInfo(AbstractModel):
|
|
1201
|
+
r"""关联实例信息
|
|
1202
|
+
|
|
1203
|
+
"""
|
|
1204
|
+
|
|
1205
|
+
def __init__(self):
|
|
1206
|
+
r"""
|
|
1207
|
+
:param _InsId: 实例对象可以是cvm类型:ins-ad21xuds1形式;路由表类型:rtb-da12daxd形式;vpc类型:vpc-1dxdad2d形式
|
|
1208
|
+
:type InsId: str
|
|
1209
|
+
:param _InsName: 实例对象名称
|
|
1210
|
+
:type InsName: str
|
|
1211
|
+
:param _Cidr: 实例的cidr
|
|
1212
|
+
:type Cidr: str
|
|
1213
|
+
"""
|
|
1214
|
+
self._InsId = None
|
|
1215
|
+
self._InsName = None
|
|
1216
|
+
self._Cidr = None
|
|
1217
|
+
|
|
1218
|
+
@property
|
|
1219
|
+
def InsId(self):
|
|
1220
|
+
r"""实例对象可以是cvm类型:ins-ad21xuds1形式;路由表类型:rtb-da12daxd形式;vpc类型:vpc-1dxdad2d形式
|
|
1221
|
+
:rtype: str
|
|
1222
|
+
"""
|
|
1223
|
+
return self._InsId
|
|
1224
|
+
|
|
1225
|
+
@InsId.setter
|
|
1226
|
+
def InsId(self, InsId):
|
|
1227
|
+
self._InsId = InsId
|
|
1228
|
+
|
|
1229
|
+
@property
|
|
1230
|
+
def InsName(self):
|
|
1231
|
+
r"""实例对象名称
|
|
1232
|
+
:rtype: str
|
|
1233
|
+
"""
|
|
1234
|
+
return self._InsName
|
|
1235
|
+
|
|
1236
|
+
@InsName.setter
|
|
1237
|
+
def InsName(self, InsName):
|
|
1238
|
+
self._InsName = InsName
|
|
1239
|
+
|
|
1240
|
+
@property
|
|
1241
|
+
def Cidr(self):
|
|
1242
|
+
r"""实例的cidr
|
|
1243
|
+
:rtype: str
|
|
1244
|
+
"""
|
|
1245
|
+
return self._Cidr
|
|
1246
|
+
|
|
1247
|
+
@Cidr.setter
|
|
1248
|
+
def Cidr(self, Cidr):
|
|
1249
|
+
self._Cidr = Cidr
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
def _deserialize(self, params):
|
|
1253
|
+
self._InsId = params.get("InsId")
|
|
1254
|
+
self._InsName = params.get("InsName")
|
|
1255
|
+
self._Cidr = params.get("Cidr")
|
|
1256
|
+
memeber_set = set(params.keys())
|
|
1257
|
+
for name, value in vars(self).items():
|
|
1258
|
+
property_name = name[1:]
|
|
1259
|
+
if property_name in memeber_set:
|
|
1260
|
+
memeber_set.remove(property_name)
|
|
1261
|
+
if len(memeber_set) > 0:
|
|
1262
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
|
|
1200
1266
|
class BanAndAllowRule(AbstractModel):
|
|
1201
1267
|
r"""封禁列表和放通列表结构体
|
|
1202
1268
|
|
|
@@ -2306,6 +2372,321 @@ class CfwNatDnatRule(AbstractModel):
|
|
|
2306
2372
|
|
|
2307
2373
|
|
|
2308
2374
|
|
|
2375
|
+
class ClusterSwitchDetail(AbstractModel):
|
|
2376
|
+
r"""集群模式防火墙开关数据详情
|
|
2377
|
+
|
|
2378
|
+
"""
|
|
2379
|
+
|
|
2380
|
+
def __init__(self):
|
|
2381
|
+
r"""
|
|
2382
|
+
:param _InsObj: 实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等
|
|
2383
|
+
:type InsObj: str
|
|
2384
|
+
:param _ObjName: 实例对象名称
|
|
2385
|
+
:type ObjName: str
|
|
2386
|
+
:param _FwType: 防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙
|
|
2387
|
+
:type FwType: str
|
|
2388
|
+
:param _AssetType: 资产类型,ccn:ccn实例类型;nat:nat网关类型
|
|
2389
|
+
:type AssetType: str
|
|
2390
|
+
:param _Region: 地域
|
|
2391
|
+
:type Region: str
|
|
2392
|
+
:param _Status: 开关状态
|
|
2393
|
+
0 : 关闭
|
|
2394
|
+
1 : 开启
|
|
2395
|
+
2 : 开启中
|
|
2396
|
+
3 : 关闭中
|
|
2397
|
+
4 : 异常
|
|
2398
|
+
:type Status: int
|
|
2399
|
+
:param _SwitchMode: 开关接入模式,1:自动接入;2,手动接入,0:未选择
|
|
2400
|
+
:type SwitchMode: int
|
|
2401
|
+
:param _NonCluster: 实例对象是否处于非集群接入场景(主备模式)
|
|
2402
|
+
:type NonCluster: int
|
|
2403
|
+
:param _IpVersion: ip版本,0:ipv4;1:ipv6
|
|
2404
|
+
:type IpVersion: int
|
|
2405
|
+
:param _AttachIns: 关联实例
|
|
2406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2407
|
+
:type AttachIns: list of AttachInsInfo
|
|
2408
|
+
:param _Endpoints: 引流私有网络端点信息
|
|
2409
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2410
|
+
:type Endpoints: list of EndpointInfo
|
|
2411
|
+
:param _Idpsaction: 入侵防护模式,0:观察;1:拦截;2:严格;3:关闭
|
|
2412
|
+
:type Idpsaction: int
|
|
2413
|
+
:param _TransEnable: //透明模式开关,0:未开启,1:已开启
|
|
2414
|
+
:type TransEnable: int
|
|
2415
|
+
:param _Enable: 开关状态 0关闭 1开启
|
|
2416
|
+
:type Enable: int
|
|
2417
|
+
:param _RoutingMode: 路由模式:0:多路由表,1:策略路由
|
|
2418
|
+
:type RoutingMode: int
|
|
2419
|
+
:param _IsPeer: 是否跨租户开关 1是 0不是
|
|
2420
|
+
:type IsPeer: int
|
|
2421
|
+
:param _PeerAppid: 跨租户appid
|
|
2422
|
+
:type PeerAppid: str
|
|
2423
|
+
:param _PeerStatus: 跨租户操作状态 1不允许操作 0可以
|
|
2424
|
+
:type PeerStatus: int
|
|
2425
|
+
"""
|
|
2426
|
+
self._InsObj = None
|
|
2427
|
+
self._ObjName = None
|
|
2428
|
+
self._FwType = None
|
|
2429
|
+
self._AssetType = None
|
|
2430
|
+
self._Region = None
|
|
2431
|
+
self._Status = None
|
|
2432
|
+
self._SwitchMode = None
|
|
2433
|
+
self._NonCluster = None
|
|
2434
|
+
self._IpVersion = None
|
|
2435
|
+
self._AttachIns = None
|
|
2436
|
+
self._Endpoints = None
|
|
2437
|
+
self._Idpsaction = None
|
|
2438
|
+
self._TransEnable = None
|
|
2439
|
+
self._Enable = None
|
|
2440
|
+
self._RoutingMode = None
|
|
2441
|
+
self._IsPeer = None
|
|
2442
|
+
self._PeerAppid = None
|
|
2443
|
+
self._PeerStatus = None
|
|
2444
|
+
|
|
2445
|
+
@property
|
|
2446
|
+
def InsObj(self):
|
|
2447
|
+
r"""实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等
|
|
2448
|
+
:rtype: str
|
|
2449
|
+
"""
|
|
2450
|
+
return self._InsObj
|
|
2451
|
+
|
|
2452
|
+
@InsObj.setter
|
|
2453
|
+
def InsObj(self, InsObj):
|
|
2454
|
+
self._InsObj = InsObj
|
|
2455
|
+
|
|
2456
|
+
@property
|
|
2457
|
+
def ObjName(self):
|
|
2458
|
+
r"""实例对象名称
|
|
2459
|
+
:rtype: str
|
|
2460
|
+
"""
|
|
2461
|
+
return self._ObjName
|
|
2462
|
+
|
|
2463
|
+
@ObjName.setter
|
|
2464
|
+
def ObjName(self, ObjName):
|
|
2465
|
+
self._ObjName = ObjName
|
|
2466
|
+
|
|
2467
|
+
@property
|
|
2468
|
+
def FwType(self):
|
|
2469
|
+
r"""防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙
|
|
2470
|
+
:rtype: str
|
|
2471
|
+
"""
|
|
2472
|
+
return self._FwType
|
|
2473
|
+
|
|
2474
|
+
@FwType.setter
|
|
2475
|
+
def FwType(self, FwType):
|
|
2476
|
+
self._FwType = FwType
|
|
2477
|
+
|
|
2478
|
+
@property
|
|
2479
|
+
def AssetType(self):
|
|
2480
|
+
r"""资产类型,ccn:ccn实例类型;nat:nat网关类型
|
|
2481
|
+
:rtype: str
|
|
2482
|
+
"""
|
|
2483
|
+
return self._AssetType
|
|
2484
|
+
|
|
2485
|
+
@AssetType.setter
|
|
2486
|
+
def AssetType(self, AssetType):
|
|
2487
|
+
self._AssetType = AssetType
|
|
2488
|
+
|
|
2489
|
+
@property
|
|
2490
|
+
def Region(self):
|
|
2491
|
+
r"""地域
|
|
2492
|
+
:rtype: str
|
|
2493
|
+
"""
|
|
2494
|
+
return self._Region
|
|
2495
|
+
|
|
2496
|
+
@Region.setter
|
|
2497
|
+
def Region(self, Region):
|
|
2498
|
+
self._Region = Region
|
|
2499
|
+
|
|
2500
|
+
@property
|
|
2501
|
+
def Status(self):
|
|
2502
|
+
r"""开关状态
|
|
2503
|
+
0 : 关闭
|
|
2504
|
+
1 : 开启
|
|
2505
|
+
2 : 开启中
|
|
2506
|
+
3 : 关闭中
|
|
2507
|
+
4 : 异常
|
|
2508
|
+
:rtype: int
|
|
2509
|
+
"""
|
|
2510
|
+
return self._Status
|
|
2511
|
+
|
|
2512
|
+
@Status.setter
|
|
2513
|
+
def Status(self, Status):
|
|
2514
|
+
self._Status = Status
|
|
2515
|
+
|
|
2516
|
+
@property
|
|
2517
|
+
def SwitchMode(self):
|
|
2518
|
+
r"""开关接入模式,1:自动接入;2,手动接入,0:未选择
|
|
2519
|
+
:rtype: int
|
|
2520
|
+
"""
|
|
2521
|
+
return self._SwitchMode
|
|
2522
|
+
|
|
2523
|
+
@SwitchMode.setter
|
|
2524
|
+
def SwitchMode(self, SwitchMode):
|
|
2525
|
+
self._SwitchMode = SwitchMode
|
|
2526
|
+
|
|
2527
|
+
@property
|
|
2528
|
+
def NonCluster(self):
|
|
2529
|
+
r"""实例对象是否处于非集群接入场景(主备模式)
|
|
2530
|
+
:rtype: int
|
|
2531
|
+
"""
|
|
2532
|
+
return self._NonCluster
|
|
2533
|
+
|
|
2534
|
+
@NonCluster.setter
|
|
2535
|
+
def NonCluster(self, NonCluster):
|
|
2536
|
+
self._NonCluster = NonCluster
|
|
2537
|
+
|
|
2538
|
+
@property
|
|
2539
|
+
def IpVersion(self):
|
|
2540
|
+
r"""ip版本,0:ipv4;1:ipv6
|
|
2541
|
+
:rtype: int
|
|
2542
|
+
"""
|
|
2543
|
+
return self._IpVersion
|
|
2544
|
+
|
|
2545
|
+
@IpVersion.setter
|
|
2546
|
+
def IpVersion(self, IpVersion):
|
|
2547
|
+
self._IpVersion = IpVersion
|
|
2548
|
+
|
|
2549
|
+
@property
|
|
2550
|
+
def AttachIns(self):
|
|
2551
|
+
r"""关联实例
|
|
2552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2553
|
+
:rtype: list of AttachInsInfo
|
|
2554
|
+
"""
|
|
2555
|
+
return self._AttachIns
|
|
2556
|
+
|
|
2557
|
+
@AttachIns.setter
|
|
2558
|
+
def AttachIns(self, AttachIns):
|
|
2559
|
+
self._AttachIns = AttachIns
|
|
2560
|
+
|
|
2561
|
+
@property
|
|
2562
|
+
def Endpoints(self):
|
|
2563
|
+
r"""引流私有网络端点信息
|
|
2564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2565
|
+
:rtype: list of EndpointInfo
|
|
2566
|
+
"""
|
|
2567
|
+
return self._Endpoints
|
|
2568
|
+
|
|
2569
|
+
@Endpoints.setter
|
|
2570
|
+
def Endpoints(self, Endpoints):
|
|
2571
|
+
self._Endpoints = Endpoints
|
|
2572
|
+
|
|
2573
|
+
@property
|
|
2574
|
+
def Idpsaction(self):
|
|
2575
|
+
r"""入侵防护模式,0:观察;1:拦截;2:严格;3:关闭
|
|
2576
|
+
:rtype: int
|
|
2577
|
+
"""
|
|
2578
|
+
return self._Idpsaction
|
|
2579
|
+
|
|
2580
|
+
@Idpsaction.setter
|
|
2581
|
+
def Idpsaction(self, Idpsaction):
|
|
2582
|
+
self._Idpsaction = Idpsaction
|
|
2583
|
+
|
|
2584
|
+
@property
|
|
2585
|
+
def TransEnable(self):
|
|
2586
|
+
r"""//透明模式开关,0:未开启,1:已开启
|
|
2587
|
+
:rtype: int
|
|
2588
|
+
"""
|
|
2589
|
+
return self._TransEnable
|
|
2590
|
+
|
|
2591
|
+
@TransEnable.setter
|
|
2592
|
+
def TransEnable(self, TransEnable):
|
|
2593
|
+
self._TransEnable = TransEnable
|
|
2594
|
+
|
|
2595
|
+
@property
|
|
2596
|
+
def Enable(self):
|
|
2597
|
+
r"""开关状态 0关闭 1开启
|
|
2598
|
+
:rtype: int
|
|
2599
|
+
"""
|
|
2600
|
+
return self._Enable
|
|
2601
|
+
|
|
2602
|
+
@Enable.setter
|
|
2603
|
+
def Enable(self, Enable):
|
|
2604
|
+
self._Enable = Enable
|
|
2605
|
+
|
|
2606
|
+
@property
|
|
2607
|
+
def RoutingMode(self):
|
|
2608
|
+
r"""路由模式:0:多路由表,1:策略路由
|
|
2609
|
+
:rtype: int
|
|
2610
|
+
"""
|
|
2611
|
+
return self._RoutingMode
|
|
2612
|
+
|
|
2613
|
+
@RoutingMode.setter
|
|
2614
|
+
def RoutingMode(self, RoutingMode):
|
|
2615
|
+
self._RoutingMode = RoutingMode
|
|
2616
|
+
|
|
2617
|
+
@property
|
|
2618
|
+
def IsPeer(self):
|
|
2619
|
+
r"""是否跨租户开关 1是 0不是
|
|
2620
|
+
:rtype: int
|
|
2621
|
+
"""
|
|
2622
|
+
return self._IsPeer
|
|
2623
|
+
|
|
2624
|
+
@IsPeer.setter
|
|
2625
|
+
def IsPeer(self, IsPeer):
|
|
2626
|
+
self._IsPeer = IsPeer
|
|
2627
|
+
|
|
2628
|
+
@property
|
|
2629
|
+
def PeerAppid(self):
|
|
2630
|
+
r"""跨租户appid
|
|
2631
|
+
:rtype: str
|
|
2632
|
+
"""
|
|
2633
|
+
return self._PeerAppid
|
|
2634
|
+
|
|
2635
|
+
@PeerAppid.setter
|
|
2636
|
+
def PeerAppid(self, PeerAppid):
|
|
2637
|
+
self._PeerAppid = PeerAppid
|
|
2638
|
+
|
|
2639
|
+
@property
|
|
2640
|
+
def PeerStatus(self):
|
|
2641
|
+
r"""跨租户操作状态 1不允许操作 0可以
|
|
2642
|
+
:rtype: int
|
|
2643
|
+
"""
|
|
2644
|
+
return self._PeerStatus
|
|
2645
|
+
|
|
2646
|
+
@PeerStatus.setter
|
|
2647
|
+
def PeerStatus(self, PeerStatus):
|
|
2648
|
+
self._PeerStatus = PeerStatus
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
def _deserialize(self, params):
|
|
2652
|
+
self._InsObj = params.get("InsObj")
|
|
2653
|
+
self._ObjName = params.get("ObjName")
|
|
2654
|
+
self._FwType = params.get("FwType")
|
|
2655
|
+
self._AssetType = params.get("AssetType")
|
|
2656
|
+
self._Region = params.get("Region")
|
|
2657
|
+
self._Status = params.get("Status")
|
|
2658
|
+
self._SwitchMode = params.get("SwitchMode")
|
|
2659
|
+
self._NonCluster = params.get("NonCluster")
|
|
2660
|
+
self._IpVersion = params.get("IpVersion")
|
|
2661
|
+
if params.get("AttachIns") is not None:
|
|
2662
|
+
self._AttachIns = []
|
|
2663
|
+
for item in params.get("AttachIns"):
|
|
2664
|
+
obj = AttachInsInfo()
|
|
2665
|
+
obj._deserialize(item)
|
|
2666
|
+
self._AttachIns.append(obj)
|
|
2667
|
+
if params.get("Endpoints") is not None:
|
|
2668
|
+
self._Endpoints = []
|
|
2669
|
+
for item in params.get("Endpoints"):
|
|
2670
|
+
obj = EndpointInfo()
|
|
2671
|
+
obj._deserialize(item)
|
|
2672
|
+
self._Endpoints.append(obj)
|
|
2673
|
+
self._Idpsaction = params.get("Idpsaction")
|
|
2674
|
+
self._TransEnable = params.get("TransEnable")
|
|
2675
|
+
self._Enable = params.get("Enable")
|
|
2676
|
+
self._RoutingMode = params.get("RoutingMode")
|
|
2677
|
+
self._IsPeer = params.get("IsPeer")
|
|
2678
|
+
self._PeerAppid = params.get("PeerAppid")
|
|
2679
|
+
self._PeerStatus = params.get("PeerStatus")
|
|
2680
|
+
memeber_set = set(params.keys())
|
|
2681
|
+
for name, value in vars(self).items():
|
|
2682
|
+
property_name = name[1:]
|
|
2683
|
+
if property_name in memeber_set:
|
|
2684
|
+
memeber_set.remove(property_name)
|
|
2685
|
+
if len(memeber_set) > 0:
|
|
2686
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
|
|
2309
2690
|
class Column(AbstractModel):
|
|
2310
2691
|
r"""日志分析的列属性
|
|
2311
2692
|
|
|
@@ -9079,22 +9460,101 @@ class DescribeCcnInstanceRegionStatusResponse(AbstractModel):
|
|
|
9079
9460
|
self._RequestId = params.get("RequestId")
|
|
9080
9461
|
|
|
9081
9462
|
|
|
9082
|
-
class
|
|
9083
|
-
r"""
|
|
9463
|
+
class DescribeCcnVpcFwPolicyLimitRequest(AbstractModel):
|
|
9464
|
+
r"""DescribeCcnVpcFwPolicyLimit请求参数结构体
|
|
9465
|
+
|
|
9466
|
+
"""
|
|
9467
|
+
|
|
9468
|
+
|
|
9469
|
+
class DescribeCcnVpcFwPolicyLimitResponse(AbstractModel):
|
|
9470
|
+
r"""DescribeCcnVpcFwPolicyLimit返回参数结构体
|
|
9084
9471
|
|
|
9085
9472
|
"""
|
|
9086
9473
|
|
|
9087
9474
|
def __init__(self):
|
|
9088
9475
|
r"""
|
|
9089
|
-
:param
|
|
9090
|
-
:type
|
|
9476
|
+
:param _CcnPolicyInterconnectPairLenLimit: 支持的引流策略数量(最外层总条数)
|
|
9477
|
+
:type CcnPolicyInterconnectPairLenLimit: int
|
|
9478
|
+
:param _CcnPolicyGroupLenLimit: 单条引流策略中单组的最大配置数量(内层单组总条数)
|
|
9479
|
+
:type CcnPolicyGroupLenLimit: int
|
|
9480
|
+
:param _CcnPolicyCidrLenLimit: 接入的实例网段长度(网段数量)限制
|
|
9481
|
+
:type CcnPolicyCidrLenLimit: int
|
|
9482
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9483
|
+
:type RequestId: str
|
|
9091
9484
|
"""
|
|
9092
|
-
self.
|
|
9485
|
+
self._CcnPolicyInterconnectPairLenLimit = None
|
|
9486
|
+
self._CcnPolicyGroupLenLimit = None
|
|
9487
|
+
self._CcnPolicyCidrLenLimit = None
|
|
9488
|
+
self._RequestId = None
|
|
9093
9489
|
|
|
9094
9490
|
@property
|
|
9095
|
-
def
|
|
9096
|
-
r"""
|
|
9097
|
-
:rtype:
|
|
9491
|
+
def CcnPolicyInterconnectPairLenLimit(self):
|
|
9492
|
+
r"""支持的引流策略数量(最外层总条数)
|
|
9493
|
+
:rtype: int
|
|
9494
|
+
"""
|
|
9495
|
+
return self._CcnPolicyInterconnectPairLenLimit
|
|
9496
|
+
|
|
9497
|
+
@CcnPolicyInterconnectPairLenLimit.setter
|
|
9498
|
+
def CcnPolicyInterconnectPairLenLimit(self, CcnPolicyInterconnectPairLenLimit):
|
|
9499
|
+
self._CcnPolicyInterconnectPairLenLimit = CcnPolicyInterconnectPairLenLimit
|
|
9500
|
+
|
|
9501
|
+
@property
|
|
9502
|
+
def CcnPolicyGroupLenLimit(self):
|
|
9503
|
+
r"""单条引流策略中单组的最大配置数量(内层单组总条数)
|
|
9504
|
+
:rtype: int
|
|
9505
|
+
"""
|
|
9506
|
+
return self._CcnPolicyGroupLenLimit
|
|
9507
|
+
|
|
9508
|
+
@CcnPolicyGroupLenLimit.setter
|
|
9509
|
+
def CcnPolicyGroupLenLimit(self, CcnPolicyGroupLenLimit):
|
|
9510
|
+
self._CcnPolicyGroupLenLimit = CcnPolicyGroupLenLimit
|
|
9511
|
+
|
|
9512
|
+
@property
|
|
9513
|
+
def CcnPolicyCidrLenLimit(self):
|
|
9514
|
+
r"""接入的实例网段长度(网段数量)限制
|
|
9515
|
+
:rtype: int
|
|
9516
|
+
"""
|
|
9517
|
+
return self._CcnPolicyCidrLenLimit
|
|
9518
|
+
|
|
9519
|
+
@CcnPolicyCidrLenLimit.setter
|
|
9520
|
+
def CcnPolicyCidrLenLimit(self, CcnPolicyCidrLenLimit):
|
|
9521
|
+
self._CcnPolicyCidrLenLimit = CcnPolicyCidrLenLimit
|
|
9522
|
+
|
|
9523
|
+
@property
|
|
9524
|
+
def RequestId(self):
|
|
9525
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9526
|
+
:rtype: str
|
|
9527
|
+
"""
|
|
9528
|
+
return self._RequestId
|
|
9529
|
+
|
|
9530
|
+
@RequestId.setter
|
|
9531
|
+
def RequestId(self, RequestId):
|
|
9532
|
+
self._RequestId = RequestId
|
|
9533
|
+
|
|
9534
|
+
|
|
9535
|
+
def _deserialize(self, params):
|
|
9536
|
+
self._CcnPolicyInterconnectPairLenLimit = params.get("CcnPolicyInterconnectPairLenLimit")
|
|
9537
|
+
self._CcnPolicyGroupLenLimit = params.get("CcnPolicyGroupLenLimit")
|
|
9538
|
+
self._CcnPolicyCidrLenLimit = params.get("CcnPolicyCidrLenLimit")
|
|
9539
|
+
self._RequestId = params.get("RequestId")
|
|
9540
|
+
|
|
9541
|
+
|
|
9542
|
+
class DescribeCcnVpcFwSwitchRequest(AbstractModel):
|
|
9543
|
+
r"""DescribeCcnVpcFwSwitch请求参数结构体
|
|
9544
|
+
|
|
9545
|
+
"""
|
|
9546
|
+
|
|
9547
|
+
def __init__(self):
|
|
9548
|
+
r"""
|
|
9549
|
+
:param _CcnId: 云联网ID
|
|
9550
|
+
:type CcnId: str
|
|
9551
|
+
"""
|
|
9552
|
+
self._CcnId = None
|
|
9553
|
+
|
|
9554
|
+
@property
|
|
9555
|
+
def CcnId(self):
|
|
9556
|
+
r"""云联网ID
|
|
9557
|
+
:rtype: str
|
|
9098
9558
|
"""
|
|
9099
9559
|
return self._CcnId
|
|
9100
9560
|
|
|
@@ -9350,6 +9810,217 @@ class DescribeCfwInsStatusResponse(AbstractModel):
|
|
|
9350
9810
|
self._RequestId = params.get("RequestId")
|
|
9351
9811
|
|
|
9352
9812
|
|
|
9813
|
+
class DescribeClusterVpcFwSwitchsRequest(AbstractModel):
|
|
9814
|
+
r"""DescribeClusterVpcFwSwitchs请求参数结构体
|
|
9815
|
+
|
|
9816
|
+
"""
|
|
9817
|
+
|
|
9818
|
+
def __init__(self):
|
|
9819
|
+
r"""
|
|
9820
|
+
:param _Index: 需要查询的索引,特定场景使用,可不填
|
|
9821
|
+
:type Index: str
|
|
9822
|
+
:param _Filters: 过滤条件组合
|
|
9823
|
+
:type Filters: list of CommonFilter
|
|
9824
|
+
:param _Limit: 每页条数
|
|
9825
|
+
:type Limit: int
|
|
9826
|
+
:param _Offset: 偏移值
|
|
9827
|
+
:type Offset: int
|
|
9828
|
+
:param _StartTime: 检索的起始时间,可不传
|
|
9829
|
+
:type StartTime: str
|
|
9830
|
+
:param _EndTime: 检索的截止时间,可不传
|
|
9831
|
+
:type EndTime: str
|
|
9832
|
+
:param _Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
|
9833
|
+
:type Order: str
|
|
9834
|
+
:param _By: 排序所用到的字段
|
|
9835
|
+
:type By: str
|
|
9836
|
+
"""
|
|
9837
|
+
self._Index = None
|
|
9838
|
+
self._Filters = None
|
|
9839
|
+
self._Limit = None
|
|
9840
|
+
self._Offset = None
|
|
9841
|
+
self._StartTime = None
|
|
9842
|
+
self._EndTime = None
|
|
9843
|
+
self._Order = None
|
|
9844
|
+
self._By = None
|
|
9845
|
+
|
|
9846
|
+
@property
|
|
9847
|
+
def Index(self):
|
|
9848
|
+
r"""需要查询的索引,特定场景使用,可不填
|
|
9849
|
+
:rtype: str
|
|
9850
|
+
"""
|
|
9851
|
+
return self._Index
|
|
9852
|
+
|
|
9853
|
+
@Index.setter
|
|
9854
|
+
def Index(self, Index):
|
|
9855
|
+
self._Index = Index
|
|
9856
|
+
|
|
9857
|
+
@property
|
|
9858
|
+
def Filters(self):
|
|
9859
|
+
r"""过滤条件组合
|
|
9860
|
+
:rtype: list of CommonFilter
|
|
9861
|
+
"""
|
|
9862
|
+
return self._Filters
|
|
9863
|
+
|
|
9864
|
+
@Filters.setter
|
|
9865
|
+
def Filters(self, Filters):
|
|
9866
|
+
self._Filters = Filters
|
|
9867
|
+
|
|
9868
|
+
@property
|
|
9869
|
+
def Limit(self):
|
|
9870
|
+
r"""每页条数
|
|
9871
|
+
:rtype: int
|
|
9872
|
+
"""
|
|
9873
|
+
return self._Limit
|
|
9874
|
+
|
|
9875
|
+
@Limit.setter
|
|
9876
|
+
def Limit(self, Limit):
|
|
9877
|
+
self._Limit = Limit
|
|
9878
|
+
|
|
9879
|
+
@property
|
|
9880
|
+
def Offset(self):
|
|
9881
|
+
r"""偏移值
|
|
9882
|
+
:rtype: int
|
|
9883
|
+
"""
|
|
9884
|
+
return self._Offset
|
|
9885
|
+
|
|
9886
|
+
@Offset.setter
|
|
9887
|
+
def Offset(self, Offset):
|
|
9888
|
+
self._Offset = Offset
|
|
9889
|
+
|
|
9890
|
+
@property
|
|
9891
|
+
def StartTime(self):
|
|
9892
|
+
r"""检索的起始时间,可不传
|
|
9893
|
+
:rtype: str
|
|
9894
|
+
"""
|
|
9895
|
+
return self._StartTime
|
|
9896
|
+
|
|
9897
|
+
@StartTime.setter
|
|
9898
|
+
def StartTime(self, StartTime):
|
|
9899
|
+
self._StartTime = StartTime
|
|
9900
|
+
|
|
9901
|
+
@property
|
|
9902
|
+
def EndTime(self):
|
|
9903
|
+
r"""检索的截止时间,可不传
|
|
9904
|
+
:rtype: str
|
|
9905
|
+
"""
|
|
9906
|
+
return self._EndTime
|
|
9907
|
+
|
|
9908
|
+
@EndTime.setter
|
|
9909
|
+
def EndTime(self, EndTime):
|
|
9910
|
+
self._EndTime = EndTime
|
|
9911
|
+
|
|
9912
|
+
@property
|
|
9913
|
+
def Order(self):
|
|
9914
|
+
r"""desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
|
9915
|
+
:rtype: str
|
|
9916
|
+
"""
|
|
9917
|
+
return self._Order
|
|
9918
|
+
|
|
9919
|
+
@Order.setter
|
|
9920
|
+
def Order(self, Order):
|
|
9921
|
+
self._Order = Order
|
|
9922
|
+
|
|
9923
|
+
@property
|
|
9924
|
+
def By(self):
|
|
9925
|
+
r"""排序所用到的字段
|
|
9926
|
+
:rtype: str
|
|
9927
|
+
"""
|
|
9928
|
+
return self._By
|
|
9929
|
+
|
|
9930
|
+
@By.setter
|
|
9931
|
+
def By(self, By):
|
|
9932
|
+
self._By = By
|
|
9933
|
+
|
|
9934
|
+
|
|
9935
|
+
def _deserialize(self, params):
|
|
9936
|
+
self._Index = params.get("Index")
|
|
9937
|
+
if params.get("Filters") is not None:
|
|
9938
|
+
self._Filters = []
|
|
9939
|
+
for item in params.get("Filters"):
|
|
9940
|
+
obj = CommonFilter()
|
|
9941
|
+
obj._deserialize(item)
|
|
9942
|
+
self._Filters.append(obj)
|
|
9943
|
+
self._Limit = params.get("Limit")
|
|
9944
|
+
self._Offset = params.get("Offset")
|
|
9945
|
+
self._StartTime = params.get("StartTime")
|
|
9946
|
+
self._EndTime = params.get("EndTime")
|
|
9947
|
+
self._Order = params.get("Order")
|
|
9948
|
+
self._By = params.get("By")
|
|
9949
|
+
memeber_set = set(params.keys())
|
|
9950
|
+
for name, value in vars(self).items():
|
|
9951
|
+
property_name = name[1:]
|
|
9952
|
+
if property_name in memeber_set:
|
|
9953
|
+
memeber_set.remove(property_name)
|
|
9954
|
+
if len(memeber_set) > 0:
|
|
9955
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9956
|
+
|
|
9957
|
+
|
|
9958
|
+
|
|
9959
|
+
class DescribeClusterVpcFwSwitchsResponse(AbstractModel):
|
|
9960
|
+
r"""DescribeClusterVpcFwSwitchs返回参数结构体
|
|
9961
|
+
|
|
9962
|
+
"""
|
|
9963
|
+
|
|
9964
|
+
def __init__(self):
|
|
9965
|
+
r"""
|
|
9966
|
+
:param _Total: 总条数
|
|
9967
|
+
:type Total: int
|
|
9968
|
+
:param _Data: 防火墙开关列表
|
|
9969
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9970
|
+
:type Data: list of ClusterSwitchDetail
|
|
9971
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9972
|
+
:type RequestId: str
|
|
9973
|
+
"""
|
|
9974
|
+
self._Total = None
|
|
9975
|
+
self._Data = None
|
|
9976
|
+
self._RequestId = None
|
|
9977
|
+
|
|
9978
|
+
@property
|
|
9979
|
+
def Total(self):
|
|
9980
|
+
r"""总条数
|
|
9981
|
+
:rtype: int
|
|
9982
|
+
"""
|
|
9983
|
+
return self._Total
|
|
9984
|
+
|
|
9985
|
+
@Total.setter
|
|
9986
|
+
def Total(self, Total):
|
|
9987
|
+
self._Total = Total
|
|
9988
|
+
|
|
9989
|
+
@property
|
|
9990
|
+
def Data(self):
|
|
9991
|
+
r"""防火墙开关列表
|
|
9992
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9993
|
+
:rtype: list of ClusterSwitchDetail
|
|
9994
|
+
"""
|
|
9995
|
+
return self._Data
|
|
9996
|
+
|
|
9997
|
+
@Data.setter
|
|
9998
|
+
def Data(self, Data):
|
|
9999
|
+
self._Data = Data
|
|
10000
|
+
|
|
10001
|
+
@property
|
|
10002
|
+
def RequestId(self):
|
|
10003
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10004
|
+
:rtype: str
|
|
10005
|
+
"""
|
|
10006
|
+
return self._RequestId
|
|
10007
|
+
|
|
10008
|
+
@RequestId.setter
|
|
10009
|
+
def RequestId(self, RequestId):
|
|
10010
|
+
self._RequestId = RequestId
|
|
10011
|
+
|
|
10012
|
+
|
|
10013
|
+
def _deserialize(self, params):
|
|
10014
|
+
self._Total = params.get("Total")
|
|
10015
|
+
if params.get("Data") is not None:
|
|
10016
|
+
self._Data = []
|
|
10017
|
+
for item in params.get("Data"):
|
|
10018
|
+
obj = ClusterSwitchDetail()
|
|
10019
|
+
obj._deserialize(item)
|
|
10020
|
+
self._Data.append(obj)
|
|
10021
|
+
self._RequestId = params.get("RequestId")
|
|
10022
|
+
|
|
10023
|
+
|
|
9353
10024
|
class DescribeDefenseSwitchRequest(AbstractModel):
|
|
9354
10025
|
r"""DescribeDefenseSwitch请求参数结构体
|
|
9355
10026
|
|
|
@@ -15222,6 +15893,87 @@ class EdgeIpSwitch(AbstractModel):
|
|
|
15222
15893
|
|
|
15223
15894
|
|
|
15224
15895
|
|
|
15896
|
+
class EndpointInfo(AbstractModel):
|
|
15897
|
+
r"""私有连接端点信息
|
|
15898
|
+
|
|
15899
|
+
"""
|
|
15900
|
+
|
|
15901
|
+
def __init__(self):
|
|
15902
|
+
r"""
|
|
15903
|
+
:param _EndpointId: 引流私有连接端点id
|
|
15904
|
+
:type EndpointId: str
|
|
15905
|
+
:param _VpcId: 引流VpcId
|
|
15906
|
+
:type VpcId: str
|
|
15907
|
+
:param _Region: 所属地域
|
|
15908
|
+
:type Region: str
|
|
15909
|
+
:param _VpcCidr: 引流Vpc的Cidr
|
|
15910
|
+
:type VpcCidr: str
|
|
15911
|
+
"""
|
|
15912
|
+
self._EndpointId = None
|
|
15913
|
+
self._VpcId = None
|
|
15914
|
+
self._Region = None
|
|
15915
|
+
self._VpcCidr = None
|
|
15916
|
+
|
|
15917
|
+
@property
|
|
15918
|
+
def EndpointId(self):
|
|
15919
|
+
r"""引流私有连接端点id
|
|
15920
|
+
:rtype: str
|
|
15921
|
+
"""
|
|
15922
|
+
return self._EndpointId
|
|
15923
|
+
|
|
15924
|
+
@EndpointId.setter
|
|
15925
|
+
def EndpointId(self, EndpointId):
|
|
15926
|
+
self._EndpointId = EndpointId
|
|
15927
|
+
|
|
15928
|
+
@property
|
|
15929
|
+
def VpcId(self):
|
|
15930
|
+
r"""引流VpcId
|
|
15931
|
+
:rtype: str
|
|
15932
|
+
"""
|
|
15933
|
+
return self._VpcId
|
|
15934
|
+
|
|
15935
|
+
@VpcId.setter
|
|
15936
|
+
def VpcId(self, VpcId):
|
|
15937
|
+
self._VpcId = VpcId
|
|
15938
|
+
|
|
15939
|
+
@property
|
|
15940
|
+
def Region(self):
|
|
15941
|
+
r"""所属地域
|
|
15942
|
+
:rtype: str
|
|
15943
|
+
"""
|
|
15944
|
+
return self._Region
|
|
15945
|
+
|
|
15946
|
+
@Region.setter
|
|
15947
|
+
def Region(self, Region):
|
|
15948
|
+
self._Region = Region
|
|
15949
|
+
|
|
15950
|
+
@property
|
|
15951
|
+
def VpcCidr(self):
|
|
15952
|
+
r"""引流Vpc的Cidr
|
|
15953
|
+
:rtype: str
|
|
15954
|
+
"""
|
|
15955
|
+
return self._VpcCidr
|
|
15956
|
+
|
|
15957
|
+
@VpcCidr.setter
|
|
15958
|
+
def VpcCidr(self, VpcCidr):
|
|
15959
|
+
self._VpcCidr = VpcCidr
|
|
15960
|
+
|
|
15961
|
+
|
|
15962
|
+
def _deserialize(self, params):
|
|
15963
|
+
self._EndpointId = params.get("EndpointId")
|
|
15964
|
+
self._VpcId = params.get("VpcId")
|
|
15965
|
+
self._Region = params.get("Region")
|
|
15966
|
+
self._VpcCidr = params.get("VpcCidr")
|
|
15967
|
+
memeber_set = set(params.keys())
|
|
15968
|
+
for name, value in vars(self).items():
|
|
15969
|
+
property_name = name[1:]
|
|
15970
|
+
if property_name in memeber_set:
|
|
15971
|
+
memeber_set.remove(property_name)
|
|
15972
|
+
if len(memeber_set) > 0:
|
|
15973
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15974
|
+
|
|
15975
|
+
|
|
15976
|
+
|
|
15225
15977
|
class EnterpriseSecurityGroupRuleBetaInfo(AbstractModel):
|
|
15226
15978
|
r"""企业安全组自动化任务信息
|
|
15227
15979
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cfw
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.25
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.25
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.25
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.24
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|