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

com.pulumi.azure.compute.kotlin.outputs.GetDiskEncryptionSetResult.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.compute.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 getDiskEncryptionSet.
 * @property autoKeyRotationEnabled Is the Azure Disk Encryption Set Key automatically rotated to latest version?
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities An `identity` block as defined below.
 * @property keyVaultKeyUrl The URL for the Key Vault Key or Key Vault Secret that is currently being used by the service.
 * @property location The location where the Disk Encryption Set exists.
 * @property name
 * @property resourceGroupName
 * @property tags A mapping of tags assigned to the Disk Encryption Set.
 */
public data class GetDiskEncryptionSetResult(
    public val autoKeyRotationEnabled: Boolean,
    public val id: String,
    public val identities: List,
    public val keyVaultKeyUrl: String,
    public val location: String,
    public val name: String,
    public val resourceGroupName: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetDiskEncryptionSetResult): GetDiskEncryptionSetResult = GetDiskEncryptionSetResult(
            autoKeyRotationEnabled = javaType.autoKeyRotationEnabled(),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.compute.kotlin.outputs.GetDiskEncryptionSetIdentity.Companion.toKotlin(args0)
                })
            }),
            keyVaultKeyUrl = javaType.keyVaultKeyUrl(),
            location = javaType.location(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy