com.pulumi.alicloud.cms.kotlin.SlsGroupArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-alicloud-kotlin Show documentation
Show all versions of pulumi-alicloud-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.alicloud.cms.kotlin
import com.pulumi.alicloud.cms.SlsGroupArgs.builder
import com.pulumi.alicloud.cms.kotlin.inputs.SlsGroupSlsGroupConfigArgs
import com.pulumi.alicloud.cms.kotlin.inputs.SlsGroupSlsGroupConfigArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Provides a Cloud Monitor Service Sls Group resource.
* For information about Cloud Monitor Service Sls Group and how to use it, see [What is Sls Group](https://www.alibabacloud.com/help/doc-detail/28608.htm).
* > **NOTE:** Available since v1.171.0.
* ## Import
* Cloud Monitor Service Sls Group can be imported using the id, e.g.
* ```sh
* $ pulumi import alicloud:cms/slsGroup:SlsGroup example
* ```
* @property slsGroupConfigs The Config of the Sls Group. You can specify up to 25 Config. See `sls_group_config` below.
* @property slsGroupDescription The Description of the Sls Group.
* @property slsGroupName The name of the resource. The name must be `2` to `32` characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
*/
public data class SlsGroupArgs(
public val slsGroupConfigs: Output>? = null,
public val slsGroupDescription: Output? = null,
public val slsGroupName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.alicloud.cms.SlsGroupArgs =
com.pulumi.alicloud.cms.SlsGroupArgs.builder()
.slsGroupConfigs(
slsGroupConfigs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.slsGroupDescription(slsGroupDescription?.applyValue({ args0 -> args0 }))
.slsGroupName(slsGroupName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SlsGroupArgs].
*/
@PulumiTagMarker
public class SlsGroupArgsBuilder internal constructor() {
private var slsGroupConfigs: Output>? = null
private var slsGroupDescription: Output? = null
private var slsGroupName: Output? = null
/**
* @param value The Config of the Sls Group. You can specify up to 25 Config. See `sls_group_config` below.
*/
@JvmName("vyrgprsyukvnsjee")
public suspend fun slsGroupConfigs(`value`: Output>) {
this.slsGroupConfigs = value
}
@JvmName("ijxfopqwjxmyqbuk")
public suspend fun slsGroupConfigs(vararg values: Output) {
this.slsGroupConfigs = Output.all(values.asList())
}
/**
* @param values The Config of the Sls Group. You can specify up to 25 Config. See `sls_group_config` below.
*/
@JvmName("mhuxjfjndskrunjk")
public suspend fun slsGroupConfigs(values: List