All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.alicloud.arms.kotlin.EnvPodMonitorArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.arms.kotlin

import com.pulumi.alicloud.arms.EnvPodMonitorArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Provides a ARMS Env Pod Monitor resource. PodMonitor for the arms environment.
 * For information about ARMS Env Pod Monitor and how to use it, see [What is Env Pod Monitor](https://www.alibabacloud.com/help/en/arms/developer-reference/api-arms-2019-08-08-createenvpodmonitor).
 * > **NOTE:** Available since v1.212.0.
 * ## Import
 * ARMS Env Pod Monitor can be imported using the id, e.g.
 * ```sh
 * $ pulumi import alicloud:arms/envPodMonitor:EnvPodMonitor example ::
 * ```
 * @property aliyunLang Language environment, default is Chinese zh | en.
 * @property configYaml Yaml configuration string.
 * @property environmentId Environment id.
 */
public data class EnvPodMonitorArgs(
    public val aliyunLang: Output? = null,
    public val configYaml: Output? = null,
    public val environmentId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.alicloud.arms.EnvPodMonitorArgs =
        com.pulumi.alicloud.arms.EnvPodMonitorArgs.builder()
            .aliyunLang(aliyunLang?.applyValue({ args0 -> args0 }))
            .configYaml(configYaml?.applyValue({ args0 -> args0 }))
            .environmentId(environmentId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EnvPodMonitorArgs].
 */
@PulumiTagMarker
public class EnvPodMonitorArgsBuilder internal constructor() {
    private var aliyunLang: Output? = null

    private var configYaml: Output? = null

    private var environmentId: Output? = null

    /**
     * @param value Language environment, default is Chinese zh | en.
     */
    @JvmName("acxtkrpqpcdybkym")
    public suspend fun aliyunLang(`value`: Output) {
        this.aliyunLang = value
    }

    /**
     * @param value Yaml configuration string.
     */
    @JvmName("hhqyrsywoldmtdrl")
    public suspend fun configYaml(`value`: Output) {
        this.configYaml = value
    }

    /**
     * @param value Environment id.
     */
    @JvmName("krfwminsemyaljom")
    public suspend fun environmentId(`value`: Output) {
        this.environmentId = value
    }

    /**
     * @param value Language environment, default is Chinese zh | en.
     */
    @JvmName("oysjhtrlntmsuucm")
    public suspend fun aliyunLang(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.aliyunLang = mapped
    }

    /**
     * @param value Yaml configuration string.
     */
    @JvmName("grsyuefjvtfipjtd")
    public suspend fun configYaml(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configYaml = mapped
    }

    /**
     * @param value Environment id.
     */
    @JvmName("mnhedgygpfgrfqby")
    public suspend fun environmentId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.environmentId = mapped
    }

    internal fun build(): EnvPodMonitorArgs = EnvPodMonitorArgs(
        aliyunLang = aliyunLang,
        configYaml = configYaml,
        environmentId = environmentId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy