Hybrid Monitor Sls Task Args
data class HybridMonitorSlsTaskArgs(val attachLabels: Output<List<HybridMonitorSlsTaskAttachLabelArgs>>? = null, val collectInterval: Output<Int>? = null, val collectTargetType: Output<String>? = null, val description: Output<String>? = null, val namespace: Output<String>? = null, val slsProcessConfig: Output<HybridMonitorSlsTaskSlsProcessConfigArgs>? = null, val taskName: Output<String>? = null) : ConvertibleToJava<HybridMonitorSlsTaskArgs>
Provides a Cloud Monitor Service Hybrid Monitor Sls Task resource. For information about Cloud Monitor Service Hybrid Monitor Sls Task and how to use it, see What is Hybrid Monitor Sls Task.
NOTE: Available since v1.179.0.
Import
Cloud Monitor Service Hybrid Monitor Sls Task can be imported using the id, e.g.
$ pulumi import alicloud:cms/hybridMonitorSlsTask:HybridMonitorSlsTask example <id>
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(attachLabels: Output<List<HybridMonitorSlsTaskAttachLabelArgs>>? = null, collectInterval: Output<Int>? = null, collectTargetType: Output<String>? = null, description: Output<String>? = null, namespace: Output<String>? = null, slsProcessConfig: Output<HybridMonitorSlsTaskSlsProcessConfigArgs>? = null, taskName: Output<String>? = null)
Properties
Link copied to clipboard
The label of the monitoring task. See attach_labels
below.
Link copied to clipboard
The interval at which metrics are collected. Valid values: 15
, 60
(default value). Unit: seconds.
Link copied to clipboard
The type of the collection target, enter the name of the Logstore group.
Link copied to clipboard
The description of the metric import task.
Link copied to clipboard
The configurations of the logs that are imported from Log Service. See sls_process_config
below.