tencentcloud-sdk-python 3.0.1445__py2.py3-none-any.whl → 3.0.1447__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/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +98 -24
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +2 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +6 -0
- tencentcloud/dlc/v20210125/models.py +1049 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +313 -8
- tencentcloud/essbasic/v20210526/models.py +70 -14
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +1036 -91
- tencentcloud/iotexplorer/v20190423/models.py +112 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +229 -10
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +8 -8
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tbaas/v20180416/models.py +12 -12
- tencentcloud/tcaplusdb/v20190823/models.py +0 -328
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +51 -17
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +6 -6
- tencentcloud/vod/v20180717/models.py +4 -12
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/RECORD +76 -76
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/top_level.txt +0 -0
|
@@ -14014,6 +14014,8 @@ ToaClean: TOA(TCP Option Address)清理,清除TCP选项中的地址信息
|
|
|
14014
14014
|
:type Exclusive: int
|
|
14015
14015
|
:param _TargetCount: 已绑定的后端服务数量。
|
|
14016
14016
|
:type TargetCount: int
|
|
14017
|
+
:param _AssociateEndpoint: 负载均衡实例关联的Endpoint id。
|
|
14018
|
+
:type AssociateEndpoint: str
|
|
14017
14019
|
"""
|
|
14018
14020
|
self._LoadBalancerId = None
|
|
14019
14021
|
self._LoadBalancerName = None
|
|
@@ -14072,6 +14074,7 @@ ToaClean: TOA(TCP Option Address)清理,清除TCP选项中的地址信息
|
|
|
14072
14074
|
self._Egress = None
|
|
14073
14075
|
self._Exclusive = None
|
|
14074
14076
|
self._TargetCount = None
|
|
14077
|
+
self._AssociateEndpoint = None
|
|
14075
14078
|
|
|
14076
14079
|
@property
|
|
14077
14080
|
def LoadBalancerId(self):
|
|
@@ -14757,6 +14760,17 @@ ToaClean: TOA(TCP Option Address)清理,清除TCP选项中的地址信息
|
|
|
14757
14760
|
def TargetCount(self, TargetCount):
|
|
14758
14761
|
self._TargetCount = TargetCount
|
|
14759
14762
|
|
|
14763
|
+
@property
|
|
14764
|
+
def AssociateEndpoint(self):
|
|
14765
|
+
"""负载均衡实例关联的Endpoint id。
|
|
14766
|
+
:rtype: str
|
|
14767
|
+
"""
|
|
14768
|
+
return self._AssociateEndpoint
|
|
14769
|
+
|
|
14770
|
+
@AssociateEndpoint.setter
|
|
14771
|
+
def AssociateEndpoint(self, AssociateEndpoint):
|
|
14772
|
+
self._AssociateEndpoint = AssociateEndpoint
|
|
14773
|
+
|
|
14760
14774
|
|
|
14761
14775
|
def _deserialize(self, params):
|
|
14762
14776
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
|
@@ -14843,6 +14857,7 @@ ToaClean: TOA(TCP Option Address)清理,清除TCP选项中的地址信息
|
|
|
14843
14857
|
self._Egress = params.get("Egress")
|
|
14844
14858
|
self._Exclusive = params.get("Exclusive")
|
|
14845
14859
|
self._TargetCount = params.get("TargetCount")
|
|
14860
|
+
self._AssociateEndpoint = params.get("AssociateEndpoint")
|
|
14846
14861
|
memeber_set = set(params.keys())
|
|
14847
14862
|
for name, value in vars(self).items():
|
|
14848
14863
|
property_name = name[1:]
|
|
@@ -17099,6 +17114,8 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17099
17114
|
:type DeleteProtect: bool
|
|
17100
17115
|
:param _ModifyClassicDomain: 将负载均衡二级域名由mycloud.com改为tencentclb.com,子域名也会变换,修改后mycloud.com域名将失效。不填则不修改。
|
|
17101
17116
|
:type ModifyClassicDomain: bool
|
|
17117
|
+
:param _AssociateEndpoint: 关联的终端节点Id,可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)接口查询。传空字符串代表解除关联。
|
|
17118
|
+
:type AssociateEndpoint: str
|
|
17102
17119
|
"""
|
|
17103
17120
|
self._LoadBalancerId = None
|
|
17104
17121
|
self._LoadBalancerName = None
|
|
@@ -17108,6 +17125,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17108
17125
|
self._SnatPro = None
|
|
17109
17126
|
self._DeleteProtect = None
|
|
17110
17127
|
self._ModifyClassicDomain = None
|
|
17128
|
+
self._AssociateEndpoint = None
|
|
17111
17129
|
|
|
17112
17130
|
@property
|
|
17113
17131
|
def LoadBalancerId(self):
|
|
@@ -17200,6 +17218,17 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17200
17218
|
def ModifyClassicDomain(self, ModifyClassicDomain):
|
|
17201
17219
|
self._ModifyClassicDomain = ModifyClassicDomain
|
|
17202
17220
|
|
|
17221
|
+
@property
|
|
17222
|
+
def AssociateEndpoint(self):
|
|
17223
|
+
"""关联的终端节点Id,可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)接口查询。传空字符串代表解除关联。
|
|
17224
|
+
:rtype: str
|
|
17225
|
+
"""
|
|
17226
|
+
return self._AssociateEndpoint
|
|
17227
|
+
|
|
17228
|
+
@AssociateEndpoint.setter
|
|
17229
|
+
def AssociateEndpoint(self, AssociateEndpoint):
|
|
17230
|
+
self._AssociateEndpoint = AssociateEndpoint
|
|
17231
|
+
|
|
17203
17232
|
|
|
17204
17233
|
def _deserialize(self, params):
|
|
17205
17234
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
|
@@ -17214,6 +17243,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17214
17243
|
self._SnatPro = params.get("SnatPro")
|
|
17215
17244
|
self._DeleteProtect = params.get("DeleteProtect")
|
|
17216
17245
|
self._ModifyClassicDomain = params.get("ModifyClassicDomain")
|
|
17246
|
+
self._AssociateEndpoint = params.get("AssociateEndpoint")
|
|
17217
17247
|
memeber_set = set(params.keys())
|
|
17218
17248
|
for name, value in vars(self).items():
|
|
17219
17249
|
property_name = name[1:]
|
|
@@ -7526,9 +7526,14 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
7526
7526
|
r"""
|
|
7527
7527
|
:param _FuncType: 任务类型. 1: 指定主题;2:动态创建。详情请参考[创建加工任务文档](https://cloud.tencent.com/document/product/614/63940)。
|
|
7528
7528
|
:type FuncType: int
|
|
7529
|
-
:param _SrcTopicId:
|
|
7529
|
+
:param _SrcTopicId: 日志主题ID
|
|
7530
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
7530
7531
|
:type SrcTopicId: str
|
|
7531
7532
|
:param _Name: 加工任务名称
|
|
7533
|
+
名称限制
|
|
7534
|
+
- 不能为空字符串
|
|
7535
|
+
- 不能包含字符'|'
|
|
7536
|
+
- 最长 255 个字符
|
|
7532
7537
|
:type Name: str
|
|
7533
7538
|
:param _EtlContent: 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f)
|
|
7534
7539
|
|
|
@@ -7540,11 +7545,15 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
7540
7545
|
:param _TaskType: 加工类型。
|
|
7541
7546
|
1:使用源日志主题中的随机数据,进行加工预览;2:使用用户自定义测试数据,进行加工预览;3:创建真实加工任务。
|
|
7542
7547
|
:type TaskType: int
|
|
7543
|
-
:param _DstResources:
|
|
7548
|
+
:param _DstResources: 加工任务目标topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。
|
|
7549
|
+
目标topic_id,通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
7550
|
+
别名限制 1.不能为空字符串,2. 不能包含字符'|'。
|
|
7551
|
+
|
|
7544
7552
|
:type DstResources: list of DataTransformResouceInfo
|
|
7545
7553
|
:param _EnableFlag: 任务启动状态. 默认为1:开启, 2:关闭
|
|
7546
7554
|
:type EnableFlag: int
|
|
7547
7555
|
:param _PreviewLogStatistics: 用于预览加工结果的测试数据
|
|
7556
|
+
目标日志主题ID通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
7548
7557
|
:type PreviewLogStatistics: list of PreviewLogStatistic
|
|
7549
7558
|
:param _DataTransformType: 数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。
|
|
7550
7559
|
:type DataTransformType: int
|
|
@@ -7572,7 +7581,8 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
7572
7581
|
|
|
7573
7582
|
@property
|
|
7574
7583
|
def SrcTopicId(self):
|
|
7575
|
-
"""
|
|
7584
|
+
"""日志主题ID
|
|
7585
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
7576
7586
|
:rtype: str
|
|
7577
7587
|
"""
|
|
7578
7588
|
return self._SrcTopicId
|
|
@@ -7584,6 +7594,10 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
7584
7594
|
@property
|
|
7585
7595
|
def Name(self):
|
|
7586
7596
|
"""加工任务名称
|
|
7597
|
+
名称限制
|
|
7598
|
+
- 不能为空字符串
|
|
7599
|
+
- 不能包含字符'|'
|
|
7600
|
+
- 最长 255 个字符
|
|
7587
7601
|
:rtype: str
|
|
7588
7602
|
"""
|
|
7589
7603
|
return self._Name
|
|
@@ -7622,7 +7636,10 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
7622
7636
|
|
|
7623
7637
|
@property
|
|
7624
7638
|
def DstResources(self):
|
|
7625
|
-
"""
|
|
7639
|
+
"""加工任务目标topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。
|
|
7640
|
+
目标topic_id,通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
7641
|
+
别名限制 1.不能为空字符串,2. 不能包含字符'|'。
|
|
7642
|
+
|
|
7626
7643
|
:rtype: list of DataTransformResouceInfo
|
|
7627
7644
|
"""
|
|
7628
7645
|
return self._DstResources
|
|
@@ -7645,6 +7662,7 @@ class CreateDataTransformRequest(AbstractModel):
|
|
|
7645
7662
|
@property
|
|
7646
7663
|
def PreviewLogStatistics(self):
|
|
7647
7664
|
"""用于预览加工结果的测试数据
|
|
7665
|
+
目标日志主题ID通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
7648
7666
|
:rtype: list of PreviewLogStatistic
|
|
7649
7667
|
"""
|
|
7650
7668
|
return self._PreviewLogStatistics
|
|
@@ -10923,7 +10941,7 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
10923
10941
|
:type TaskId: str
|
|
10924
10942
|
:param _EnableFlag: 任务启用状态,默认为1,正常开启, 2关闭
|
|
10925
10943
|
:type EnableFlag: int
|
|
10926
|
-
:param _Type: 加工任务类型,1: DSL, 2:SQL
|
|
10944
|
+
:param _Type: 加工任务类型,1: DSL(使用自定义加工语言的加工任务), 2:SQL(使用sql的加工任务)
|
|
10927
10945
|
:type Type: int
|
|
10928
10946
|
:param _SrcTopicId: 源日志主题
|
|
10929
10947
|
:type SrcTopicId: str
|
|
@@ -10932,8 +10950,10 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
10932
10950
|
:param _CreateTime: 加工任务创建时间
|
|
10933
10951
|
:type CreateTime: str
|
|
10934
10952
|
:param _UpdateTime: 最近修改时间
|
|
10953
|
+
示例值:2025-06-18 16:55:54
|
|
10935
10954
|
:type UpdateTime: str
|
|
10936
10955
|
:param _LastEnableTime: 最后启用时间,如果需要重建集群,修改该时间
|
|
10956
|
+
示例值:2025-06-18 19:55:54
|
|
10937
10957
|
:type LastEnableTime: str
|
|
10938
10958
|
:param _SrcTopicName: 日志主题名称
|
|
10939
10959
|
:type SrcTopicName: str
|
|
@@ -11002,7 +11022,7 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
11002
11022
|
|
|
11003
11023
|
@property
|
|
11004
11024
|
def Type(self):
|
|
11005
|
-
"""加工任务类型,1: DSL, 2:SQL
|
|
11025
|
+
"""加工任务类型,1: DSL(使用自定义加工语言的加工任务), 2:SQL(使用sql的加工任务)
|
|
11006
11026
|
:rtype: int
|
|
11007
11027
|
"""
|
|
11008
11028
|
return self._Type
|
|
@@ -11047,6 +11067,7 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
11047
11067
|
@property
|
|
11048
11068
|
def UpdateTime(self):
|
|
11049
11069
|
"""最近修改时间
|
|
11070
|
+
示例值:2025-06-18 16:55:54
|
|
11050
11071
|
:rtype: str
|
|
11051
11072
|
"""
|
|
11052
11073
|
return self._UpdateTime
|
|
@@ -11058,6 +11079,7 @@ class DataTransformTaskInfo(AbstractModel):
|
|
|
11058
11079
|
@property
|
|
11059
11080
|
def LastEnableTime(self):
|
|
11060
11081
|
"""最后启用时间,如果需要重建集群,修改该时间
|
|
11082
|
+
示例值:2025-06-18 19:55:54
|
|
11061
11083
|
:rtype: str
|
|
11062
11084
|
"""
|
|
11063
11085
|
return self._LastEnableTime
|
|
@@ -15020,28 +15042,40 @@ class DescribeDataTransformInfoRequest(AbstractModel):
|
|
|
15020
15042
|
按照【加工任务名称】进行过滤。
|
|
15021
15043
|
类型:String
|
|
15022
15044
|
必选:否
|
|
15045
|
+
示例:test-task
|
|
15023
15046
|
|
|
15024
15047
|
- taskId
|
|
15025
15048
|
按照【加工任务id】进行过滤。
|
|
15026
15049
|
类型:String
|
|
15027
15050
|
必选:否
|
|
15051
|
+
示例:a3622556-6402-4942-b4ff-5ae32ec29810
|
|
15052
|
+
数据加工任务ID- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。
|
|
15028
15053
|
|
|
15029
15054
|
- topicId
|
|
15030
15055
|
按照【源topicId】进行过滤。
|
|
15031
15056
|
类型:String
|
|
15032
15057
|
必选:否
|
|
15058
|
+
示例:756cec3e-a0a5-44c3-85a8-090870582000
|
|
15059
|
+
日志主题ID
|
|
15060
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
15061
|
+
|
|
15033
15062
|
- status
|
|
15034
15063
|
按照【 任务运行状态】进行过滤。 1:准备中,2:运行中,3:停止中,4:已停止
|
|
15035
15064
|
类型:String
|
|
15036
15065
|
必选:否
|
|
15066
|
+
示例:1
|
|
15067
|
+
|
|
15037
15068
|
- hasServiceLog
|
|
15038
15069
|
按照【是否开启服务日志】进行过滤。 1:未开启,2:已开启
|
|
15039
15070
|
类型:String
|
|
15040
15071
|
必选:否
|
|
15072
|
+
示例:1
|
|
15073
|
+
|
|
15041
15074
|
- dstTopicType
|
|
15042
15075
|
按照【目标topic类型】进行过滤。 1:固定,2:动态
|
|
15043
15076
|
类型:String
|
|
15044
15077
|
必选:否
|
|
15078
|
+
示例:1
|
|
15045
15079
|
|
|
15046
15080
|
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
15047
15081
|
:type Filters: list of Filter
|
|
@@ -15052,6 +15086,7 @@ class DescribeDataTransformInfoRequest(AbstractModel):
|
|
|
15052
15086
|
:param _Type: 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表
|
|
15053
15087
|
:type Type: int
|
|
15054
15088
|
:param _TaskId: Type为1, 此参数必填
|
|
15089
|
+
数据加工任务ID- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。
|
|
15055
15090
|
:type TaskId: str
|
|
15056
15091
|
"""
|
|
15057
15092
|
self._Filters = None
|
|
@@ -15066,28 +15101,40 @@ class DescribeDataTransformInfoRequest(AbstractModel):
|
|
|
15066
15101
|
按照【加工任务名称】进行过滤。
|
|
15067
15102
|
类型:String
|
|
15068
15103
|
必选:否
|
|
15104
|
+
示例:test-task
|
|
15069
15105
|
|
|
15070
15106
|
- taskId
|
|
15071
15107
|
按照【加工任务id】进行过滤。
|
|
15072
15108
|
类型:String
|
|
15073
15109
|
必选:否
|
|
15110
|
+
示例:a3622556-6402-4942-b4ff-5ae32ec29810
|
|
15111
|
+
数据加工任务ID- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。
|
|
15074
15112
|
|
|
15075
15113
|
- topicId
|
|
15076
15114
|
按照【源topicId】进行过滤。
|
|
15077
15115
|
类型:String
|
|
15078
15116
|
必选:否
|
|
15117
|
+
示例:756cec3e-a0a5-44c3-85a8-090870582000
|
|
15118
|
+
日志主题ID
|
|
15119
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
15120
|
+
|
|
15079
15121
|
- status
|
|
15080
15122
|
按照【 任务运行状态】进行过滤。 1:准备中,2:运行中,3:停止中,4:已停止
|
|
15081
15123
|
类型:String
|
|
15082
15124
|
必选:否
|
|
15125
|
+
示例:1
|
|
15126
|
+
|
|
15083
15127
|
- hasServiceLog
|
|
15084
15128
|
按照【是否开启服务日志】进行过滤。 1:未开启,2:已开启
|
|
15085
15129
|
类型:String
|
|
15086
15130
|
必选:否
|
|
15131
|
+
示例:1
|
|
15132
|
+
|
|
15087
15133
|
- dstTopicType
|
|
15088
15134
|
按照【目标topic类型】进行过滤。 1:固定,2:动态
|
|
15089
15135
|
类型:String
|
|
15090
15136
|
必选:否
|
|
15137
|
+
示例:1
|
|
15091
15138
|
|
|
15092
15139
|
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
15093
15140
|
:rtype: list of Filter
|
|
@@ -15134,6 +15181,7 @@ class DescribeDataTransformInfoRequest(AbstractModel):
|
|
|
15134
15181
|
@property
|
|
15135
15182
|
def TaskId(self):
|
|
15136
15183
|
"""Type为1, 此参数必填
|
|
15184
|
+
数据加工任务ID- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。
|
|
15137
15185
|
:rtype: str
|
|
15138
15186
|
"""
|
|
15139
15187
|
return self._TaskId
|
|
@@ -15802,13 +15850,15 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
15802
15850
|
|
|
15803
15851
|
def __init__(self):
|
|
15804
15852
|
r"""
|
|
15805
|
-
:param _TopicId: 要查询的日志主题
|
|
15853
|
+
:param _TopicId: 要查询的日志主题Id。
|
|
15854
|
+
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
15855
|
+
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
15806
15856
|
:type TopicId: str
|
|
15807
|
-
:param _BTime: 日志时间, 即
|
|
15857
|
+
:param _BTime: 日志时间, 即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。
|
|
15808
15858
|
:type BTime: str
|
|
15809
|
-
:param _PkgId: 日志包序号,即
|
|
15859
|
+
:param _PkgId: 日志包序号,即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构体中的PkgId。
|
|
15810
15860
|
:type PkgId: str
|
|
15811
|
-
:param _PkgLogId: 日志包内一条日志的序号,即
|
|
15861
|
+
:param _PkgLogId: 日志包内一条日志的序号,即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构中的PkgLogId。
|
|
15812
15862
|
:type PkgLogId: int
|
|
15813
15863
|
:param _PrevLogs: 前${PrevLogs}条日志,默认值10。
|
|
15814
15864
|
:type PrevLogs: int
|
|
@@ -15842,7 +15892,9 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
15842
15892
|
|
|
15843
15893
|
@property
|
|
15844
15894
|
def TopicId(self):
|
|
15845
|
-
"""要查询的日志主题
|
|
15895
|
+
"""要查询的日志主题Id。
|
|
15896
|
+
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
15897
|
+
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
15846
15898
|
:rtype: str
|
|
15847
15899
|
"""
|
|
15848
15900
|
return self._TopicId
|
|
@@ -15853,7 +15905,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
15853
15905
|
|
|
15854
15906
|
@property
|
|
15855
15907
|
def BTime(self):
|
|
15856
|
-
"""日志时间, 即
|
|
15908
|
+
"""日志时间, 即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。
|
|
15857
15909
|
:rtype: str
|
|
15858
15910
|
"""
|
|
15859
15911
|
return self._BTime
|
|
@@ -15864,7 +15916,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
15864
15916
|
|
|
15865
15917
|
@property
|
|
15866
15918
|
def PkgId(self):
|
|
15867
|
-
"""日志包序号,即
|
|
15919
|
+
"""日志包序号,即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构体中的PkgId。
|
|
15868
15920
|
:rtype: str
|
|
15869
15921
|
"""
|
|
15870
15922
|
return self._PkgId
|
|
@@ -15875,7 +15927,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
15875
15927
|
|
|
15876
15928
|
@property
|
|
15877
15929
|
def PkgLogId(self):
|
|
15878
|
-
"""日志包内一条日志的序号,即
|
|
15930
|
+
"""日志包内一条日志的序号,即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构中的PkgLogId。
|
|
15879
15931
|
:rtype: int
|
|
15880
15932
|
"""
|
|
15881
15933
|
return self._PkgLogId
|
|
@@ -24456,9 +24508,16 @@ class ModifyDataTransformRequest(AbstractModel):
|
|
|
24456
24508
|
|
|
24457
24509
|
def __init__(self):
|
|
24458
24510
|
r"""
|
|
24459
|
-
:param _TaskId:
|
|
24511
|
+
:param _TaskId: 数据加工任务ID
|
|
24512
|
+
- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。
|
|
24460
24513
|
:type TaskId: str
|
|
24461
24514
|
:param _Name: 加工任务名称
|
|
24515
|
+
- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务名称。
|
|
24516
|
+
|
|
24517
|
+
名称限制
|
|
24518
|
+
- 不能为空字符串
|
|
24519
|
+
- 不能包含字符'|'
|
|
24520
|
+
- 最长 255 个字符
|
|
24462
24521
|
:type Name: str
|
|
24463
24522
|
:param _EtlContent: 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f)
|
|
24464
24523
|
|
|
@@ -24483,7 +24542,8 @@ class ModifyDataTransformRequest(AbstractModel):
|
|
|
24483
24542
|
|
|
24484
24543
|
@property
|
|
24485
24544
|
def TaskId(self):
|
|
24486
|
-
"""
|
|
24545
|
+
"""数据加工任务ID
|
|
24546
|
+
- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。
|
|
24487
24547
|
:rtype: str
|
|
24488
24548
|
"""
|
|
24489
24549
|
return self._TaskId
|
|
@@ -24495,6 +24555,12 @@ class ModifyDataTransformRequest(AbstractModel):
|
|
|
24495
24555
|
@property
|
|
24496
24556
|
def Name(self):
|
|
24497
24557
|
"""加工任务名称
|
|
24558
|
+
- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务名称。
|
|
24559
|
+
|
|
24560
|
+
名称限制
|
|
24561
|
+
- 不能为空字符串
|
|
24562
|
+
- 不能包含字符'|'
|
|
24563
|
+
- 最长 255 个字符
|
|
24498
24564
|
:rtype: str
|
|
24499
24565
|
"""
|
|
24500
24566
|
return self._Name
|
|
@@ -24610,9 +24676,11 @@ class ModifyIndexRequest(AbstractModel):
|
|
|
24610
24676
|
|
|
24611
24677
|
def __init__(self):
|
|
24612
24678
|
r"""
|
|
24613
|
-
:param _TopicId: 日志主题
|
|
24679
|
+
:param _TopicId: 日志主题Id。
|
|
24680
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
24614
24681
|
:type TopicId: str
|
|
24615
|
-
:param _Status:
|
|
24682
|
+
:param _Status: 索引状态。false:关闭索引, true:开启索引
|
|
24683
|
+
开启后可对日志进行检索分析,将产生索引流量、索引存储及相应费用。[费用详情](https://cloud.tencent.com/document/product/614/45802#.E8.AE.A1.E8.B4.B9.E9.A1.B9)
|
|
24616
24684
|
:type Status: bool
|
|
24617
24685
|
:param _Rule: 索引规则
|
|
24618
24686
|
:type Rule: :class:`tencentcloud.cls.v20201016.models.RuleInfo`
|
|
@@ -24634,7 +24702,8 @@ class ModifyIndexRequest(AbstractModel):
|
|
|
24634
24702
|
|
|
24635
24703
|
@property
|
|
24636
24704
|
def TopicId(self):
|
|
24637
|
-
"""日志主题
|
|
24705
|
+
"""日志主题Id。
|
|
24706
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
24638
24707
|
:rtype: str
|
|
24639
24708
|
"""
|
|
24640
24709
|
return self._TopicId
|
|
@@ -24645,7 +24714,8 @@ class ModifyIndexRequest(AbstractModel):
|
|
|
24645
24714
|
|
|
24646
24715
|
@property
|
|
24647
24716
|
def Status(self):
|
|
24648
|
-
"""
|
|
24717
|
+
"""索引状态。false:关闭索引, true:开启索引
|
|
24718
|
+
开启后可对日志进行检索分析,将产生索引流量、索引存储及相应费用。[费用详情](https://cloud.tencent.com/document/product/614/45802#.E8.AE.A1.E8.B4.B9.E9.A1.B9)
|
|
24649
24719
|
:rtype: bool
|
|
24650
24720
|
"""
|
|
24651
24721
|
return self._Status
|
|
@@ -30764,9 +30834,11 @@ class SplitPartitionRequest(AbstractModel):
|
|
|
30764
30834
|
|
|
30765
30835
|
def __init__(self):
|
|
30766
30836
|
r"""
|
|
30767
|
-
:param _TopicId: 日志主题
|
|
30837
|
+
:param _TopicId: 日志主题Id
|
|
30838
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
30768
30839
|
:type TopicId: str
|
|
30769
|
-
:param _PartitionId: 待分裂分区
|
|
30840
|
+
:param _PartitionId: 待分裂分区Id
|
|
30841
|
+
- 通过[获取分区列表](https://cloud.tencent.com/document/product/614/56470)获取待分裂分区Id。
|
|
30770
30842
|
:type PartitionId: int
|
|
30771
30843
|
:param _SplitKey: 分区切分的哈希key的位置,只在Number=2时有意义
|
|
30772
30844
|
:type SplitKey: str
|
|
@@ -30780,7 +30852,8 @@ class SplitPartitionRequest(AbstractModel):
|
|
|
30780
30852
|
|
|
30781
30853
|
@property
|
|
30782
30854
|
def TopicId(self):
|
|
30783
|
-
"""日志主题
|
|
30855
|
+
"""日志主题Id
|
|
30856
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
30784
30857
|
:rtype: str
|
|
30785
30858
|
"""
|
|
30786
30859
|
return self._TopicId
|
|
@@ -30791,7 +30864,8 @@ class SplitPartitionRequest(AbstractModel):
|
|
|
30791
30864
|
|
|
30792
30865
|
@property
|
|
30793
30866
|
def PartitionId(self):
|
|
30794
|
-
"""待分裂分区
|
|
30867
|
+
"""待分裂分区Id
|
|
30868
|
+
- 通过[获取分区列表](https://cloud.tencent.com/document/product/614/56470)获取待分裂分区Id。
|
|
30795
30869
|
:rtype: int
|
|
30796
30870
|
"""
|
|
30797
30871
|
return self._PartitionId
|
|
@@ -147,14 +147,16 @@ class AbstractClient(object):
|
|
|
147
147
|
params['Timestamp'] = int(time.time())
|
|
148
148
|
params['Version'] = self._apiVersion
|
|
149
149
|
|
|
150
|
+
cred_secret_id, cred_secret_key, cred_token = self.credential.get_credential_info()
|
|
151
|
+
|
|
150
152
|
if self.region:
|
|
151
153
|
params['Region'] = self.region
|
|
152
154
|
|
|
153
|
-
if
|
|
154
|
-
params['Token'] =
|
|
155
|
+
if cred_token:
|
|
156
|
+
params['Token'] = cred_token
|
|
155
157
|
|
|
156
|
-
if
|
|
157
|
-
params['SecretId'] =
|
|
158
|
+
if cred_secret_id:
|
|
159
|
+
params['SecretId'] = cred_secret_id
|
|
158
160
|
|
|
159
161
|
if self.profile.signMethod:
|
|
160
162
|
params['SignatureMethod'] = self.profile.signMethod
|
|
@@ -163,7 +165,7 @@ class AbstractClient(object):
|
|
|
163
165
|
params['Language'] = self.profile.language
|
|
164
166
|
|
|
165
167
|
signInParam = self._format_sign_string(params, options)
|
|
166
|
-
params['Signature'] = Sign.sign(str(
|
|
168
|
+
params['Signature'] = Sign.sign(str(cred_secret_key),
|
|
167
169
|
str(signInParam),
|
|
168
170
|
str(self.profile.signMethod))
|
|
169
171
|
|
|
@@ -189,6 +191,7 @@ class AbstractClient(object):
|
|
|
189
191
|
|
|
190
192
|
endpoint = self._get_endpoint(options=options)
|
|
191
193
|
timestamp = int(time.time())
|
|
194
|
+
cred_secret_id, cred_secret_key, cred_token = self.credential.get_credential_info()
|
|
192
195
|
req.header["Host"] = endpoint
|
|
193
196
|
req.header["X-TC-Action"] = action[0].upper() + action[1:]
|
|
194
197
|
req.header["X-TC-RequestClient"] = self.request_client
|
|
@@ -198,8 +201,8 @@ class AbstractClient(object):
|
|
|
198
201
|
req.header["X-TC-Content-SHA256"] = "UNSIGNED-PAYLOAD"
|
|
199
202
|
if self.region:
|
|
200
203
|
req.header['X-TC-Region'] = self.region
|
|
201
|
-
if
|
|
202
|
-
req.header['X-TC-Token'] =
|
|
204
|
+
if cred_token:
|
|
205
|
+
req.header['X-TC-Token'] = cred_token
|
|
203
206
|
if self.profile.language:
|
|
204
207
|
req.header['X-TC-Language'] = self.profile.language
|
|
205
208
|
|
|
@@ -215,13 +218,13 @@ class AbstractClient(object):
|
|
|
215
218
|
|
|
216
219
|
service = self._service
|
|
217
220
|
date = datetime.utcfromtimestamp(timestamp).strftime('%Y-%m-%d')
|
|
218
|
-
signature = self._get_tc3_signature(params, req, date, service, options)
|
|
221
|
+
signature = self._get_tc3_signature(params, req, date, service, cred_secret_key, options)
|
|
219
222
|
|
|
220
223
|
auth = "TC3-HMAC-SHA256 Credential=%s/%s/%s/tc3_request, SignedHeaders=content-type;host, Signature=%s" % (
|
|
221
|
-
|
|
224
|
+
cred_secret_id, date, service, signature)
|
|
222
225
|
req.header["Authorization"] = auth
|
|
223
226
|
|
|
224
|
-
def _get_tc3_signature(self, params, req, date, service, options=None):
|
|
227
|
+
def _get_tc3_signature(self, params, req, date, service, secret_key, options=None):
|
|
225
228
|
options = options or {}
|
|
226
229
|
canonical_uri = req.uri
|
|
227
230
|
canonical_querystring = ""
|
|
@@ -258,8 +261,7 @@ class AbstractClient(object):
|
|
|
258
261
|
req.header["X-TC-Timestamp"],
|
|
259
262
|
credential_scope,
|
|
260
263
|
digest)
|
|
261
|
-
|
|
262
|
-
return Sign.sign_tc3(self.credential.secret_key, date, service, string2sign)
|
|
264
|
+
return Sign.sign_tc3(secret_key, date, service, string2sign)
|
|
263
265
|
|
|
264
266
|
def _build_req_without_signature(self, action, params, req, options=None):
|
|
265
267
|
content_type = self._default_content_type
|