public static class DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
List<DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListAttachLabels> |
attachLabels
The tags of the metric import task.
|
Integer |
collectInterval
The interval at which the CloudMonitor agent collects host monitoring data.
|
String |
collectTargetEndpoint
The URL of the destination from which the CloudMonitor agent collects host monitoring data.
|
String |
collectTargetPath
The relative path from which the CloudMonitor agent collects monitoring data.
|
String |
collectTargetType
The type of the monitoring data.
|
Integer |
collectTimout
The timeout period during which the CloudMonitor agent collects host monitoring data.
|
String |
createTime
The timestamp when the metric import task was created.
|
String |
description
The description of the metric import task.
|
String |
extraInfo
The additional information of the instance.
|
String |
groupId
The ID of the application group.
|
List<String> |
instances
The instances where monitoring data is collected in batches.
|
String |
logFilePath
example:
C:\UserData\log\*.Log
|
String |
logProcess
The method that is used to aggregate on-premises log data.
|
String |
logSample
The sample on-premises log.
|
String |
logSplit
The result that is returned after on-premises log data is split based on the specified matching mode.
|
List<DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListMatchExpress> |
matchExpress
The conditions that are used to match the instances in the application group.
|
String |
matchExpressRelation
The relationship between the conditions that are used to filter metric import tasks.
|
String |
namespace
The namespace to which the host belongs.
|
String |
networkType
The network type of the host.
|
String |
SLSProcess
The configurations of the logs that are imported from Log Service.
|
DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListSLSProcessConfig |
SLSProcessConfig
The configurations of the logs that are imported from Log Service.
|
String |
targetUserId
The ID of the member account.
|
String |
taskId
The ID of the metric import task.
|
String |
taskName
The name of the metric import task.
|
String |
taskType
The type of the metric import task.
|
String |
uploadRegion
The region where the host resides.
|
String |
YARMConfig
The configuration file of the Alibaba Cloud service that you want to monitor by using Hybrid Cloud Monitoring.
|
| 构造器和说明 |
|---|
DescribeHybridMonitorTaskListResponseBodyTaskList() |
@NameInMap(value="AttachLabels") public List<DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListAttachLabels> attachLabels
The tags of the metric import task.
@NameInMap(value="CollectInterval") public Integer collectInterval
The interval at which the CloudMonitor agent collects host monitoring data. Valid values:
Unit: seconds.
example:60
@NameInMap(value="CollectTargetEndpoint") public String collectTargetEndpoint
The URL of the destination from which the CloudMonitor agent collects host monitoring data.
example:@NameInMap(value="CollectTargetPath") public String collectTargetPath
The relative path from which the CloudMonitor agent collects monitoring data.
example:/metrics
@NameInMap(value="CollectTargetType") public String collectTargetType
The type of the monitoring data. Valid values: Spring, Tomcat, Nginx, Tengine, JVM, Redis, and MySQL.
example:nginx
@NameInMap(value="CollectTimout") public Integer collectTimout
The timeout period during which the CloudMonitor agent collects host monitoring data. Valid values:
Unit: seconds.
example:15
@NameInMap(value="CreateTime") public String createTime
The timestamp when the metric import task was created.
Unit: milliseconds.
example:1639382496000
@NameInMap(value="Description") public String description
The description of the metric import task.
example:aliyun
@NameInMap(value="ExtraInfo") public String extraInfo
The additional information of the instance.
example:test
@NameInMap(value="GroupId") public String groupId
The ID of the application group.
example:3607****
@NameInMap(value="Instances") public List<String> instances
The instances where monitoring data is collected in batches.
@NameInMap(value="LogFilePath") public String logFilePath
C:\UserData\log\*.Log
@NameInMap(value="LogProcess") public String logProcess
The method that is used to aggregate on-premises log data.
example:[{"metric": "metric1","filters": [{"column": "filed2","type": "include","values": ["222222"]}],"groupBys": [{"column": "filed3","name": "filed3"}],"calculates": [{"column": "field1","name": "avg","type": "avg"}]},{"metric": "metric2","filters": [{"column": "field1","type": "include","values": ["11111"]}],"groupBys": [{"column": "filed2","name": "filed2"}],"calculates": [{"column": "field1","name": "avg","type": "avg"}]}]
@NameInMap(value="LogSample") public String logSample
The sample on-premises log.
example:{"logContent":"100.116.134.26 1119 - [13/Aug/2019:16:55:46 +0800] POST metrichub-cn-hongkong.aliyun.com /agent/metrics/putLines 200 0 \"-\" \"127.0.0.1:7001\" \"Go-http-client/1.1\" \"-\" \"-\" \"0a98a21a15656865460656276e\"","addData":{"field1":["1119","1119"],"filed2":["POSTx","POST"],"filed3":["true","200"]}}
@NameInMap(value="LogSplit") public String logSplit
The result that is returned after on-premises log data is split based on the specified matching mode.
example:The matching modes of on-premises log data include full regex mode, delimiter mode, and JSON mode.
{"type": "regex","regex": "\\d+\\.\\d+\\.\\d+\\.\\d+\\s+(\\d+)\\s+\\S+\\s+[\\d+/\\S+/\\d+:\\d+:\\d+:\\d+\\s+\\+\\d+\\]\\s+(\\S+)\\s+\\S+\\s+/\\S+/\\S+/\\S+\\s+(\\d+)","columns": [{"name": "field1"},{"name": "filed2","translate": {"default": "-","mappings": [{"from": "(\\w+)","to": "$1x","type": "regex"}]}},{"name": "filed3","translate": {"default": "-","mappings": [{"from": "NumberRange(100,300)","to": "true","type": "function"}]}}]}
@NameInMap(value="MatchExpress") public List<DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListMatchExpress> matchExpress
The conditions that are used to match the instances in the application group.
@NameInMap(value="MatchExpressRelation") public String matchExpressRelation
The relationship between the conditions that are used to filter metric import tasks. Valid values:
or
@NameInMap(value="Namespace") public String namespace
The namespace to which the host belongs.
example:aliyun
@NameInMap(value="NetworkType") public String networkType
The network type of the host. Valid values:
vpcInternetvpc
@NameInMap(value="SLSProcess") public String SLSProcess
The configurations of the logs that are imported from Log Service.
example:{"express": [],"filter": {"filters": [{"key": "task_type","operator": "=","value": "1"}]},"groupby": [{"alias": "isp","key": "isp","sqlKey": "t.isp","valueKey": "isp"}],"interval": 60,"labels": [{"name": "cms_app","type": 0,"value": "sitemonitor"}],"statistics": [{"alias": "http_dns_time_avg","function": "avg","key": "http_dns_time"}]}
@NameInMap(value="SLSProcessConfig") public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListSLSProcessConfig SLSProcessConfig
The configurations of the logs that are imported from Log Service.
This parameter is returned only if the
TaskTypeparameter is set toaliyun_sls.
@NameInMap(value="TargetUserId") public String targetUserId
The ID of the member account.
example:This parameter is displayed only when you call this operation by using a management account.
120886317861****
@NameInMap(value="TaskId") public String taskId
The ID of the metric import task.
example:36****
@NameInMap(value="TaskName") public String taskName
The name of the metric import task.
example:aliyun_task
@NameInMap(value="TaskType") public String taskType
The type of the metric import task. Valid values:
aliyun_sls
@NameInMap(value="UploadRegion") public String uploadRegion
The region where the host resides.
example:cn-hangzhou
@NameInMap(value="YARMConfig") public String YARMConfig
The configuration file of the Alibaba Cloud service that you want to monitor by using Hybrid Cloud Monitoring.
products:- namespace: acs_ecs_dashboard metric_info: - metric_list: - cpu_total
public DescribeHybridMonitorTaskListResponseBodyTaskList()
public static DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList build(Map<String,?> map) throws Exception
Exceptionpublic DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setAttachLabels(List<DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListAttachLabels> attachLabels)
public List<DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListAttachLabels> getAttachLabels()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setCollectInterval(Integer collectInterval)
public Integer getCollectInterval()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setCollectTargetEndpoint(String collectTargetEndpoint)
public String getCollectTargetEndpoint()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setCollectTargetPath(String collectTargetPath)
public String getCollectTargetPath()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setCollectTargetType(String collectTargetType)
public String getCollectTargetType()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setCollectTimout(Integer collectTimout)
public Integer getCollectTimout()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setCreateTime(String createTime)
public String getCreateTime()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setDescription(String description)
public String getDescription()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setExtraInfo(String extraInfo)
public String getExtraInfo()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setGroupId(String groupId)
public String getGroupId()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setInstances(List<String> instances)
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setLogFilePath(String logFilePath)
public String getLogFilePath()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setLogProcess(String logProcess)
public String getLogProcess()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setLogSample(String logSample)
public String getLogSample()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setLogSplit(String logSplit)
public String getLogSplit()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setMatchExpress(List<DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListMatchExpress> matchExpress)
public List<DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListMatchExpress> getMatchExpress()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setMatchExpressRelation(String matchExpressRelation)
public String getMatchExpressRelation()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setNamespace(String namespace)
public String getNamespace()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setNetworkType(String networkType)
public String getNetworkType()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setSLSProcess(String SLSProcess)
public String getSLSProcess()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setSLSProcessConfig(DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListSLSProcessConfig SLSProcessConfig)
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskListSLSProcessConfig getSLSProcessConfig()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setTargetUserId(String targetUserId)
public String getTargetUserId()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setTaskId(String taskId)
public String getTaskId()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setTaskName(String taskName)
public String getTaskName()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setTaskType(String taskType)
public String getTaskType()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setUploadRegion(String uploadRegion)
public String getUploadRegion()
public DescribeHybridMonitorTaskListResponseBody.DescribeHybridMonitorTaskListResponseBodyTaskList setYARMConfig(String YARMConfig)
public String getYARMConfig()
Copyright © 2026. All rights reserved.