tencentcloud-sdk-python-cfw 3.1.79__tar.gz → 3.1.88__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.79 → tencentcloud_sdk_python_cfw-3.1.88}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud/cfw/v20190904/models.py +260 -68
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.88/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.79/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud/cfw/v20190904/cfw_client.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud/cfw/v20190904/cfw_client_async.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.79 → tencentcloud_sdk_python_cfw-3.1.88}/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.88
|
|
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.88
|
|
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.88,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -1033,26 +1033,28 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1033
1033
|
|
|
1034
1034
|
def __init__(self):
|
|
1035
1035
|
r"""
|
|
1036
|
-
:param _InstanceId:
|
|
1036
|
+
:param _InstanceId: <p>实例ID</p>
|
|
1037
1037
|
:type InstanceId: str
|
|
1038
|
-
:param _InstanceName:
|
|
1038
|
+
:param _InstanceName: <p>实例名称</p>
|
|
1039
1039
|
:type InstanceName: str
|
|
1040
|
-
:param _Type:
|
|
1040
|
+
:param _Type: <p>实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库</p>
|
|
1041
1041
|
:type Type: int
|
|
1042
|
-
:param _VpcId:
|
|
1042
|
+
:param _VpcId: <p>私有网络ID</p>
|
|
1043
1043
|
:type VpcId: str
|
|
1044
|
-
:param _VpcName:
|
|
1044
|
+
:param _VpcName: <p>私有网络名称</p>
|
|
1045
1045
|
:type VpcName: str
|
|
1046
|
-
:param _PublicIp:
|
|
1046
|
+
:param _PublicIp: <p>公网IP</p>
|
|
1047
1047
|
:type PublicIp: str
|
|
1048
|
-
:param _Ip:
|
|
1048
|
+
:param _Ip: <p>内网IP</p>
|
|
1049
1049
|
:type Ip: str
|
|
1050
|
-
:param _SecurityGroupCount:
|
|
1050
|
+
:param _SecurityGroupCount: <p>关联安全组数量</p>
|
|
1051
1051
|
:type SecurityGroupCount: int
|
|
1052
|
-
:param _SecurityGroupRuleCount:
|
|
1052
|
+
:param _SecurityGroupRuleCount: <p>关联安全组规则数量</p>
|
|
1053
1053
|
:type SecurityGroupRuleCount: int
|
|
1054
|
-
:param _CdbId:
|
|
1054
|
+
:param _CdbId: <p>关联数据库代理Id</p>
|
|
1055
1055
|
:type CdbId: str
|
|
1056
|
+
:param _TkeClusterId: <p>容器服务集群ID</p>
|
|
1057
|
+
:type TkeClusterId: str
|
|
1056
1058
|
"""
|
|
1057
1059
|
self._InstanceId = None
|
|
1058
1060
|
self._InstanceName = None
|
|
@@ -1064,10 +1066,11 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1064
1066
|
self._SecurityGroupCount = None
|
|
1065
1067
|
self._SecurityGroupRuleCount = None
|
|
1066
1068
|
self._CdbId = None
|
|
1069
|
+
self._TkeClusterId = None
|
|
1067
1070
|
|
|
1068
1071
|
@property
|
|
1069
1072
|
def InstanceId(self):
|
|
1070
|
-
r"""
|
|
1073
|
+
r"""<p>实例ID</p>
|
|
1071
1074
|
:rtype: str
|
|
1072
1075
|
"""
|
|
1073
1076
|
return self._InstanceId
|
|
@@ -1078,7 +1081,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1078
1081
|
|
|
1079
1082
|
@property
|
|
1080
1083
|
def InstanceName(self):
|
|
1081
|
-
r"""
|
|
1084
|
+
r"""<p>实例名称</p>
|
|
1082
1085
|
:rtype: str
|
|
1083
1086
|
"""
|
|
1084
1087
|
return self._InstanceName
|
|
@@ -1089,7 +1092,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1089
1092
|
|
|
1090
1093
|
@property
|
|
1091
1094
|
def Type(self):
|
|
1092
|
-
r"""
|
|
1095
|
+
r"""<p>实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库</p>
|
|
1093
1096
|
:rtype: int
|
|
1094
1097
|
"""
|
|
1095
1098
|
return self._Type
|
|
@@ -1100,7 +1103,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1100
1103
|
|
|
1101
1104
|
@property
|
|
1102
1105
|
def VpcId(self):
|
|
1103
|
-
r"""
|
|
1106
|
+
r"""<p>私有网络ID</p>
|
|
1104
1107
|
:rtype: str
|
|
1105
1108
|
"""
|
|
1106
1109
|
return self._VpcId
|
|
@@ -1111,7 +1114,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1111
1114
|
|
|
1112
1115
|
@property
|
|
1113
1116
|
def VpcName(self):
|
|
1114
|
-
r"""
|
|
1117
|
+
r"""<p>私有网络名称</p>
|
|
1115
1118
|
:rtype: str
|
|
1116
1119
|
"""
|
|
1117
1120
|
return self._VpcName
|
|
@@ -1122,7 +1125,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1122
1125
|
|
|
1123
1126
|
@property
|
|
1124
1127
|
def PublicIp(self):
|
|
1125
|
-
r"""
|
|
1128
|
+
r"""<p>公网IP</p>
|
|
1126
1129
|
:rtype: str
|
|
1127
1130
|
"""
|
|
1128
1131
|
return self._PublicIp
|
|
@@ -1133,7 +1136,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1133
1136
|
|
|
1134
1137
|
@property
|
|
1135
1138
|
def Ip(self):
|
|
1136
|
-
r"""
|
|
1139
|
+
r"""<p>内网IP</p>
|
|
1137
1140
|
:rtype: str
|
|
1138
1141
|
"""
|
|
1139
1142
|
return self._Ip
|
|
@@ -1144,7 +1147,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1144
1147
|
|
|
1145
1148
|
@property
|
|
1146
1149
|
def SecurityGroupCount(self):
|
|
1147
|
-
r"""
|
|
1150
|
+
r"""<p>关联安全组数量</p>
|
|
1148
1151
|
:rtype: int
|
|
1149
1152
|
"""
|
|
1150
1153
|
return self._SecurityGroupCount
|
|
@@ -1155,7 +1158,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1155
1158
|
|
|
1156
1159
|
@property
|
|
1157
1160
|
def SecurityGroupRuleCount(self):
|
|
1158
|
-
r"""
|
|
1161
|
+
r"""<p>关联安全组规则数量</p>
|
|
1159
1162
|
:rtype: int
|
|
1160
1163
|
"""
|
|
1161
1164
|
return self._SecurityGroupRuleCount
|
|
@@ -1166,7 +1169,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1166
1169
|
|
|
1167
1170
|
@property
|
|
1168
1171
|
def CdbId(self):
|
|
1169
|
-
r"""
|
|
1172
|
+
r"""<p>关联数据库代理Id</p>
|
|
1170
1173
|
:rtype: str
|
|
1171
1174
|
"""
|
|
1172
1175
|
return self._CdbId
|
|
@@ -1175,6 +1178,17 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1175
1178
|
def CdbId(self, CdbId):
|
|
1176
1179
|
self._CdbId = CdbId
|
|
1177
1180
|
|
|
1181
|
+
@property
|
|
1182
|
+
def TkeClusterId(self):
|
|
1183
|
+
r"""<p>容器服务集群ID</p>
|
|
1184
|
+
:rtype: str
|
|
1185
|
+
"""
|
|
1186
|
+
return self._TkeClusterId
|
|
1187
|
+
|
|
1188
|
+
@TkeClusterId.setter
|
|
1189
|
+
def TkeClusterId(self, TkeClusterId):
|
|
1190
|
+
self._TkeClusterId = TkeClusterId
|
|
1191
|
+
|
|
1178
1192
|
|
|
1179
1193
|
def _deserialize(self, params):
|
|
1180
1194
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -1187,6 +1201,7 @@ class AssociatedInstanceInfo(AbstractModel):
|
|
|
1187
1201
|
self._SecurityGroupCount = params.get("SecurityGroupCount")
|
|
1188
1202
|
self._SecurityGroupRuleCount = params.get("SecurityGroupRuleCount")
|
|
1189
1203
|
self._CdbId = params.get("CdbId")
|
|
1204
|
+
self._TkeClusterId = params.get("TkeClusterId")
|
|
1190
1205
|
memeber_set = set(params.keys())
|
|
1191
1206
|
for name, value in vars(self).items():
|
|
1192
1207
|
property_name = name[1:]
|
|
@@ -2379,49 +2394,48 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2379
2394
|
|
|
2380
2395
|
def __init__(self):
|
|
2381
2396
|
r"""
|
|
2382
|
-
:param _InsObj:
|
|
2397
|
+
:param _InsObj: <p>实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等</p>
|
|
2383
2398
|
:type InsObj: str
|
|
2384
|
-
:param _ObjName:
|
|
2399
|
+
:param _ObjName: <p>实例对象名称</p>
|
|
2385
2400
|
:type ObjName: str
|
|
2386
|
-
:param _FwType:
|
|
2401
|
+
:param _FwType: <p>防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙</p>
|
|
2387
2402
|
:type FwType: str
|
|
2388
|
-
:param _AssetType:
|
|
2403
|
+
:param _AssetType: <p>资产类型,ccn:ccn实例类型;nat:nat网关类型</p>
|
|
2389
2404
|
:type AssetType: str
|
|
2390
|
-
:param _Region:
|
|
2405
|
+
:param _Region: <p>地域</p>
|
|
2391
2406
|
:type Region: str
|
|
2392
|
-
:param _Status:
|
|
2393
|
-
0 : 关闭
|
|
2394
|
-
1 : 开启
|
|
2395
|
-
2 : 开启中
|
|
2396
|
-
3 : 关闭中
|
|
2397
|
-
4 : 异常
|
|
2407
|
+
:param _Status: <p>开关状态<br>0 : 关闭<br>1 : 开启<br>2 : 开启中<br>3 : 关闭中<br>4 : 异常</p>
|
|
2398
2408
|
:type Status: int
|
|
2399
|
-
:param _SwitchMode:
|
|
2409
|
+
:param _SwitchMode: <p>开关接入模式,1:自动接入;2,手动接入,0:未选择</p>
|
|
2400
2410
|
:type SwitchMode: int
|
|
2401
|
-
:param _NonCluster:
|
|
2411
|
+
:param _NonCluster: <p>实例对象是否处于非集群接入场景(主备模式)</p>
|
|
2402
2412
|
:type NonCluster: int
|
|
2403
|
-
:param _IpVersion: ip版本,0:ipv4;1:ipv6
|
|
2413
|
+
:param _IpVersion: <p>ip版本,0:ipv4;1:ipv6</p>
|
|
2404
2414
|
:type IpVersion: int
|
|
2405
|
-
:param _AttachIns:
|
|
2415
|
+
:param _AttachIns: <p>关联实例</p>
|
|
2406
2416
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2407
2417
|
:type AttachIns: list of AttachInsInfo
|
|
2408
|
-
:param _Endpoints:
|
|
2418
|
+
:param _Endpoints: <p>引流私有网络端点信息</p>
|
|
2409
2419
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2410
2420
|
:type Endpoints: list of EndpointInfo
|
|
2411
|
-
:param _Idpsaction:
|
|
2421
|
+
:param _Idpsaction: <p>入侵防护模式,0:观察;1:拦截;2:严格;3:关闭</p>
|
|
2412
2422
|
:type Idpsaction: int
|
|
2413
|
-
:param _TransEnable:
|
|
2423
|
+
:param _TransEnable: <p>//透明模式开关,0:未开启,1:已开启</p>
|
|
2414
2424
|
:type TransEnable: int
|
|
2415
|
-
:param _Enable:
|
|
2425
|
+
:param _Enable: <p>开关状态 0关闭 1开启</p>
|
|
2416
2426
|
:type Enable: int
|
|
2417
|
-
:param _RoutingMode:
|
|
2427
|
+
:param _RoutingMode: <p>路由模式:0:多路由表,1:策略路由</p>
|
|
2418
2428
|
:type RoutingMode: int
|
|
2419
|
-
:param _IsPeer:
|
|
2429
|
+
:param _IsPeer: <p>是否跨租户开关 1是 0不是</p>
|
|
2420
2430
|
:type IsPeer: int
|
|
2421
|
-
:param _PeerAppid:
|
|
2431
|
+
:param _PeerAppid: <p>跨租户appid</p>
|
|
2422
2432
|
:type PeerAppid: str
|
|
2423
|
-
:param _PeerStatus:
|
|
2433
|
+
:param _PeerStatus: <p>跨租户操作状态 1不允许操作 0可以</p>
|
|
2424
2434
|
:type PeerStatus: int
|
|
2435
|
+
:param _Bypass: <p>Bypass状态</p>
|
|
2436
|
+
:type Bypass: int
|
|
2437
|
+
:param _Progress: <p>防火墙开关操作时的进度状态:</p><p>// 开启 — 自动模式(3步)<br>"AUTO_OPEN_ORCHESTRATING" // 步骤1: 预编排策略路由<br>"AUTO_OPEN_CREATING_RESOURCES" // 步骤2: 创建引流网络和资源<br>"AUTO_OPEN_PUSHING_ROUTES" // 步骤3: 创建策略路由</p><p>// 开启 — 手动模式(1步)<br>"MANUAL_OPEN_CREATING_RESOURCES" // 步骤1: 创建引流网络和资源</p><p>// 关闭 — 自动模式(2步)<br>"AUTO_CLOSE_DELETING_ROUTES" // 步骤1: 删除策略路由<br>"AUTO_CLOSE_DELETING_RESOURCES" // 步骤2: 删除引流网络和资源<br>// 关闭 — 手动模式(1步)<br>"MANUAL_CLOSE_DELETING_RESOURCES" // 步骤1: 删除引流网络和资源</p><p>// 修改 — 自动模式(3步)<br>"AUTO_MODIFY_ORCHESTRATING" // 步骤1: 预编排策略路由<br>"AUTO_MODIFY_DELETING_ROUTES" // 步骤2: 删除旧策略路由<br>"AUTO_MODIFY_PUSHING_ROUTES" // 步骤3: 创建新策略路由</p><p>// 修改 — 手动模式(1步,仅 VPC 防火墙存在手动模式修改)<br>"MANUAL_MODIFY_UPDATING_RESOURCES" // 步骤1: 更新引流网络和资源</p>
|
|
2438
|
+
:type Progress: str
|
|
2425
2439
|
"""
|
|
2426
2440
|
self._InsObj = None
|
|
2427
2441
|
self._ObjName = None
|
|
@@ -2441,10 +2455,12 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2441
2455
|
self._IsPeer = None
|
|
2442
2456
|
self._PeerAppid = None
|
|
2443
2457
|
self._PeerStatus = None
|
|
2458
|
+
self._Bypass = None
|
|
2459
|
+
self._Progress = None
|
|
2444
2460
|
|
|
2445
2461
|
@property
|
|
2446
2462
|
def InsObj(self):
|
|
2447
|
-
r"""
|
|
2463
|
+
r"""<p>实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等</p>
|
|
2448
2464
|
:rtype: str
|
|
2449
2465
|
"""
|
|
2450
2466
|
return self._InsObj
|
|
@@ -2455,7 +2471,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2455
2471
|
|
|
2456
2472
|
@property
|
|
2457
2473
|
def ObjName(self):
|
|
2458
|
-
r"""
|
|
2474
|
+
r"""<p>实例对象名称</p>
|
|
2459
2475
|
:rtype: str
|
|
2460
2476
|
"""
|
|
2461
2477
|
return self._ObjName
|
|
@@ -2466,7 +2482,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2466
2482
|
|
|
2467
2483
|
@property
|
|
2468
2484
|
def FwType(self):
|
|
2469
|
-
r"""
|
|
2485
|
+
r"""<p>防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙</p>
|
|
2470
2486
|
:rtype: str
|
|
2471
2487
|
"""
|
|
2472
2488
|
return self._FwType
|
|
@@ -2477,7 +2493,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2477
2493
|
|
|
2478
2494
|
@property
|
|
2479
2495
|
def AssetType(self):
|
|
2480
|
-
r"""
|
|
2496
|
+
r"""<p>资产类型,ccn:ccn实例类型;nat:nat网关类型</p>
|
|
2481
2497
|
:rtype: str
|
|
2482
2498
|
"""
|
|
2483
2499
|
return self._AssetType
|
|
@@ -2488,7 +2504,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2488
2504
|
|
|
2489
2505
|
@property
|
|
2490
2506
|
def Region(self):
|
|
2491
|
-
r"""
|
|
2507
|
+
r"""<p>地域</p>
|
|
2492
2508
|
:rtype: str
|
|
2493
2509
|
"""
|
|
2494
2510
|
return self._Region
|
|
@@ -2499,12 +2515,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2499
2515
|
|
|
2500
2516
|
@property
|
|
2501
2517
|
def Status(self):
|
|
2502
|
-
r"""
|
|
2503
|
-
0 : 关闭
|
|
2504
|
-
1 : 开启
|
|
2505
|
-
2 : 开启中
|
|
2506
|
-
3 : 关闭中
|
|
2507
|
-
4 : 异常
|
|
2518
|
+
r"""<p>开关状态<br>0 : 关闭<br>1 : 开启<br>2 : 开启中<br>3 : 关闭中<br>4 : 异常</p>
|
|
2508
2519
|
:rtype: int
|
|
2509
2520
|
"""
|
|
2510
2521
|
return self._Status
|
|
@@ -2515,7 +2526,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2515
2526
|
|
|
2516
2527
|
@property
|
|
2517
2528
|
def SwitchMode(self):
|
|
2518
|
-
r"""
|
|
2529
|
+
r"""<p>开关接入模式,1:自动接入;2,手动接入,0:未选择</p>
|
|
2519
2530
|
:rtype: int
|
|
2520
2531
|
"""
|
|
2521
2532
|
return self._SwitchMode
|
|
@@ -2526,7 +2537,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2526
2537
|
|
|
2527
2538
|
@property
|
|
2528
2539
|
def NonCluster(self):
|
|
2529
|
-
r"""
|
|
2540
|
+
r"""<p>实例对象是否处于非集群接入场景(主备模式)</p>
|
|
2530
2541
|
:rtype: int
|
|
2531
2542
|
"""
|
|
2532
2543
|
return self._NonCluster
|
|
@@ -2537,7 +2548,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2537
2548
|
|
|
2538
2549
|
@property
|
|
2539
2550
|
def IpVersion(self):
|
|
2540
|
-
r"""ip版本,0:ipv4;1:ipv6
|
|
2551
|
+
r"""<p>ip版本,0:ipv4;1:ipv6</p>
|
|
2541
2552
|
:rtype: int
|
|
2542
2553
|
"""
|
|
2543
2554
|
return self._IpVersion
|
|
@@ -2548,7 +2559,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2548
2559
|
|
|
2549
2560
|
@property
|
|
2550
2561
|
def AttachIns(self):
|
|
2551
|
-
r"""
|
|
2562
|
+
r"""<p>关联实例</p>
|
|
2552
2563
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2553
2564
|
:rtype: list of AttachInsInfo
|
|
2554
2565
|
"""
|
|
@@ -2560,7 +2571,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2560
2571
|
|
|
2561
2572
|
@property
|
|
2562
2573
|
def Endpoints(self):
|
|
2563
|
-
r"""
|
|
2574
|
+
r"""<p>引流私有网络端点信息</p>
|
|
2564
2575
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2565
2576
|
:rtype: list of EndpointInfo
|
|
2566
2577
|
"""
|
|
@@ -2572,7 +2583,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2572
2583
|
|
|
2573
2584
|
@property
|
|
2574
2585
|
def Idpsaction(self):
|
|
2575
|
-
r"""
|
|
2586
|
+
r"""<p>入侵防护模式,0:观察;1:拦截;2:严格;3:关闭</p>
|
|
2576
2587
|
:rtype: int
|
|
2577
2588
|
"""
|
|
2578
2589
|
return self._Idpsaction
|
|
@@ -2583,7 +2594,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2583
2594
|
|
|
2584
2595
|
@property
|
|
2585
2596
|
def TransEnable(self):
|
|
2586
|
-
r"""
|
|
2597
|
+
r"""<p>//透明模式开关,0:未开启,1:已开启</p>
|
|
2587
2598
|
:rtype: int
|
|
2588
2599
|
"""
|
|
2589
2600
|
return self._TransEnable
|
|
@@ -2594,7 +2605,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2594
2605
|
|
|
2595
2606
|
@property
|
|
2596
2607
|
def Enable(self):
|
|
2597
|
-
r"""
|
|
2608
|
+
r"""<p>开关状态 0关闭 1开启</p>
|
|
2598
2609
|
:rtype: int
|
|
2599
2610
|
"""
|
|
2600
2611
|
return self._Enable
|
|
@@ -2605,7 +2616,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2605
2616
|
|
|
2606
2617
|
@property
|
|
2607
2618
|
def RoutingMode(self):
|
|
2608
|
-
r"""
|
|
2619
|
+
r"""<p>路由模式:0:多路由表,1:策略路由</p>
|
|
2609
2620
|
:rtype: int
|
|
2610
2621
|
"""
|
|
2611
2622
|
return self._RoutingMode
|
|
@@ -2616,7 +2627,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2616
2627
|
|
|
2617
2628
|
@property
|
|
2618
2629
|
def IsPeer(self):
|
|
2619
|
-
r"""
|
|
2630
|
+
r"""<p>是否跨租户开关 1是 0不是</p>
|
|
2620
2631
|
:rtype: int
|
|
2621
2632
|
"""
|
|
2622
2633
|
return self._IsPeer
|
|
@@ -2627,7 +2638,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2627
2638
|
|
|
2628
2639
|
@property
|
|
2629
2640
|
def PeerAppid(self):
|
|
2630
|
-
r"""
|
|
2641
|
+
r"""<p>跨租户appid</p>
|
|
2631
2642
|
:rtype: str
|
|
2632
2643
|
"""
|
|
2633
2644
|
return self._PeerAppid
|
|
@@ -2638,7 +2649,7 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2638
2649
|
|
|
2639
2650
|
@property
|
|
2640
2651
|
def PeerStatus(self):
|
|
2641
|
-
r"""
|
|
2652
|
+
r"""<p>跨租户操作状态 1不允许操作 0可以</p>
|
|
2642
2653
|
:rtype: int
|
|
2643
2654
|
"""
|
|
2644
2655
|
return self._PeerStatus
|
|
@@ -2647,6 +2658,28 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2647
2658
|
def PeerStatus(self, PeerStatus):
|
|
2648
2659
|
self._PeerStatus = PeerStatus
|
|
2649
2660
|
|
|
2661
|
+
@property
|
|
2662
|
+
def Bypass(self):
|
|
2663
|
+
r"""<p>Bypass状态</p>
|
|
2664
|
+
:rtype: int
|
|
2665
|
+
"""
|
|
2666
|
+
return self._Bypass
|
|
2667
|
+
|
|
2668
|
+
@Bypass.setter
|
|
2669
|
+
def Bypass(self, Bypass):
|
|
2670
|
+
self._Bypass = Bypass
|
|
2671
|
+
|
|
2672
|
+
@property
|
|
2673
|
+
def Progress(self):
|
|
2674
|
+
r"""<p>防火墙开关操作时的进度状态:</p><p>// 开启 — 自动模式(3步)<br>"AUTO_OPEN_ORCHESTRATING" // 步骤1: 预编排策略路由<br>"AUTO_OPEN_CREATING_RESOURCES" // 步骤2: 创建引流网络和资源<br>"AUTO_OPEN_PUSHING_ROUTES" // 步骤3: 创建策略路由</p><p>// 开启 — 手动模式(1步)<br>"MANUAL_OPEN_CREATING_RESOURCES" // 步骤1: 创建引流网络和资源</p><p>// 关闭 — 自动模式(2步)<br>"AUTO_CLOSE_DELETING_ROUTES" // 步骤1: 删除策略路由<br>"AUTO_CLOSE_DELETING_RESOURCES" // 步骤2: 删除引流网络和资源<br>// 关闭 — 手动模式(1步)<br>"MANUAL_CLOSE_DELETING_RESOURCES" // 步骤1: 删除引流网络和资源</p><p>// 修改 — 自动模式(3步)<br>"AUTO_MODIFY_ORCHESTRATING" // 步骤1: 预编排策略路由<br>"AUTO_MODIFY_DELETING_ROUTES" // 步骤2: 删除旧策略路由<br>"AUTO_MODIFY_PUSHING_ROUTES" // 步骤3: 创建新策略路由</p><p>// 修改 — 手动模式(1步,仅 VPC 防火墙存在手动模式修改)<br>"MANUAL_MODIFY_UPDATING_RESOURCES" // 步骤1: 更新引流网络和资源</p>
|
|
2675
|
+
:rtype: str
|
|
2676
|
+
"""
|
|
2677
|
+
return self._Progress
|
|
2678
|
+
|
|
2679
|
+
@Progress.setter
|
|
2680
|
+
def Progress(self, Progress):
|
|
2681
|
+
self._Progress = Progress
|
|
2682
|
+
|
|
2650
2683
|
|
|
2651
2684
|
def _deserialize(self, params):
|
|
2652
2685
|
self._InsObj = params.get("InsObj")
|
|
@@ -2677,6 +2710,8 @@ class ClusterSwitchDetail(AbstractModel):
|
|
|
2677
2710
|
self._IsPeer = params.get("IsPeer")
|
|
2678
2711
|
self._PeerAppid = params.get("PeerAppid")
|
|
2679
2712
|
self._PeerStatus = params.get("PeerStatus")
|
|
2713
|
+
self._Bypass = params.get("Bypass")
|
|
2714
|
+
self._Progress = params.get("Progress")
|
|
2680
2715
|
memeber_set = set(params.keys())
|
|
2681
2716
|
for name, value in vars(self).items():
|
|
2682
2717
|
property_name = name[1:]
|
|
@@ -10196,11 +10231,14 @@ class DescribeClusterVpcFwSwitchsResponse(AbstractModel):
|
|
|
10196
10231
|
:param _Data: 防火墙开关列表
|
|
10197
10232
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10198
10233
|
:type Data: list of ClusterSwitchDetail
|
|
10234
|
+
:param _FailData: 开关开启失败列表
|
|
10235
|
+
:type FailData: list of SwitchFailInfo
|
|
10199
10236
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10200
10237
|
:type RequestId: str
|
|
10201
10238
|
"""
|
|
10202
10239
|
self._Total = None
|
|
10203
10240
|
self._Data = None
|
|
10241
|
+
self._FailData = None
|
|
10204
10242
|
self._RequestId = None
|
|
10205
10243
|
|
|
10206
10244
|
@property
|
|
@@ -10226,6 +10264,17 @@ class DescribeClusterVpcFwSwitchsResponse(AbstractModel):
|
|
|
10226
10264
|
def Data(self, Data):
|
|
10227
10265
|
self._Data = Data
|
|
10228
10266
|
|
|
10267
|
+
@property
|
|
10268
|
+
def FailData(self):
|
|
10269
|
+
r"""开关开启失败列表
|
|
10270
|
+
:rtype: list of SwitchFailInfo
|
|
10271
|
+
"""
|
|
10272
|
+
return self._FailData
|
|
10273
|
+
|
|
10274
|
+
@FailData.setter
|
|
10275
|
+
def FailData(self, FailData):
|
|
10276
|
+
self._FailData = FailData
|
|
10277
|
+
|
|
10229
10278
|
@property
|
|
10230
10279
|
def RequestId(self):
|
|
10231
10280
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -10246,6 +10295,12 @@ class DescribeClusterVpcFwSwitchsResponse(AbstractModel):
|
|
|
10246
10295
|
obj = ClusterSwitchDetail()
|
|
10247
10296
|
obj._deserialize(item)
|
|
10248
10297
|
self._Data.append(obj)
|
|
10298
|
+
if params.get("FailData") is not None:
|
|
10299
|
+
self._FailData = []
|
|
10300
|
+
for item in params.get("FailData"):
|
|
10301
|
+
obj = SwitchFailInfo()
|
|
10302
|
+
obj._deserialize(item)
|
|
10303
|
+
self._FailData.append(obj)
|
|
10249
10304
|
self._RequestId = params.get("RequestId")
|
|
10250
10305
|
|
|
10251
10306
|
|
|
@@ -13154,17 +13209,20 @@ class DescribeNatFwInstanceResponse(AbstractModel):
|
|
|
13154
13209
|
|
|
13155
13210
|
def __init__(self):
|
|
13156
13211
|
r"""
|
|
13157
|
-
:param _NatinsLst:
|
|
13212
|
+
:param _NatinsLst: <p>实例数组</p>
|
|
13158
13213
|
:type NatinsLst: list of NatFwInstance
|
|
13214
|
+
:param _NatClusterLst: <p>nat ccn集群防火墙列表</p>
|
|
13215
|
+
:type NatClusterLst: list of NatClusterInfo
|
|
13159
13216
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13160
13217
|
:type RequestId: str
|
|
13161
13218
|
"""
|
|
13162
13219
|
self._NatinsLst = None
|
|
13220
|
+
self._NatClusterLst = None
|
|
13163
13221
|
self._RequestId = None
|
|
13164
13222
|
|
|
13165
13223
|
@property
|
|
13166
13224
|
def NatinsLst(self):
|
|
13167
|
-
r"""
|
|
13225
|
+
r"""<p>实例数组</p>
|
|
13168
13226
|
:rtype: list of NatFwInstance
|
|
13169
13227
|
"""
|
|
13170
13228
|
return self._NatinsLst
|
|
@@ -13173,6 +13231,17 @@ class DescribeNatFwInstanceResponse(AbstractModel):
|
|
|
13173
13231
|
def NatinsLst(self, NatinsLst):
|
|
13174
13232
|
self._NatinsLst = NatinsLst
|
|
13175
13233
|
|
|
13234
|
+
@property
|
|
13235
|
+
def NatClusterLst(self):
|
|
13236
|
+
r"""<p>nat ccn集群防火墙列表</p>
|
|
13237
|
+
:rtype: list of NatClusterInfo
|
|
13238
|
+
"""
|
|
13239
|
+
return self._NatClusterLst
|
|
13240
|
+
|
|
13241
|
+
@NatClusterLst.setter
|
|
13242
|
+
def NatClusterLst(self, NatClusterLst):
|
|
13243
|
+
self._NatClusterLst = NatClusterLst
|
|
13244
|
+
|
|
13176
13245
|
@property
|
|
13177
13246
|
def RequestId(self):
|
|
13178
13247
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -13192,6 +13261,12 @@ class DescribeNatFwInstanceResponse(AbstractModel):
|
|
|
13192
13261
|
obj = NatFwInstance()
|
|
13193
13262
|
obj._deserialize(item)
|
|
13194
13263
|
self._NatinsLst.append(obj)
|
|
13264
|
+
if params.get("NatClusterLst") is not None:
|
|
13265
|
+
self._NatClusterLst = []
|
|
13266
|
+
for item in params.get("NatClusterLst"):
|
|
13267
|
+
obj = NatClusterInfo()
|
|
13268
|
+
obj._deserialize(item)
|
|
13269
|
+
self._NatClusterLst.append(obj)
|
|
13195
13270
|
self._RequestId = params.get("RequestId")
|
|
13196
13271
|
|
|
13197
13272
|
|
|
@@ -23531,6 +23606,57 @@ class NDRAssetServiceStats(AbstractModel):
|
|
|
23531
23606
|
|
|
23532
23607
|
|
|
23533
23608
|
|
|
23609
|
+
class NatClusterInfo(AbstractModel):
|
|
23610
|
+
r"""NAT集群模式开关信息
|
|
23611
|
+
|
|
23612
|
+
"""
|
|
23613
|
+
|
|
23614
|
+
def __init__(self):
|
|
23615
|
+
r"""
|
|
23616
|
+
:param _NatInsId: <p>nat网关ID</p>
|
|
23617
|
+
:type NatInsId: str
|
|
23618
|
+
:param _NatInsName: <p>nat网关名称</p>
|
|
23619
|
+
:type NatInsName: str
|
|
23620
|
+
"""
|
|
23621
|
+
self._NatInsId = None
|
|
23622
|
+
self._NatInsName = None
|
|
23623
|
+
|
|
23624
|
+
@property
|
|
23625
|
+
def NatInsId(self):
|
|
23626
|
+
r"""<p>nat网关ID</p>
|
|
23627
|
+
:rtype: str
|
|
23628
|
+
"""
|
|
23629
|
+
return self._NatInsId
|
|
23630
|
+
|
|
23631
|
+
@NatInsId.setter
|
|
23632
|
+
def NatInsId(self, NatInsId):
|
|
23633
|
+
self._NatInsId = NatInsId
|
|
23634
|
+
|
|
23635
|
+
@property
|
|
23636
|
+
def NatInsName(self):
|
|
23637
|
+
r"""<p>nat网关名称</p>
|
|
23638
|
+
:rtype: str
|
|
23639
|
+
"""
|
|
23640
|
+
return self._NatInsName
|
|
23641
|
+
|
|
23642
|
+
@NatInsName.setter
|
|
23643
|
+
def NatInsName(self, NatInsName):
|
|
23644
|
+
self._NatInsName = NatInsName
|
|
23645
|
+
|
|
23646
|
+
|
|
23647
|
+
def _deserialize(self, params):
|
|
23648
|
+
self._NatInsId = params.get("NatInsId")
|
|
23649
|
+
self._NatInsName = params.get("NatInsName")
|
|
23650
|
+
memeber_set = set(params.keys())
|
|
23651
|
+
for name, value in vars(self).items():
|
|
23652
|
+
property_name = name[1:]
|
|
23653
|
+
if property_name in memeber_set:
|
|
23654
|
+
memeber_set.remove(property_name)
|
|
23655
|
+
if len(memeber_set) > 0:
|
|
23656
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23657
|
+
|
|
23658
|
+
|
|
23659
|
+
|
|
23534
23660
|
class NatFwEipsInfo(AbstractModel):
|
|
23535
23661
|
r"""Nat防火墙弹性公网ip列表
|
|
23536
23662
|
|
|
@@ -28900,6 +29026,72 @@ class SwitchError(AbstractModel):
|
|
|
28900
29026
|
|
|
28901
29027
|
|
|
28902
29028
|
|
|
29029
|
+
class SwitchFailInfo(AbstractModel):
|
|
29030
|
+
r"""开关开启错误码数据
|
|
29031
|
+
|
|
29032
|
+
"""
|
|
29033
|
+
|
|
29034
|
+
def __init__(self):
|
|
29035
|
+
r"""
|
|
29036
|
+
:param _Id: 自增唯一ID
|
|
29037
|
+
:type Id: int
|
|
29038
|
+
:param _Name: 开关名称
|
|
29039
|
+
:type Name: str
|
|
29040
|
+
:param _Status: 防火墙开关变动状态,小于0
|
|
29041
|
+
:type Status: int
|
|
29042
|
+
"""
|
|
29043
|
+
self._Id = None
|
|
29044
|
+
self._Name = None
|
|
29045
|
+
self._Status = None
|
|
29046
|
+
|
|
29047
|
+
@property
|
|
29048
|
+
def Id(self):
|
|
29049
|
+
r"""自增唯一ID
|
|
29050
|
+
:rtype: int
|
|
29051
|
+
"""
|
|
29052
|
+
return self._Id
|
|
29053
|
+
|
|
29054
|
+
@Id.setter
|
|
29055
|
+
def Id(self, Id):
|
|
29056
|
+
self._Id = Id
|
|
29057
|
+
|
|
29058
|
+
@property
|
|
29059
|
+
def Name(self):
|
|
29060
|
+
r"""开关名称
|
|
29061
|
+
:rtype: str
|
|
29062
|
+
"""
|
|
29063
|
+
return self._Name
|
|
29064
|
+
|
|
29065
|
+
@Name.setter
|
|
29066
|
+
def Name(self, Name):
|
|
29067
|
+
self._Name = Name
|
|
29068
|
+
|
|
29069
|
+
@property
|
|
29070
|
+
def Status(self):
|
|
29071
|
+
r"""防火墙开关变动状态,小于0
|
|
29072
|
+
:rtype: int
|
|
29073
|
+
"""
|
|
29074
|
+
return self._Status
|
|
29075
|
+
|
|
29076
|
+
@Status.setter
|
|
29077
|
+
def Status(self, Status):
|
|
29078
|
+
self._Status = Status
|
|
29079
|
+
|
|
29080
|
+
|
|
29081
|
+
def _deserialize(self, params):
|
|
29082
|
+
self._Id = params.get("Id")
|
|
29083
|
+
self._Name = params.get("Name")
|
|
29084
|
+
self._Status = params.get("Status")
|
|
29085
|
+
memeber_set = set(params.keys())
|
|
29086
|
+
for name, value in vars(self).items():
|
|
29087
|
+
property_name = name[1:]
|
|
29088
|
+
if property_name in memeber_set:
|
|
29089
|
+
memeber_set.remove(property_name)
|
|
29090
|
+
if len(memeber_set) > 0:
|
|
29091
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
29092
|
+
|
|
29093
|
+
|
|
29094
|
+
|
|
28903
29095
|
class SwitchListsData(AbstractModel):
|
|
28904
29096
|
r"""防火墙开关列表对象
|
|
28905
29097
|
|
|
@@ -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.88
|
|
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.88
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.88
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|