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

com.pulumi.azure.hdinsight.kotlin.inputs.InteractiveQueryClusterExtensionArgs.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.InteractiveQueryClusterExtensionArgs.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 logAnalyticsWorkspaceId The workspace ID of the log analytics extension.
 * @property primaryKey The workspace key of the log analytics extension.
 */
public data class InteractiveQueryClusterExtensionArgs(
    public val logAnalyticsWorkspaceId: Output,
    public val primaryKey: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterExtensionArgs =
        com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterExtensionArgs.builder()
            .logAnalyticsWorkspaceId(logAnalyticsWorkspaceId.applyValue({ args0 -> args0 }))
            .primaryKey(primaryKey.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InteractiveQueryClusterExtensionArgs].
 */
@PulumiTagMarker
public class InteractiveQueryClusterExtensionArgsBuilder internal constructor() {
    private var logAnalyticsWorkspaceId: Output? = null

    private var primaryKey: Output? = null

    /**
     * @param value The workspace ID of the log analytics extension.
     */
    @JvmName("rwmhagbekdmejqbk")
    public suspend fun logAnalyticsWorkspaceId(`value`: Output) {
        this.logAnalyticsWorkspaceId = value
    }

    /**
     * @param value The workspace key of the log analytics extension.
     */
    @JvmName("aklwrglopccmseis")
    public suspend fun primaryKey(`value`: Output) {
        this.primaryKey = value
    }

    /**
     * @param value The workspace ID of the log analytics extension.
     */
    @JvmName("cpdpcaachqblgkyr")
    public suspend fun logAnalyticsWorkspaceId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.logAnalyticsWorkspaceId = mapped
    }

    /**
     * @param value The workspace key of the log analytics extension.
     */
    @JvmName("wqniqjotdoaicnmi")
    public suspend fun primaryKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.primaryKey = mapped
    }

    internal fun build(): InteractiveQueryClusterExtensionArgs = InteractiveQueryClusterExtensionArgs(
        logAnalyticsWorkspaceId = logAnalyticsWorkspaceId ?: throw
            PulumiNullFieldException("logAnalyticsWorkspaceId"),
        primaryKey = primaryKey ?: throw PulumiNullFieldException("primaryKey"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy