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

com.pulumi.azurenative.migrate.kotlin.inputs.AppInsightMonitoringPropertiesArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.migrate.kotlin.inputs

import com.pulumi.azurenative.migrate.inputs.AppInsightMonitoringPropertiesArgs.builder
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Class for app insight monitoring properties.
 * @property appInsightsName Gets or sets the app insights name.
 * @property isEnabled Gets or sets a value indicating whether monitoring is enabled.
 * @property region Gets or sets the region.
 * @property resourceGroup Gets or sets the resource group of the resource.
 * @property secretStoreDetails
 * @property subscriptionId Gets or sets the subscription id of the resource.
 */
public data class AppInsightMonitoringPropertiesArgs(
    public val appInsightsName: Output? = null,
    public val isEnabled: Output? = null,
    public val region: Output? = null,
    public val resourceGroup: Output? = null,
    public val secretStoreDetails: Output? = null,
    public val subscriptionId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.AppInsightMonitoringPropertiesArgs =
        com.pulumi.azurenative.migrate.inputs.AppInsightMonitoringPropertiesArgs.builder()
            .appInsightsName(appInsightsName?.applyValue({ args0 -> args0 }))
            .isEnabled(isEnabled?.applyValue({ args0 -> args0 }))
            .region(region?.applyValue({ args0 -> args0 }))
            .resourceGroup(resourceGroup?.applyValue({ args0 -> args0 }))
            .secretStoreDetails(
                secretStoreDetails?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .subscriptionId(subscriptionId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AppInsightMonitoringPropertiesArgs].
 */
@PulumiTagMarker
public class AppInsightMonitoringPropertiesArgsBuilder internal constructor() {
    private var appInsightsName: Output? = null

    private var isEnabled: Output? = null

    private var region: Output? = null

    private var resourceGroup: Output? = null

    private var secretStoreDetails: Output? = null

    private var subscriptionId: Output? = null

    /**
     * @param value Gets or sets the app insights name.
     */
    @JvmName("rkbtsxxqyayiqrsg")
    public suspend fun appInsightsName(`value`: Output) {
        this.appInsightsName = value
    }

    /**
     * @param value Gets or sets a value indicating whether monitoring is enabled.
     */
    @JvmName("jnlcjiiascovctkc")
    public suspend fun isEnabled(`value`: Output) {
        this.isEnabled = value
    }

    /**
     * @param value Gets or sets the region.
     */
    @JvmName("djckftcomnfqgkbs")
    public suspend fun region(`value`: Output) {
        this.region = value
    }

    /**
     * @param value Gets or sets the resource group of the resource.
     */
    @JvmName("etbfqoxuqbaivuin")
    public suspend fun resourceGroup(`value`: Output) {
        this.resourceGroup = value
    }

    /**
     * @param value
     */
    @JvmName("igjiveanduycbacn")
    public suspend fun secretStoreDetails(`value`: Output) {
        this.secretStoreDetails = value
    }

    /**
     * @param value Gets or sets the subscription id of the resource.
     */
    @JvmName("jsvditspahyuqocw")
    public suspend fun subscriptionId(`value`: Output) {
        this.subscriptionId = value
    }

    /**
     * @param value Gets or sets the app insights name.
     */
    @JvmName("puvoxwopumyngyae")
    public suspend fun appInsightsName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appInsightsName = mapped
    }

    /**
     * @param value Gets or sets a value indicating whether monitoring is enabled.
     */
    @JvmName("nsiyfbtugaeqbvbh")
    public suspend fun isEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isEnabled = mapped
    }

    /**
     * @param value Gets or sets the region.
     */
    @JvmName("wbigqqhujgquvmxs")
    public suspend fun region(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.region = mapped
    }

    /**
     * @param value Gets or sets the resource group of the resource.
     */
    @JvmName("wtvmurhjyieqtbxg")
    public suspend fun resourceGroup(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroup = mapped
    }

    /**
     * @param value
     */
    @JvmName("mtsnwlomotlbigdi")
    public suspend fun secretStoreDetails(`value`: SecretStoreDetailsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secretStoreDetails = mapped
    }

    /**
     * @param argument
     */
    @JvmName("kbkurmrseskusfac")
    public suspend fun secretStoreDetails(argument: suspend SecretStoreDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = SecretStoreDetailsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.secretStoreDetails = mapped
    }

    /**
     * @param value Gets or sets the subscription id of the resource.
     */
    @JvmName("juiijwgbfbtotnqc")
    public suspend fun subscriptionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subscriptionId = mapped
    }

    internal fun build(): AppInsightMonitoringPropertiesArgs = AppInsightMonitoringPropertiesArgs(
        appInsightsName = appInsightsName,
        isEnabled = isEnabled,
        region = region,
        resourceGroup = resourceGroup,
        secretStoreDetails = secretStoreDetails,
        subscriptionId = subscriptionId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy