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

com.pulumi.azure.databricks.kotlin.outputs.GetWorkspaceResult.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.databricks.kotlin.outputs

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

/**
 * A collection of values returned by getWorkspace.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The Azure location where the Databricks Workspace exists.
 * @property managedDiskIdentities A `managed_disk_identity` block as documented below.
 * @property name
 * @property resourceGroupName
 * @property sku SKU of this Databricks Workspace.
 * @property storageAccountIdentities A `storage_account_identity` block as documented below.
 * @property tags A mapping of tags to assign to the Databricks Workspace.
 * @property workspaceId Unique ID of this Databricks Workspace in Databricks management plane.
 * @property workspaceUrl URL this Databricks Workspace is accessible on.
 */
public data class GetWorkspaceResult(
    public val id: String,
    public val location: String,
    public val managedDiskIdentities: List,
    public val name: String,
    public val resourceGroupName: String,
    public val sku: String,
    public val storageAccountIdentities: List,
    public val tags: Map? = null,
    public val workspaceId: String,
    public val workspaceUrl: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.databricks.outputs.GetWorkspaceResult): GetWorkspaceResult = GetWorkspaceResult(
            id = javaType.id(),
            location = javaType.location(),
            managedDiskIdentities = javaType.managedDiskIdentities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.databricks.kotlin.outputs.GetWorkspaceManagedDiskIdentity.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            sku = javaType.sku(),
            storageAccountIdentities = javaType.storageAccountIdentities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.databricks.kotlin.outputs.GetWorkspaceStorageAccountIdentity.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            workspaceId = javaType.workspaceId(),
            workspaceUrl = javaType.workspaceUrl(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy