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

com.pulumi.azure.hdinsight.kotlin.inputs.KafkaClusterRestProxyArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.hdinsight.kotlin.inputs

import com.pulumi.azure.hdinsight.inputs.KafkaClusterRestProxyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property securityGroupId The Azure Active Directory Security Group ID. Changing this forces a new resource to be created.
 * @property securityGroupName The Azure Active Directory Security Group name. Changing this forces a new resource to be created.
 * > **Note:** The `security_group_name` property will be Required in version 3.0 of the AzureRM Provider.
 */
public data class KafkaClusterRestProxyArgs(
    public val securityGroupId: Output,
    public val securityGroupName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.KafkaClusterRestProxyArgs =
        com.pulumi.azure.hdinsight.inputs.KafkaClusterRestProxyArgs.builder()
            .securityGroupId(securityGroupId.applyValue({ args0 -> args0 }))
            .securityGroupName(securityGroupName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KafkaClusterRestProxyArgs].
 */
@PulumiTagMarker
public class KafkaClusterRestProxyArgsBuilder internal constructor() {
    private var securityGroupId: Output? = null

    private var securityGroupName: Output? = null

    /**
     * @param value The Azure Active Directory Security Group ID. Changing this forces a new resource to be created.
     */
    @JvmName("ceysfjricaaurame")
    public suspend fun securityGroupId(`value`: Output) {
        this.securityGroupId = value
    }

    /**
     * @param value The Azure Active Directory Security Group name. Changing this forces a new resource to be created.
     * > **Note:** The `security_group_name` property will be Required in version 3.0 of the AzureRM Provider.
     */
    @JvmName("kptwbydljvxtoifo")
    public suspend fun securityGroupName(`value`: Output) {
        this.securityGroupName = value
    }

    /**
     * @param value The Azure Active Directory Security Group ID. Changing this forces a new resource to be created.
     */
    @JvmName("dwkqglluvmgtnhgp")
    public suspend fun securityGroupId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupId = mapped
    }

    /**
     * @param value The Azure Active Directory Security Group name. Changing this forces a new resource to be created.
     * > **Note:** The `security_group_name` property will be Required in version 3.0 of the AzureRM Provider.
     */
    @JvmName("fdhksosdykwlewiq")
    public suspend fun securityGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupName = mapped
    }

    internal fun build(): KafkaClusterRestProxyArgs = KafkaClusterRestProxyArgs(
        securityGroupId = securityGroupId ?: throw PulumiNullFieldException("securityGroupId"),
        securityGroupName = securityGroupName ?: throw PulumiNullFieldException("securityGroupName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy