tencentcloud-sdk-python 3.0.1141__py2.py3-none-any.whl → 3.0.1143__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.
Files changed (39) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/captcha/v20190722/models.py +2 -2
  3. tencentcloud/ccc/v20200210/models.py +19 -2
  4. tencentcloud/cdn/v20180606/cdn_client.py +1 -1
  5. tencentcloud/clb/v20180317/models.py +1 -1
  6. tencentcloud/cls/v20201016/models.py +160 -45
  7. tencentcloud/dlc/v20210125/models.py +89 -1
  8. tencentcloud/ess/v20201111/models.py +12 -0
  9. tencentcloud/essbasic/v20210526/models.py +26 -1
  10. tencentcloud/fmu/v20191213/models.py +1 -1
  11. tencentcloud/hunyuan/v20230901/models.py +1 -1
  12. tencentcloud/iotexplorer/v20190423/errorcodes.py +21 -0
  13. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +115 -0
  14. tencentcloud/iotexplorer/v20190423/models.py +554 -18
  15. tencentcloud/iss/v20230517/models.py +13 -0
  16. tencentcloud/lighthouse/v20200324/lighthouse_client.py +14 -14
  17. tencentcloud/lighthouse/v20200324/models.py +8 -10
  18. tencentcloud/lke/v20231130/models.py +1 -1
  19. tencentcloud/monitor/v20180724/models.py +14 -14
  20. tencentcloud/mrs/v20200910/models.py +3134 -906
  21. tencentcloud/mrs/v20200910/mrs_client.py +23 -0
  22. tencentcloud/ocr/v20181119/models.py +1 -0
  23. tencentcloud/rce/v20201103/models.py +0 -331
  24. tencentcloud/rce/v20201103/rce_client.py +0 -23
  25. tencentcloud/rum/v20210622/models.py +7 -7
  26. tencentcloud/tdmq/v20200217/models.py +183 -1
  27. tencentcloud/teo/v20220901/models.py +89 -0
  28. tencentcloud/teo/v20220901/teo_client.py +27 -1
  29. tencentcloud/tke/v20180525/models.py +1 -1
  30. tencentcloud/trtc/v20190722/models.py +32 -6
  31. tencentcloud/trtc/v20190722/trtc_client.py +3 -3
  32. tencentcloud/tse/v20201207/models.py +4 -0
  33. tencentcloud/waf/v20180125/models.py +607 -9
  34. tencentcloud/waf/v20180125/waf_client.py +92 -0
  35. {tencentcloud_sdk_python-3.0.1141.dist-info → tencentcloud_sdk_python-3.0.1143.dist-info}/METADATA +1 -1
  36. {tencentcloud_sdk_python-3.0.1141.dist-info → tencentcloud_sdk_python-3.0.1143.dist-info}/RECORD +39 -39
  37. {tencentcloud_sdk_python-3.0.1141.dist-info → tencentcloud_sdk_python-3.0.1143.dist-info}/LICENSE +0 -0
  38. {tencentcloud_sdk_python-3.0.1141.dist-info → tencentcloud_sdk_python-3.0.1143.dist-info}/WHEEL +0 -0
  39. {tencentcloud_sdk_python-3.0.1141.dist-info → tencentcloud_sdk_python-3.0.1143.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1141'
17
+ __version__ = '3.0.1143'
@@ -2440,7 +2440,7 @@ class DescribeCaptchaRceResultResponse(AbstractModel):
2440
2440
  9 ticket reused 传入的Ticket被重复使用,请重新生成Ticket、Randstr进行校验
2441
2441
  15 decrypt fail 传入的Ticket不合法,请检查Ticket是否与前端返回的Ticket一致
2442
2442
  16 appid-ticket mismatch 传入的CaptchaAppId错误,请检查CaptchaAppId是否与前端传入的CaptchaAppId一致,并且保障CaptchaAppId是从验证码控制台【验证管理】->【基础配置】中获取
2443
- 21 diff 票据校验异常,可能的原因是(1)若Ticket包含terror前缀,一般是由于用户网络较差,导致前端自动容灾,而生成了容灾票据,业务侧可根据需要进行跳过或二次处理。(2)若Ticket不包含terror前缀,则是由于验证码风控系统发现请求有安全风险,业务侧可根据需要进行拦截。
2443
+ 21 diff 票据校验异常,可能的原因是(1)若Ticket包含trerror前缀,一般是由于用户网络较差,导致前端自动容灾,而生成了容灾票据,业务侧可根据需要进行跳过或二次处理。(2)若Ticket不包含trerror前缀,则是由于验证码风控系统发现请求有安全风险,业务侧可根据需要进行拦截。
2444
2444
  100 appid-secretkey-ticket mismatch 参数校验错误,(1)请检查CaptchaAppId与AppSecretKey是否正确,CaptchaAppId、AppSecretKey需要在验证码控制台【验证管理】>【基础配置】中获取(2)请检查传入的Ticket是否由传入的CaptchaAppId生成
2445
2445
  :type CaptchaCode: int
2446
2446
  :param _CaptchaMsg: 状态描述及验证错误信息
@@ -2718,7 +2718,7 @@ class DescribeCaptchaResultResponse(AbstractModel):
2718
2718
  9 ticket reused 传入的Ticket被重复使用,请重新生成Ticket、Randstr进行校验
2719
2719
  15 decrypt fail 传入的Ticket不合法,请检查Ticket是否与前端返回的Ticket一致
2720
2720
  16 appid-ticket mismatch 传入的CaptchaAppId错误,请检查CaptchaAppId是否与前端传入的CaptchaAppId一致,并且保障CaptchaAppId是从验证码控制台【验证管理】->【基础配置】中获取
2721
- 21 diff 票据校验异常,可能的原因是(1)若Ticket包含terror前缀,一般是由于用户网络较差,导致前端自动容灾,而生成了容灾票据,业务侧可根据需要进行跳过或二次处理。(2)若Ticket不包含terror前缀,则是由于验证码风控系统发现请求有安全风险,业务侧可根据需要进行拦截。
2721
+ 21 diff 票据校验异常,可能的原因是(1)若Ticket包含trerror前缀,一般是由于用户网络较差,导致前端自动容灾,而生成了容灾票据,业务侧可根据需要进行跳过或二次处理。(2)若Ticket不包含trerror前缀,则是由于验证码风控系统发现请求有安全风险,业务侧可根据需要进行拦截。
2722
2722
  100 appid-secretkey-ticket mismatch 参数校验错误,(1)请检查CaptchaAppId与AppSecretKey是否正确,CaptchaAppId、AppSecretKey需要在验证码控制台【验证管理】>【基础配置】中获取(2)请检查传入的Ticket是否由传入的CaptchaAppId生成
2723
2723
  :type CaptchaCode: int
2724
2724
  :param _CaptchaMsg: 状态描述及验证错误信息
@@ -7133,6 +7133,7 @@ class IMCdrInfo(AbstractModel):
7133
7133
  101 座席手动转接
7134
7134
  102 IVR阶段放弃
7135
7135
  108 用户超时自动结束
7136
+ 109 用户主动结束
7136
7137
  :type EndStatus: int
7137
7138
  :param _Nickname: 用户昵称
7138
7139
  :type Nickname: str
@@ -10025,6 +10026,14 @@ class TelCdrInfo(AbstractModel):
10025
10026
  电话呼入 100 blackList 呼入黑名单
10026
10027
 
10027
10028
  电话呼出 2 unconnected 未接通
10029
+
10030
+ 电话呼出 108 restrictedCallee 被叫因高风险受限
10031
+
10032
+ 电话呼出 109 tooManyRequest 超频
10033
+
10034
+ 电话呼出 110 restrictedArea 外呼盲区
10035
+
10036
+ 电话呼出 111 restrictedTime 外呼时间限制
10028
10037
 
10029
10038
  电话呼出 201 unknown 未知状态
10030
10039
 
@@ -10038,7 +10047,7 @@ class TelCdrInfo(AbstractModel):
10038
10047
 
10039
10048
  电话呼出 206 busy 通话中
10040
10049
 
10041
- 电话呼出 207 outOfCredit 欠费
10050
+ 电话呼出 207 outOfCredit 欠费
10042
10051
 
10043
10052
  电话呼出 208 operatorError 运营商线路异常
10044
10053
 
@@ -10100,6 +10109,14 @@ class TelCdrInfo(AbstractModel):
10100
10109
  电话呼入 100 blackList 呼入黑名单
10101
10110
 
10102
10111
  电话呼出 2 unconnected 未接通
10112
+
10113
+ 电话呼出 108 restrictedCallee 被叫因高风险受限
10114
+
10115
+ 电话呼出 109 tooManyRequest 超频
10116
+
10117
+ 电话呼出 110 restrictedArea 外呼盲区
10118
+
10119
+ 电话呼出 111 restrictedTime 外呼时间限制
10103
10120
 
10104
10121
  电话呼出 201 unknown 未知状态
10105
10122
 
@@ -10113,7 +10130,7 @@ class TelCdrInfo(AbstractModel):
10113
10130
 
10114
10131
  电话呼出 206 busy 通话中
10115
10132
 
10116
- 电话呼出 207 outOfCredit 欠费
10133
+ 电话呼出 207 outOfCredit 欠费
10117
10134
 
10118
10135
  电话呼出 208 operatorError 运营商线路异常
10119
10136
 
@@ -1843,7 +1843,7 @@ class CdnClient(AbstractClient):
1843
1843
  def UpdateDomainConfig(self, request):
1844
1844
  """UpdateDomainConfig 用于修改内容分发网络加速域名配置信息。
1845
1845
  注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值,建议通过查询接口获取配置属性后,直接修改后传递给本接口。
1846
- 云审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到云审计。
1846
+ 操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。
1847
1847
 
1848
1848
  :param request: Request instance for UpdateDomainConfig.
1849
1849
  :type request: :class:`tencentcloud.cdn.v20180606.models.UpdateDomainConfigRequest`
@@ -3350,7 +3350,7 @@ OPEN:公网属性, INTERNAL:内网属性。
3350
3350
  :param _Vip: 指定VIP申请负载均衡。此参数选填,不填写此参数时自动分配VIP。IPv4和IPv6类型支持此参数,IPv6 NAT64类型不支持。
3351
3351
  注意:当指定VIP创建内网实例、或公网IPv6 BGP实例时,若VIP不属于指定VPC子网的网段内时,会创建失败;若VIP已被占用,也会创建失败。
3352
3352
  :type Vip: str
3353
- :param _BandwidthPackageId: 带宽包ID,指定此参数时,网络计费方式(InternetAccessible.InternetChargeType)只支持按带宽包计费(BANDWIDTH_PACKAGE)。非上移用户购买的 IPv6 负载均衡实例,且运营商类型非 BGP 时 ,不支持指定具体带宽包id。
3353
+ :param _BandwidthPackageId: 带宽包ID,指定此参数时,网络计费方式(InternetAccessible.InternetChargeType)只支持按带宽包计费(BANDWIDTH_PACKAGE),带宽包的属性即为其结算方式。非上移用户购买的 IPv6 负载均衡实例,且运营商类型非 BGP 时 ,不支持指定具体带宽包id。
3354
3354
  :type BandwidthPackageId: str
3355
3355
  :param _ExclusiveCluster: 独占型实例信息。若创建独占型的内网负载均衡实例,则此参数必填。
3356
3356
  :type ExclusiveCluster: :class:`tencentcloud.clb.v20180317.models.ExclusiveCluster`
@@ -3392,23 +3392,27 @@ class CreateAlarmNoticeRequest(AbstractModel):
3392
3392
 
3393
3393
 
3394
3394
  注意:
3395
- - Type、NoticeReceivers和WebCallbacks是一组配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空,NoticeRules是另一组配置,其中rule不许为空,2组配置互斥。
3396
- - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,必须填写一组配置。
3395
+ - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
3396
+ - 2组rule配置互斥
3397
+ - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
3397
3398
  :type Type: str
3398
3399
  :param _NoticeReceivers: 通知接收对象。
3399
3400
  注意:
3400
- - Type、NoticeReceivers和WebCallbacks是一组配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空,NoticeRules是另一组配置,其中rule不许为空,2组配置互斥。
3401
- - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,必须填写一组配置。
3401
+ - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
3402
+ - 2组rule配置互斥
3403
+ - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
3402
3404
  :type NoticeReceivers: list of NoticeReceiver
3403
3405
  :param _WebCallbacks: 接口回调信息(包括企业微信)。
3404
3406
  注意:
3405
- - Type、NoticeReceivers和WebCallbacks是一组配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空,NoticeRules是另一组配置,其中rule不许为空,2组配置互斥。
3406
- - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,必须填写一组配置。
3407
+ - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
3408
+ - 2组rule配置互斥
3409
+ - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
3407
3410
  :type WebCallbacks: list of WebCallback
3408
3411
  :param _NoticeRules: 通知规则。
3409
3412
  注意:
3410
- - Type、NoticeReceivers和WebCallbacks是一组配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空,NoticeRules是另一组配置,其中rule不许为空,2组配置互斥。
3411
- - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,必须填写一组配置。
3413
+ - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空
3414
+ - 2组rule配置互斥
3415
+ - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置
3412
3416
 
3413
3417
 
3414
3418
  :type NoticeRules: list of NoticeRule
@@ -4006,11 +4010,20 @@ class CreateConfigExtraRequest(AbstractModel):
4006
4010
  :type Name: str
4007
4011
  :param _TopicId: 日志主题id
4008
4012
  :type TopicId: str
4009
- :param _Type: 类型:container_stdoutcontainer_filehost_file
4013
+ :param _Type: 日志源类型。支持 container_stdout:容器标准输出;container_file:容器文件路径;host_file:节点文件路径。
4010
4014
  :type Type: str
4011
- :param _LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
4015
+ :param _LogType: 采集的日志类型,默认为minimalist_log。支持以下类型:
4016
+ - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
4017
+ - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
4018
+ - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
4019
+ - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
4020
+ - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
4021
+ - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
4022
+ - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
4012
4023
  :type LogType: str
4013
- :param _ConfigFlag: 采集配置标
4024
+ :param _ConfigFlag: 采集配置标记。
4025
+ - 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置
4026
+
4014
4027
  :type ConfigFlag: str
4015
4028
  :param _LogsetId: 日志集id
4016
4029
  :type LogsetId: str
@@ -4018,19 +4031,23 @@ class CreateConfigExtraRequest(AbstractModel):
4018
4031
  :type LogsetName: str
4019
4032
  :param _TopicName: 日志主题名称
4020
4033
  :type TopicName: str
4021
- :param _HostFile: 节点文件配置信息
4034
+ :param _HostFile: 节点文件路径类型配置。
4022
4035
  :type HostFile: :class:`tencentcloud.cls.v20201016.models.HostFileInfo`
4023
- :param _ContainerFile: 容器文件路径信息
4036
+ :param _ContainerFile: 容器文件路径类型配置。
4024
4037
  :type ContainerFile: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
4025
- :param _ContainerStdout: 容器标准输出信息
4038
+ :param _ContainerStdout: 容器标准输出类型配置。
4026
4039
  :type ContainerStdout: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
4027
- :param _LogFormat: 日志格式化方式
4040
+ :param _LogFormat: 日志格式化方式,用于容器采集场景。
4041
+ - stdout-docker-json:用于docker容器采集场景
4042
+ - stdout-containerd:用于containerd容器采集场景
4028
4043
  :type LogFormat: str
4029
4044
  :param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
4030
4045
  :type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
4031
4046
  :param _ExcludePaths: 采集黑名单路径列表
4032
4047
  :type ExcludePaths: list of ExcludePathInfo
4033
- :param _UserDefineRule: 用户自定义采集规则,Json格式序列化的字符串
4048
+ :param _UserDefineRule: 组合解析采集规则,用于复杂场景下的日志采集。
4049
+ - 取值参考:[使用组合解析提取模式采集日志
4050
+ ](https://cloud.tencent.com/document/product/614/61310)
4034
4051
  :type UserDefineRule: str
4035
4052
  :param _GroupId: 绑定的机器组id
4036
4053
  :type GroupId: str
@@ -4042,7 +4059,8 @@ class CreateConfigExtraRequest(AbstractModel):
4042
4059
  - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
4043
4060
  - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
4044
4061
  - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
4045
- 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
4062
+ - ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0
4063
+
4046
4064
  :type AdvancedConfig: str
4047
4065
  """
4048
4066
  self._Name = None
@@ -4830,7 +4848,12 @@ class CreateDataTransformRequest(AbstractModel):
4830
4848
  :type SrcTopicId: str
4831
4849
  :param _Name: 加工任务名称
4832
4850
  :type Name: str
4833
- :param _EtlContent: 加工语句。[创建加工任务](https://cloud.tencent.com/document/product/614/63940) [函数总览](https://cloud.tencent.com/document/product/614/70395)
4851
+ :param _EtlContent: 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f)
4852
+
4853
+ 其他参考文档:
4854
+
4855
+ - [创建加工任务](https://cloud.tencent.com/document/product/614/63940)
4856
+ - [函数总览](https://cloud.tencent.com/document/product/614/70395)
4834
4857
  :type EtlContent: str
4835
4858
  :param _TaskType: 加工类型。
4836
4859
  1:使用源日志主题中的随机数据,进行加工预览;2:使用用户自定义测试数据,进行加工预览;3:创建真实加工任务。
@@ -5659,7 +5682,9 @@ class CreateMachineGroupRequest(AbstractModel):
5659
5682
  r"""
5660
5683
  :param _GroupName: 机器组名字,不能重复
5661
5684
  :type GroupName: str
5662
- :param _MachineGroupType: 创建机器组类型。Type:ip,Values中为ip字符串列表创建机器组;Type:label,Values中为标签字符串列表创建机器组。
5685
+ :param _MachineGroupType: 创建机器组类型。取值如下:
5686
+ - Type:ip,Values中为ip字符串列表创建机器组
5687
+ - Type:label,Values中为标签字符串列表创建机器组
5663
5688
  :type MachineGroupType: :class:`tencentcloud.cls.v20201016.models.MachineGroupTypeInfo`
5664
5689
  :param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
5665
5690
  :type Tags: list of Tag
@@ -5675,7 +5700,9 @@ class CreateMachineGroupRequest(AbstractModel):
5675
5700
  :type DelayCleanupTime: int
5676
5701
  :param _MetaTags: 机器组元数据信息列表
5677
5702
  :type MetaTags: list of MetaTagInfo
5678
- :param _OSType: 系统类型,默认0,0:Linux,1: Windows
5703
+ :param _OSType: 系统类型,取值如下:
5704
+ - 0:Linux (默认值)
5705
+ - 1:Windows
5679
5706
  :type OSType: int
5680
5707
  """
5681
5708
  self._GroupName = None
@@ -8912,25 +8939,22 @@ class DescribeConfigExtrasRequest(AbstractModel):
8912
8939
 
8913
8940
  def __init__(self):
8914
8941
  r"""
8915
- :param _Filters: name
8942
+ :param _Filters: 过滤器,支持如下选项:
8943
+ name
8916
8944
  - 按照【特殊采集配置名称】进行模糊匹配过滤。
8917
8945
  - 类型:String
8918
- - 必选:否
8919
8946
 
8920
8947
  configExtraId
8921
8948
  - 按照【特殊采集配置ID】进行过滤。
8922
8949
  - 类型:String
8923
- - 必选:否
8924
8950
 
8925
8951
  topicId
8926
8952
  - 按照【日志主题】进行过滤。
8927
8953
  - 类型:String
8928
- - 必选:否
8929
8954
 
8930
8955
  machineGroupId
8931
8956
  - 按照【机器组ID】进行过滤。
8932
8957
  - 类型:String
8933
- - 必选:否
8934
8958
 
8935
8959
  每次请求的Filters的上限为10,Filter.Values的上限为5。
8936
8960
  :type Filters: list of Filter
@@ -12065,7 +12089,6 @@ class ExtractRuleInfo(AbstractModel):
12065
12089
  注意:此字段可能返回 null,表示取不到有效值。
12066
12090
  :type IsGBK: int
12067
12091
  :param _JsonStandard: 是否为标准json。 0:否; 1:是。
12068
-
12069
12092
  - 标准json指采集器使用业界标准开源解析器进行json解析,非标json指采集器使用CLS自研json解析器进行解析,两种解析器没有本质区别,建议客户使用标准json进行解析。
12070
12093
  注意:此字段可能返回 null,表示取不到有效值。
12071
12094
  :type JsonStandard: int
@@ -15420,19 +15443,31 @@ class ModifyConfigExtraRequest(AbstractModel):
15420
15443
  :type TopicId: str
15421
15444
  :param _HostFile: 节点文件配置信息
15422
15445
  :type HostFile: :class:`tencentcloud.cls.v20201016.models.HostFileInfo`
15423
- :param _ContainerFile: 容器文件路径信息
15446
+ :param _ContainerFile: 采集配置标记。
15447
+ - 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置
15424
15448
  :type ContainerFile: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
15425
15449
  :param _ContainerStdout: 容器标准输出信息
15426
15450
  :type ContainerStdout: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
15427
- :param _LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
15451
+ :param _LogType: 采集的日志类型,默认为minimalist_log。支持以下类型:
15452
+ - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
15453
+ - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
15454
+ - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
15455
+ - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
15456
+ - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
15457
+ - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
15458
+ - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
15428
15459
  :type LogType: str
15429
- :param _LogFormat: 日志格式化方式
15460
+ :param _LogFormat: 日志格式化方式,用于容器采集场景。
15461
+ - stdout-docker-json:用于docker容器采集场景
15462
+ - stdout-containerd:用于containerd容器采集场景
15430
15463
  :type LogFormat: str
15431
15464
  :param _ExtractRule: 提取规则,如果设置了ExtractRule,则必须设置LogType
15432
15465
  :type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
15433
15466
  :param _ExcludePaths: 采集黑名单路径列表
15434
15467
  :type ExcludePaths: list of ExcludePathInfo
15435
- :param _UserDefineRule: 用户自定义采集规则,Json格式序列化的字符串
15468
+ :param _UserDefineRule: 组合解析采集规则,用于复杂场景下的日志采集。
15469
+ - 取值参考:[使用组合解析提取模式采集日志
15470
+ ](https://cloud.tencent.com/document/product/614/61310)
15436
15471
  :type UserDefineRule: str
15437
15472
  :param _Type: 类型:container_stdout、container_file、host_file
15438
15473
  :type Type: str
@@ -15450,7 +15485,8 @@ class ModifyConfigExtraRequest(AbstractModel):
15450
15485
  - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
15451
15486
  - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
15452
15487
  - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
15453
- 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
15488
+ - ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0
15489
+
15454
15490
  :type AdvancedConfig: str
15455
15491
  """
15456
15492
  self._ConfigExtraId = None
@@ -16219,7 +16255,12 @@ class ModifyDataTransformRequest(AbstractModel):
16219
16255
  :type TaskId: str
16220
16256
  :param _Name: 加工任务名称
16221
16257
  :type Name: str
16222
- :param _EtlContent: 加工语句
16258
+ :param _EtlContent: 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f)
16259
+
16260
+ 其他参考文档:
16261
+
16262
+ - [创建加工任务](https://cloud.tencent.com/document/product/614/63940)
16263
+ - [函数总览](https://cloud.tencent.com/document/product/614/70395)
16223
16264
  :type EtlContent: str
16224
16265
  :param _EnableFlag: 任务启动状态. 默认为1,开启, 2关闭
16225
16266
  :type EnableFlag: int
@@ -17725,13 +17766,13 @@ class NoticeReceiver(AbstractModel):
17725
17766
  - WeChat - 微信
17726
17767
  - Phone - 电话
17727
17768
  :type ReceiverChannels: list of str
17728
- :param _StartTime: 允许接收信息的开始时间。
17769
+ :param _StartTime: 允许接收信息的开始时间。格式:`15:04:05`,必填。
17729
17770
  :type StartTime: str
17730
- :param _EndTime: 允许接收信息的结束时间。
17771
+ :param _EndTime: 允许接收信息的结束时间。格式:`15:04:05`,必填。
17731
17772
  :type EndTime: str
17732
17773
  :param _Index: 位序。
17733
17774
 
17734
- - 入参无效。
17775
+ - 入参时无效。
17735
17776
  - 出参时有效。
17736
17777
  :type Index: int
17737
17778
  """
@@ -17822,11 +17863,63 @@ class NoticeRule(AbstractModel):
17822
17863
  注意:此字段可能返回 null,表示取不到有效值。
17823
17864
  :type WebCallbacks: list of WebCallback
17824
17865
  :param _Rule: 匹配规则 JSON串。
17825
- `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1,2]\",\"Type\":\"Value\"}]}]}
17826
- `
17827
- 以上示例表示:
17828
- 规则:
17829
- 通知类型属于告警通知,恢复通知
17866
+ **rule规则树格式为嵌套结构体JSON字符串**
17867
+ `{"Value":"AND","Type":"Operation","Children":[{"Value":"OR","Type":"Operation","Children":[{"Type":"Condition","Value":"Level","Children":[{"Value":"In","Type":"Compare"},{"Value":"[1,0]","Type":"Value"}]},{"Type":"Condition","Value":"Level","Children":[{"Value":"NotIn","Type":"Compare"},{"Value":"[2]","Type":"Value"}]}]}]}`
17868
+
17869
+ **rule规则树限制规则如下**:
17870
+ - 顶层rule中Type可取值:`Condition`,`Operation`
17871
+ - Type为`Operation`的子节点支持的Type可取值:`Condition`,`Operation`
17872
+ - Type为`Condition`的子节点支持的Type可取值:`String`,`Compare`,`Array`,`TimeRange`,`Value`,`Key`
17873
+ - 其他Type无子节点
17874
+ - 当rule Type为`Operation`时,value可取值:`AND`,`OR`
17875
+ - 当rule Type为`Condition`时,value不可为空,子节点个数不能小于2
17876
+ - 当子节点Type为 `Compare` 时,value可取值:`>`,`<`,`>=`,`<=`,`=`,`!=`,`Between`,`NotBetween`,`=~`,`!=~`,`In`,`NotIn`
17877
+ - value为`Between`,`NotBetween`时,下一个子节点value必须是长度为2的数组
17878
+ - value为`=~`,`!=~`时,下一个子节点value必须是一个正则表达式
17879
+ - value为`In`,`NotIn`时, 下一个子节点value必须是一个数组
17880
+
17881
+ **业务参数含义**:
17882
+ - Type:Condition 表示是规则条件,Value:Level 表示告警等级
17883
+ - 子节点Type支持`Compare`,Value支持`In`,`NotIn`
17884
+ - 下一个子节点value支持的值:0(警告),1(提醒),2 (紧急)
17885
+ 以下示例表示:告警等级属于提醒
17886
+ `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]}]}`
17887
+
17888
+ - Type:Condition 表示是规则条件,Value:NotifyType 表示通知类型
17889
+ - 子节点Type支持`Compare`,Value支持`In`,`NotIn`
17890
+ - 下一个子节点value支持的值:1(告警通知),2 (恢复通知)
17891
+ 以下示例表示:通知类型属于告警通知或通知类型不属于恢复通知
17892
+ `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[2]\",\"Type\":\"Value\"}]}]}]}`
17893
+
17894
+ - Type:Condition 表示是规则条件,Value:AlarmID 表示告警策略
17895
+ - 子节点Type支持`Compare`,Value支持`In`,`NotIn`
17896
+ - 下一个子节点value支持的值:告警策略id数组
17897
+ 以下示例表示:告警策略属于alarm-53af048c-254b-4c73-bb48-xxx,alarm-6dfa8bc5-08da-4d64-b6cb-xxx或告警策略不属于alarm-1036314c-1e49-4cee-a8fb-xxx
17898
+ `"{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-53af048c-254b-4c73-bb48-xxx\\\",\\\"alarm-6dfa8bc5-08da-4d64-b6cb-xxx\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-1036314c-1e49-4cee-a8fb-xxx\\\"]\",\"Type\":\"Value\"}]}]}]}"`
17899
+
17900
+ - Type:Condition 表示是规则条件,Value:AlarmName 表示告警策略名称
17901
+ - 子节点Type支持`Compare`,Value支持`=~`,`!=~`
17902
+ - 下一个子节点value支持的值:必须是正则表达式
17903
+ 以下示例表示:告警策略名称正则匹配^test$或告警策略名称正则不匹配^hahaha$
17904
+ `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}`
17905
+
17906
+ - Type:Condition 表示是规则条件,Value:Label 表示告警分类字段
17907
+ - 子节点Type支持`Compare`,Value支持`In`,`NotIn`,`=~`,`!=~`
17908
+ - 下一个子节点value支持的值:`In`,`NotIn` 时value是数组,`=~`,`!=~`时value是正则表达式
17909
+ 以下示例表示:告警分类字段key1属于v1或告警分类字段key2不属于v2或告警分类字段key3正则匹配^test$或告警分类字段key4正则不匹配^hahaha$
17910
+ `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key1\",\"Type\":\"Key\"},{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v1\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key2\",\"Type\":\"Key\"},{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v2\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key3\",\"Type\":\"Key\"},{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key4\",\"Type\":\"Key\"},{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}`
17911
+
17912
+ - Type:Condition 表示是规则条件,Value:NotifyTime 表示通知时间
17913
+ - 子节点Type支持`Compare`,Value支持`Between `,`NotBetween `
17914
+ - 下一个子节点value支持的值:长度为2,格式为`14:20:36`的字符串数组
17915
+ 以下示例表示:通知时间在指定范围内14:18:36至14:33:36或通知时间不在指定范围内14:20:36至14:30:36
17916
+ `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"Between\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:18:36\\\",\\\"14:33:36\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"NotBetween\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:20:36\\\",\\\"14:30:36\\\"]\",\"Type\":\"Value\"}]}]}]}`
17917
+
17918
+ - Type:Condition 表示是规则条件,Value:Duration 表示告警持续时间
17919
+ - 子节点Type支持`Compare`,Value支持`>`,`<`,`>=`,`<=`
17920
+ - 下一个子节点value支持的值:整型值单位分钟
17921
+ 以下示例表示:告警持续时间大于1分钟或告警持续时间大于等于2分钟或告警持续时间小于3分钟或告警持续时间小于等于4分钟
17922
+ `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}`
17830
17923
  注意:此字段可能返回 null,表示取不到有效值。
17831
17924
  :type Rule: str
17832
17925
  """
@@ -18377,13 +18470,16 @@ class PreviewLogStatistic(AbstractModel):
18377
18470
  r"""
18378
18471
  :param _LogContent: 日志内容
18379
18472
  :type LogContent: str
18380
- :param _LineNum: 行号
18473
+ :param _LineNum: 行号。从0开始
18381
18474
  :type LineNum: int
18382
18475
  :param _DstTopicId: 目标日志主题
18383
18476
  :type DstTopicId: str
18384
- :param _FailReason: 失败错误码, 空字符串""表示正常
18477
+ :param _FailReason: 失败错误信息, 空字符串""表示正常
18385
18478
  :type FailReason: str
18386
- :param _Time: 日志时间戳
18479
+ :param _Time: 日志时间,格式:`2024-05-07 17:13:17.105`
18480
+
18481
+ - 入参时无效
18482
+ - 出参时有效,为日志中的时间格式
18387
18483
  :type Time: str
18388
18484
  :param _DstTopicName: 目标topic-name
18389
18485
  注意:此字段可能返回 null,表示取不到有效值。
@@ -18438,10 +18534,14 @@ class PreviewLogStatistic(AbstractModel):
18438
18534
 
18439
18535
  @property
18440
18536
  def DstTopicName(self):
18537
+ warnings.warn("parameter `DstTopicName` is deprecated", DeprecationWarning)
18538
+
18441
18539
  return self._DstTopicName
18442
18540
 
18443
18541
  @DstTopicName.setter
18444
18542
  def DstTopicName(self, DstTopicName):
18543
+ warnings.warn("parameter `DstTopicName` is deprecated", DeprecationWarning)
18544
+
18445
18545
  self._DstTopicName = DstTopicName
18446
18546
 
18447
18547
 
@@ -19120,6 +19220,9 @@ class ScheduledSqlTaskInfo(AbstractModel):
19120
19220
  :param _SyntaxRule: 语法规则,0:Lucene语法,1:CQL语法
19121
19221
  注意:此字段可能返回 null,表示取不到有效值。
19122
19222
  :type SyntaxRule: int
19223
+ :param _HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
19224
+ 注意:此字段可能返回 null,表示取不到有效值。
19225
+ :type HasServicesLog: int
19123
19226
  """
19124
19227
  self._TaskId = None
19125
19228
  self._Name = None
@@ -19139,6 +19242,7 @@ class ScheduledSqlTaskInfo(AbstractModel):
19139
19242
  self._ProcessDelay = None
19140
19243
  self._SrcTopicRegion = None
19141
19244
  self._SyntaxRule = None
19245
+ self._HasServicesLog = None
19142
19246
 
19143
19247
  @property
19144
19248
  def TaskId(self):
@@ -19284,6 +19388,14 @@ class ScheduledSqlTaskInfo(AbstractModel):
19284
19388
  def SyntaxRule(self, SyntaxRule):
19285
19389
  self._SyntaxRule = SyntaxRule
19286
19390
 
19391
+ @property
19392
+ def HasServicesLog(self):
19393
+ return self._HasServicesLog
19394
+
19395
+ @HasServicesLog.setter
19396
+ def HasServicesLog(self, HasServicesLog):
19397
+ self._HasServicesLog = HasServicesLog
19398
+
19287
19399
 
19288
19400
  def _deserialize(self, params):
19289
19401
  self._TaskId = params.get("TaskId")
@@ -19306,6 +19418,7 @@ class ScheduledSqlTaskInfo(AbstractModel):
19306
19418
  self._ProcessDelay = params.get("ProcessDelay")
19307
19419
  self._SrcTopicRegion = params.get("SrcTopicRegion")
19308
19420
  self._SyntaxRule = params.get("SyntaxRule")
19421
+ self._HasServicesLog = params.get("HasServicesLog")
19309
19422
  memeber_set = set(params.keys())
19310
19423
  for name, value in vars(self).items():
19311
19424
  property_name = name[1:]
@@ -21209,9 +21322,11 @@ class WebCallback(AbstractModel):
21209
21322
  - Lark
21210
21323
  :type CallbackType: str
21211
21324
  :param _Method: 回调方法。可选值:
21212
- - POST
21325
+ - POST(默认值)
21213
21326
  - PUT
21214
- 默认值为POST。CallbackType为Http时为必选。
21327
+
21328
+ 注意:
21329
+ - 参数CallbackType为Http时为必选。
21215
21330
  注意:此字段可能返回 null,表示取不到有效值。
21216
21331
  :type Method: str
21217
21332
  :param _Headers: 请求头。