tencentcloud-sdk-python-cfw 3.1.29__tar.gz → 3.1.51__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.29 → tencentcloud_sdk_python_cfw-3.1.51}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud/cfw/v20190904/cfw_client.py +46 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud/cfw/v20190904/cfw_client_async.py +36 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud/cfw/v20190904/models.py +241 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.51/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.29/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.29 → tencentcloud_sdk_python_cfw-3.1.51}/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.51
|
|
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.51
|
|
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.51,<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
|
|
|
@@ -16174,6 +16255,10 @@ ANY:表示所有
|
|
|
16174
16255
|
:type CreateTime: str
|
|
16175
16256
|
:param _UpdateTime: 规则最近更新时间
|
|
16176
16257
|
:type UpdateTime: str
|
|
16258
|
+
:param _RulePartition: 规则分区,1最前分区,2中间分区,3最后分区
|
|
16259
|
+
:type RulePartition: int
|
|
16260
|
+
:param _Scope: 规则生效范围,SG安全组,LH轻量服务器
|
|
16261
|
+
:type Scope: str
|
|
16177
16262
|
"""
|
|
16178
16263
|
self._OrderIndex = None
|
|
16179
16264
|
self._RuleUuid = None
|
|
@@ -16208,6 +16293,8 @@ ANY:表示所有
|
|
|
16208
16293
|
self._DnsParseCount = None
|
|
16209
16294
|
self._CreateTime = None
|
|
16210
16295
|
self._UpdateTime = None
|
|
16296
|
+
self._RulePartition = None
|
|
16297
|
+
self._Scope = None
|
|
16211
16298
|
|
|
16212
16299
|
@property
|
|
16213
16300
|
def OrderIndex(self):
|
|
@@ -16610,6 +16697,28 @@ ANY:表示所有
|
|
|
16610
16697
|
def UpdateTime(self, UpdateTime):
|
|
16611
16698
|
self._UpdateTime = UpdateTime
|
|
16612
16699
|
|
|
16700
|
+
@property
|
|
16701
|
+
def RulePartition(self):
|
|
16702
|
+
r"""规则分区,1最前分区,2中间分区,3最后分区
|
|
16703
|
+
:rtype: int
|
|
16704
|
+
"""
|
|
16705
|
+
return self._RulePartition
|
|
16706
|
+
|
|
16707
|
+
@RulePartition.setter
|
|
16708
|
+
def RulePartition(self, RulePartition):
|
|
16709
|
+
self._RulePartition = RulePartition
|
|
16710
|
+
|
|
16711
|
+
@property
|
|
16712
|
+
def Scope(self):
|
|
16713
|
+
r"""规则生效范围,SG安全组,LH轻量服务器
|
|
16714
|
+
:rtype: str
|
|
16715
|
+
"""
|
|
16716
|
+
return self._Scope
|
|
16717
|
+
|
|
16718
|
+
@Scope.setter
|
|
16719
|
+
def Scope(self, Scope):
|
|
16720
|
+
self._Scope = Scope
|
|
16721
|
+
|
|
16613
16722
|
|
|
16614
16723
|
def _deserialize(self, params):
|
|
16615
16724
|
self._OrderIndex = params.get("OrderIndex")
|
|
@@ -16652,6 +16761,8 @@ ANY:表示所有
|
|
|
16652
16761
|
self._DnsParseCount._deserialize(params.get("DnsParseCount"))
|
|
16653
16762
|
self._CreateTime = params.get("CreateTime")
|
|
16654
16763
|
self._UpdateTime = params.get("UpdateTime")
|
|
16764
|
+
self._RulePartition = params.get("RulePartition")
|
|
16765
|
+
self._Scope = params.get("Scope")
|
|
16655
16766
|
memeber_set = set(params.keys())
|
|
16656
16767
|
for name, value in vars(self).items():
|
|
16657
16768
|
property_name = name[1:]
|
|
@@ -18433,6 +18544,42 @@ class LogItems(AbstractModel):
|
|
|
18433
18544
|
|
|
18434
18545
|
|
|
18435
18546
|
|
|
18547
|
+
class ModeInfo(AbstractModel):
|
|
18548
|
+
r"""入侵防御防护模式相关
|
|
18549
|
+
|
|
18550
|
+
"""
|
|
18551
|
+
|
|
18552
|
+
def __init__(self):
|
|
18553
|
+
r"""
|
|
18554
|
+
:param _Mode: 0-观察模式, 1-拦截模式, 2-严格模式
|
|
18555
|
+
:type Mode: int
|
|
18556
|
+
"""
|
|
18557
|
+
self._Mode = None
|
|
18558
|
+
|
|
18559
|
+
@property
|
|
18560
|
+
def Mode(self):
|
|
18561
|
+
r"""0-观察模式, 1-拦截模式, 2-严格模式
|
|
18562
|
+
:rtype: int
|
|
18563
|
+
"""
|
|
18564
|
+
return self._Mode
|
|
18565
|
+
|
|
18566
|
+
@Mode.setter
|
|
18567
|
+
def Mode(self, Mode):
|
|
18568
|
+
self._Mode = Mode
|
|
18569
|
+
|
|
18570
|
+
|
|
18571
|
+
def _deserialize(self, params):
|
|
18572
|
+
self._Mode = params.get("Mode")
|
|
18573
|
+
memeber_set = set(params.keys())
|
|
18574
|
+
for name, value in vars(self).items():
|
|
18575
|
+
property_name = name[1:]
|
|
18576
|
+
if property_name in memeber_set:
|
|
18577
|
+
memeber_set.remove(property_name)
|
|
18578
|
+
if len(memeber_set) > 0:
|
|
18579
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18580
|
+
|
|
18581
|
+
|
|
18582
|
+
|
|
18436
18583
|
class ModifyAcRuleRequest(AbstractModel):
|
|
18437
18584
|
r"""ModifyAcRule请求参数结构体
|
|
18438
18585
|
|
|
@@ -20461,6 +20608,70 @@ class ModifyFwGroupSwitchResponse(AbstractModel):
|
|
|
20461
20608
|
self._RequestId = params.get("RequestId")
|
|
20462
20609
|
|
|
20463
20610
|
|
|
20611
|
+
class ModifyIpsModeSwitchRequest(AbstractModel):
|
|
20612
|
+
r"""ModifyIpsModeSwitch请求参数结构体
|
|
20613
|
+
|
|
20614
|
+
"""
|
|
20615
|
+
|
|
20616
|
+
def __init__(self):
|
|
20617
|
+
r"""
|
|
20618
|
+
:param _Mode: 防护模式:0-观察模式, 1-拦截模式, 2-严格模式
|
|
20619
|
+
:type Mode: int
|
|
20620
|
+
"""
|
|
20621
|
+
self._Mode = None
|
|
20622
|
+
|
|
20623
|
+
@property
|
|
20624
|
+
def Mode(self):
|
|
20625
|
+
r"""防护模式:0-观察模式, 1-拦截模式, 2-严格模式
|
|
20626
|
+
:rtype: int
|
|
20627
|
+
"""
|
|
20628
|
+
return self._Mode
|
|
20629
|
+
|
|
20630
|
+
@Mode.setter
|
|
20631
|
+
def Mode(self, Mode):
|
|
20632
|
+
self._Mode = Mode
|
|
20633
|
+
|
|
20634
|
+
|
|
20635
|
+
def _deserialize(self, params):
|
|
20636
|
+
self._Mode = params.get("Mode")
|
|
20637
|
+
memeber_set = set(params.keys())
|
|
20638
|
+
for name, value in vars(self).items():
|
|
20639
|
+
property_name = name[1:]
|
|
20640
|
+
if property_name in memeber_set:
|
|
20641
|
+
memeber_set.remove(property_name)
|
|
20642
|
+
if len(memeber_set) > 0:
|
|
20643
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20644
|
+
|
|
20645
|
+
|
|
20646
|
+
|
|
20647
|
+
class ModifyIpsModeSwitchResponse(AbstractModel):
|
|
20648
|
+
r"""ModifyIpsModeSwitch返回参数结构体
|
|
20649
|
+
|
|
20650
|
+
"""
|
|
20651
|
+
|
|
20652
|
+
def __init__(self):
|
|
20653
|
+
r"""
|
|
20654
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20655
|
+
:type RequestId: str
|
|
20656
|
+
"""
|
|
20657
|
+
self._RequestId = None
|
|
20658
|
+
|
|
20659
|
+
@property
|
|
20660
|
+
def RequestId(self):
|
|
20661
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20662
|
+
:rtype: str
|
|
20663
|
+
"""
|
|
20664
|
+
return self._RequestId
|
|
20665
|
+
|
|
20666
|
+
@RequestId.setter
|
|
20667
|
+
def RequestId(self, RequestId):
|
|
20668
|
+
self._RequestId = RequestId
|
|
20669
|
+
|
|
20670
|
+
|
|
20671
|
+
def _deserialize(self, params):
|
|
20672
|
+
self._RequestId = params.get("RequestId")
|
|
20673
|
+
|
|
20674
|
+
|
|
20464
20675
|
class ModifyNatAcRuleRequest(AbstractModel):
|
|
20465
20676
|
r"""ModifyNatAcRule请求参数结构体
|
|
20466
20677
|
|
|
@@ -26353,6 +26564,8 @@ drop:拒绝
|
|
|
26353
26564
|
:type Enable: str
|
|
26354
26565
|
:param _Uid: 规则对应的唯一内部id
|
|
26355
26566
|
:type Uid: str
|
|
26567
|
+
:param _Scope: 规则生效范围,SG安全组,LH轻量服务器
|
|
26568
|
+
:type Scope: str
|
|
26356
26569
|
"""
|
|
26357
26570
|
self._SourceContent = None
|
|
26358
26571
|
self._SourceType = None
|
|
@@ -26367,6 +26580,7 @@ drop:拒绝
|
|
|
26367
26580
|
self._Id = None
|
|
26368
26581
|
self._Enable = None
|
|
26369
26582
|
self._Uid = None
|
|
26583
|
+
self._Scope = None
|
|
26370
26584
|
|
|
26371
26585
|
@property
|
|
26372
26586
|
def SourceContent(self):
|
|
@@ -26528,6 +26742,17 @@ drop:拒绝
|
|
|
26528
26742
|
def Uid(self, Uid):
|
|
26529
26743
|
self._Uid = Uid
|
|
26530
26744
|
|
|
26745
|
+
@property
|
|
26746
|
+
def Scope(self):
|
|
26747
|
+
r"""规则生效范围,SG安全组,LH轻量服务器
|
|
26748
|
+
:rtype: str
|
|
26749
|
+
"""
|
|
26750
|
+
return self._Scope
|
|
26751
|
+
|
|
26752
|
+
@Scope.setter
|
|
26753
|
+
def Scope(self, Scope):
|
|
26754
|
+
self._Scope = Scope
|
|
26755
|
+
|
|
26531
26756
|
|
|
26532
26757
|
def _deserialize(self, params):
|
|
26533
26758
|
self._SourceContent = params.get("SourceContent")
|
|
@@ -26543,6 +26768,7 @@ drop:拒绝
|
|
|
26543
26768
|
self._Id = params.get("Id")
|
|
26544
26769
|
self._Enable = params.get("Enable")
|
|
26545
26770
|
self._Uid = params.get("Uid")
|
|
26771
|
+
self._Scope = params.get("Scope")
|
|
26546
26772
|
memeber_set = set(params.keys())
|
|
26547
26773
|
for name, value in vars(self).items():
|
|
26548
26774
|
property_name = name[1:]
|
|
@@ -26584,6 +26810,8 @@ region:地域(ap-gaungzhou)
|
|
|
26584
26810
|
:type RuleUuid: int
|
|
26585
26811
|
:param _Sequence: 规则序号
|
|
26586
26812
|
:type Sequence: int
|
|
26813
|
+
:param _Scope: 规则生效范围,SG安全组,LH轻量服务器
|
|
26814
|
+
:type Scope: str
|
|
26587
26815
|
"""
|
|
26588
26816
|
self._SourceContent = None
|
|
26589
26817
|
self._DestContent = None
|
|
@@ -26591,6 +26819,7 @@ region:地域(ap-gaungzhou)
|
|
|
26591
26819
|
self._Description = None
|
|
26592
26820
|
self._RuleUuid = None
|
|
26593
26821
|
self._Sequence = None
|
|
26822
|
+
self._Scope = None
|
|
26594
26823
|
|
|
26595
26824
|
@property
|
|
26596
26825
|
def SourceContent(self):
|
|
@@ -26670,6 +26899,17 @@ region:地域(ap-gaungzhou)
|
|
|
26670
26899
|
def Sequence(self, Sequence):
|
|
26671
26900
|
self._Sequence = Sequence
|
|
26672
26901
|
|
|
26902
|
+
@property
|
|
26903
|
+
def Scope(self):
|
|
26904
|
+
r"""规则生效范围,SG安全组,LH轻量服务器
|
|
26905
|
+
:rtype: str
|
|
26906
|
+
"""
|
|
26907
|
+
return self._Scope
|
|
26908
|
+
|
|
26909
|
+
@Scope.setter
|
|
26910
|
+
def Scope(self, Scope):
|
|
26911
|
+
self._Scope = Scope
|
|
26912
|
+
|
|
26673
26913
|
|
|
26674
26914
|
def _deserialize(self, params):
|
|
26675
26915
|
self._SourceContent = params.get("SourceContent")
|
|
@@ -26678,6 +26918,7 @@ region:地域(ap-gaungzhou)
|
|
|
26678
26918
|
self._Description = params.get("Description")
|
|
26679
26919
|
self._RuleUuid = params.get("RuleUuid")
|
|
26680
26920
|
self._Sequence = params.get("Sequence")
|
|
26921
|
+
self._Scope = params.get("Scope")
|
|
26681
26922
|
memeber_set = set(params.keys())
|
|
26682
26923
|
for name, value in vars(self).items():
|
|
26683
26924
|
property_name = name[1:]
|
|
@@ -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.51
|
|
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.51
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.51
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.29
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|