tencentcloud-sdk-python-cfw 3.0.1226__tar.gz → 3.0.1237__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.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/setup.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud/cfw/v20190904/cfw_client.py +23 -25
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud/cfw/v20190904/models.py +784 -47
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cfw-3.0.1237/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfw-3.0.1226/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/README.rst +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1226 → tencentcloud-sdk-python-cfw-3.0.1237}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1237"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cfw SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -716,31 +716,6 @@ class CfwClient(AbstractClient):
|
|
|
716
716
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
717
717
|
|
|
718
718
|
|
|
719
|
-
def DeleteVpcInstance(self, request):
|
|
720
|
-
"""接口废弃
|
|
721
|
-
|
|
722
|
-
删除防火墙实例
|
|
723
|
-
|
|
724
|
-
:param request: Request instance for DeleteVpcInstance.
|
|
725
|
-
:type request: :class:`tencentcloud.cfw.v20190904.models.DeleteVpcInstanceRequest`
|
|
726
|
-
:rtype: :class:`tencentcloud.cfw.v20190904.models.DeleteVpcInstanceResponse`
|
|
727
|
-
|
|
728
|
-
"""
|
|
729
|
-
try:
|
|
730
|
-
params = request._serialize()
|
|
731
|
-
headers = request.headers
|
|
732
|
-
body = self.call("DeleteVpcInstance", params, headers=headers)
|
|
733
|
-
response = json.loads(body)
|
|
734
|
-
model = models.DeleteVpcInstanceResponse()
|
|
735
|
-
model._deserialize(response["Response"])
|
|
736
|
-
return model
|
|
737
|
-
except Exception as e:
|
|
738
|
-
if isinstance(e, TencentCloudSDKException):
|
|
739
|
-
raise
|
|
740
|
-
else:
|
|
741
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
742
|
-
|
|
743
|
-
|
|
744
719
|
def DescribeAcLists(self, request):
|
|
745
720
|
"""访问控制列表
|
|
746
721
|
|
|
@@ -1017,6 +992,29 @@ class CfwClient(AbstractClient):
|
|
|
1017
992
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1018
993
|
|
|
1019
994
|
|
|
995
|
+
def DescribeEnterpriseSecurityGroupRuleList(self, request):
|
|
996
|
+
"""查询新企业安全组规则 从node接口迁移 原接口DescribeSecurityGroupNewList
|
|
997
|
+
|
|
998
|
+
:param request: Request instance for DescribeEnterpriseSecurityGroupRuleList.
|
|
999
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeEnterpriseSecurityGroupRuleListRequest`
|
|
1000
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeEnterpriseSecurityGroupRuleListResponse`
|
|
1001
|
+
|
|
1002
|
+
"""
|
|
1003
|
+
try:
|
|
1004
|
+
params = request._serialize()
|
|
1005
|
+
headers = request.headers
|
|
1006
|
+
body = self.call("DescribeEnterpriseSecurityGroupRuleList", params, headers=headers)
|
|
1007
|
+
response = json.loads(body)
|
|
1008
|
+
model = models.DescribeEnterpriseSecurityGroupRuleListResponse()
|
|
1009
|
+
model._deserialize(response["Response"])
|
|
1010
|
+
return model
|
|
1011
|
+
except Exception as e:
|
|
1012
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1013
|
+
raise
|
|
1014
|
+
else:
|
|
1015
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1016
|
+
|
|
1017
|
+
|
|
1020
1018
|
def DescribeFwEdgeIps(self, request):
|
|
1021
1019
|
"""串行防火墙IP开关列表
|
|
1022
1020
|
|
|
@@ -1074,12 +1074,16 @@ class BanAndAllowRule(AbstractModel):
|
|
|
1074
1074
|
:param _CustomRule: 自定义白名单规则
|
|
1075
1075
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1076
1076
|
:type CustomRule: :class:`tencentcloud.cfw.v20190904.models.CustomWhiteRule`
|
|
1077
|
+
:param _FwType: 放通的引擎: 1针对互联网边界 2针对nat防火墙 4针对vpc防火墙
|
|
1078
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1079
|
+
:type FwType: int
|
|
1077
1080
|
"""
|
|
1078
1081
|
self._Ioc = None
|
|
1079
1082
|
self._DirectionList = None
|
|
1080
1083
|
self._EndTime = None
|
|
1081
1084
|
self._Comment = None
|
|
1082
1085
|
self._CustomRule = None
|
|
1086
|
+
self._FwType = None
|
|
1083
1087
|
|
|
1084
1088
|
@property
|
|
1085
1089
|
def Ioc(self):
|
|
@@ -1121,6 +1125,14 @@ class BanAndAllowRule(AbstractModel):
|
|
|
1121
1125
|
def CustomRule(self, CustomRule):
|
|
1122
1126
|
self._CustomRule = CustomRule
|
|
1123
1127
|
|
|
1128
|
+
@property
|
|
1129
|
+
def FwType(self):
|
|
1130
|
+
return self._FwType
|
|
1131
|
+
|
|
1132
|
+
@FwType.setter
|
|
1133
|
+
def FwType(self, FwType):
|
|
1134
|
+
self._FwType = FwType
|
|
1135
|
+
|
|
1124
1136
|
|
|
1125
1137
|
def _deserialize(self, params):
|
|
1126
1138
|
self._Ioc = params.get("Ioc")
|
|
@@ -1130,6 +1142,7 @@ class BanAndAllowRule(AbstractModel):
|
|
|
1130
1142
|
if params.get("CustomRule") is not None:
|
|
1131
1143
|
self._CustomRule = CustomWhiteRule()
|
|
1132
1144
|
self._CustomRule._deserialize(params.get("CustomRule"))
|
|
1145
|
+
self._FwType = params.get("FwType")
|
|
1133
1146
|
memeber_set = set(params.keys())
|
|
1134
1147
|
for name, value in vars(self).items():
|
|
1135
1148
|
property_name = name[1:]
|
|
@@ -1150,7 +1163,7 @@ class BanAndAllowRuleDel(AbstractModel):
|
|
|
1150
1163
|
:param _Ioc: 封禁和放通对象
|
|
1151
1164
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1152
1165
|
:type Ioc: str
|
|
1153
|
-
:param _DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的
|
|
1166
|
+
:param _DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的 (DeleteBlockIgnoreRuleNew接口,该字段无效)
|
|
1154
1167
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1155
1168
|
:type DirectionList: str
|
|
1156
1169
|
:param _RuleType: 规则类型
|
|
@@ -1336,6 +1349,9 @@ class BlockIgnoreRule(AbstractModel):
|
|
|
1336
1349
|
:param _CustomRule: 自定义规则细节
|
|
1337
1350
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1338
1351
|
:type CustomRule: :class:`tencentcloud.cfw.v20190904.models.CustomWhiteRule`
|
|
1352
|
+
:param _FwType: 1 border 2 nat 4 vpc 8 border-serial
|
|
1353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1354
|
+
:type FwType: int
|
|
1339
1355
|
"""
|
|
1340
1356
|
self._RuleType = None
|
|
1341
1357
|
self._Ioc = None
|
|
@@ -1360,6 +1376,7 @@ class BlockIgnoreRule(AbstractModel):
|
|
|
1360
1376
|
self._Comment = None
|
|
1361
1377
|
self._LastHitTime = None
|
|
1362
1378
|
self._CustomRule = None
|
|
1379
|
+
self._FwType = None
|
|
1363
1380
|
|
|
1364
1381
|
@property
|
|
1365
1382
|
def RuleType(self):
|
|
@@ -1545,6 +1562,14 @@ class BlockIgnoreRule(AbstractModel):
|
|
|
1545
1562
|
def CustomRule(self, CustomRule):
|
|
1546
1563
|
self._CustomRule = CustomRule
|
|
1547
1564
|
|
|
1565
|
+
@property
|
|
1566
|
+
def FwType(self):
|
|
1567
|
+
return self._FwType
|
|
1568
|
+
|
|
1569
|
+
@FwType.setter
|
|
1570
|
+
def FwType(self, FwType):
|
|
1571
|
+
self._FwType = FwType
|
|
1572
|
+
|
|
1548
1573
|
|
|
1549
1574
|
def _deserialize(self, params):
|
|
1550
1575
|
self._RuleType = params.get("RuleType")
|
|
@@ -1572,6 +1597,7 @@ class BlockIgnoreRule(AbstractModel):
|
|
|
1572
1597
|
if params.get("CustomRule") is not None:
|
|
1573
1598
|
self._CustomRule = CustomWhiteRule()
|
|
1574
1599
|
self._CustomRule._deserialize(params.get("CustomRule"))
|
|
1600
|
+
self._FwType = params.get("FwType")
|
|
1575
1601
|
memeber_set = set(params.keys())
|
|
1576
1602
|
for name, value in vars(self).items():
|
|
1577
1603
|
property_name = name[1:]
|
|
@@ -3426,6 +3452,8 @@ class CreateNatRuleItem(AbstractModel):
|
|
|
3426
3452
|
:type ParamTemplateId: str
|
|
3427
3453
|
:param _InternalUuid: 内部id
|
|
3428
3454
|
:type InternalUuid: int
|
|
3455
|
+
:param _Scope: 规则生效的范围:ALL,全局生效;ap-guangzhou,生效的地域;cfwnat-xxx,生效基于实例维度
|
|
3456
|
+
:type Scope: str
|
|
3429
3457
|
"""
|
|
3430
3458
|
self._SourceContent = None
|
|
3431
3459
|
self._SourceType = None
|
|
@@ -3441,6 +3469,7 @@ class CreateNatRuleItem(AbstractModel):
|
|
|
3441
3469
|
self._Description = None
|
|
3442
3470
|
self._ParamTemplateId = None
|
|
3443
3471
|
self._InternalUuid = None
|
|
3472
|
+
self._Scope = None
|
|
3444
3473
|
|
|
3445
3474
|
@property
|
|
3446
3475
|
def SourceContent(self):
|
|
@@ -3554,6 +3583,14 @@ class CreateNatRuleItem(AbstractModel):
|
|
|
3554
3583
|
def InternalUuid(self, InternalUuid):
|
|
3555
3584
|
self._InternalUuid = InternalUuid
|
|
3556
3585
|
|
|
3586
|
+
@property
|
|
3587
|
+
def Scope(self):
|
|
3588
|
+
return self._Scope
|
|
3589
|
+
|
|
3590
|
+
@Scope.setter
|
|
3591
|
+
def Scope(self, Scope):
|
|
3592
|
+
self._Scope = Scope
|
|
3593
|
+
|
|
3557
3594
|
|
|
3558
3595
|
def _deserialize(self, params):
|
|
3559
3596
|
self._SourceContent = params.get("SourceContent")
|
|
@@ -3570,6 +3607,7 @@ class CreateNatRuleItem(AbstractModel):
|
|
|
3570
3607
|
self._Description = params.get("Description")
|
|
3571
3608
|
self._ParamTemplateId = params.get("ParamTemplateId")
|
|
3572
3609
|
self._InternalUuid = params.get("InternalUuid")
|
|
3610
|
+
self._Scope = params.get("Scope")
|
|
3573
3611
|
memeber_set = set(params.keys())
|
|
3574
3612
|
for name, value in vars(self).items():
|
|
3575
3613
|
property_name = name[1:]
|
|
@@ -5282,37 +5320,6 @@ class DeleteVpcFwGroupResponse(AbstractModel):
|
|
|
5282
5320
|
self._RequestId = params.get("RequestId")
|
|
5283
5321
|
|
|
5284
5322
|
|
|
5285
|
-
class DeleteVpcInstanceRequest(AbstractModel):
|
|
5286
|
-
"""DeleteVpcInstance请求参数结构体
|
|
5287
|
-
|
|
5288
|
-
"""
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
class DeleteVpcInstanceResponse(AbstractModel):
|
|
5292
|
-
"""DeleteVpcInstance返回参数结构体
|
|
5293
|
-
|
|
5294
|
-
"""
|
|
5295
|
-
|
|
5296
|
-
def __init__(self):
|
|
5297
|
-
r"""
|
|
5298
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5299
|
-
:type RequestId: str
|
|
5300
|
-
"""
|
|
5301
|
-
self._RequestId = None
|
|
5302
|
-
|
|
5303
|
-
@property
|
|
5304
|
-
def RequestId(self):
|
|
5305
|
-
return self._RequestId
|
|
5306
|
-
|
|
5307
|
-
@RequestId.setter
|
|
5308
|
-
def RequestId(self, RequestId):
|
|
5309
|
-
self._RequestId = RequestId
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
def _deserialize(self, params):
|
|
5313
|
-
self._RequestId = params.get("RequestId")
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
5323
|
class DescAcItem(AbstractModel):
|
|
5317
5324
|
"""访问控制列表对象
|
|
5318
5325
|
|
|
@@ -5393,9 +5400,13 @@ class DescAcItem(AbstractModel):
|
|
|
5393
5400
|
:param _BetaList: 关联任务详情
|
|
5394
5401
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5395
5402
|
:type BetaList: list of BetaInfoByACL
|
|
5396
|
-
:param _Scope:
|
|
5403
|
+
:param _Scope: (1)互联网边界防火墙,生效范围:serial,串行;side,旁路;all,全局;
|
|
5404
|
+
(2)NAT边界防火墙:ALL,全局生效;ap-guangzhou,生效的地域;cfwnat-xxx,生效基于实例维度
|
|
5397
5405
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5398
5406
|
:type Scope: str
|
|
5407
|
+
:param _ScopeDesc: 生效范围描述
|
|
5408
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5409
|
+
:type ScopeDesc: str
|
|
5399
5410
|
:param _InternetBorderUuid: 互联网边界防火墙使用的内部规则id
|
|
5400
5411
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5401
5412
|
:type InternetBorderUuid: str
|
|
@@ -5441,6 +5452,7 @@ class DescAcItem(AbstractModel):
|
|
|
5441
5452
|
self._Status = None
|
|
5442
5453
|
self._BetaList = None
|
|
5443
5454
|
self._Scope = None
|
|
5455
|
+
self._ScopeDesc = None
|
|
5444
5456
|
self._InternetBorderUuid = None
|
|
5445
5457
|
self._ParamTemplateName = None
|
|
5446
5458
|
self._ParamTemplateId = None
|
|
@@ -5656,6 +5668,14 @@ class DescAcItem(AbstractModel):
|
|
|
5656
5668
|
def Scope(self, Scope):
|
|
5657
5669
|
self._Scope = Scope
|
|
5658
5670
|
|
|
5671
|
+
@property
|
|
5672
|
+
def ScopeDesc(self):
|
|
5673
|
+
return self._ScopeDesc
|
|
5674
|
+
|
|
5675
|
+
@ScopeDesc.setter
|
|
5676
|
+
def ScopeDesc(self, ScopeDesc):
|
|
5677
|
+
self._ScopeDesc = ScopeDesc
|
|
5678
|
+
|
|
5659
5679
|
@property
|
|
5660
5680
|
def InternetBorderUuid(self):
|
|
5661
5681
|
return self._InternetBorderUuid
|
|
@@ -5737,6 +5757,7 @@ class DescAcItem(AbstractModel):
|
|
|
5737
5757
|
obj._deserialize(item)
|
|
5738
5758
|
self._BetaList.append(obj)
|
|
5739
5759
|
self._Scope = params.get("Scope")
|
|
5760
|
+
self._ScopeDesc = params.get("ScopeDesc")
|
|
5740
5761
|
self._InternetBorderUuid = params.get("InternetBorderUuid")
|
|
5741
5762
|
self._ParamTemplateName = params.get("ParamTemplateName")
|
|
5742
5763
|
self._ParamTemplateId = params.get("ParamTemplateId")
|
|
@@ -7561,6 +7582,194 @@ class DescribeEnterpriseSGRuleProgressResponse(AbstractModel):
|
|
|
7561
7582
|
self._RequestId = params.get("RequestId")
|
|
7562
7583
|
|
|
7563
7584
|
|
|
7585
|
+
class DescribeEnterpriseSecurityGroupRuleListRequest(AbstractModel):
|
|
7586
|
+
"""DescribeEnterpriseSecurityGroupRuleList请求参数结构体
|
|
7587
|
+
|
|
7588
|
+
"""
|
|
7589
|
+
|
|
7590
|
+
def __init__(self):
|
|
7591
|
+
r"""
|
|
7592
|
+
:param _Limit: 分页每页数量
|
|
7593
|
+
:type Limit: int
|
|
7594
|
+
:param _Offset: 分页当前页
|
|
7595
|
+
:type Offset: int
|
|
7596
|
+
:param _Status: 启用状态 1启用 0 未启用
|
|
7597
|
+
:type Status: str
|
|
7598
|
+
:param _Area: 地域
|
|
7599
|
+
:type Area: str
|
|
7600
|
+
:param _Filter: 规则下发方式筛选 1 新规则和延迟下发 2 仅看新规则
|
|
7601
|
+
:type Filter: int
|
|
7602
|
+
:param _SearchValue: 查询条件
|
|
7603
|
+
:type SearchValue: str
|
|
7604
|
+
:param _SearchFilters: 查询条件新
|
|
7605
|
+
:type SearchFilters: list of CommonFilter
|
|
7606
|
+
"""
|
|
7607
|
+
self._Limit = None
|
|
7608
|
+
self._Offset = None
|
|
7609
|
+
self._Status = None
|
|
7610
|
+
self._Area = None
|
|
7611
|
+
self._Filter = None
|
|
7612
|
+
self._SearchValue = None
|
|
7613
|
+
self._SearchFilters = None
|
|
7614
|
+
|
|
7615
|
+
@property
|
|
7616
|
+
def Limit(self):
|
|
7617
|
+
return self._Limit
|
|
7618
|
+
|
|
7619
|
+
@Limit.setter
|
|
7620
|
+
def Limit(self, Limit):
|
|
7621
|
+
self._Limit = Limit
|
|
7622
|
+
|
|
7623
|
+
@property
|
|
7624
|
+
def Offset(self):
|
|
7625
|
+
return self._Offset
|
|
7626
|
+
|
|
7627
|
+
@Offset.setter
|
|
7628
|
+
def Offset(self, Offset):
|
|
7629
|
+
self._Offset = Offset
|
|
7630
|
+
|
|
7631
|
+
@property
|
|
7632
|
+
def Status(self):
|
|
7633
|
+
return self._Status
|
|
7634
|
+
|
|
7635
|
+
@Status.setter
|
|
7636
|
+
def Status(self, Status):
|
|
7637
|
+
self._Status = Status
|
|
7638
|
+
|
|
7639
|
+
@property
|
|
7640
|
+
def Area(self):
|
|
7641
|
+
return self._Area
|
|
7642
|
+
|
|
7643
|
+
@Area.setter
|
|
7644
|
+
def Area(self, Area):
|
|
7645
|
+
self._Area = Area
|
|
7646
|
+
|
|
7647
|
+
@property
|
|
7648
|
+
def Filter(self):
|
|
7649
|
+
return self._Filter
|
|
7650
|
+
|
|
7651
|
+
@Filter.setter
|
|
7652
|
+
def Filter(self, Filter):
|
|
7653
|
+
self._Filter = Filter
|
|
7654
|
+
|
|
7655
|
+
@property
|
|
7656
|
+
def SearchValue(self):
|
|
7657
|
+
return self._SearchValue
|
|
7658
|
+
|
|
7659
|
+
@SearchValue.setter
|
|
7660
|
+
def SearchValue(self, SearchValue):
|
|
7661
|
+
self._SearchValue = SearchValue
|
|
7662
|
+
|
|
7663
|
+
@property
|
|
7664
|
+
def SearchFilters(self):
|
|
7665
|
+
return self._SearchFilters
|
|
7666
|
+
|
|
7667
|
+
@SearchFilters.setter
|
|
7668
|
+
def SearchFilters(self, SearchFilters):
|
|
7669
|
+
self._SearchFilters = SearchFilters
|
|
7670
|
+
|
|
7671
|
+
|
|
7672
|
+
def _deserialize(self, params):
|
|
7673
|
+
self._Limit = params.get("Limit")
|
|
7674
|
+
self._Offset = params.get("Offset")
|
|
7675
|
+
self._Status = params.get("Status")
|
|
7676
|
+
self._Area = params.get("Area")
|
|
7677
|
+
self._Filter = params.get("Filter")
|
|
7678
|
+
self._SearchValue = params.get("SearchValue")
|
|
7679
|
+
if params.get("SearchFilters") is not None:
|
|
7680
|
+
self._SearchFilters = []
|
|
7681
|
+
for item in params.get("SearchFilters"):
|
|
7682
|
+
obj = CommonFilter()
|
|
7683
|
+
obj._deserialize(item)
|
|
7684
|
+
self._SearchFilters.append(obj)
|
|
7685
|
+
memeber_set = set(params.keys())
|
|
7686
|
+
for name, value in vars(self).items():
|
|
7687
|
+
property_name = name[1:]
|
|
7688
|
+
if property_name in memeber_set:
|
|
7689
|
+
memeber_set.remove(property_name)
|
|
7690
|
+
if len(memeber_set) > 0:
|
|
7691
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7692
|
+
|
|
7693
|
+
|
|
7694
|
+
|
|
7695
|
+
class DescribeEnterpriseSecurityGroupRuleListResponse(AbstractModel):
|
|
7696
|
+
"""DescribeEnterpriseSecurityGroupRuleList返回参数结构体
|
|
7697
|
+
|
|
7698
|
+
"""
|
|
7699
|
+
|
|
7700
|
+
def __init__(self):
|
|
7701
|
+
r"""
|
|
7702
|
+
:param _Total: 查询结果总数
|
|
7703
|
+
:type Total: int
|
|
7704
|
+
:param _AllTotal: 规则总数
|
|
7705
|
+
:type AllTotal: int
|
|
7706
|
+
:param _Data: 规则列表
|
|
7707
|
+
:type Data: list of EnterpriseSecurityGroupRuleRuleInfo
|
|
7708
|
+
:param _Enable: 规则整体启用状态
|
|
7709
|
+
:type Enable: int
|
|
7710
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7711
|
+
:type RequestId: str
|
|
7712
|
+
"""
|
|
7713
|
+
self._Total = None
|
|
7714
|
+
self._AllTotal = None
|
|
7715
|
+
self._Data = None
|
|
7716
|
+
self._Enable = None
|
|
7717
|
+
self._RequestId = None
|
|
7718
|
+
|
|
7719
|
+
@property
|
|
7720
|
+
def Total(self):
|
|
7721
|
+
return self._Total
|
|
7722
|
+
|
|
7723
|
+
@Total.setter
|
|
7724
|
+
def Total(self, Total):
|
|
7725
|
+
self._Total = Total
|
|
7726
|
+
|
|
7727
|
+
@property
|
|
7728
|
+
def AllTotal(self):
|
|
7729
|
+
return self._AllTotal
|
|
7730
|
+
|
|
7731
|
+
@AllTotal.setter
|
|
7732
|
+
def AllTotal(self, AllTotal):
|
|
7733
|
+
self._AllTotal = AllTotal
|
|
7734
|
+
|
|
7735
|
+
@property
|
|
7736
|
+
def Data(self):
|
|
7737
|
+
return self._Data
|
|
7738
|
+
|
|
7739
|
+
@Data.setter
|
|
7740
|
+
def Data(self, Data):
|
|
7741
|
+
self._Data = Data
|
|
7742
|
+
|
|
7743
|
+
@property
|
|
7744
|
+
def Enable(self):
|
|
7745
|
+
return self._Enable
|
|
7746
|
+
|
|
7747
|
+
@Enable.setter
|
|
7748
|
+
def Enable(self, Enable):
|
|
7749
|
+
self._Enable = Enable
|
|
7750
|
+
|
|
7751
|
+
@property
|
|
7752
|
+
def RequestId(self):
|
|
7753
|
+
return self._RequestId
|
|
7754
|
+
|
|
7755
|
+
@RequestId.setter
|
|
7756
|
+
def RequestId(self, RequestId):
|
|
7757
|
+
self._RequestId = RequestId
|
|
7758
|
+
|
|
7759
|
+
|
|
7760
|
+
def _deserialize(self, params):
|
|
7761
|
+
self._Total = params.get("Total")
|
|
7762
|
+
self._AllTotal = params.get("AllTotal")
|
|
7763
|
+
if params.get("Data") is not None:
|
|
7764
|
+
self._Data = []
|
|
7765
|
+
for item in params.get("Data"):
|
|
7766
|
+
obj = EnterpriseSecurityGroupRuleRuleInfo()
|
|
7767
|
+
obj._deserialize(item)
|
|
7768
|
+
self._Data.append(obj)
|
|
7769
|
+
self._Enable = params.get("Enable")
|
|
7770
|
+
self._RequestId = params.get("RequestId")
|
|
7771
|
+
|
|
7772
|
+
|
|
7564
7773
|
class DescribeEnterpriseSecurityGroupRuleRequest(AbstractModel):
|
|
7565
7774
|
"""DescribeEnterpriseSecurityGroupRule请求参数结构体
|
|
7566
7775
|
|
|
@@ -11553,6 +11762,9 @@ class EdgeIpInfo(AbstractModel):
|
|
|
11553
11762
|
:param _Domain: 域名化CLB的域名
|
|
11554
11763
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11555
11764
|
:type Domain: str
|
|
11765
|
+
:param _OverUsedStatus: IP超量状态
|
|
11766
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11767
|
+
:type OverUsedStatus: int
|
|
11556
11768
|
"""
|
|
11557
11769
|
self._PublicIp = None
|
|
11558
11770
|
self._PublicIpType = None
|
|
@@ -11576,6 +11788,7 @@ class EdgeIpInfo(AbstractModel):
|
|
|
11576
11788
|
self._SwitchMode = None
|
|
11577
11789
|
self._SwitchWeight = None
|
|
11578
11790
|
self._Domain = None
|
|
11791
|
+
self._OverUsedStatus = None
|
|
11579
11792
|
|
|
11580
11793
|
@property
|
|
11581
11794
|
def PublicIp(self):
|
|
@@ -11753,6 +11966,14 @@ class EdgeIpInfo(AbstractModel):
|
|
|
11753
11966
|
def Domain(self, Domain):
|
|
11754
11967
|
self._Domain = Domain
|
|
11755
11968
|
|
|
11969
|
+
@property
|
|
11970
|
+
def OverUsedStatus(self):
|
|
11971
|
+
return self._OverUsedStatus
|
|
11972
|
+
|
|
11973
|
+
@OverUsedStatus.setter
|
|
11974
|
+
def OverUsedStatus(self, OverUsedStatus):
|
|
11975
|
+
self._OverUsedStatus = OverUsedStatus
|
|
11976
|
+
|
|
11756
11977
|
|
|
11757
11978
|
def _deserialize(self, params):
|
|
11758
11979
|
self._PublicIp = params.get("PublicIp")
|
|
@@ -11777,6 +11998,7 @@ class EdgeIpInfo(AbstractModel):
|
|
|
11777
11998
|
self._SwitchMode = params.get("SwitchMode")
|
|
11778
11999
|
self._SwitchWeight = params.get("SwitchWeight")
|
|
11779
12000
|
self._Domain = params.get("Domain")
|
|
12001
|
+
self._OverUsedStatus = params.get("OverUsedStatus")
|
|
11780
12002
|
memeber_set = set(params.keys())
|
|
11781
12003
|
for name, value in vars(self).items():
|
|
11782
12004
|
property_name = name[1:]
|
|
@@ -11856,25 +12078,501 @@ class EdgeIpSwitch(AbstractModel):
|
|
|
11856
12078
|
|
|
11857
12079
|
|
|
11858
12080
|
|
|
11859
|
-
class
|
|
11860
|
-
"""
|
|
12081
|
+
class EnterpriseSecurityGroupRuleBetaInfo(AbstractModel):
|
|
12082
|
+
"""企业安全组自动化任务信息
|
|
11861
12083
|
|
|
11862
12084
|
"""
|
|
11863
12085
|
|
|
11864
12086
|
def __init__(self):
|
|
11865
12087
|
r"""
|
|
11866
|
-
:param
|
|
11867
|
-
|
|
11868
|
-
:
|
|
11869
|
-
:
|
|
11870
|
-
|
|
11871
|
-
:type
|
|
11872
|
-
:param
|
|
11873
|
-
|
|
11874
|
-
:
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
|
|
12088
|
+
:param _TaskId: 任务id
|
|
12089
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12090
|
+
:type TaskId: int
|
|
12091
|
+
:param _TaskName: 任务名称
|
|
12092
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12093
|
+
:type TaskName: str
|
|
12094
|
+
:param _LastTime: 时间
|
|
12095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12096
|
+
:type LastTime: str
|
|
12097
|
+
"""
|
|
12098
|
+
self._TaskId = None
|
|
12099
|
+
self._TaskName = None
|
|
12100
|
+
self._LastTime = None
|
|
12101
|
+
|
|
12102
|
+
@property
|
|
12103
|
+
def TaskId(self):
|
|
12104
|
+
return self._TaskId
|
|
12105
|
+
|
|
12106
|
+
@TaskId.setter
|
|
12107
|
+
def TaskId(self, TaskId):
|
|
12108
|
+
self._TaskId = TaskId
|
|
12109
|
+
|
|
12110
|
+
@property
|
|
12111
|
+
def TaskName(self):
|
|
12112
|
+
return self._TaskName
|
|
12113
|
+
|
|
12114
|
+
@TaskName.setter
|
|
12115
|
+
def TaskName(self, TaskName):
|
|
12116
|
+
self._TaskName = TaskName
|
|
12117
|
+
|
|
12118
|
+
@property
|
|
12119
|
+
def LastTime(self):
|
|
12120
|
+
return self._LastTime
|
|
12121
|
+
|
|
12122
|
+
@LastTime.setter
|
|
12123
|
+
def LastTime(self, LastTime):
|
|
12124
|
+
self._LastTime = LastTime
|
|
12125
|
+
|
|
12126
|
+
|
|
12127
|
+
def _deserialize(self, params):
|
|
12128
|
+
self._TaskId = params.get("TaskId")
|
|
12129
|
+
self._TaskName = params.get("TaskName")
|
|
12130
|
+
self._LastTime = params.get("LastTime")
|
|
12131
|
+
memeber_set = set(params.keys())
|
|
12132
|
+
for name, value in vars(self).items():
|
|
12133
|
+
property_name = name[1:]
|
|
12134
|
+
if property_name in memeber_set:
|
|
12135
|
+
memeber_set.remove(property_name)
|
|
12136
|
+
if len(memeber_set) > 0:
|
|
12137
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12138
|
+
|
|
12139
|
+
|
|
12140
|
+
|
|
12141
|
+
class EnterpriseSecurityGroupRuleRuleInfo(AbstractModel):
|
|
12142
|
+
"""企业安全组规则列表信息
|
|
12143
|
+
|
|
12144
|
+
"""
|
|
12145
|
+
|
|
12146
|
+
def __init__(self):
|
|
12147
|
+
r"""
|
|
12148
|
+
:param _OrderIndex: 排序
|
|
12149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12150
|
+
:type OrderIndex: int
|
|
12151
|
+
:param _RuleUuid: 主键id
|
|
12152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12153
|
+
:type RuleUuid: int
|
|
12154
|
+
:param _Uuid: 规则uuid
|
|
12155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12156
|
+
:type Uuid: str
|
|
12157
|
+
:param _SourceId: 源规则内容
|
|
12158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12159
|
+
:type SourceId: str
|
|
12160
|
+
:param _SourceType: 源规则类型
|
|
12161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12162
|
+
:type SourceType: int
|
|
12163
|
+
:param _TargetId: 目的规则内容
|
|
12164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12165
|
+
:type TargetId: str
|
|
12166
|
+
:param _TargetType: 目的规则类型
|
|
12167
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12168
|
+
:type TargetType: int
|
|
12169
|
+
:param _Protocol: 协议名称
|
|
12170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12171
|
+
:type Protocol: str
|
|
12172
|
+
:param _Port: 端口
|
|
12173
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12174
|
+
:type Port: str
|
|
12175
|
+
:param _Strategy: 策略,1阻断,2放行
|
|
12176
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12177
|
+
:type Strategy: int
|
|
12178
|
+
:param _Status: 启用状态 ,0未开启,1开启
|
|
12179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12180
|
+
:type Status: int
|
|
12181
|
+
:param _Detail: 描述
|
|
12182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12183
|
+
:type Detail: str
|
|
12184
|
+
:param _AclTags: 标签
|
|
12185
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12186
|
+
:type AclTags: str
|
|
12187
|
+
:param _IsNew: 是否最新一次改动的规则,0否,1是
|
|
12188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12189
|
+
:type IsNew: int
|
|
12190
|
+
:param _Region: 地域
|
|
12191
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12192
|
+
:type Region: str
|
|
12193
|
+
:param _IsDelay: 是否延迟下发
|
|
12194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12195
|
+
:type IsDelay: int
|
|
12196
|
+
:param _ServiceTemplateId: 服务模板id
|
|
12197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12198
|
+
:type ServiceTemplateId: str
|
|
12199
|
+
:param _SouInstanceName: 源资产名称
|
|
12200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12201
|
+
:type SouInstanceName: str
|
|
12202
|
+
:param _SouPublicIp: 源资产公网ip
|
|
12203
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12204
|
+
:type SouPublicIp: str
|
|
12205
|
+
:param _SouPrivateIp: 源资产内网ip
|
|
12206
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12207
|
+
:type SouPrivateIp: str
|
|
12208
|
+
:param _SouCidr: 源资产网段信息
|
|
12209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12210
|
+
:type SouCidr: str
|
|
12211
|
+
:param _SouParameterName: 源模板名称
|
|
12212
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12213
|
+
:type SouParameterName: str
|
|
12214
|
+
:param _InstanceName: 目的资产名称
|
|
12215
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12216
|
+
:type InstanceName: str
|
|
12217
|
+
:param _PublicIp: 目的资产公网ip
|
|
12218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12219
|
+
:type PublicIp: str
|
|
12220
|
+
:param _PrivateIp: 目的资产内网ip
|
|
12221
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12222
|
+
:type PrivateIp: str
|
|
12223
|
+
:param _Cidr: 目的资产网段信息
|
|
12224
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12225
|
+
:type Cidr: str
|
|
12226
|
+
:param _ParameterName: 目的模板名称
|
|
12227
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12228
|
+
:type ParameterName: str
|
|
12229
|
+
:param _ProtocolPortName: 端口模板名称
|
|
12230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12231
|
+
:type ProtocolPortName: str
|
|
12232
|
+
:param _BetaList: 自动化任务任务信息
|
|
12233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12234
|
+
:type BetaList: list of EnterpriseSecurityGroupRuleBetaInfo
|
|
12235
|
+
:param _Id: 规则id
|
|
12236
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12237
|
+
:type Id: int
|
|
12238
|
+
"""
|
|
12239
|
+
self._OrderIndex = None
|
|
12240
|
+
self._RuleUuid = None
|
|
12241
|
+
self._Uuid = None
|
|
12242
|
+
self._SourceId = None
|
|
12243
|
+
self._SourceType = None
|
|
12244
|
+
self._TargetId = None
|
|
12245
|
+
self._TargetType = None
|
|
12246
|
+
self._Protocol = None
|
|
12247
|
+
self._Port = None
|
|
12248
|
+
self._Strategy = None
|
|
12249
|
+
self._Status = None
|
|
12250
|
+
self._Detail = None
|
|
12251
|
+
self._AclTags = None
|
|
12252
|
+
self._IsNew = None
|
|
12253
|
+
self._Region = None
|
|
12254
|
+
self._IsDelay = None
|
|
12255
|
+
self._ServiceTemplateId = None
|
|
12256
|
+
self._SouInstanceName = None
|
|
12257
|
+
self._SouPublicIp = None
|
|
12258
|
+
self._SouPrivateIp = None
|
|
12259
|
+
self._SouCidr = None
|
|
12260
|
+
self._SouParameterName = None
|
|
12261
|
+
self._InstanceName = None
|
|
12262
|
+
self._PublicIp = None
|
|
12263
|
+
self._PrivateIp = None
|
|
12264
|
+
self._Cidr = None
|
|
12265
|
+
self._ParameterName = None
|
|
12266
|
+
self._ProtocolPortName = None
|
|
12267
|
+
self._BetaList = None
|
|
12268
|
+
self._Id = None
|
|
12269
|
+
|
|
12270
|
+
@property
|
|
12271
|
+
def OrderIndex(self):
|
|
12272
|
+
return self._OrderIndex
|
|
12273
|
+
|
|
12274
|
+
@OrderIndex.setter
|
|
12275
|
+
def OrderIndex(self, OrderIndex):
|
|
12276
|
+
self._OrderIndex = OrderIndex
|
|
12277
|
+
|
|
12278
|
+
@property
|
|
12279
|
+
def RuleUuid(self):
|
|
12280
|
+
return self._RuleUuid
|
|
12281
|
+
|
|
12282
|
+
@RuleUuid.setter
|
|
12283
|
+
def RuleUuid(self, RuleUuid):
|
|
12284
|
+
self._RuleUuid = RuleUuid
|
|
12285
|
+
|
|
12286
|
+
@property
|
|
12287
|
+
def Uuid(self):
|
|
12288
|
+
return self._Uuid
|
|
12289
|
+
|
|
12290
|
+
@Uuid.setter
|
|
12291
|
+
def Uuid(self, Uuid):
|
|
12292
|
+
self._Uuid = Uuid
|
|
12293
|
+
|
|
12294
|
+
@property
|
|
12295
|
+
def SourceId(self):
|
|
12296
|
+
return self._SourceId
|
|
12297
|
+
|
|
12298
|
+
@SourceId.setter
|
|
12299
|
+
def SourceId(self, SourceId):
|
|
12300
|
+
self._SourceId = SourceId
|
|
12301
|
+
|
|
12302
|
+
@property
|
|
12303
|
+
def SourceType(self):
|
|
12304
|
+
return self._SourceType
|
|
12305
|
+
|
|
12306
|
+
@SourceType.setter
|
|
12307
|
+
def SourceType(self, SourceType):
|
|
12308
|
+
self._SourceType = SourceType
|
|
12309
|
+
|
|
12310
|
+
@property
|
|
12311
|
+
def TargetId(self):
|
|
12312
|
+
return self._TargetId
|
|
12313
|
+
|
|
12314
|
+
@TargetId.setter
|
|
12315
|
+
def TargetId(self, TargetId):
|
|
12316
|
+
self._TargetId = TargetId
|
|
12317
|
+
|
|
12318
|
+
@property
|
|
12319
|
+
def TargetType(self):
|
|
12320
|
+
return self._TargetType
|
|
12321
|
+
|
|
12322
|
+
@TargetType.setter
|
|
12323
|
+
def TargetType(self, TargetType):
|
|
12324
|
+
self._TargetType = TargetType
|
|
12325
|
+
|
|
12326
|
+
@property
|
|
12327
|
+
def Protocol(self):
|
|
12328
|
+
return self._Protocol
|
|
12329
|
+
|
|
12330
|
+
@Protocol.setter
|
|
12331
|
+
def Protocol(self, Protocol):
|
|
12332
|
+
self._Protocol = Protocol
|
|
12333
|
+
|
|
12334
|
+
@property
|
|
12335
|
+
def Port(self):
|
|
12336
|
+
return self._Port
|
|
12337
|
+
|
|
12338
|
+
@Port.setter
|
|
12339
|
+
def Port(self, Port):
|
|
12340
|
+
self._Port = Port
|
|
12341
|
+
|
|
12342
|
+
@property
|
|
12343
|
+
def Strategy(self):
|
|
12344
|
+
return self._Strategy
|
|
12345
|
+
|
|
12346
|
+
@Strategy.setter
|
|
12347
|
+
def Strategy(self, Strategy):
|
|
12348
|
+
self._Strategy = Strategy
|
|
12349
|
+
|
|
12350
|
+
@property
|
|
12351
|
+
def Status(self):
|
|
12352
|
+
return self._Status
|
|
12353
|
+
|
|
12354
|
+
@Status.setter
|
|
12355
|
+
def Status(self, Status):
|
|
12356
|
+
self._Status = Status
|
|
12357
|
+
|
|
12358
|
+
@property
|
|
12359
|
+
def Detail(self):
|
|
12360
|
+
return self._Detail
|
|
12361
|
+
|
|
12362
|
+
@Detail.setter
|
|
12363
|
+
def Detail(self, Detail):
|
|
12364
|
+
self._Detail = Detail
|
|
12365
|
+
|
|
12366
|
+
@property
|
|
12367
|
+
def AclTags(self):
|
|
12368
|
+
return self._AclTags
|
|
12369
|
+
|
|
12370
|
+
@AclTags.setter
|
|
12371
|
+
def AclTags(self, AclTags):
|
|
12372
|
+
self._AclTags = AclTags
|
|
12373
|
+
|
|
12374
|
+
@property
|
|
12375
|
+
def IsNew(self):
|
|
12376
|
+
return self._IsNew
|
|
12377
|
+
|
|
12378
|
+
@IsNew.setter
|
|
12379
|
+
def IsNew(self, IsNew):
|
|
12380
|
+
self._IsNew = IsNew
|
|
12381
|
+
|
|
12382
|
+
@property
|
|
12383
|
+
def Region(self):
|
|
12384
|
+
return self._Region
|
|
12385
|
+
|
|
12386
|
+
@Region.setter
|
|
12387
|
+
def Region(self, Region):
|
|
12388
|
+
self._Region = Region
|
|
12389
|
+
|
|
12390
|
+
@property
|
|
12391
|
+
def IsDelay(self):
|
|
12392
|
+
return self._IsDelay
|
|
12393
|
+
|
|
12394
|
+
@IsDelay.setter
|
|
12395
|
+
def IsDelay(self, IsDelay):
|
|
12396
|
+
self._IsDelay = IsDelay
|
|
12397
|
+
|
|
12398
|
+
@property
|
|
12399
|
+
def ServiceTemplateId(self):
|
|
12400
|
+
return self._ServiceTemplateId
|
|
12401
|
+
|
|
12402
|
+
@ServiceTemplateId.setter
|
|
12403
|
+
def ServiceTemplateId(self, ServiceTemplateId):
|
|
12404
|
+
self._ServiceTemplateId = ServiceTemplateId
|
|
12405
|
+
|
|
12406
|
+
@property
|
|
12407
|
+
def SouInstanceName(self):
|
|
12408
|
+
return self._SouInstanceName
|
|
12409
|
+
|
|
12410
|
+
@SouInstanceName.setter
|
|
12411
|
+
def SouInstanceName(self, SouInstanceName):
|
|
12412
|
+
self._SouInstanceName = SouInstanceName
|
|
12413
|
+
|
|
12414
|
+
@property
|
|
12415
|
+
def SouPublicIp(self):
|
|
12416
|
+
return self._SouPublicIp
|
|
12417
|
+
|
|
12418
|
+
@SouPublicIp.setter
|
|
12419
|
+
def SouPublicIp(self, SouPublicIp):
|
|
12420
|
+
self._SouPublicIp = SouPublicIp
|
|
12421
|
+
|
|
12422
|
+
@property
|
|
12423
|
+
def SouPrivateIp(self):
|
|
12424
|
+
return self._SouPrivateIp
|
|
12425
|
+
|
|
12426
|
+
@SouPrivateIp.setter
|
|
12427
|
+
def SouPrivateIp(self, SouPrivateIp):
|
|
12428
|
+
self._SouPrivateIp = SouPrivateIp
|
|
12429
|
+
|
|
12430
|
+
@property
|
|
12431
|
+
def SouCidr(self):
|
|
12432
|
+
return self._SouCidr
|
|
12433
|
+
|
|
12434
|
+
@SouCidr.setter
|
|
12435
|
+
def SouCidr(self, SouCidr):
|
|
12436
|
+
self._SouCidr = SouCidr
|
|
12437
|
+
|
|
12438
|
+
@property
|
|
12439
|
+
def SouParameterName(self):
|
|
12440
|
+
return self._SouParameterName
|
|
12441
|
+
|
|
12442
|
+
@SouParameterName.setter
|
|
12443
|
+
def SouParameterName(self, SouParameterName):
|
|
12444
|
+
self._SouParameterName = SouParameterName
|
|
12445
|
+
|
|
12446
|
+
@property
|
|
12447
|
+
def InstanceName(self):
|
|
12448
|
+
return self._InstanceName
|
|
12449
|
+
|
|
12450
|
+
@InstanceName.setter
|
|
12451
|
+
def InstanceName(self, InstanceName):
|
|
12452
|
+
self._InstanceName = InstanceName
|
|
12453
|
+
|
|
12454
|
+
@property
|
|
12455
|
+
def PublicIp(self):
|
|
12456
|
+
return self._PublicIp
|
|
12457
|
+
|
|
12458
|
+
@PublicIp.setter
|
|
12459
|
+
def PublicIp(self, PublicIp):
|
|
12460
|
+
self._PublicIp = PublicIp
|
|
12461
|
+
|
|
12462
|
+
@property
|
|
12463
|
+
def PrivateIp(self):
|
|
12464
|
+
return self._PrivateIp
|
|
12465
|
+
|
|
12466
|
+
@PrivateIp.setter
|
|
12467
|
+
def PrivateIp(self, PrivateIp):
|
|
12468
|
+
self._PrivateIp = PrivateIp
|
|
12469
|
+
|
|
12470
|
+
@property
|
|
12471
|
+
def Cidr(self):
|
|
12472
|
+
return self._Cidr
|
|
12473
|
+
|
|
12474
|
+
@Cidr.setter
|
|
12475
|
+
def Cidr(self, Cidr):
|
|
12476
|
+
self._Cidr = Cidr
|
|
12477
|
+
|
|
12478
|
+
@property
|
|
12479
|
+
def ParameterName(self):
|
|
12480
|
+
return self._ParameterName
|
|
12481
|
+
|
|
12482
|
+
@ParameterName.setter
|
|
12483
|
+
def ParameterName(self, ParameterName):
|
|
12484
|
+
self._ParameterName = ParameterName
|
|
12485
|
+
|
|
12486
|
+
@property
|
|
12487
|
+
def ProtocolPortName(self):
|
|
12488
|
+
return self._ProtocolPortName
|
|
12489
|
+
|
|
12490
|
+
@ProtocolPortName.setter
|
|
12491
|
+
def ProtocolPortName(self, ProtocolPortName):
|
|
12492
|
+
self._ProtocolPortName = ProtocolPortName
|
|
12493
|
+
|
|
12494
|
+
@property
|
|
12495
|
+
def BetaList(self):
|
|
12496
|
+
return self._BetaList
|
|
12497
|
+
|
|
12498
|
+
@BetaList.setter
|
|
12499
|
+
def BetaList(self, BetaList):
|
|
12500
|
+
self._BetaList = BetaList
|
|
12501
|
+
|
|
12502
|
+
@property
|
|
12503
|
+
def Id(self):
|
|
12504
|
+
return self._Id
|
|
12505
|
+
|
|
12506
|
+
@Id.setter
|
|
12507
|
+
def Id(self, Id):
|
|
12508
|
+
self._Id = Id
|
|
12509
|
+
|
|
12510
|
+
|
|
12511
|
+
def _deserialize(self, params):
|
|
12512
|
+
self._OrderIndex = params.get("OrderIndex")
|
|
12513
|
+
self._RuleUuid = params.get("RuleUuid")
|
|
12514
|
+
self._Uuid = params.get("Uuid")
|
|
12515
|
+
self._SourceId = params.get("SourceId")
|
|
12516
|
+
self._SourceType = params.get("SourceType")
|
|
12517
|
+
self._TargetId = params.get("TargetId")
|
|
12518
|
+
self._TargetType = params.get("TargetType")
|
|
12519
|
+
self._Protocol = params.get("Protocol")
|
|
12520
|
+
self._Port = params.get("Port")
|
|
12521
|
+
self._Strategy = params.get("Strategy")
|
|
12522
|
+
self._Status = params.get("Status")
|
|
12523
|
+
self._Detail = params.get("Detail")
|
|
12524
|
+
self._AclTags = params.get("AclTags")
|
|
12525
|
+
self._IsNew = params.get("IsNew")
|
|
12526
|
+
self._Region = params.get("Region")
|
|
12527
|
+
self._IsDelay = params.get("IsDelay")
|
|
12528
|
+
self._ServiceTemplateId = params.get("ServiceTemplateId")
|
|
12529
|
+
self._SouInstanceName = params.get("SouInstanceName")
|
|
12530
|
+
self._SouPublicIp = params.get("SouPublicIp")
|
|
12531
|
+
self._SouPrivateIp = params.get("SouPrivateIp")
|
|
12532
|
+
self._SouCidr = params.get("SouCidr")
|
|
12533
|
+
self._SouParameterName = params.get("SouParameterName")
|
|
12534
|
+
self._InstanceName = params.get("InstanceName")
|
|
12535
|
+
self._PublicIp = params.get("PublicIp")
|
|
12536
|
+
self._PrivateIp = params.get("PrivateIp")
|
|
12537
|
+
self._Cidr = params.get("Cidr")
|
|
12538
|
+
self._ParameterName = params.get("ParameterName")
|
|
12539
|
+
self._ProtocolPortName = params.get("ProtocolPortName")
|
|
12540
|
+
if params.get("BetaList") is not None:
|
|
12541
|
+
self._BetaList = []
|
|
12542
|
+
for item in params.get("BetaList"):
|
|
12543
|
+
obj = EnterpriseSecurityGroupRuleBetaInfo()
|
|
12544
|
+
obj._deserialize(item)
|
|
12545
|
+
self._BetaList.append(obj)
|
|
12546
|
+
self._Id = params.get("Id")
|
|
12547
|
+
memeber_set = set(params.keys())
|
|
12548
|
+
for name, value in vars(self).items():
|
|
12549
|
+
property_name = name[1:]
|
|
12550
|
+
if property_name in memeber_set:
|
|
12551
|
+
memeber_set.remove(property_name)
|
|
12552
|
+
if len(memeber_set) > 0:
|
|
12553
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12554
|
+
|
|
12555
|
+
|
|
12556
|
+
|
|
12557
|
+
class ExpandCfwVerticalRequest(AbstractModel):
|
|
12558
|
+
"""ExpandCfwVertical请求参数结构体
|
|
12559
|
+
|
|
12560
|
+
"""
|
|
12561
|
+
|
|
12562
|
+
def __init__(self):
|
|
12563
|
+
r"""
|
|
12564
|
+
:param _FwType: nat:nat防火墙,ew:东西向防火墙
|
|
12565
|
+
:type FwType: str
|
|
12566
|
+
:param _Width: 带宽值
|
|
12567
|
+
:type Width: int
|
|
12568
|
+
:param _CfwInstance: 防火墙实例id
|
|
12569
|
+
:type CfwInstance: str
|
|
12570
|
+
:param _ElasticSwitch: 弹性开关 1打开 0 关闭
|
|
12571
|
+
:type ElasticSwitch: int
|
|
12572
|
+
:param _ElasticBandwidth: 弹性带宽上限,单位Mbps
|
|
12573
|
+
:type ElasticBandwidth: int
|
|
12574
|
+
:param _Tags: 按量计费标签
|
|
12575
|
+
:type Tags: list of TagInfo
|
|
11878
12576
|
"""
|
|
11879
12577
|
self._FwType = None
|
|
11880
12578
|
self._Width = None
|
|
@@ -17052,6 +17750,15 @@ class NatSwitchListData(AbstractModel):
|
|
|
17052
17750
|
:param _Abnormal: 开关是否异常,0:正常,1:异常
|
|
17053
17751
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17054
17752
|
:type Abnormal: int
|
|
17753
|
+
:param _ORTableId: nat防火墙出口路由表id
|
|
17754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17755
|
+
:type ORTableId: str
|
|
17756
|
+
:param _ORTableName: nat防火墙出口路由表名称
|
|
17757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17758
|
+
:type ORTableName: str
|
|
17759
|
+
:param _Ohavips: 出口Snat Ip列表
|
|
17760
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17761
|
+
:type Ohavips: list of str
|
|
17055
17762
|
"""
|
|
17056
17763
|
self._Id = None
|
|
17057
17764
|
self._SubnetId = None
|
|
@@ -17070,6 +17777,9 @@ class NatSwitchListData(AbstractModel):
|
|
|
17070
17777
|
self._NatInsName = None
|
|
17071
17778
|
self._Region = None
|
|
17072
17779
|
self._Abnormal = None
|
|
17780
|
+
self._ORTableId = None
|
|
17781
|
+
self._ORTableName = None
|
|
17782
|
+
self._Ohavips = None
|
|
17073
17783
|
|
|
17074
17784
|
@property
|
|
17075
17785
|
def Id(self):
|
|
@@ -17207,6 +17917,30 @@ class NatSwitchListData(AbstractModel):
|
|
|
17207
17917
|
def Abnormal(self, Abnormal):
|
|
17208
17918
|
self._Abnormal = Abnormal
|
|
17209
17919
|
|
|
17920
|
+
@property
|
|
17921
|
+
def ORTableId(self):
|
|
17922
|
+
return self._ORTableId
|
|
17923
|
+
|
|
17924
|
+
@ORTableId.setter
|
|
17925
|
+
def ORTableId(self, ORTableId):
|
|
17926
|
+
self._ORTableId = ORTableId
|
|
17927
|
+
|
|
17928
|
+
@property
|
|
17929
|
+
def ORTableName(self):
|
|
17930
|
+
return self._ORTableName
|
|
17931
|
+
|
|
17932
|
+
@ORTableName.setter
|
|
17933
|
+
def ORTableName(self, ORTableName):
|
|
17934
|
+
self._ORTableName = ORTableName
|
|
17935
|
+
|
|
17936
|
+
@property
|
|
17937
|
+
def Ohavips(self):
|
|
17938
|
+
return self._Ohavips
|
|
17939
|
+
|
|
17940
|
+
@Ohavips.setter
|
|
17941
|
+
def Ohavips(self, Ohavips):
|
|
17942
|
+
self._Ohavips = Ohavips
|
|
17943
|
+
|
|
17210
17944
|
|
|
17211
17945
|
def _deserialize(self, params):
|
|
17212
17946
|
self._Id = params.get("Id")
|
|
@@ -17226,6 +17960,9 @@ class NatSwitchListData(AbstractModel):
|
|
|
17226
17960
|
self._NatInsName = params.get("NatInsName")
|
|
17227
17961
|
self._Region = params.get("Region")
|
|
17228
17962
|
self._Abnormal = params.get("Abnormal")
|
|
17963
|
+
self._ORTableId = params.get("ORTableId")
|
|
17964
|
+
self._ORTableName = params.get("ORTableName")
|
|
17965
|
+
self._Ohavips = params.get("Ohavips")
|
|
17229
17966
|
memeber_set = set(params.keys())
|
|
17230
17967
|
for name, value in vars(self).items():
|
|
17231
17968
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1237
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1226
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|