PrometheusMonitoringArgs

data class PrometheusMonitoringArgs(val clusterId: Output<String>? = null, val configYaml: Output<String>? = null, val status: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<PrometheusMonitoringArgs>

Provides a ARMS Prometheus Monitoring resource. Including serviceMonitor, podMonitor, customJob, probe and other four types of monitoring. For information about ARMS Prometheus Monitoring and how to use it, see What is Prometheus Monitoring.

NOTE: Available since v1.209.0.

Import

ARMS Prometheus Monitoring can be imported using the id, e.g.

$ pulumi import alicloud:arms/prometheusMonitoring:PrometheusMonitoring example <cluster_id>:<monitoring_name>:<type>

Constructors

Link copied to clipboard
constructor(clusterId: Output<String>? = null, configYaml: Output<String>? = null, status: Output<String>? = null, type: Output<String>? = null)

Properties

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

The ID of the prometheus instance.

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

Yaml configuration for monitoring.

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

Valid values: stop, run.

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

Monitoring type: serviceMonitor, podMonitor, customJob, probe.

Functions

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