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

com.pulumi.gcp.monitoring.kotlin.inputs.UptimeCheckConfigResourceGroupArgs.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.monitoring.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.monitoring.inputs.UptimeCheckConfigResourceGroupArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property groupId The group of resources being monitored. Should be the `name` of a group
 * @property resourceType The resource type of the group members.
 * Possible values are: `RESOURCE_TYPE_UNSPECIFIED`, `INSTANCE`, `AWS_ELB_LOAD_BALANCER`.
 */
public data class UptimeCheckConfigResourceGroupArgs(
    public val groupId: Output? = null,
    public val resourceType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.monitoring.inputs.UptimeCheckConfigResourceGroupArgs =
        com.pulumi.gcp.monitoring.inputs.UptimeCheckConfigResourceGroupArgs.builder()
            .groupId(groupId?.applyValue({ args0 -> args0 }))
            .resourceType(resourceType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UptimeCheckConfigResourceGroupArgs].
 */
@PulumiTagMarker
public class UptimeCheckConfigResourceGroupArgsBuilder internal constructor() {
    private var groupId: Output? = null

    private var resourceType: Output? = null

    /**
     * @param value The group of resources being monitored. Should be the `name` of a group
     */
    @JvmName("nupyxyowcmmbynoy")
    public suspend fun groupId(`value`: Output) {
        this.groupId = value
    }

    /**
     * @param value The resource type of the group members.
     * Possible values are: `RESOURCE_TYPE_UNSPECIFIED`, `INSTANCE`, `AWS_ELB_LOAD_BALANCER`.
     */
    @JvmName("vfsggxxsilcdfitq")
    public suspend fun resourceType(`value`: Output) {
        this.resourceType = value
    }

    /**
     * @param value The group of resources being monitored. Should be the `name` of a group
     */
    @JvmName("nojkyayhjxkfeaau")
    public suspend fun groupId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.groupId = mapped
    }

    /**
     * @param value The resource type of the group members.
     * Possible values are: `RESOURCE_TYPE_UNSPECIFIED`, `INSTANCE`, `AWS_ELB_LOAD_BALANCER`.
     */
    @JvmName("ndqtlaqflifqyvyg")
    public suspend fun resourceType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceType = mapped
    }

    internal fun build(): UptimeCheckConfigResourceGroupArgs = UptimeCheckConfigResourceGroupArgs(
        groupId = groupId,
        resourceType = resourceType,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy