tencentcloud-sdk-python-cfw 3.0.1195__tar.gz → 3.0.1215__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.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/setup.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud/cfw/v20190904/models.py +404 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cfw-3.0.1215/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfw-3.0.1195/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/README.rst +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1195 → tencentcloud-sdk-python-cfw-3.0.1215}/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.1215"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cfw SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1178,6 +1178,29 @@ class CfwClient(AbstractClient):
|
|
|
1178
1178
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1179
1179
|
|
|
1180
1180
|
|
|
1181
|
+
def DescribeNatFwDnatRule(self, request):
|
|
1182
|
+
"""查询Nat防火墙Dnat规则
|
|
1183
|
+
|
|
1184
|
+
:param request: Request instance for DescribeNatFwDnatRule.
|
|
1185
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNatFwDnatRuleRequest`
|
|
1186
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNatFwDnatRuleResponse`
|
|
1187
|
+
|
|
1188
|
+
"""
|
|
1189
|
+
try:
|
|
1190
|
+
params = request._serialize()
|
|
1191
|
+
headers = request.headers
|
|
1192
|
+
body = self.call("DescribeNatFwDnatRule", params, headers=headers)
|
|
1193
|
+
response = json.loads(body)
|
|
1194
|
+
model = models.DescribeNatFwDnatRuleResponse()
|
|
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 DescribeNatFwInfoCount(self, request):
|
|
1182
1205
|
"""获取当前用户接入nat防火墙的所有子网数及natfw实例个数
|
|
1183
1206
|
|
|
@@ -5341,6 +5341,9 @@ class DescAcItem(AbstractModel):
|
|
|
5341
5341
|
:param _TargetName: 访问目的名称
|
|
5342
5342
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5343
5343
|
:type TargetName: str
|
|
5344
|
+
:param _LastHitTime: 规则最近命中时间
|
|
5345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5346
|
+
:type LastHitTime: str
|
|
5344
5347
|
"""
|
|
5345
5348
|
self._SourceContent = None
|
|
5346
5349
|
self._TargetContent = None
|
|
@@ -5373,6 +5376,7 @@ class DescAcItem(AbstractModel):
|
|
|
5373
5376
|
self._ParamTemplateId = None
|
|
5374
5377
|
self._SourceName = None
|
|
5375
5378
|
self._TargetName = None
|
|
5379
|
+
self._LastHitTime = None
|
|
5376
5380
|
|
|
5377
5381
|
@property
|
|
5378
5382
|
def SourceContent(self):
|
|
@@ -5622,6 +5626,14 @@ class DescAcItem(AbstractModel):
|
|
|
5622
5626
|
def TargetName(self, TargetName):
|
|
5623
5627
|
self._TargetName = TargetName
|
|
5624
5628
|
|
|
5629
|
+
@property
|
|
5630
|
+
def LastHitTime(self):
|
|
5631
|
+
return self._LastHitTime
|
|
5632
|
+
|
|
5633
|
+
@LastHitTime.setter
|
|
5634
|
+
def LastHitTime(self, LastHitTime):
|
|
5635
|
+
self._LastHitTime = LastHitTime
|
|
5636
|
+
|
|
5625
5637
|
|
|
5626
5638
|
def _deserialize(self, params):
|
|
5627
5639
|
self._SourceContent = params.get("SourceContent")
|
|
@@ -5660,6 +5672,158 @@ class DescAcItem(AbstractModel):
|
|
|
5660
5672
|
self._ParamTemplateId = params.get("ParamTemplateId")
|
|
5661
5673
|
self._SourceName = params.get("SourceName")
|
|
5662
5674
|
self._TargetName = params.get("TargetName")
|
|
5675
|
+
self._LastHitTime = params.get("LastHitTime")
|
|
5676
|
+
memeber_set = set(params.keys())
|
|
5677
|
+
for name, value in vars(self).items():
|
|
5678
|
+
property_name = name[1:]
|
|
5679
|
+
if property_name in memeber_set:
|
|
5680
|
+
memeber_set.remove(property_name)
|
|
5681
|
+
if len(memeber_set) > 0:
|
|
5682
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5683
|
+
|
|
5684
|
+
|
|
5685
|
+
|
|
5686
|
+
class DescNatDnatRule(AbstractModel):
|
|
5687
|
+
"""NAT防火墙Dnat规则列表
|
|
5688
|
+
|
|
5689
|
+
"""
|
|
5690
|
+
|
|
5691
|
+
def __init__(self):
|
|
5692
|
+
r"""
|
|
5693
|
+
:param _Id: id
|
|
5694
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5695
|
+
:type Id: int
|
|
5696
|
+
:param _IpProtocol: 网络协议,可选值:TCP、UDP。
|
|
5697
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5698
|
+
:type IpProtocol: str
|
|
5699
|
+
:param _PublicIpAddress: 弹性IP。
|
|
5700
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5701
|
+
:type PublicIpAddress: str
|
|
5702
|
+
:param _PublicPort: 公网端口。
|
|
5703
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5704
|
+
:type PublicPort: int
|
|
5705
|
+
:param _PrivateIpAddress: 内网地址。
|
|
5706
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5707
|
+
:type PrivateIpAddress: str
|
|
5708
|
+
:param _PrivatePort: 内网端口。
|
|
5709
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5710
|
+
:type PrivatePort: int
|
|
5711
|
+
:param _Description: NAT防火墙转发规则描述。
|
|
5712
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5713
|
+
:type Description: str
|
|
5714
|
+
:param _IsReferenced: 是否被关联引用,如被远程运维使用
|
|
5715
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5716
|
+
:type IsReferenced: int
|
|
5717
|
+
:param _FwInsId: 所属防火墙实例id
|
|
5718
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5719
|
+
:type FwInsId: str
|
|
5720
|
+
:param _NatGwId: 关联的nat网关Id
|
|
5721
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5722
|
+
:type NatGwId: str
|
|
5723
|
+
"""
|
|
5724
|
+
self._Id = None
|
|
5725
|
+
self._IpProtocol = None
|
|
5726
|
+
self._PublicIpAddress = None
|
|
5727
|
+
self._PublicPort = None
|
|
5728
|
+
self._PrivateIpAddress = None
|
|
5729
|
+
self._PrivatePort = None
|
|
5730
|
+
self._Description = None
|
|
5731
|
+
self._IsReferenced = None
|
|
5732
|
+
self._FwInsId = None
|
|
5733
|
+
self._NatGwId = None
|
|
5734
|
+
|
|
5735
|
+
@property
|
|
5736
|
+
def Id(self):
|
|
5737
|
+
return self._Id
|
|
5738
|
+
|
|
5739
|
+
@Id.setter
|
|
5740
|
+
def Id(self, Id):
|
|
5741
|
+
self._Id = Id
|
|
5742
|
+
|
|
5743
|
+
@property
|
|
5744
|
+
def IpProtocol(self):
|
|
5745
|
+
return self._IpProtocol
|
|
5746
|
+
|
|
5747
|
+
@IpProtocol.setter
|
|
5748
|
+
def IpProtocol(self, IpProtocol):
|
|
5749
|
+
self._IpProtocol = IpProtocol
|
|
5750
|
+
|
|
5751
|
+
@property
|
|
5752
|
+
def PublicIpAddress(self):
|
|
5753
|
+
return self._PublicIpAddress
|
|
5754
|
+
|
|
5755
|
+
@PublicIpAddress.setter
|
|
5756
|
+
def PublicIpAddress(self, PublicIpAddress):
|
|
5757
|
+
self._PublicIpAddress = PublicIpAddress
|
|
5758
|
+
|
|
5759
|
+
@property
|
|
5760
|
+
def PublicPort(self):
|
|
5761
|
+
return self._PublicPort
|
|
5762
|
+
|
|
5763
|
+
@PublicPort.setter
|
|
5764
|
+
def PublicPort(self, PublicPort):
|
|
5765
|
+
self._PublicPort = PublicPort
|
|
5766
|
+
|
|
5767
|
+
@property
|
|
5768
|
+
def PrivateIpAddress(self):
|
|
5769
|
+
return self._PrivateIpAddress
|
|
5770
|
+
|
|
5771
|
+
@PrivateIpAddress.setter
|
|
5772
|
+
def PrivateIpAddress(self, PrivateIpAddress):
|
|
5773
|
+
self._PrivateIpAddress = PrivateIpAddress
|
|
5774
|
+
|
|
5775
|
+
@property
|
|
5776
|
+
def PrivatePort(self):
|
|
5777
|
+
return self._PrivatePort
|
|
5778
|
+
|
|
5779
|
+
@PrivatePort.setter
|
|
5780
|
+
def PrivatePort(self, PrivatePort):
|
|
5781
|
+
self._PrivatePort = PrivatePort
|
|
5782
|
+
|
|
5783
|
+
@property
|
|
5784
|
+
def Description(self):
|
|
5785
|
+
return self._Description
|
|
5786
|
+
|
|
5787
|
+
@Description.setter
|
|
5788
|
+
def Description(self, Description):
|
|
5789
|
+
self._Description = Description
|
|
5790
|
+
|
|
5791
|
+
@property
|
|
5792
|
+
def IsReferenced(self):
|
|
5793
|
+
return self._IsReferenced
|
|
5794
|
+
|
|
5795
|
+
@IsReferenced.setter
|
|
5796
|
+
def IsReferenced(self, IsReferenced):
|
|
5797
|
+
self._IsReferenced = IsReferenced
|
|
5798
|
+
|
|
5799
|
+
@property
|
|
5800
|
+
def FwInsId(self):
|
|
5801
|
+
return self._FwInsId
|
|
5802
|
+
|
|
5803
|
+
@FwInsId.setter
|
|
5804
|
+
def FwInsId(self, FwInsId):
|
|
5805
|
+
self._FwInsId = FwInsId
|
|
5806
|
+
|
|
5807
|
+
@property
|
|
5808
|
+
def NatGwId(self):
|
|
5809
|
+
return self._NatGwId
|
|
5810
|
+
|
|
5811
|
+
@NatGwId.setter
|
|
5812
|
+
def NatGwId(self, NatGwId):
|
|
5813
|
+
self._NatGwId = NatGwId
|
|
5814
|
+
|
|
5815
|
+
|
|
5816
|
+
def _deserialize(self, params):
|
|
5817
|
+
self._Id = params.get("Id")
|
|
5818
|
+
self._IpProtocol = params.get("IpProtocol")
|
|
5819
|
+
self._PublicIpAddress = params.get("PublicIpAddress")
|
|
5820
|
+
self._PublicPort = params.get("PublicPort")
|
|
5821
|
+
self._PrivateIpAddress = params.get("PrivateIpAddress")
|
|
5822
|
+
self._PrivatePort = params.get("PrivatePort")
|
|
5823
|
+
self._Description = params.get("Description")
|
|
5824
|
+
self._IsReferenced = params.get("IsReferenced")
|
|
5825
|
+
self._FwInsId = params.get("FwInsId")
|
|
5826
|
+
self._NatGwId = params.get("NatGwId")
|
|
5663
5827
|
memeber_set = set(params.keys())
|
|
5664
5828
|
for name, value in vars(self).items():
|
|
5665
5829
|
property_name = name[1:]
|
|
@@ -6215,6 +6379,10 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
6215
6379
|
:type DomainTemplateCount: int
|
|
6216
6380
|
:param _PortTemplateCount: 协议端口模板数量
|
|
6217
6381
|
:type PortTemplateCount: int
|
|
6382
|
+
:param _UsedTemplateCount: 已使用的地址模板数
|
|
6383
|
+
:type UsedTemplateCount: int
|
|
6384
|
+
:param _TemplateQuotaCount: 地址模板配额数量
|
|
6385
|
+
:type TemplateQuotaCount: int
|
|
6218
6386
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6219
6387
|
:type RequestId: str
|
|
6220
6388
|
"""
|
|
@@ -6224,6 +6392,8 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
6224
6392
|
self._IpTemplateCount = None
|
|
6225
6393
|
self._DomainTemplateCount = None
|
|
6226
6394
|
self._PortTemplateCount = None
|
|
6395
|
+
self._UsedTemplateCount = None
|
|
6396
|
+
self._TemplateQuotaCount = None
|
|
6227
6397
|
self._RequestId = None
|
|
6228
6398
|
|
|
6229
6399
|
@property
|
|
@@ -6274,6 +6444,22 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
6274
6444
|
def PortTemplateCount(self, PortTemplateCount):
|
|
6275
6445
|
self._PortTemplateCount = PortTemplateCount
|
|
6276
6446
|
|
|
6447
|
+
@property
|
|
6448
|
+
def UsedTemplateCount(self):
|
|
6449
|
+
return self._UsedTemplateCount
|
|
6450
|
+
|
|
6451
|
+
@UsedTemplateCount.setter
|
|
6452
|
+
def UsedTemplateCount(self, UsedTemplateCount):
|
|
6453
|
+
self._UsedTemplateCount = UsedTemplateCount
|
|
6454
|
+
|
|
6455
|
+
@property
|
|
6456
|
+
def TemplateQuotaCount(self):
|
|
6457
|
+
return self._TemplateQuotaCount
|
|
6458
|
+
|
|
6459
|
+
@TemplateQuotaCount.setter
|
|
6460
|
+
def TemplateQuotaCount(self, TemplateQuotaCount):
|
|
6461
|
+
self._TemplateQuotaCount = TemplateQuotaCount
|
|
6462
|
+
|
|
6277
6463
|
@property
|
|
6278
6464
|
def RequestId(self):
|
|
6279
6465
|
return self._RequestId
|
|
@@ -6295,6 +6481,8 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
6295
6481
|
self._IpTemplateCount = params.get("IpTemplateCount")
|
|
6296
6482
|
self._DomainTemplateCount = params.get("DomainTemplateCount")
|
|
6297
6483
|
self._PortTemplateCount = params.get("PortTemplateCount")
|
|
6484
|
+
self._UsedTemplateCount = params.get("UsedTemplateCount")
|
|
6485
|
+
self._TemplateQuotaCount = params.get("TemplateQuotaCount")
|
|
6298
6486
|
self._RequestId = params.get("RequestId")
|
|
6299
6487
|
|
|
6300
6488
|
|
|
@@ -8410,6 +8598,9 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
8410
8598
|
:type ReturnCode: int
|
|
8411
8599
|
:param _ReturnMsg: 返回信息 success 成功 其他 不成功
|
|
8412
8600
|
:type ReturnMsg: str
|
|
8601
|
+
:param _AppProtocolList: 七层协议,NTA日志有效
|
|
8602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8603
|
+
:type AppProtocolList: list of str
|
|
8413
8604
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8414
8605
|
:type RequestId: str
|
|
8415
8606
|
"""
|
|
@@ -8417,6 +8608,7 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
8417
8608
|
self._Total = None
|
|
8418
8609
|
self._ReturnCode = None
|
|
8419
8610
|
self._ReturnMsg = None
|
|
8611
|
+
self._AppProtocolList = None
|
|
8420
8612
|
self._RequestId = None
|
|
8421
8613
|
|
|
8422
8614
|
@property
|
|
@@ -8451,6 +8643,14 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
8451
8643
|
def ReturnMsg(self, ReturnMsg):
|
|
8452
8644
|
self._ReturnMsg = ReturnMsg
|
|
8453
8645
|
|
|
8646
|
+
@property
|
|
8647
|
+
def AppProtocolList(self):
|
|
8648
|
+
return self._AppProtocolList
|
|
8649
|
+
|
|
8650
|
+
@AppProtocolList.setter
|
|
8651
|
+
def AppProtocolList(self, AppProtocolList):
|
|
8652
|
+
self._AppProtocolList = AppProtocolList
|
|
8653
|
+
|
|
8454
8654
|
@property
|
|
8455
8655
|
def RequestId(self):
|
|
8456
8656
|
return self._RequestId
|
|
@@ -8465,6 +8665,7 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
8465
8665
|
self._Total = params.get("Total")
|
|
8466
8666
|
self._ReturnCode = params.get("ReturnCode")
|
|
8467
8667
|
self._ReturnMsg = params.get("ReturnMsg")
|
|
8668
|
+
self._AppProtocolList = params.get("AppProtocolList")
|
|
8468
8669
|
self._RequestId = params.get("RequestId")
|
|
8469
8670
|
|
|
8470
8671
|
|
|
@@ -8657,6 +8858,183 @@ class DescribeNatAcRuleResponse(AbstractModel):
|
|
|
8657
8858
|
self._RequestId = params.get("RequestId")
|
|
8658
8859
|
|
|
8659
8860
|
|
|
8861
|
+
class DescribeNatFwDnatRuleRequest(AbstractModel):
|
|
8862
|
+
"""DescribeNatFwDnatRule请求参数结构体
|
|
8863
|
+
|
|
8864
|
+
"""
|
|
8865
|
+
|
|
8866
|
+
def __init__(self):
|
|
8867
|
+
r"""
|
|
8868
|
+
:param _Index: 需要查询的索引,特定场景使用,可不填
|
|
8869
|
+
:type Index: str
|
|
8870
|
+
:param _Filters: 过滤条件组合
|
|
8871
|
+
:type Filters: list of CommonFilter
|
|
8872
|
+
:param _Limit: 每页条数
|
|
8873
|
+
:type Limit: int
|
|
8874
|
+
:param _Offset: 偏移值
|
|
8875
|
+
:type Offset: int
|
|
8876
|
+
:param _StartTime: 检索的起始时间,可不传
|
|
8877
|
+
:type StartTime: str
|
|
8878
|
+
:param _EndTime: 检索的截止时间,可不传
|
|
8879
|
+
:type EndTime: str
|
|
8880
|
+
:param _Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
|
8881
|
+
:type Order: str
|
|
8882
|
+
:param _By: 排序所用到的字段
|
|
8883
|
+
:type By: str
|
|
8884
|
+
"""
|
|
8885
|
+
self._Index = None
|
|
8886
|
+
self._Filters = None
|
|
8887
|
+
self._Limit = None
|
|
8888
|
+
self._Offset = None
|
|
8889
|
+
self._StartTime = None
|
|
8890
|
+
self._EndTime = None
|
|
8891
|
+
self._Order = None
|
|
8892
|
+
self._By = None
|
|
8893
|
+
|
|
8894
|
+
@property
|
|
8895
|
+
def Index(self):
|
|
8896
|
+
return self._Index
|
|
8897
|
+
|
|
8898
|
+
@Index.setter
|
|
8899
|
+
def Index(self, Index):
|
|
8900
|
+
self._Index = Index
|
|
8901
|
+
|
|
8902
|
+
@property
|
|
8903
|
+
def Filters(self):
|
|
8904
|
+
return self._Filters
|
|
8905
|
+
|
|
8906
|
+
@Filters.setter
|
|
8907
|
+
def Filters(self, Filters):
|
|
8908
|
+
self._Filters = Filters
|
|
8909
|
+
|
|
8910
|
+
@property
|
|
8911
|
+
def Limit(self):
|
|
8912
|
+
return self._Limit
|
|
8913
|
+
|
|
8914
|
+
@Limit.setter
|
|
8915
|
+
def Limit(self, Limit):
|
|
8916
|
+
self._Limit = Limit
|
|
8917
|
+
|
|
8918
|
+
@property
|
|
8919
|
+
def Offset(self):
|
|
8920
|
+
return self._Offset
|
|
8921
|
+
|
|
8922
|
+
@Offset.setter
|
|
8923
|
+
def Offset(self, Offset):
|
|
8924
|
+
self._Offset = Offset
|
|
8925
|
+
|
|
8926
|
+
@property
|
|
8927
|
+
def StartTime(self):
|
|
8928
|
+
return self._StartTime
|
|
8929
|
+
|
|
8930
|
+
@StartTime.setter
|
|
8931
|
+
def StartTime(self, StartTime):
|
|
8932
|
+
self._StartTime = StartTime
|
|
8933
|
+
|
|
8934
|
+
@property
|
|
8935
|
+
def EndTime(self):
|
|
8936
|
+
return self._EndTime
|
|
8937
|
+
|
|
8938
|
+
@EndTime.setter
|
|
8939
|
+
def EndTime(self, EndTime):
|
|
8940
|
+
self._EndTime = EndTime
|
|
8941
|
+
|
|
8942
|
+
@property
|
|
8943
|
+
def Order(self):
|
|
8944
|
+
return self._Order
|
|
8945
|
+
|
|
8946
|
+
@Order.setter
|
|
8947
|
+
def Order(self, Order):
|
|
8948
|
+
self._Order = Order
|
|
8949
|
+
|
|
8950
|
+
@property
|
|
8951
|
+
def By(self):
|
|
8952
|
+
return self._By
|
|
8953
|
+
|
|
8954
|
+
@By.setter
|
|
8955
|
+
def By(self, By):
|
|
8956
|
+
self._By = By
|
|
8957
|
+
|
|
8958
|
+
|
|
8959
|
+
def _deserialize(self, params):
|
|
8960
|
+
self._Index = params.get("Index")
|
|
8961
|
+
if params.get("Filters") is not None:
|
|
8962
|
+
self._Filters = []
|
|
8963
|
+
for item in params.get("Filters"):
|
|
8964
|
+
obj = CommonFilter()
|
|
8965
|
+
obj._deserialize(item)
|
|
8966
|
+
self._Filters.append(obj)
|
|
8967
|
+
self._Limit = params.get("Limit")
|
|
8968
|
+
self._Offset = params.get("Offset")
|
|
8969
|
+
self._StartTime = params.get("StartTime")
|
|
8970
|
+
self._EndTime = params.get("EndTime")
|
|
8971
|
+
self._Order = params.get("Order")
|
|
8972
|
+
self._By = params.get("By")
|
|
8973
|
+
memeber_set = set(params.keys())
|
|
8974
|
+
for name, value in vars(self).items():
|
|
8975
|
+
property_name = name[1:]
|
|
8976
|
+
if property_name in memeber_set:
|
|
8977
|
+
memeber_set.remove(property_name)
|
|
8978
|
+
if len(memeber_set) > 0:
|
|
8979
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8980
|
+
|
|
8981
|
+
|
|
8982
|
+
|
|
8983
|
+
class DescribeNatFwDnatRuleResponse(AbstractModel):
|
|
8984
|
+
"""DescribeNatFwDnatRule返回参数结构体
|
|
8985
|
+
|
|
8986
|
+
"""
|
|
8987
|
+
|
|
8988
|
+
def __init__(self):
|
|
8989
|
+
r"""
|
|
8990
|
+
:param _Data: Dnat规则列表
|
|
8991
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8992
|
+
:type Data: list of DescNatDnatRule
|
|
8993
|
+
:param _Total: 列表总数
|
|
8994
|
+
:type Total: int
|
|
8995
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8996
|
+
:type RequestId: str
|
|
8997
|
+
"""
|
|
8998
|
+
self._Data = None
|
|
8999
|
+
self._Total = None
|
|
9000
|
+
self._RequestId = None
|
|
9001
|
+
|
|
9002
|
+
@property
|
|
9003
|
+
def Data(self):
|
|
9004
|
+
return self._Data
|
|
9005
|
+
|
|
9006
|
+
@Data.setter
|
|
9007
|
+
def Data(self, Data):
|
|
9008
|
+
self._Data = Data
|
|
9009
|
+
|
|
9010
|
+
@property
|
|
9011
|
+
def Total(self):
|
|
9012
|
+
return self._Total
|
|
9013
|
+
|
|
9014
|
+
@Total.setter
|
|
9015
|
+
def Total(self, Total):
|
|
9016
|
+
self._Total = Total
|
|
9017
|
+
|
|
9018
|
+
@property
|
|
9019
|
+
def RequestId(self):
|
|
9020
|
+
return self._RequestId
|
|
9021
|
+
|
|
9022
|
+
@RequestId.setter
|
|
9023
|
+
def RequestId(self, RequestId):
|
|
9024
|
+
self._RequestId = RequestId
|
|
9025
|
+
|
|
9026
|
+
|
|
9027
|
+
def _deserialize(self, params):
|
|
9028
|
+
if params.get("Data") is not None:
|
|
9029
|
+
self._Data = []
|
|
9030
|
+
for item in params.get("Data"):
|
|
9031
|
+
obj = DescNatDnatRule()
|
|
9032
|
+
obj._deserialize(item)
|
|
9033
|
+
self._Data.append(obj)
|
|
9034
|
+
self._Total = params.get("Total")
|
|
9035
|
+
self._RequestId = params.get("RequestId")
|
|
9036
|
+
|
|
9037
|
+
|
|
8660
9038
|
class DescribeNatFwInfoCountRequest(AbstractModel):
|
|
8661
9039
|
"""DescribeNatFwInfoCount请求参数结构体
|
|
8662
9040
|
|
|
@@ -20296,6 +20674,12 @@ class VpcFwGroupInfo(AbstractModel):
|
|
|
20296
20674
|
:param _CrossUserMode: 跨租户模式 1管理员 2单边 0 非跨租户
|
|
20297
20675
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20298
20676
|
:type CrossUserMode: str
|
|
20677
|
+
:param _NeedSwitchCcnOverlap: 云联网模式下,当前实例是否需要开启重叠路由开关,1:需要开启,0:不需要开启
|
|
20678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20679
|
+
:type NeedSwitchCcnOverlap: int
|
|
20680
|
+
:param _CcnId: 云联网模式下,实例关联的云联网id
|
|
20681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20682
|
+
:type CcnId: str
|
|
20299
20683
|
"""
|
|
20300
20684
|
self._FwGroupId = None
|
|
20301
20685
|
self._FwGroupName = None
|
|
@@ -20309,6 +20693,8 @@ class VpcFwGroupInfo(AbstractModel):
|
|
|
20309
20693
|
self._CdcId = None
|
|
20310
20694
|
self._CdcName = None
|
|
20311
20695
|
self._CrossUserMode = None
|
|
20696
|
+
self._NeedSwitchCcnOverlap = None
|
|
20697
|
+
self._CcnId = None
|
|
20312
20698
|
|
|
20313
20699
|
@property
|
|
20314
20700
|
def FwGroupId(self):
|
|
@@ -20406,6 +20792,22 @@ class VpcFwGroupInfo(AbstractModel):
|
|
|
20406
20792
|
def CrossUserMode(self, CrossUserMode):
|
|
20407
20793
|
self._CrossUserMode = CrossUserMode
|
|
20408
20794
|
|
|
20795
|
+
@property
|
|
20796
|
+
def NeedSwitchCcnOverlap(self):
|
|
20797
|
+
return self._NeedSwitchCcnOverlap
|
|
20798
|
+
|
|
20799
|
+
@NeedSwitchCcnOverlap.setter
|
|
20800
|
+
def NeedSwitchCcnOverlap(self, NeedSwitchCcnOverlap):
|
|
20801
|
+
self._NeedSwitchCcnOverlap = NeedSwitchCcnOverlap
|
|
20802
|
+
|
|
20803
|
+
@property
|
|
20804
|
+
def CcnId(self):
|
|
20805
|
+
return self._CcnId
|
|
20806
|
+
|
|
20807
|
+
@CcnId.setter
|
|
20808
|
+
def CcnId(self, CcnId):
|
|
20809
|
+
self._CcnId = CcnId
|
|
20810
|
+
|
|
20409
20811
|
|
|
20410
20812
|
def _deserialize(self, params):
|
|
20411
20813
|
self._FwGroupId = params.get("FwGroupId")
|
|
@@ -20425,6 +20827,8 @@ class VpcFwGroupInfo(AbstractModel):
|
|
|
20425
20827
|
self._CdcId = params.get("CdcId")
|
|
20426
20828
|
self._CdcName = params.get("CdcName")
|
|
20427
20829
|
self._CrossUserMode = params.get("CrossUserMode")
|
|
20830
|
+
self._NeedSwitchCcnOverlap = params.get("NeedSwitchCcnOverlap")
|
|
20831
|
+
self._CcnId = params.get("CcnId")
|
|
20428
20832
|
memeber_set = set(params.keys())
|
|
20429
20833
|
for name, value in vars(self).items():
|
|
20430
20834
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1215
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1195
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|