HybridMonitorSlsTaskArgs

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>

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
val collectInterval: Output<Int>? = null

The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.

Link copied to clipboard
val collectTargetType: Output<String>? = null

The type of the collection target, enter the name of the Logstore group.

Link copied to clipboard
val description: Output<String>? = null

The description of the metric import task.

Link copied to clipboard
val namespace: Output<String>? = null

The name of the namespace.

Link copied to clipboard

The configurations of the logs that are imported from Log Service. See sls_process_config below.

Link copied to clipboard
val taskName: Output<String>? = null

The name of the metric import task, enter the name of the metric for logs imported from Log Service.

Functions

Link copied to clipboard
open override fun toJava(): HybridMonitorSlsTaskArgs