tencentcloud-sdk-python-cfw 3.0.1193__tar.gz → 3.0.1198__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.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/setup.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud/cfw/v20190904/models.py +391 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cfw-3.0.1198/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfw-3.0.1193/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/README.rst +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1193 → tencentcloud-sdk-python-cfw-3.0.1198}/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.1198"],
|
|
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
|
|
|
@@ -5670,6 +5670,157 @@ class DescAcItem(AbstractModel):
|
|
|
5670
5670
|
|
|
5671
5671
|
|
|
5672
5672
|
|
|
5673
|
+
class DescNatDnatRule(AbstractModel):
|
|
5674
|
+
"""NAT防火墙Dnat规则列表
|
|
5675
|
+
|
|
5676
|
+
"""
|
|
5677
|
+
|
|
5678
|
+
def __init__(self):
|
|
5679
|
+
r"""
|
|
5680
|
+
:param _Id: id
|
|
5681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5682
|
+
:type Id: int
|
|
5683
|
+
:param _IpProtocol: 网络协议,可选值:TCP、UDP。
|
|
5684
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5685
|
+
:type IpProtocol: str
|
|
5686
|
+
:param _PublicIpAddress: 弹性IP。
|
|
5687
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5688
|
+
:type PublicIpAddress: str
|
|
5689
|
+
:param _PublicPort: 公网端口。
|
|
5690
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5691
|
+
:type PublicPort: int
|
|
5692
|
+
:param _PrivateIpAddress: 内网地址。
|
|
5693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5694
|
+
:type PrivateIpAddress: str
|
|
5695
|
+
:param _PrivatePort: 内网端口。
|
|
5696
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5697
|
+
:type PrivatePort: int
|
|
5698
|
+
:param _Description: NAT防火墙转发规则描述。
|
|
5699
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5700
|
+
:type Description: str
|
|
5701
|
+
:param _IsReferenced: 是否被关联引用,如被远程运维使用
|
|
5702
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5703
|
+
:type IsReferenced: int
|
|
5704
|
+
:param _FwInsId: 所属防火墙实例id
|
|
5705
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5706
|
+
:type FwInsId: str
|
|
5707
|
+
:param _NatGwId: 关联的nat网关Id
|
|
5708
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5709
|
+
:type NatGwId: str
|
|
5710
|
+
"""
|
|
5711
|
+
self._Id = None
|
|
5712
|
+
self._IpProtocol = None
|
|
5713
|
+
self._PublicIpAddress = None
|
|
5714
|
+
self._PublicPort = None
|
|
5715
|
+
self._PrivateIpAddress = None
|
|
5716
|
+
self._PrivatePort = None
|
|
5717
|
+
self._Description = None
|
|
5718
|
+
self._IsReferenced = None
|
|
5719
|
+
self._FwInsId = None
|
|
5720
|
+
self._NatGwId = None
|
|
5721
|
+
|
|
5722
|
+
@property
|
|
5723
|
+
def Id(self):
|
|
5724
|
+
return self._Id
|
|
5725
|
+
|
|
5726
|
+
@Id.setter
|
|
5727
|
+
def Id(self, Id):
|
|
5728
|
+
self._Id = Id
|
|
5729
|
+
|
|
5730
|
+
@property
|
|
5731
|
+
def IpProtocol(self):
|
|
5732
|
+
return self._IpProtocol
|
|
5733
|
+
|
|
5734
|
+
@IpProtocol.setter
|
|
5735
|
+
def IpProtocol(self, IpProtocol):
|
|
5736
|
+
self._IpProtocol = IpProtocol
|
|
5737
|
+
|
|
5738
|
+
@property
|
|
5739
|
+
def PublicIpAddress(self):
|
|
5740
|
+
return self._PublicIpAddress
|
|
5741
|
+
|
|
5742
|
+
@PublicIpAddress.setter
|
|
5743
|
+
def PublicIpAddress(self, PublicIpAddress):
|
|
5744
|
+
self._PublicIpAddress = PublicIpAddress
|
|
5745
|
+
|
|
5746
|
+
@property
|
|
5747
|
+
def PublicPort(self):
|
|
5748
|
+
return self._PublicPort
|
|
5749
|
+
|
|
5750
|
+
@PublicPort.setter
|
|
5751
|
+
def PublicPort(self, PublicPort):
|
|
5752
|
+
self._PublicPort = PublicPort
|
|
5753
|
+
|
|
5754
|
+
@property
|
|
5755
|
+
def PrivateIpAddress(self):
|
|
5756
|
+
return self._PrivateIpAddress
|
|
5757
|
+
|
|
5758
|
+
@PrivateIpAddress.setter
|
|
5759
|
+
def PrivateIpAddress(self, PrivateIpAddress):
|
|
5760
|
+
self._PrivateIpAddress = PrivateIpAddress
|
|
5761
|
+
|
|
5762
|
+
@property
|
|
5763
|
+
def PrivatePort(self):
|
|
5764
|
+
return self._PrivatePort
|
|
5765
|
+
|
|
5766
|
+
@PrivatePort.setter
|
|
5767
|
+
def PrivatePort(self, PrivatePort):
|
|
5768
|
+
self._PrivatePort = PrivatePort
|
|
5769
|
+
|
|
5770
|
+
@property
|
|
5771
|
+
def Description(self):
|
|
5772
|
+
return self._Description
|
|
5773
|
+
|
|
5774
|
+
@Description.setter
|
|
5775
|
+
def Description(self, Description):
|
|
5776
|
+
self._Description = Description
|
|
5777
|
+
|
|
5778
|
+
@property
|
|
5779
|
+
def IsReferenced(self):
|
|
5780
|
+
return self._IsReferenced
|
|
5781
|
+
|
|
5782
|
+
@IsReferenced.setter
|
|
5783
|
+
def IsReferenced(self, IsReferenced):
|
|
5784
|
+
self._IsReferenced = IsReferenced
|
|
5785
|
+
|
|
5786
|
+
@property
|
|
5787
|
+
def FwInsId(self):
|
|
5788
|
+
return self._FwInsId
|
|
5789
|
+
|
|
5790
|
+
@FwInsId.setter
|
|
5791
|
+
def FwInsId(self, FwInsId):
|
|
5792
|
+
self._FwInsId = FwInsId
|
|
5793
|
+
|
|
5794
|
+
@property
|
|
5795
|
+
def NatGwId(self):
|
|
5796
|
+
return self._NatGwId
|
|
5797
|
+
|
|
5798
|
+
@NatGwId.setter
|
|
5799
|
+
def NatGwId(self, NatGwId):
|
|
5800
|
+
self._NatGwId = NatGwId
|
|
5801
|
+
|
|
5802
|
+
|
|
5803
|
+
def _deserialize(self, params):
|
|
5804
|
+
self._Id = params.get("Id")
|
|
5805
|
+
self._IpProtocol = params.get("IpProtocol")
|
|
5806
|
+
self._PublicIpAddress = params.get("PublicIpAddress")
|
|
5807
|
+
self._PublicPort = params.get("PublicPort")
|
|
5808
|
+
self._PrivateIpAddress = params.get("PrivateIpAddress")
|
|
5809
|
+
self._PrivatePort = params.get("PrivatePort")
|
|
5810
|
+
self._Description = params.get("Description")
|
|
5811
|
+
self._IsReferenced = params.get("IsReferenced")
|
|
5812
|
+
self._FwInsId = params.get("FwInsId")
|
|
5813
|
+
self._NatGwId = params.get("NatGwId")
|
|
5814
|
+
memeber_set = set(params.keys())
|
|
5815
|
+
for name, value in vars(self).items():
|
|
5816
|
+
property_name = name[1:]
|
|
5817
|
+
if property_name in memeber_set:
|
|
5818
|
+
memeber_set.remove(property_name)
|
|
5819
|
+
if len(memeber_set) > 0:
|
|
5820
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5821
|
+
|
|
5822
|
+
|
|
5823
|
+
|
|
5673
5824
|
class DescribeAcListsRequest(AbstractModel):
|
|
5674
5825
|
"""DescribeAcLists请求参数结构体
|
|
5675
5826
|
|
|
@@ -6215,6 +6366,10 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
6215
6366
|
:type DomainTemplateCount: int
|
|
6216
6367
|
:param _PortTemplateCount: 协议端口模板数量
|
|
6217
6368
|
:type PortTemplateCount: int
|
|
6369
|
+
:param _UsedTemplateCount: 已使用的地址模版数
|
|
6370
|
+
:type UsedTemplateCount: int
|
|
6371
|
+
:param _TemplateQuotaCount: 地址模版配额数量
|
|
6372
|
+
:type TemplateQuotaCount: int
|
|
6218
6373
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6219
6374
|
:type RequestId: str
|
|
6220
6375
|
"""
|
|
@@ -6224,6 +6379,8 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
6224
6379
|
self._IpTemplateCount = None
|
|
6225
6380
|
self._DomainTemplateCount = None
|
|
6226
6381
|
self._PortTemplateCount = None
|
|
6382
|
+
self._UsedTemplateCount = None
|
|
6383
|
+
self._TemplateQuotaCount = None
|
|
6227
6384
|
self._RequestId = None
|
|
6228
6385
|
|
|
6229
6386
|
@property
|
|
@@ -6274,6 +6431,22 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
6274
6431
|
def PortTemplateCount(self, PortTemplateCount):
|
|
6275
6432
|
self._PortTemplateCount = PortTemplateCount
|
|
6276
6433
|
|
|
6434
|
+
@property
|
|
6435
|
+
def UsedTemplateCount(self):
|
|
6436
|
+
return self._UsedTemplateCount
|
|
6437
|
+
|
|
6438
|
+
@UsedTemplateCount.setter
|
|
6439
|
+
def UsedTemplateCount(self, UsedTemplateCount):
|
|
6440
|
+
self._UsedTemplateCount = UsedTemplateCount
|
|
6441
|
+
|
|
6442
|
+
@property
|
|
6443
|
+
def TemplateQuotaCount(self):
|
|
6444
|
+
return self._TemplateQuotaCount
|
|
6445
|
+
|
|
6446
|
+
@TemplateQuotaCount.setter
|
|
6447
|
+
def TemplateQuotaCount(self, TemplateQuotaCount):
|
|
6448
|
+
self._TemplateQuotaCount = TemplateQuotaCount
|
|
6449
|
+
|
|
6277
6450
|
@property
|
|
6278
6451
|
def RequestId(self):
|
|
6279
6452
|
return self._RequestId
|
|
@@ -6295,6 +6468,8 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
6295
6468
|
self._IpTemplateCount = params.get("IpTemplateCount")
|
|
6296
6469
|
self._DomainTemplateCount = params.get("DomainTemplateCount")
|
|
6297
6470
|
self._PortTemplateCount = params.get("PortTemplateCount")
|
|
6471
|
+
self._UsedTemplateCount = params.get("UsedTemplateCount")
|
|
6472
|
+
self._TemplateQuotaCount = params.get("TemplateQuotaCount")
|
|
6298
6473
|
self._RequestId = params.get("RequestId")
|
|
6299
6474
|
|
|
6300
6475
|
|
|
@@ -8410,6 +8585,9 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
8410
8585
|
:type ReturnCode: int
|
|
8411
8586
|
:param _ReturnMsg: 返回信息 success 成功 其他 不成功
|
|
8412
8587
|
:type ReturnMsg: str
|
|
8588
|
+
:param _AppProtocolList: 七层协议,NTA日志有效
|
|
8589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8590
|
+
:type AppProtocolList: list of str
|
|
8413
8591
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8414
8592
|
:type RequestId: str
|
|
8415
8593
|
"""
|
|
@@ -8417,6 +8595,7 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
8417
8595
|
self._Total = None
|
|
8418
8596
|
self._ReturnCode = None
|
|
8419
8597
|
self._ReturnMsg = None
|
|
8598
|
+
self._AppProtocolList = None
|
|
8420
8599
|
self._RequestId = None
|
|
8421
8600
|
|
|
8422
8601
|
@property
|
|
@@ -8451,6 +8630,14 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
8451
8630
|
def ReturnMsg(self, ReturnMsg):
|
|
8452
8631
|
self._ReturnMsg = ReturnMsg
|
|
8453
8632
|
|
|
8633
|
+
@property
|
|
8634
|
+
def AppProtocolList(self):
|
|
8635
|
+
return self._AppProtocolList
|
|
8636
|
+
|
|
8637
|
+
@AppProtocolList.setter
|
|
8638
|
+
def AppProtocolList(self, AppProtocolList):
|
|
8639
|
+
self._AppProtocolList = AppProtocolList
|
|
8640
|
+
|
|
8454
8641
|
@property
|
|
8455
8642
|
def RequestId(self):
|
|
8456
8643
|
return self._RequestId
|
|
@@ -8465,6 +8652,7 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
8465
8652
|
self._Total = params.get("Total")
|
|
8466
8653
|
self._ReturnCode = params.get("ReturnCode")
|
|
8467
8654
|
self._ReturnMsg = params.get("ReturnMsg")
|
|
8655
|
+
self._AppProtocolList = params.get("AppProtocolList")
|
|
8468
8656
|
self._RequestId = params.get("RequestId")
|
|
8469
8657
|
|
|
8470
8658
|
|
|
@@ -8657,6 +8845,183 @@ class DescribeNatAcRuleResponse(AbstractModel):
|
|
|
8657
8845
|
self._RequestId = params.get("RequestId")
|
|
8658
8846
|
|
|
8659
8847
|
|
|
8848
|
+
class DescribeNatFwDnatRuleRequest(AbstractModel):
|
|
8849
|
+
"""DescribeNatFwDnatRule请求参数结构体
|
|
8850
|
+
|
|
8851
|
+
"""
|
|
8852
|
+
|
|
8853
|
+
def __init__(self):
|
|
8854
|
+
r"""
|
|
8855
|
+
:param _Index: 需要查询的索引,特定场景使用,可不填
|
|
8856
|
+
:type Index: str
|
|
8857
|
+
:param _Filters: 过滤条件组合
|
|
8858
|
+
:type Filters: list of CommonFilter
|
|
8859
|
+
:param _Limit: 每页条数
|
|
8860
|
+
:type Limit: int
|
|
8861
|
+
:param _Offset: 偏移值
|
|
8862
|
+
:type Offset: int
|
|
8863
|
+
:param _StartTime: 检索的起始时间,可不传
|
|
8864
|
+
:type StartTime: str
|
|
8865
|
+
:param _EndTime: 检索的截止时间,可不传
|
|
8866
|
+
:type EndTime: str
|
|
8867
|
+
:param _Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
|
8868
|
+
:type Order: str
|
|
8869
|
+
:param _By: 排序所用到的字段
|
|
8870
|
+
:type By: str
|
|
8871
|
+
"""
|
|
8872
|
+
self._Index = None
|
|
8873
|
+
self._Filters = None
|
|
8874
|
+
self._Limit = None
|
|
8875
|
+
self._Offset = None
|
|
8876
|
+
self._StartTime = None
|
|
8877
|
+
self._EndTime = None
|
|
8878
|
+
self._Order = None
|
|
8879
|
+
self._By = None
|
|
8880
|
+
|
|
8881
|
+
@property
|
|
8882
|
+
def Index(self):
|
|
8883
|
+
return self._Index
|
|
8884
|
+
|
|
8885
|
+
@Index.setter
|
|
8886
|
+
def Index(self, Index):
|
|
8887
|
+
self._Index = Index
|
|
8888
|
+
|
|
8889
|
+
@property
|
|
8890
|
+
def Filters(self):
|
|
8891
|
+
return self._Filters
|
|
8892
|
+
|
|
8893
|
+
@Filters.setter
|
|
8894
|
+
def Filters(self, Filters):
|
|
8895
|
+
self._Filters = Filters
|
|
8896
|
+
|
|
8897
|
+
@property
|
|
8898
|
+
def Limit(self):
|
|
8899
|
+
return self._Limit
|
|
8900
|
+
|
|
8901
|
+
@Limit.setter
|
|
8902
|
+
def Limit(self, Limit):
|
|
8903
|
+
self._Limit = Limit
|
|
8904
|
+
|
|
8905
|
+
@property
|
|
8906
|
+
def Offset(self):
|
|
8907
|
+
return self._Offset
|
|
8908
|
+
|
|
8909
|
+
@Offset.setter
|
|
8910
|
+
def Offset(self, Offset):
|
|
8911
|
+
self._Offset = Offset
|
|
8912
|
+
|
|
8913
|
+
@property
|
|
8914
|
+
def StartTime(self):
|
|
8915
|
+
return self._StartTime
|
|
8916
|
+
|
|
8917
|
+
@StartTime.setter
|
|
8918
|
+
def StartTime(self, StartTime):
|
|
8919
|
+
self._StartTime = StartTime
|
|
8920
|
+
|
|
8921
|
+
@property
|
|
8922
|
+
def EndTime(self):
|
|
8923
|
+
return self._EndTime
|
|
8924
|
+
|
|
8925
|
+
@EndTime.setter
|
|
8926
|
+
def EndTime(self, EndTime):
|
|
8927
|
+
self._EndTime = EndTime
|
|
8928
|
+
|
|
8929
|
+
@property
|
|
8930
|
+
def Order(self):
|
|
8931
|
+
return self._Order
|
|
8932
|
+
|
|
8933
|
+
@Order.setter
|
|
8934
|
+
def Order(self, Order):
|
|
8935
|
+
self._Order = Order
|
|
8936
|
+
|
|
8937
|
+
@property
|
|
8938
|
+
def By(self):
|
|
8939
|
+
return self._By
|
|
8940
|
+
|
|
8941
|
+
@By.setter
|
|
8942
|
+
def By(self, By):
|
|
8943
|
+
self._By = By
|
|
8944
|
+
|
|
8945
|
+
|
|
8946
|
+
def _deserialize(self, params):
|
|
8947
|
+
self._Index = params.get("Index")
|
|
8948
|
+
if params.get("Filters") is not None:
|
|
8949
|
+
self._Filters = []
|
|
8950
|
+
for item in params.get("Filters"):
|
|
8951
|
+
obj = CommonFilter()
|
|
8952
|
+
obj._deserialize(item)
|
|
8953
|
+
self._Filters.append(obj)
|
|
8954
|
+
self._Limit = params.get("Limit")
|
|
8955
|
+
self._Offset = params.get("Offset")
|
|
8956
|
+
self._StartTime = params.get("StartTime")
|
|
8957
|
+
self._EndTime = params.get("EndTime")
|
|
8958
|
+
self._Order = params.get("Order")
|
|
8959
|
+
self._By = params.get("By")
|
|
8960
|
+
memeber_set = set(params.keys())
|
|
8961
|
+
for name, value in vars(self).items():
|
|
8962
|
+
property_name = name[1:]
|
|
8963
|
+
if property_name in memeber_set:
|
|
8964
|
+
memeber_set.remove(property_name)
|
|
8965
|
+
if len(memeber_set) > 0:
|
|
8966
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8967
|
+
|
|
8968
|
+
|
|
8969
|
+
|
|
8970
|
+
class DescribeNatFwDnatRuleResponse(AbstractModel):
|
|
8971
|
+
"""DescribeNatFwDnatRule返回参数结构体
|
|
8972
|
+
|
|
8973
|
+
"""
|
|
8974
|
+
|
|
8975
|
+
def __init__(self):
|
|
8976
|
+
r"""
|
|
8977
|
+
:param _Data: Dnat规则列表
|
|
8978
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8979
|
+
:type Data: list of DescNatDnatRule
|
|
8980
|
+
:param _Total: 列表总数
|
|
8981
|
+
:type Total: int
|
|
8982
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8983
|
+
:type RequestId: str
|
|
8984
|
+
"""
|
|
8985
|
+
self._Data = None
|
|
8986
|
+
self._Total = None
|
|
8987
|
+
self._RequestId = None
|
|
8988
|
+
|
|
8989
|
+
@property
|
|
8990
|
+
def Data(self):
|
|
8991
|
+
return self._Data
|
|
8992
|
+
|
|
8993
|
+
@Data.setter
|
|
8994
|
+
def Data(self, Data):
|
|
8995
|
+
self._Data = Data
|
|
8996
|
+
|
|
8997
|
+
@property
|
|
8998
|
+
def Total(self):
|
|
8999
|
+
return self._Total
|
|
9000
|
+
|
|
9001
|
+
@Total.setter
|
|
9002
|
+
def Total(self, Total):
|
|
9003
|
+
self._Total = Total
|
|
9004
|
+
|
|
9005
|
+
@property
|
|
9006
|
+
def RequestId(self):
|
|
9007
|
+
return self._RequestId
|
|
9008
|
+
|
|
9009
|
+
@RequestId.setter
|
|
9010
|
+
def RequestId(self, RequestId):
|
|
9011
|
+
self._RequestId = RequestId
|
|
9012
|
+
|
|
9013
|
+
|
|
9014
|
+
def _deserialize(self, params):
|
|
9015
|
+
if params.get("Data") is not None:
|
|
9016
|
+
self._Data = []
|
|
9017
|
+
for item in params.get("Data"):
|
|
9018
|
+
obj = DescNatDnatRule()
|
|
9019
|
+
obj._deserialize(item)
|
|
9020
|
+
self._Data.append(obj)
|
|
9021
|
+
self._Total = params.get("Total")
|
|
9022
|
+
self._RequestId = params.get("RequestId")
|
|
9023
|
+
|
|
9024
|
+
|
|
8660
9025
|
class DescribeNatFwInfoCountRequest(AbstractModel):
|
|
8661
9026
|
"""DescribeNatFwInfoCount请求参数结构体
|
|
8662
9027
|
|
|
@@ -20296,6 +20661,12 @@ class VpcFwGroupInfo(AbstractModel):
|
|
|
20296
20661
|
:param _CrossUserMode: 跨租户模式 1管理员 2单边 0 非跨租户
|
|
20297
20662
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20298
20663
|
:type CrossUserMode: str
|
|
20664
|
+
:param _NeedSwitchCcnOverlap: 云联网模式下,当前实例是否需要开启重叠路由开关,1:需要开启,0:不需要开启
|
|
20665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20666
|
+
:type NeedSwitchCcnOverlap: int
|
|
20667
|
+
:param _CcnId: 云联网模式下,实例关联的云联网id
|
|
20668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20669
|
+
:type CcnId: str
|
|
20299
20670
|
"""
|
|
20300
20671
|
self._FwGroupId = None
|
|
20301
20672
|
self._FwGroupName = None
|
|
@@ -20309,6 +20680,8 @@ class VpcFwGroupInfo(AbstractModel):
|
|
|
20309
20680
|
self._CdcId = None
|
|
20310
20681
|
self._CdcName = None
|
|
20311
20682
|
self._CrossUserMode = None
|
|
20683
|
+
self._NeedSwitchCcnOverlap = None
|
|
20684
|
+
self._CcnId = None
|
|
20312
20685
|
|
|
20313
20686
|
@property
|
|
20314
20687
|
def FwGroupId(self):
|
|
@@ -20406,6 +20779,22 @@ class VpcFwGroupInfo(AbstractModel):
|
|
|
20406
20779
|
def CrossUserMode(self, CrossUserMode):
|
|
20407
20780
|
self._CrossUserMode = CrossUserMode
|
|
20408
20781
|
|
|
20782
|
+
@property
|
|
20783
|
+
def NeedSwitchCcnOverlap(self):
|
|
20784
|
+
return self._NeedSwitchCcnOverlap
|
|
20785
|
+
|
|
20786
|
+
@NeedSwitchCcnOverlap.setter
|
|
20787
|
+
def NeedSwitchCcnOverlap(self, NeedSwitchCcnOverlap):
|
|
20788
|
+
self._NeedSwitchCcnOverlap = NeedSwitchCcnOverlap
|
|
20789
|
+
|
|
20790
|
+
@property
|
|
20791
|
+
def CcnId(self):
|
|
20792
|
+
return self._CcnId
|
|
20793
|
+
|
|
20794
|
+
@CcnId.setter
|
|
20795
|
+
def CcnId(self, CcnId):
|
|
20796
|
+
self._CcnId = CcnId
|
|
20797
|
+
|
|
20409
20798
|
|
|
20410
20799
|
def _deserialize(self, params):
|
|
20411
20800
|
self._FwGroupId = params.get("FwGroupId")
|
|
@@ -20425,6 +20814,8 @@ class VpcFwGroupInfo(AbstractModel):
|
|
|
20425
20814
|
self._CdcId = params.get("CdcId")
|
|
20426
20815
|
self._CdcName = params.get("CdcName")
|
|
20427
20816
|
self._CrossUserMode = params.get("CrossUserMode")
|
|
20817
|
+
self._NeedSwitchCcnOverlap = params.get("NeedSwitchCcnOverlap")
|
|
20818
|
+
self._CcnId = params.get("CcnId")
|
|
20428
20819
|
memeber_set = set(params.keys())
|
|
20429
20820
|
for name, value in vars(self).items():
|
|
20430
20821
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1198
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1193
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|