tencentcloud-sdk-python-cfw 3.1.25__tar.gz → 3.1.32__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.25 → tencentcloud_sdk_python_cfw-3.1.32}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud/cfw/v20190904/cfw_client.py +46 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud/cfw/v20190904/cfw_client_async.py +36 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud/cfw/v20190904/models.py +206 -2
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.32/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.25/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.25 → tencentcloud_sdk_python_cfw-3.1.32}/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.32
|
|
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.32
|
|
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.32,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -1178,6 +1178,29 @@ class CfwClient(AbstractClient):
|
|
|
1178
1178
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1179
1179
|
|
|
1180
1180
|
|
|
1181
|
+
def DescribeIpsModeSwitch(self, request):
|
|
1182
|
+
r"""获取入侵防御防护模式
|
|
1183
|
+
|
|
1184
|
+
:param request: Request instance for DescribeIpsModeSwitch.
|
|
1185
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeIpsModeSwitchRequest`
|
|
1186
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeIpsModeSwitchResponse`
|
|
1187
|
+
|
|
1188
|
+
"""
|
|
1189
|
+
try:
|
|
1190
|
+
params = request._serialize()
|
|
1191
|
+
headers = request.headers
|
|
1192
|
+
body = self.call("DescribeIpsModeSwitch", params, headers=headers)
|
|
1193
|
+
response = json.loads(body)
|
|
1194
|
+
model = models.DescribeIpsModeSwitchResponse()
|
|
1195
|
+
model._deserialize(response["Response"])
|
|
1196
|
+
return model
|
|
1197
|
+
except Exception as e:
|
|
1198
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1199
|
+
raise
|
|
1200
|
+
else:
|
|
1201
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1202
|
+
|
|
1203
|
+
|
|
1181
1204
|
def DescribeLogStorageStatistic(self, request):
|
|
1182
1205
|
r"""租户日志存储统计
|
|
1183
1206
|
|
|
@@ -2148,6 +2171,29 @@ class CfwClient(AbstractClient):
|
|
|
2148
2171
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2149
2172
|
|
|
2150
2173
|
|
|
2174
|
+
def ModifyIpsModeSwitch(self, request):
|
|
2175
|
+
r"""修改入侵防御防护模式
|
|
2176
|
+
|
|
2177
|
+
:param request: Request instance for ModifyIpsModeSwitch.
|
|
2178
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyIpsModeSwitchRequest`
|
|
2179
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyIpsModeSwitchResponse`
|
|
2180
|
+
|
|
2181
|
+
"""
|
|
2182
|
+
try:
|
|
2183
|
+
params = request._serialize()
|
|
2184
|
+
headers = request.headers
|
|
2185
|
+
body = self.call("ModifyIpsModeSwitch", params, headers=headers)
|
|
2186
|
+
response = json.loads(body)
|
|
2187
|
+
model = models.ModifyIpsModeSwitchResponse()
|
|
2188
|
+
model._deserialize(response["Response"])
|
|
2189
|
+
return model
|
|
2190
|
+
except Exception as e:
|
|
2191
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2192
|
+
raise
|
|
2193
|
+
else:
|
|
2194
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2195
|
+
|
|
2196
|
+
|
|
2151
2197
|
def ModifyNatAcRule(self, request):
|
|
2152
2198
|
r"""修改NAT访问控制规则
|
|
2153
2199
|
|
|
@@ -927,6 +927,24 @@ class CfwClient(AbstractClient):
|
|
|
927
927
|
|
|
928
928
|
return await self.call_and_deserialize(**kwargs)
|
|
929
929
|
|
|
930
|
+
async def DescribeIpsModeSwitch(
|
|
931
|
+
self,
|
|
932
|
+
request: models.DescribeIpsModeSwitchRequest,
|
|
933
|
+
opts: Dict = None,
|
|
934
|
+
) -> models.DescribeIpsModeSwitchResponse:
|
|
935
|
+
"""
|
|
936
|
+
获取入侵防御防护模式
|
|
937
|
+
"""
|
|
938
|
+
|
|
939
|
+
kwargs = {}
|
|
940
|
+
kwargs["action"] = "DescribeIpsModeSwitch"
|
|
941
|
+
kwargs["params"] = request._serialize()
|
|
942
|
+
kwargs["resp_cls"] = models.DescribeIpsModeSwitchResponse
|
|
943
|
+
kwargs["headers"] = request.headers
|
|
944
|
+
kwargs["opts"] = opts or {}
|
|
945
|
+
|
|
946
|
+
return await self.call_and_deserialize(**kwargs)
|
|
947
|
+
|
|
930
948
|
async def DescribeLogStorageStatistic(
|
|
931
949
|
self,
|
|
932
950
|
request: models.DescribeLogStorageStatisticRequest,
|
|
@@ -1687,6 +1705,24 @@ class CfwClient(AbstractClient):
|
|
|
1687
1705
|
|
|
1688
1706
|
return await self.call_and_deserialize(**kwargs)
|
|
1689
1707
|
|
|
1708
|
+
async def ModifyIpsModeSwitch(
|
|
1709
|
+
self,
|
|
1710
|
+
request: models.ModifyIpsModeSwitchRequest,
|
|
1711
|
+
opts: Dict = None,
|
|
1712
|
+
) -> models.ModifyIpsModeSwitchResponse:
|
|
1713
|
+
"""
|
|
1714
|
+
修改入侵防御防护模式
|
|
1715
|
+
"""
|
|
1716
|
+
|
|
1717
|
+
kwargs = {}
|
|
1718
|
+
kwargs["action"] = "ModifyIpsModeSwitch"
|
|
1719
|
+
kwargs["params"] = request._serialize()
|
|
1720
|
+
kwargs["resp_cls"] = models.ModifyIpsModeSwitchResponse
|
|
1721
|
+
kwargs["headers"] = request.headers
|
|
1722
|
+
kwargs["opts"] = opts or {}
|
|
1723
|
+
|
|
1724
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1725
|
+
|
|
1690
1726
|
async def ModifyNatAcRule(
|
|
1691
1727
|
self,
|
|
1692
1728
|
request: models.ModifyNatAcRuleRequest,
|
|
@@ -11458,6 +11458,87 @@ class DescribeIPStatusListResponse(AbstractModel):
|
|
|
11458
11458
|
self._RequestId = params.get("RequestId")
|
|
11459
11459
|
|
|
11460
11460
|
|
|
11461
|
+
class DescribeIpsModeSwitchRequest(AbstractModel):
|
|
11462
|
+
r"""DescribeIpsModeSwitch请求参数结构体
|
|
11463
|
+
|
|
11464
|
+
"""
|
|
11465
|
+
|
|
11466
|
+
|
|
11467
|
+
class DescribeIpsModeSwitchResponse(AbstractModel):
|
|
11468
|
+
r"""DescribeIpsModeSwitch返回参数结构体
|
|
11469
|
+
|
|
11470
|
+
"""
|
|
11471
|
+
|
|
11472
|
+
def __init__(self):
|
|
11473
|
+
r"""
|
|
11474
|
+
:param _Data: // Mode 取值校验:0-观察模式, 1-拦截模式, 2-严格模式
|
|
11475
|
+
:type Data: :class:`tencentcloud.cfw.v20190904.models.ModeInfo`
|
|
11476
|
+
:param _ReturnCode: 0 成功 非0失败
|
|
11477
|
+
:type ReturnCode: int
|
|
11478
|
+
:param _ReturnMsg: success 成功 其他失败
|
|
11479
|
+
:type ReturnMsg: str
|
|
11480
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11481
|
+
:type RequestId: str
|
|
11482
|
+
"""
|
|
11483
|
+
self._Data = None
|
|
11484
|
+
self._ReturnCode = None
|
|
11485
|
+
self._ReturnMsg = None
|
|
11486
|
+
self._RequestId = None
|
|
11487
|
+
|
|
11488
|
+
@property
|
|
11489
|
+
def Data(self):
|
|
11490
|
+
r"""// Mode 取值校验:0-观察模式, 1-拦截模式, 2-严格模式
|
|
11491
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModeInfo`
|
|
11492
|
+
"""
|
|
11493
|
+
return self._Data
|
|
11494
|
+
|
|
11495
|
+
@Data.setter
|
|
11496
|
+
def Data(self, Data):
|
|
11497
|
+
self._Data = Data
|
|
11498
|
+
|
|
11499
|
+
@property
|
|
11500
|
+
def ReturnCode(self):
|
|
11501
|
+
r"""0 成功 非0失败
|
|
11502
|
+
:rtype: int
|
|
11503
|
+
"""
|
|
11504
|
+
return self._ReturnCode
|
|
11505
|
+
|
|
11506
|
+
@ReturnCode.setter
|
|
11507
|
+
def ReturnCode(self, ReturnCode):
|
|
11508
|
+
self._ReturnCode = ReturnCode
|
|
11509
|
+
|
|
11510
|
+
@property
|
|
11511
|
+
def ReturnMsg(self):
|
|
11512
|
+
r"""success 成功 其他失败
|
|
11513
|
+
:rtype: str
|
|
11514
|
+
"""
|
|
11515
|
+
return self._ReturnMsg
|
|
11516
|
+
|
|
11517
|
+
@ReturnMsg.setter
|
|
11518
|
+
def ReturnMsg(self, ReturnMsg):
|
|
11519
|
+
self._ReturnMsg = ReturnMsg
|
|
11520
|
+
|
|
11521
|
+
@property
|
|
11522
|
+
def RequestId(self):
|
|
11523
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11524
|
+
:rtype: str
|
|
11525
|
+
"""
|
|
11526
|
+
return self._RequestId
|
|
11527
|
+
|
|
11528
|
+
@RequestId.setter
|
|
11529
|
+
def RequestId(self, RequestId):
|
|
11530
|
+
self._RequestId = RequestId
|
|
11531
|
+
|
|
11532
|
+
|
|
11533
|
+
def _deserialize(self, params):
|
|
11534
|
+
if params.get("Data") is not None:
|
|
11535
|
+
self._Data = ModeInfo()
|
|
11536
|
+
self._Data._deserialize(params.get("Data"))
|
|
11537
|
+
self._ReturnCode = params.get("ReturnCode")
|
|
11538
|
+
self._ReturnMsg = params.get("ReturnMsg")
|
|
11539
|
+
self._RequestId = params.get("RequestId")
|
|
11540
|
+
|
|
11541
|
+
|
|
11461
11542
|
class DescribeLogStorageStatisticRequest(AbstractModel):
|
|
11462
11543
|
r"""DescribeLogStorageStatistic请求参数结构体
|
|
11463
11544
|
|
|
@@ -15450,13 +15531,14 @@ class EdgeIpInfo(AbstractModel):
|
|
|
15450
15531
|
:param _IsSerialRegion: 0: 该地域暂未支持串行
|
|
15451
15532
|
1: 该用户未在该地域配置串行带宽
|
|
15452
15533
|
2: 该用户已在该地域配置串行带宽,可以开启串行开关
|
|
15534
|
+
3. 该地域可以支持串行,但是未部署公共集群
|
|
15453
15535
|
:type IsSerialRegion: int
|
|
15454
15536
|
:param _IsPublicClb: 0: 不是公网CLB 可以开启串行开关
|
|
15455
15537
|
1: 是公网CLB 不可以开启串行开关
|
|
15456
15538
|
|
|
15457
15539
|
:type IsPublicClb: int
|
|
15458
15540
|
:param _EndpointBindEipNum: 0: 开启开关时提示要创建私有连接。
|
|
15459
|
-
1:
|
|
15541
|
+
1: 关闭该开关时提示删除私有连接。
|
|
15460
15542
|
如果大于 1: 关闭开关 、开启开关不需提示创建删除私有连接。
|
|
15461
15543
|
:type EndpointBindEipNum: int
|
|
15462
15544
|
:param _ScanMode: 扫描深度
|
|
@@ -15484,6 +15566,11 @@ class EdgeIpInfo(AbstractModel):
|
|
|
15484
15566
|
:type Domain: str
|
|
15485
15567
|
:param _OverUsedStatus: IP超量状态
|
|
15486
15568
|
:type OverUsedStatus: int
|
|
15569
|
+
:param _SwitchSupportType: 0 都不支持
|
|
15570
|
+
1 支持旁路
|
|
15571
|
+
2 支持串行
|
|
15572
|
+
3 旁路串行都支持
|
|
15573
|
+
:type SwitchSupportType: int
|
|
15487
15574
|
"""
|
|
15488
15575
|
self._PublicIp = None
|
|
15489
15576
|
self._PublicIpType = None
|
|
@@ -15508,6 +15595,7 @@ class EdgeIpInfo(AbstractModel):
|
|
|
15508
15595
|
self._SwitchWeight = None
|
|
15509
15596
|
self._Domain = None
|
|
15510
15597
|
self._OverUsedStatus = None
|
|
15598
|
+
self._SwitchSupportType = None
|
|
15511
15599
|
|
|
15512
15600
|
@property
|
|
15513
15601
|
def PublicIp(self):
|
|
@@ -15637,6 +15725,7 @@ class EdgeIpInfo(AbstractModel):
|
|
|
15637
15725
|
r"""0: 该地域暂未支持串行
|
|
15638
15726
|
1: 该用户未在该地域配置串行带宽
|
|
15639
15727
|
2: 该用户已在该地域配置串行带宽,可以开启串行开关
|
|
15728
|
+
3. 该地域可以支持串行,但是未部署公共集群
|
|
15640
15729
|
:rtype: int
|
|
15641
15730
|
"""
|
|
15642
15731
|
return self._IsSerialRegion
|
|
@@ -15661,7 +15750,7 @@ class EdgeIpInfo(AbstractModel):
|
|
|
15661
15750
|
@property
|
|
15662
15751
|
def EndpointBindEipNum(self):
|
|
15663
15752
|
r"""0: 开启开关时提示要创建私有连接。
|
|
15664
|
-
1:
|
|
15753
|
+
1: 关闭该开关时提示删除私有连接。
|
|
15665
15754
|
如果大于 1: 关闭开关 、开启开关不需提示创建删除私有连接。
|
|
15666
15755
|
:rtype: int
|
|
15667
15756
|
"""
|
|
@@ -15777,6 +15866,20 @@ class EdgeIpInfo(AbstractModel):
|
|
|
15777
15866
|
def OverUsedStatus(self, OverUsedStatus):
|
|
15778
15867
|
self._OverUsedStatus = OverUsedStatus
|
|
15779
15868
|
|
|
15869
|
+
@property
|
|
15870
|
+
def SwitchSupportType(self):
|
|
15871
|
+
r"""0 都不支持
|
|
15872
|
+
1 支持旁路
|
|
15873
|
+
2 支持串行
|
|
15874
|
+
3 旁路串行都支持
|
|
15875
|
+
:rtype: int
|
|
15876
|
+
"""
|
|
15877
|
+
return self._SwitchSupportType
|
|
15878
|
+
|
|
15879
|
+
@SwitchSupportType.setter
|
|
15880
|
+
def SwitchSupportType(self, SwitchSupportType):
|
|
15881
|
+
self._SwitchSupportType = SwitchSupportType
|
|
15882
|
+
|
|
15780
15883
|
|
|
15781
15884
|
def _deserialize(self, params):
|
|
15782
15885
|
self._PublicIp = params.get("PublicIp")
|
|
@@ -15802,6 +15905,7 @@ class EdgeIpInfo(AbstractModel):
|
|
|
15802
15905
|
self._SwitchWeight = params.get("SwitchWeight")
|
|
15803
15906
|
self._Domain = params.get("Domain")
|
|
15804
15907
|
self._OverUsedStatus = params.get("OverUsedStatus")
|
|
15908
|
+
self._SwitchSupportType = params.get("SwitchSupportType")
|
|
15805
15909
|
memeber_set = set(params.keys())
|
|
15806
15910
|
for name, value in vars(self).items():
|
|
15807
15911
|
property_name = name[1:]
|
|
@@ -18410,6 +18514,42 @@ class LogItems(AbstractModel):
|
|
|
18410
18514
|
|
|
18411
18515
|
|
|
18412
18516
|
|
|
18517
|
+
class ModeInfo(AbstractModel):
|
|
18518
|
+
r"""入侵防御防护模式相关
|
|
18519
|
+
|
|
18520
|
+
"""
|
|
18521
|
+
|
|
18522
|
+
def __init__(self):
|
|
18523
|
+
r"""
|
|
18524
|
+
:param _Mode: 0-观察模式, 1-拦截模式, 2-严格模式
|
|
18525
|
+
:type Mode: int
|
|
18526
|
+
"""
|
|
18527
|
+
self._Mode = None
|
|
18528
|
+
|
|
18529
|
+
@property
|
|
18530
|
+
def Mode(self):
|
|
18531
|
+
r"""0-观察模式, 1-拦截模式, 2-严格模式
|
|
18532
|
+
:rtype: int
|
|
18533
|
+
"""
|
|
18534
|
+
return self._Mode
|
|
18535
|
+
|
|
18536
|
+
@Mode.setter
|
|
18537
|
+
def Mode(self, Mode):
|
|
18538
|
+
self._Mode = Mode
|
|
18539
|
+
|
|
18540
|
+
|
|
18541
|
+
def _deserialize(self, params):
|
|
18542
|
+
self._Mode = params.get("Mode")
|
|
18543
|
+
memeber_set = set(params.keys())
|
|
18544
|
+
for name, value in vars(self).items():
|
|
18545
|
+
property_name = name[1:]
|
|
18546
|
+
if property_name in memeber_set:
|
|
18547
|
+
memeber_set.remove(property_name)
|
|
18548
|
+
if len(memeber_set) > 0:
|
|
18549
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18550
|
+
|
|
18551
|
+
|
|
18552
|
+
|
|
18413
18553
|
class ModifyAcRuleRequest(AbstractModel):
|
|
18414
18554
|
r"""ModifyAcRule请求参数结构体
|
|
18415
18555
|
|
|
@@ -20438,6 +20578,70 @@ class ModifyFwGroupSwitchResponse(AbstractModel):
|
|
|
20438
20578
|
self._RequestId = params.get("RequestId")
|
|
20439
20579
|
|
|
20440
20580
|
|
|
20581
|
+
class ModifyIpsModeSwitchRequest(AbstractModel):
|
|
20582
|
+
r"""ModifyIpsModeSwitch请求参数结构体
|
|
20583
|
+
|
|
20584
|
+
"""
|
|
20585
|
+
|
|
20586
|
+
def __init__(self):
|
|
20587
|
+
r"""
|
|
20588
|
+
:param _Mode: 防护模式:0-观察模式, 1-拦截模式, 2-严格模式
|
|
20589
|
+
:type Mode: int
|
|
20590
|
+
"""
|
|
20591
|
+
self._Mode = None
|
|
20592
|
+
|
|
20593
|
+
@property
|
|
20594
|
+
def Mode(self):
|
|
20595
|
+
r"""防护模式:0-观察模式, 1-拦截模式, 2-严格模式
|
|
20596
|
+
:rtype: int
|
|
20597
|
+
"""
|
|
20598
|
+
return self._Mode
|
|
20599
|
+
|
|
20600
|
+
@Mode.setter
|
|
20601
|
+
def Mode(self, Mode):
|
|
20602
|
+
self._Mode = Mode
|
|
20603
|
+
|
|
20604
|
+
|
|
20605
|
+
def _deserialize(self, params):
|
|
20606
|
+
self._Mode = params.get("Mode")
|
|
20607
|
+
memeber_set = set(params.keys())
|
|
20608
|
+
for name, value in vars(self).items():
|
|
20609
|
+
property_name = name[1:]
|
|
20610
|
+
if property_name in memeber_set:
|
|
20611
|
+
memeber_set.remove(property_name)
|
|
20612
|
+
if len(memeber_set) > 0:
|
|
20613
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20614
|
+
|
|
20615
|
+
|
|
20616
|
+
|
|
20617
|
+
class ModifyIpsModeSwitchResponse(AbstractModel):
|
|
20618
|
+
r"""ModifyIpsModeSwitch返回参数结构体
|
|
20619
|
+
|
|
20620
|
+
"""
|
|
20621
|
+
|
|
20622
|
+
def __init__(self):
|
|
20623
|
+
r"""
|
|
20624
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20625
|
+
:type RequestId: str
|
|
20626
|
+
"""
|
|
20627
|
+
self._RequestId = None
|
|
20628
|
+
|
|
20629
|
+
@property
|
|
20630
|
+
def RequestId(self):
|
|
20631
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20632
|
+
:rtype: str
|
|
20633
|
+
"""
|
|
20634
|
+
return self._RequestId
|
|
20635
|
+
|
|
20636
|
+
@RequestId.setter
|
|
20637
|
+
def RequestId(self, RequestId):
|
|
20638
|
+
self._RequestId = RequestId
|
|
20639
|
+
|
|
20640
|
+
|
|
20641
|
+
def _deserialize(self, params):
|
|
20642
|
+
self._RequestId = params.get("RequestId")
|
|
20643
|
+
|
|
20644
|
+
|
|
20441
20645
|
class ModifyNatAcRuleRequest(AbstractModel):
|
|
20442
20646
|
r"""ModifyNatAcRule请求参数结构体
|
|
20443
20647
|
|
|
@@ -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.32
|
|
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.32
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.32
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.25
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|