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

com.pulumi.azure.hdinsight.kotlin.outputs.SparkClusterStorageAccount.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.hdinsight.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property isDefault Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.
 * > **NOTE:** One of the `storage_account` or `storage_account_gen2` blocks must be marked as the default.
 * @property storageAccountKey The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.
 * @property storageContainerId The ID of the Storage Container. Changing this forces a new resource to be created.
 * > **NOTE:** This can be obtained from the `id` of the `azure.storage.Container` resource.
 * @property storageResourceId The ID of the Storage Account. Changing this forces a new resource to be created.
 */
public data class SparkClusterStorageAccount(
    public val isDefault: Boolean,
    public val storageAccountKey: String,
    public val storageContainerId: String,
    public val storageResourceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.hdinsight.outputs.SparkClusterStorageAccount): SparkClusterStorageAccount = SparkClusterStorageAccount(
            isDefault = javaType.isDefault(),
            storageAccountKey = javaType.storageAccountKey(),
            storageContainerId = javaType.storageContainerId(),
            storageResourceId = javaType.storageResourceId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy