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

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

package com.pulumi.azure.portal.kotlin.inputs

import com.pulumi.azure.portal.inputs.GetDashboardPlainArgs.builder
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

/**
 * A collection of arguments for invoking getDashboard.
 * @property dashboardProperties JSON data representing dashboard body.
 * @property displayName Specifies the display name of the shared Azure Portal Dashboard.
 * @property name Specifies the name of the shared Azure Portal Dashboard.
 * @property resourceGroupName Specifies the name of the resource group the shared Azure Portal Dashboard is located in.
 */
public data class GetDashboardPlainArgs(
    public val dashboardProperties: String? = null,
    public val displayName: String? = null,
    public val name: String? = null,
    public val resourceGroupName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.portal.inputs.GetDashboardPlainArgs =
        com.pulumi.azure.portal.inputs.GetDashboardPlainArgs.builder()
            .dashboardProperties(dashboardProperties?.let({ args0 -> args0 }))
            .displayName(displayName?.let({ args0 -> args0 }))
            .name(name?.let({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetDashboardPlainArgs].
 */
@PulumiTagMarker
public class GetDashboardPlainArgsBuilder internal constructor() {
    private var dashboardProperties: String? = null

    private var displayName: String? = null

    private var name: String? = null

    private var resourceGroupName: String? = null

    /**
     * @param value JSON data representing dashboard body.
     */
    @JvmName("mprebquscmripcif")
    public suspend fun dashboardProperties(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.dashboardProperties = mapped
    }

    /**
     * @param value Specifies the display name of the shared Azure Portal Dashboard.
     */
    @JvmName("irrjbrlhuwxfsvdj")
    public suspend fun displayName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.displayName = mapped
    }

    /**
     * @param value Specifies the name of the shared Azure Portal Dashboard.
     */
    @JvmName("skgapboxrjwkpwty")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.name = mapped
    }

    /**
     * @param value Specifies the name of the resource group the shared Azure Portal Dashboard is located in.
     */
    @JvmName("gohvhfiducfbjvns")
    public suspend fun resourceGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    internal fun build(): GetDashboardPlainArgs = GetDashboardPlainArgs(
        dashboardProperties = dashboardProperties,
        displayName = displayName,
        name = name,
        resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy