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

com.pulumi.azure.dashboard.kotlin.outputs.GetGrafanaResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.dashboard.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getGrafana.
 * @property apiKeyEnabled Whether the api key setting of the Grafana instance is enabled.
 * @property autoGeneratedDomainNameLabelScope Scope for dns deterministic name hash calculation.
 * @property azureMonitorWorkspaceIntegrations Integrations for Azure Monitor Workspace.
 * @property deterministicOutboundIpEnabled Whether the Grafana instance uses deterministic outbound IPs.
 * @property endpoint The endpoint of the Grafana instance.
 * @property grafanaMajorVersion Major version of Grafana instance.
 * @property grafanaVersion The full Grafana software semantic version deployed.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identity The managed identity of the grafana resource.
 * @property location Azure location where the resource exists.
 * @property name
 * @property outboundIps
 * @property publicNetworkAccessEnabled Whether or not public endpoint access is allowed for this server.
 * @property resourceGroupName
 * @property sku The name of the SKU used for the Grafana instance.
 * @property tags A mapping of tags to assigned to the resource.
 * @property zoneRedundancyEnabled The zone redundancy setting of the Grafana instance.
 */
public data class GetGrafanaResult(
    public val apiKeyEnabled: Boolean,
    public val autoGeneratedDomainNameLabelScope: String,
    public val azureMonitorWorkspaceIntegrations: List,
    public val deterministicOutboundIpEnabled: Boolean,
    public val endpoint: String,
    public val grafanaMajorVersion: String,
    public val grafanaVersion: String,
    public val id: String,
    public val identity: GetGrafanaIdentity? = null,
    public val location: String,
    public val name: String,
    public val outboundIps: List,
    public val publicNetworkAccessEnabled: Boolean,
    public val resourceGroupName: String,
    public val sku: String,
    public val tags: Map,
    public val zoneRedundancyEnabled: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.dashboard.outputs.GetGrafanaResult): GetGrafanaResult = GetGrafanaResult(
            apiKeyEnabled = javaType.apiKeyEnabled(),
            autoGeneratedDomainNameLabelScope = javaType.autoGeneratedDomainNameLabelScope(),
            azureMonitorWorkspaceIntegrations = javaType.azureMonitorWorkspaceIntegrations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.dashboard.kotlin.outputs.GetGrafanaAzureMonitorWorkspaceIntegration.Companion.toKotlin(args0)
                })
            }),
            deterministicOutboundIpEnabled = javaType.deterministicOutboundIpEnabled(),
            endpoint = javaType.endpoint(),
            grafanaMajorVersion = javaType.grafanaMajorVersion(),
            grafanaVersion = javaType.grafanaVersion(),
            id = javaType.id(),
            identity = javaType.identity().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.dashboard.kotlin.outputs.GetGrafanaIdentity.Companion.toKotlin(args0)
                })
            }).orElse(null),
            location = javaType.location(),
            name = javaType.name(),
            outboundIps = javaType.outboundIps().map({ args0 -> args0 }),
            publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled(),
            resourceGroupName = javaType.resourceGroupName(),
            sku = javaType.sku(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            zoneRedundancyEnabled = javaType.zoneRedundancyEnabled(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy