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

com.pulumi.azure.batch.kotlin.outputs.GetAccountResult.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.batch.kotlin.outputs

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

/**
 * A collection of values returned by getAccount.
 * @property accountEndpoint The account endpoint used to interact with the Batch service.
 * @property encryption The `encryption` block that describes the Azure KeyVault key reference used to encrypt data for the Azure Batch account.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keyVaultReferences The `key_vault_reference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode.
 * @property location The Azure Region in which this Batch account exists.
 * @property name The Batch account name.
 * @property poolAllocationMode The pool allocation mode configured for this Batch account.
 * @property primaryAccessKey The Batch account primary access key.
 * @property resourceGroupName
 * @property secondaryAccessKey The Batch account secondary access key.
 * @property storageAccountId The ID of the Storage Account used for this Batch account.
 * @property tags A map of tags assigned to the Batch account.
 */
public data class GetAccountResult(
    public val accountEndpoint: String,
    public val encryption: GetAccountEncryption,
    public val id: String,
    public val keyVaultReferences: List,
    public val location: String,
    public val name: String,
    public val poolAllocationMode: String,
    public val primaryAccessKey: String,
    public val resourceGroupName: String,
    public val secondaryAccessKey: String,
    public val storageAccountId: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.GetAccountResult): GetAccountResult = GetAccountResult(
            accountEndpoint = javaType.accountEndpoint(),
            encryption = javaType.encryption().let({ args0 ->
                com.pulumi.azure.batch.kotlin.outputs.GetAccountEncryption.Companion.toKotlin(args0)
            }),
            id = javaType.id(),
            keyVaultReferences = javaType.keyVaultReferences().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.GetAccountKeyVaultReference.Companion.toKotlin(args0)
                })
            }),
            location = javaType.location(),
            name = javaType.name(),
            poolAllocationMode = javaType.poolAllocationMode(),
            primaryAccessKey = javaType.primaryAccessKey(),
            resourceGroupName = javaType.resourceGroupName(),
            secondaryAccessKey = javaType.secondaryAccessKey(),
            storageAccountId = javaType.storageAccountId(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy