tencentcloud-sdk-nodejs 4.0.955 → 4.0.956
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.
- package/CHANGELOG.md +114 -0
- package/SERVICE_CHANGELOG.md +143 -266
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cls/v20201016/cls_client.ts +7 -6
- package/src/services/cls/v20201016/cls_models.ts +217 -188
- package/src/services/dlc/v20210125/dlc_client.ts +14 -1
- package/src/services/dlc/v20210125/dlc_models.ts +141 -8
- package/src/services/emr/v20190103/emr_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +36 -7
- package/src/services/ess/v20201111/ess_models.ts +28 -5
- package/src/services/faceid/v20180301/faceid_models.ts +1 -1
- package/src/services/tke/v20180525/tke_client.ts +1 -15
- package/src/services/tke/v20180525/tke_models.ts +126 -162
- package/src/services/vod/v20180717/vod_client.ts +1 -0
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +10 -6
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +215 -187
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +138 -8
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +35 -6
- package/tencentcloud/services/ess/v20201111/ess_client.js +35 -6
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +28 -5
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -7
- package/tencentcloud/services/tke/v20180525/tke_client.js +0 -8
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +126 -160
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -0
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +10 -6
- package/test/dlc.v20210125.test.js +10 -0
- package/test/tke.v20180525.test.js +0 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.956"
|
|
@@ -97,9 +97,9 @@ import {
|
|
|
97
97
|
ModifyConsumerRequest,
|
|
98
98
|
CreateIndexResponse,
|
|
99
99
|
DeleteConfigFromMachineGroupResponse,
|
|
100
|
+
ModifyDashboardSubscribeResponse,
|
|
100
101
|
ModifyDashboardSubscribeRequest,
|
|
101
102
|
CreateConsumerResponse,
|
|
102
|
-
CreateConfigResponse,
|
|
103
103
|
DescribeConsoleSharingListResponse,
|
|
104
104
|
ModifyMachineGroupResponse,
|
|
105
105
|
DataTransformResouceInfo,
|
|
@@ -126,11 +126,11 @@ import {
|
|
|
126
126
|
DeleteMachineGroupResponse,
|
|
127
127
|
PartitionInfo,
|
|
128
128
|
DeleteScheduledSqlResponse,
|
|
129
|
-
|
|
129
|
+
CreateConfigExtraRequest,
|
|
130
130
|
ExcludePathInfo,
|
|
131
131
|
FilterRuleInfo,
|
|
132
132
|
ConfigExtraInfo,
|
|
133
|
-
|
|
133
|
+
AdvanceFilterRuleInfo,
|
|
134
134
|
SplitPartitionRequest,
|
|
135
135
|
DescribeMachineGroupConfigsResponse,
|
|
136
136
|
CheckRechargeKafkaServerRequest,
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
GetAlarmLogResponse,
|
|
149
149
|
CreateDashboardSubscribeResponse,
|
|
150
150
|
DescribeExportsRequest,
|
|
151
|
-
|
|
151
|
+
CreateMachineGroupResponse,
|
|
152
152
|
DescribeCosRechargesRequest,
|
|
153
153
|
AlarmTarget,
|
|
154
154
|
CreateKafkaRechargeResponse,
|
|
@@ -158,6 +158,7 @@ import {
|
|
|
158
158
|
CreateDeliverCloudFunctionRequest,
|
|
159
159
|
DeleteConsumerRequest,
|
|
160
160
|
QueryRangeMetricResponse,
|
|
161
|
+
DescribeMachineGroupsRequest,
|
|
161
162
|
DeleteIndexRequest,
|
|
162
163
|
AnonymousInfo,
|
|
163
164
|
RetryShipperTaskResponse,
|
|
@@ -194,7 +195,7 @@ import {
|
|
|
194
195
|
DeleteConsoleSharingResponse,
|
|
195
196
|
CreateConfigRequest,
|
|
196
197
|
CreateShipperResponse,
|
|
197
|
-
|
|
198
|
+
AlertHistoryRecord,
|
|
198
199
|
DescribeKafkaRechargesResponse,
|
|
199
200
|
DeleteIndexResponse,
|
|
200
201
|
ModifyTopicResponse,
|
|
@@ -225,7 +226,7 @@ import {
|
|
|
225
226
|
CreateKafkaRechargeRequest,
|
|
226
227
|
DeleteKafkaRechargeRequest,
|
|
227
228
|
RuleInfo,
|
|
228
|
-
|
|
229
|
+
CreateConfigResponse,
|
|
229
230
|
CreateConsumerRequest,
|
|
230
231
|
MultiTopicSearchInformation,
|
|
231
232
|
AlarmNotice,
|
|
@@ -2063,6 +2063,14 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
|
|
|
2063
2063
|
* Windows事件日志采集规则,只有在LogType为windows_event_log时生效,其余类型无需填写。
|
|
2064
2064
|
*/
|
|
2065
2065
|
EventLogRules?: Array<EventLog>
|
|
2066
|
+
/**
|
|
2067
|
+
* 日志过滤规则列表(新版)。
|
|
2068
|
+
注意:
|
|
2069
|
+
- 2.9.3以下版本LogListener不支持, 请使用FilterKeyRegex配置日志过滤规则。
|
|
2070
|
+
- 自建k8s采集配置(CreateConfigExtra、ModifyConfigExtra)不支持此字段。
|
|
2071
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2072
|
+
*/
|
|
2073
|
+
AdvanceFilterRules?: Array<AdvanceFilterRuleInfo>
|
|
2066
2074
|
}
|
|
2067
2075
|
|
|
2068
2076
|
/**
|
|
@@ -2151,6 +2159,16 @@ export interface DeleteConfigFromMachineGroupResponse {
|
|
|
2151
2159
|
RequestId?: string
|
|
2152
2160
|
}
|
|
2153
2161
|
|
|
2162
|
+
/**
|
|
2163
|
+
* ModifyDashboardSubscribe返回参数结构体
|
|
2164
|
+
*/
|
|
2165
|
+
export interface ModifyDashboardSubscribeResponse {
|
|
2166
|
+
/**
|
|
2167
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2168
|
+
*/
|
|
2169
|
+
RequestId?: string
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2154
2172
|
/**
|
|
2155
2173
|
* ModifyDashboardSubscribe请求参数结构体
|
|
2156
2174
|
*/
|
|
@@ -2187,20 +2205,6 @@ export interface CreateConsumerResponse {
|
|
|
2187
2205
|
RequestId?: string
|
|
2188
2206
|
}
|
|
2189
2207
|
|
|
2190
|
-
/**
|
|
2191
|
-
* CreateConfig返回参数结构体
|
|
2192
|
-
*/
|
|
2193
|
-
export interface CreateConfigResponse {
|
|
2194
|
-
/**
|
|
2195
|
-
* 采集配置ID
|
|
2196
|
-
*/
|
|
2197
|
-
ConfigId?: string
|
|
2198
|
-
/**
|
|
2199
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2200
|
-
*/
|
|
2201
|
-
RequestId?: string
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
2208
|
/**
|
|
2205
2209
|
* DescribeConsoleSharingList返回参数结构体
|
|
2206
2210
|
*/
|
|
@@ -2813,77 +2817,103 @@ export interface DeleteScheduledSqlResponse {
|
|
|
2813
2817
|
}
|
|
2814
2818
|
|
|
2815
2819
|
/**
|
|
2816
|
-
*
|
|
2820
|
+
* CreateConfigExtra请求参数结构体
|
|
2817
2821
|
*/
|
|
2818
|
-
export interface
|
|
2822
|
+
export interface CreateConfigExtraRequest {
|
|
2819
2823
|
/**
|
|
2820
|
-
*
|
|
2824
|
+
* 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾
|
|
2821
2825
|
*/
|
|
2822
|
-
|
|
2826
|
+
Name: string
|
|
2823
2827
|
/**
|
|
2824
|
-
*
|
|
2828
|
+
* 日志主题id
|
|
2825
2829
|
*/
|
|
2826
|
-
|
|
2830
|
+
TopicId: string
|
|
2827
2831
|
/**
|
|
2828
|
-
*
|
|
2832
|
+
* 日志源类型。支持 container_stdout:容器标准输出;container_file:容器文件路径;host_file:节点文件路径。
|
|
2829
2833
|
*/
|
|
2830
|
-
|
|
2834
|
+
Type: string
|
|
2831
2835
|
/**
|
|
2832
|
-
*
|
|
2836
|
+
* 采集的日志类型,默认为minimalist_log。支持以下类型:
|
|
2837
|
+
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
2838
|
+
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
2839
|
+
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
2840
|
+
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
2841
|
+
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
2842
|
+
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
2843
|
+
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
|
|
2833
2844
|
*/
|
|
2834
|
-
|
|
2845
|
+
LogType: string
|
|
2835
2846
|
/**
|
|
2836
|
-
*
|
|
2847
|
+
* 采集配置标记。
|
|
2848
|
+
- 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置
|
|
2849
|
+
|
|
2850
|
+
*/
|
|
2851
|
+
ConfigFlag: string
|
|
2852
|
+
/**
|
|
2853
|
+
* 日志集id
|
|
2854
|
+
*/
|
|
2855
|
+
LogsetId: string
|
|
2856
|
+
/**
|
|
2857
|
+
* 日志集name
|
|
2858
|
+
*/
|
|
2859
|
+
LogsetName: string
|
|
2860
|
+
/**
|
|
2861
|
+
* 日志主题名称
|
|
2837
2862
|
*/
|
|
2838
2863
|
TopicName: string
|
|
2839
2864
|
/**
|
|
2840
|
-
*
|
|
2865
|
+
* 节点文件路径类型配置。
|
|
2841
2866
|
*/
|
|
2842
|
-
|
|
2867
|
+
HostFile?: HostFileInfo
|
|
2843
2868
|
/**
|
|
2844
|
-
*
|
|
2869
|
+
* 容器文件路径类型配置。
|
|
2845
2870
|
*/
|
|
2846
|
-
|
|
2871
|
+
ContainerFile?: ContainerFileInfo
|
|
2847
2872
|
/**
|
|
2848
|
-
*
|
|
2873
|
+
* 容器标准输出类型配置。
|
|
2849
2874
|
*/
|
|
2850
|
-
|
|
2875
|
+
ContainerStdout?: ContainerStdoutInfo
|
|
2851
2876
|
/**
|
|
2852
|
-
*
|
|
2877
|
+
* 日志格式化方式,用于容器采集场景。
|
|
2878
|
+
- stdout-docker-json:用于docker容器采集场景
|
|
2879
|
+
- stdout-containerd:用于containerd容器采集场景
|
|
2853
2880
|
*/
|
|
2854
|
-
|
|
2881
|
+
LogFormat?: string
|
|
2855
2882
|
/**
|
|
2856
|
-
*
|
|
2883
|
+
* 提取规则,如果设置了ExtractRule,则必须设置LogType
|
|
2857
2884
|
*/
|
|
2858
|
-
|
|
2885
|
+
ExtractRule?: ExtractRuleInfo
|
|
2859
2886
|
/**
|
|
2860
|
-
*
|
|
2887
|
+
* 采集黑名单路径列表
|
|
2861
2888
|
*/
|
|
2862
|
-
|
|
2889
|
+
ExcludePaths?: Array<ExcludePathInfo>
|
|
2863
2890
|
/**
|
|
2864
|
-
*
|
|
2891
|
+
* 组合解析采集规则,用于复杂场景下的日志采集。
|
|
2892
|
+
- 取值参考:[使用组合解析提取模式采集日志
|
|
2893
|
+
](https://cloud.tencent.com/document/product/614/61310)
|
|
2865
2894
|
*/
|
|
2866
|
-
|
|
2895
|
+
UserDefineRule?: string
|
|
2867
2896
|
/**
|
|
2868
|
-
*
|
|
2897
|
+
* 绑定的机器组id
|
|
2869
2898
|
*/
|
|
2870
|
-
|
|
2899
|
+
GroupId?: string
|
|
2871
2900
|
/**
|
|
2872
|
-
*
|
|
2873
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2901
|
+
* 绑定的机器组id列表
|
|
2874
2902
|
*/
|
|
2875
|
-
|
|
2903
|
+
GroupIds?: Array<string>
|
|
2876
2904
|
/**
|
|
2877
|
-
*
|
|
2878
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2905
|
+
* 采集相关配置信息。详情见CollectInfo复杂类型配置。
|
|
2879
2906
|
*/
|
|
2880
|
-
|
|
2907
|
+
CollectInfos?: Array<CollectInfo>
|
|
2881
2908
|
/**
|
|
2882
|
-
*
|
|
2883
|
-
0
|
|
2884
|
-
|
|
2909
|
+
* 高级采集配置。 Json字符串, Key/Value定义为如下:
|
|
2910
|
+
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
2911
|
+
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
2912
|
+
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
2913
|
+
- ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0
|
|
2914
|
+
|
|
2885
2915
|
*/
|
|
2886
|
-
|
|
2916
|
+
AdvancedConfig?: string
|
|
2887
2917
|
}
|
|
2888
2918
|
|
|
2889
2919
|
/**
|
|
@@ -3027,17 +3057,24 @@ export interface ConfigExtraInfo {
|
|
|
3027
3057
|
}
|
|
3028
3058
|
|
|
3029
3059
|
/**
|
|
3030
|
-
*
|
|
3060
|
+
* 高级过滤规则
|
|
3031
3061
|
*/
|
|
3032
|
-
export interface
|
|
3062
|
+
export interface AdvanceFilterRuleInfo {
|
|
3033
3063
|
/**
|
|
3034
|
-
*
|
|
3064
|
+
* 过滤字段
|
|
3065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3035
3066
|
*/
|
|
3036
|
-
|
|
3067
|
+
Key: string
|
|
3037
3068
|
/**
|
|
3038
|
-
*
|
|
3069
|
+
* 过滤规则,0:等于,1:字段存在,2:字段不存在
|
|
3070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3039
3071
|
*/
|
|
3040
|
-
|
|
3072
|
+
Rule: number
|
|
3073
|
+
/**
|
|
3074
|
+
* 过滤值
|
|
3075
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3076
|
+
*/
|
|
3077
|
+
Value?: string
|
|
3041
3078
|
}
|
|
3042
3079
|
|
|
3043
3080
|
/**
|
|
@@ -3433,46 +3470,17 @@ export interface DescribeExportsRequest {
|
|
|
3433
3470
|
}
|
|
3434
3471
|
|
|
3435
3472
|
/**
|
|
3436
|
-
*
|
|
3473
|
+
* CreateMachineGroup返回参数结构体
|
|
3437
3474
|
*/
|
|
3438
|
-
export interface
|
|
3439
|
-
/**
|
|
3440
|
-
* machineGroupName
|
|
3441
|
-
- 按照【机器组名称】进行过滤。
|
|
3442
|
-
- 类型:String
|
|
3443
|
-
- 必选:否
|
|
3444
|
-
|
|
3445
|
-
machineGroupId
|
|
3446
|
-
- 按照【机器组ID】进行过滤。
|
|
3447
|
-
- 类型:String
|
|
3448
|
-
- 必选:否
|
|
3449
|
-
|
|
3450
|
-
osType
|
|
3451
|
-
- 按照【操作系统类型】进行过滤。
|
|
3452
|
-
- 类型:Int
|
|
3453
|
-
- 必选:否
|
|
3454
|
-
|
|
3455
|
-
tagKey
|
|
3456
|
-
- 按照【标签键】进行过滤。
|
|
3457
|
-
- 类型:String
|
|
3458
|
-
- 必选:否
|
|
3459
|
-
|
|
3460
|
-
tag:tagKey
|
|
3461
|
-
- 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。
|
|
3462
|
-
- 类型:String
|
|
3463
|
-
- 必选:否
|
|
3464
|
-
|
|
3465
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|
3466
|
-
*/
|
|
3467
|
-
Filters?: Array<Filter>
|
|
3475
|
+
export interface CreateMachineGroupResponse {
|
|
3468
3476
|
/**
|
|
3469
|
-
*
|
|
3477
|
+
* 机器组ID
|
|
3470
3478
|
*/
|
|
3471
|
-
|
|
3479
|
+
GroupId?: string
|
|
3472
3480
|
/**
|
|
3473
|
-
*
|
|
3481
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3474
3482
|
*/
|
|
3475
|
-
|
|
3483
|
+
RequestId?: string
|
|
3476
3484
|
}
|
|
3477
3485
|
|
|
3478
3486
|
/**
|
|
@@ -3708,6 +3716,49 @@ export interface QueryRangeMetricResponse {
|
|
|
3708
3716
|
RequestId?: string
|
|
3709
3717
|
}
|
|
3710
3718
|
|
|
3719
|
+
/**
|
|
3720
|
+
* DescribeMachineGroups请求参数结构体
|
|
3721
|
+
*/
|
|
3722
|
+
export interface DescribeMachineGroupsRequest {
|
|
3723
|
+
/**
|
|
3724
|
+
* machineGroupName
|
|
3725
|
+
- 按照【机器组名称】进行过滤。
|
|
3726
|
+
- 类型:String
|
|
3727
|
+
- 必选:否
|
|
3728
|
+
|
|
3729
|
+
machineGroupId
|
|
3730
|
+
- 按照【机器组ID】进行过滤。
|
|
3731
|
+
- 类型:String
|
|
3732
|
+
- 必选:否
|
|
3733
|
+
|
|
3734
|
+
osType
|
|
3735
|
+
- 按照【操作系统类型】进行过滤。
|
|
3736
|
+
- 类型:Int
|
|
3737
|
+
- 必选:否
|
|
3738
|
+
|
|
3739
|
+
tagKey
|
|
3740
|
+
- 按照【标签键】进行过滤。
|
|
3741
|
+
- 类型:String
|
|
3742
|
+
- 必选:否
|
|
3743
|
+
|
|
3744
|
+
tag:tagKey
|
|
3745
|
+
- 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。
|
|
3746
|
+
- 类型:String
|
|
3747
|
+
- 必选:否
|
|
3748
|
+
|
|
3749
|
+
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|
3750
|
+
*/
|
|
3751
|
+
Filters?: Array<Filter>
|
|
3752
|
+
/**
|
|
3753
|
+
* 分页的偏移量,默认值为0
|
|
3754
|
+
*/
|
|
3755
|
+
Offset?: number
|
|
3756
|
+
/**
|
|
3757
|
+
* 分页单页的限制数目,默认值为20,最大值100
|
|
3758
|
+
*/
|
|
3759
|
+
Limit?: number
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3711
3762
|
/**
|
|
3712
3763
|
* DeleteIndex请求参数结构体
|
|
3713
3764
|
*/
|
|
@@ -4639,13 +4690,77 @@ export interface CreateShipperResponse {
|
|
|
4639
4690
|
}
|
|
4640
4691
|
|
|
4641
4692
|
/**
|
|
4642
|
-
*
|
|
4693
|
+
* 告警历史详情
|
|
4643
4694
|
*/
|
|
4644
|
-
export interface
|
|
4695
|
+
export interface AlertHistoryRecord {
|
|
4645
4696
|
/**
|
|
4646
|
-
*
|
|
4697
|
+
* 告警历史ID
|
|
4647
4698
|
*/
|
|
4648
|
-
|
|
4699
|
+
RecordId: string
|
|
4700
|
+
/**
|
|
4701
|
+
* 告警策略ID
|
|
4702
|
+
*/
|
|
4703
|
+
AlarmId: string
|
|
4704
|
+
/**
|
|
4705
|
+
* 告警策略名称
|
|
4706
|
+
*/
|
|
4707
|
+
AlarmName: string
|
|
4708
|
+
/**
|
|
4709
|
+
* 监控对象ID
|
|
4710
|
+
*/
|
|
4711
|
+
TopicId: string
|
|
4712
|
+
/**
|
|
4713
|
+
* 监控对象名称
|
|
4714
|
+
*/
|
|
4715
|
+
TopicName: string
|
|
4716
|
+
/**
|
|
4717
|
+
* 监控对象所属地域
|
|
4718
|
+
*/
|
|
4719
|
+
Region: string
|
|
4720
|
+
/**
|
|
4721
|
+
* 触发条件
|
|
4722
|
+
*/
|
|
4723
|
+
Trigger: string
|
|
4724
|
+
/**
|
|
4725
|
+
* 持续周期,持续满足触发条件TriggerCount个周期后,再进行告警
|
|
4726
|
+
*/
|
|
4727
|
+
TriggerCount: number
|
|
4728
|
+
/**
|
|
4729
|
+
* 告警通知发送频率,单位为分钟
|
|
4730
|
+
*/
|
|
4731
|
+
AlarmPeriod: number
|
|
4732
|
+
/**
|
|
4733
|
+
* 通知渠道组
|
|
4734
|
+
*/
|
|
4735
|
+
Notices: Array<AlertHistoryNotice>
|
|
4736
|
+
/**
|
|
4737
|
+
* 告警持续时间,单位为分钟
|
|
4738
|
+
*/
|
|
4739
|
+
Duration: number
|
|
4740
|
+
/**
|
|
4741
|
+
* 告警状态,0代表未恢复,1代表已恢复,2代表已失效
|
|
4742
|
+
*/
|
|
4743
|
+
Status: number
|
|
4744
|
+
/**
|
|
4745
|
+
* 告警发生时间,毫秒级Unix时间戳
|
|
4746
|
+
*/
|
|
4747
|
+
CreateTime: number
|
|
4748
|
+
/**
|
|
4749
|
+
* 告警分组触发时对应的分组信息
|
|
4750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4751
|
+
*/
|
|
4752
|
+
GroupTriggerCondition?: Array<GroupTriggerConditionInfo>
|
|
4753
|
+
/**
|
|
4754
|
+
* 告警级别,0代表警告(Warn),1代表提醒(Info),2代表紧急 (Critical)
|
|
4755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4756
|
+
*/
|
|
4757
|
+
AlarmLevel?: number
|
|
4758
|
+
/**
|
|
4759
|
+
* 监控对象类型。
|
|
4760
|
+
0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
|
|
4761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4762
|
+
*/
|
|
4763
|
+
MonitorObjectType?: number
|
|
4649
4764
|
}
|
|
4650
4765
|
|
|
4651
4766
|
/**
|
|
@@ -5532,103 +5647,17 @@ export interface RuleInfo {
|
|
|
5532
5647
|
}
|
|
5533
5648
|
|
|
5534
5649
|
/**
|
|
5535
|
-
*
|
|
5650
|
+
* CreateConfig返回参数结构体
|
|
5536
5651
|
*/
|
|
5537
|
-
export interface
|
|
5538
|
-
/**
|
|
5539
|
-
* 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾
|
|
5540
|
-
*/
|
|
5541
|
-
Name: string
|
|
5542
|
-
/**
|
|
5543
|
-
* 日志主题id
|
|
5544
|
-
*/
|
|
5545
|
-
TopicId: string
|
|
5546
|
-
/**
|
|
5547
|
-
* 日志源类型。支持 container_stdout:容器标准输出;container_file:容器文件路径;host_file:节点文件路径。
|
|
5548
|
-
*/
|
|
5549
|
-
Type: string
|
|
5550
|
-
/**
|
|
5551
|
-
* 采集的日志类型,默认为minimalist_log。支持以下类型:
|
|
5552
|
-
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
5553
|
-
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
5554
|
-
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
5555
|
-
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
5556
|
-
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
5557
|
-
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
5558
|
-
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
|
|
5559
|
-
*/
|
|
5560
|
-
LogType: string
|
|
5561
|
-
/**
|
|
5562
|
-
* 采集配置标记。
|
|
5563
|
-
- 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置
|
|
5564
|
-
|
|
5565
|
-
*/
|
|
5566
|
-
ConfigFlag: string
|
|
5567
|
-
/**
|
|
5568
|
-
* 日志集id
|
|
5569
|
-
*/
|
|
5570
|
-
LogsetId: string
|
|
5571
|
-
/**
|
|
5572
|
-
* 日志集name
|
|
5573
|
-
*/
|
|
5574
|
-
LogsetName: string
|
|
5575
|
-
/**
|
|
5576
|
-
* 日志主题名称
|
|
5577
|
-
*/
|
|
5578
|
-
TopicName: string
|
|
5579
|
-
/**
|
|
5580
|
-
* 节点文件路径类型配置。
|
|
5581
|
-
*/
|
|
5582
|
-
HostFile?: HostFileInfo
|
|
5583
|
-
/**
|
|
5584
|
-
* 容器文件路径类型配置。
|
|
5585
|
-
*/
|
|
5586
|
-
ContainerFile?: ContainerFileInfo
|
|
5587
|
-
/**
|
|
5588
|
-
* 容器标准输出类型配置。
|
|
5589
|
-
*/
|
|
5590
|
-
ContainerStdout?: ContainerStdoutInfo
|
|
5591
|
-
/**
|
|
5592
|
-
* 日志格式化方式,用于容器采集场景。
|
|
5593
|
-
- stdout-docker-json:用于docker容器采集场景
|
|
5594
|
-
- stdout-containerd:用于containerd容器采集场景
|
|
5595
|
-
*/
|
|
5596
|
-
LogFormat?: string
|
|
5597
|
-
/**
|
|
5598
|
-
* 提取规则,如果设置了ExtractRule,则必须设置LogType
|
|
5599
|
-
*/
|
|
5600
|
-
ExtractRule?: ExtractRuleInfo
|
|
5601
|
-
/**
|
|
5602
|
-
* 采集黑名单路径列表
|
|
5603
|
-
*/
|
|
5604
|
-
ExcludePaths?: Array<ExcludePathInfo>
|
|
5605
|
-
/**
|
|
5606
|
-
* 组合解析采集规则,用于复杂场景下的日志采集。
|
|
5607
|
-
- 取值参考:[使用组合解析提取模式采集日志
|
|
5608
|
-
](https://cloud.tencent.com/document/product/614/61310)
|
|
5609
|
-
*/
|
|
5610
|
-
UserDefineRule?: string
|
|
5611
|
-
/**
|
|
5612
|
-
* 绑定的机器组id
|
|
5613
|
-
*/
|
|
5614
|
-
GroupId?: string
|
|
5615
|
-
/**
|
|
5616
|
-
* 绑定的机器组id列表
|
|
5617
|
-
*/
|
|
5618
|
-
GroupIds?: Array<string>
|
|
5652
|
+
export interface CreateConfigResponse {
|
|
5619
5653
|
/**
|
|
5620
|
-
*
|
|
5654
|
+
* 采集配置ID
|
|
5621
5655
|
*/
|
|
5622
|
-
|
|
5656
|
+
ConfigId?: string
|
|
5623
5657
|
/**
|
|
5624
|
-
*
|
|
5625
|
-
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
5626
|
-
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
5627
|
-
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
5628
|
-
- ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0
|
|
5629
|
-
|
|
5658
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5630
5659
|
*/
|
|
5631
|
-
|
|
5660
|
+
RequestId?: string
|
|
5632
5661
|
}
|
|
5633
5662
|
|
|
5634
5663
|
/**
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
AlterDMSPartitionResponse,
|
|
192
192
|
DescribeTableResponse,
|
|
193
193
|
DetachUserPolicyResponse,
|
|
194
|
-
|
|
194
|
+
AnalysisTaskResults,
|
|
195
195
|
UnbindWorkGroupsFromUserResponse,
|
|
196
196
|
AlterDMSDatabaseResponse,
|
|
197
197
|
CancelNotebookSessionStatementResponse,
|
|
@@ -216,6 +216,7 @@ import {
|
|
|
216
216
|
DeleteDataEngineResponse,
|
|
217
217
|
CosPermission,
|
|
218
218
|
IpPortPair,
|
|
219
|
+
DescribeTasksAnalysisResponse,
|
|
219
220
|
RestartDataEngineResponse,
|
|
220
221
|
SwitchDataEngineImageResponse,
|
|
221
222
|
DescribeSparkAppTasksResponse,
|
|
@@ -266,6 +267,7 @@ import {
|
|
|
266
267
|
CreateImportTaskResponse,
|
|
267
268
|
SmartOptimizerIndexPolicy,
|
|
268
269
|
RenewDataEngineRequest,
|
|
270
|
+
DescribeTasksAnalysisRequest,
|
|
269
271
|
DescribeScriptsResponse,
|
|
270
272
|
UnbindWorkGroupsFromUserRequest,
|
|
271
273
|
ViewResponseInfo,
|
|
@@ -349,6 +351,7 @@ import {
|
|
|
349
351
|
UnlockMetaDataRequest,
|
|
350
352
|
CreateSparkAppTaskResponse,
|
|
351
353
|
ListTaskJobLogDetailRequest,
|
|
354
|
+
SparkSessionBatchLogOperate,
|
|
352
355
|
RevokeDLCCatalogAccessResponse,
|
|
353
356
|
DeleteCHDFSBindingProductRequest,
|
|
354
357
|
RenewDataEngineResponse,
|
|
@@ -1616,6 +1619,16 @@ export class Client extends AbstractClient {
|
|
|
1616
1619
|
return this.request("RegisterThirdPartyAccessUser", req, cb)
|
|
1617
1620
|
}
|
|
1618
1621
|
|
|
1622
|
+
/**
|
|
1623
|
+
* 该接口用于洞察分析列表
|
|
1624
|
+
*/
|
|
1625
|
+
async DescribeTasksAnalysis(
|
|
1626
|
+
req: DescribeTasksAnalysisRequest,
|
|
1627
|
+
cb?: (error: string, rep: DescribeTasksAnalysisResponse) => void
|
|
1628
|
+
): Promise<DescribeTasksAnalysisResponse> {
|
|
1629
|
+
return this.request("DescribeTasksAnalysis", req, cb)
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1619
1632
|
/**
|
|
1620
1633
|
* 从工作组中删除用户
|
|
1621
1634
|
*/
|