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