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

com.pulumi.azure.portal.kotlin.outputs.GetDashboardResult.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.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * A collection of values returned by getDashboard.
 * @property dashboardProperties JSON data representing dashboard body.
 * @property displayName
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The Azure Region where the shared Azure Portal dashboard exists.
 * @property name
 * @property resourceGroupName
 * @property tags A mapping of tags assigned to the shared Azure Portal dashboard.
 */
public data class GetDashboardResult(
    public val dashboardProperties: String,
    public val displayName: String? = null,
    public val id: String,
    public val location: String,
    public val name: String? = null,
    public val resourceGroupName: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.portal.outputs.GetDashboardResult): GetDashboardResult = GetDashboardResult(
            dashboardProperties = javaType.dashboardProperties(),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            resourceGroupName = javaType.resourceGroupName(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy