tencentcloud-sdk-python 3.0.1196__py2.py3-none-any.whl → 3.0.1198__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/ams/v20201229/models.py +398 -3
- tencentcloud/bi/v20220105/models.py +1 -1
- tencentcloud/cat/v20180409/models.py +12 -0
- tencentcloud/ccc/v20200210/models.py +3 -3
- tencentcloud/cdb/v20170320/models.py +45 -3
- tencentcloud/cdn/v20180606/models.py +141 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +391 -0
- tencentcloud/cls/v20201016/cls_client.py +0 -12
- tencentcloud/cls/v20201016/models.py +5 -1
- tencentcloud/cynosdb/v20190107/models.py +121 -0
- tencentcloud/dbbrain/v20210527/models.py +12 -0
- tencentcloud/ecm/v20190719/models.py +24 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +469 -108
- tencentcloud/ess/v20201111/ess_client.py +2 -1
- tencentcloud/ess/v20201111/models.py +47 -21
- tencentcloud/essbasic/v20210526/models.py +1 -1
- tencentcloud/hunyuan/v20230901/errorcodes.py +12 -0
- tencentcloud/hunyuan/v20230901/models.py +199 -13
- tencentcloud/mongodb/v20190725/models.py +106 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/monitor/v20180724/models.py +3 -8
- tencentcloud/ocr/v20181119/models.py +24 -0
- tencentcloud/redis/v20180412/models.py +2 -3
- tencentcloud/tke/v20180525/models.py +274 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/vm/v20201229/models.py +253 -4
- tencentcloud/vm/v20201229/vm_client.py +1 -3
- tencentcloud/vm/v20210922/models.py +5 -6
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +1 -1
- tencentcloud/waf/v20180125/models.py +13 -41
- tencentcloud/wedata/v20210820/models.py +13 -0
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/top_level.txt +0 -0
@@ -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:]
|
@@ -2250,18 +2250,6 @@ class ClsClient(AbstractClient):
|
|
2250
2250
|
|
2251
2251
|
本接口用于将日志写入到指定的日志主题。
|
2252
2252
|
|
2253
|
-
日志服务提供以下两种模式:
|
2254
|
-
|
2255
|
-
#### 负载均衡模式
|
2256
|
-
|
2257
|
-
系统根据当前日志主题下所有可读写的分区,遵循负载均衡原则自动分配写入的目标分区。该模式适合消费不保序的场景。
|
2258
|
-
|
2259
|
-
#### 哈希路由模式
|
2260
|
-
|
2261
|
-
系统根据携带的哈希值(X-CLS-HashKey)将数据写入到符合范围要求的目标分区。例如,可以将某个日志源端通过 hashkey 与某个主题分区强绑定,这样可以保证数据在该分区上写入和消费是严格保序的。
|
2262
|
-
|
2263
|
-
|
2264
|
-
|
2265
2253
|
#### 输入参数(pb二进制流,位于body中)
|
2266
2254
|
|
2267
2255
|
| 字段名 | 类型 | 位置 | 必须 | 含义 |
|
@@ -21544,7 +21544,7 @@ class UploadLogRequest(AbstractModel):
|
|
21544
21544
|
r"""
|
21545
21545
|
:param _TopicId: 主题id
|
21546
21546
|
:type TopicId: str
|
21547
|
-
:param _HashKey:
|
21547
|
+
:param _HashKey: 该参数已废弃,请勿使用
|
21548
21548
|
:type HashKey: str
|
21549
21549
|
:param _CompressType: 压缩方法
|
21550
21550
|
:type CompressType: str
|
@@ -21563,10 +21563,14 @@ class UploadLogRequest(AbstractModel):
|
|
21563
21563
|
|
21564
21564
|
@property
|
21565
21565
|
def HashKey(self):
|
21566
|
+
warnings.warn("parameter `HashKey` is deprecated", DeprecationWarning)
|
21567
|
+
|
21566
21568
|
return self._HashKey
|
21567
21569
|
|
21568
21570
|
@HashKey.setter
|
21569
21571
|
def HashKey(self, HashKey):
|
21572
|
+
warnings.warn("parameter `HashKey` is deprecated", DeprecationWarning)
|
21573
|
+
|
21570
21574
|
self._HashKey = HashKey
|
21571
21575
|
|
21572
21576
|
@property
|