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

com.pulumi.azure.automation.kotlin.outputs.AccountEncryption.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.automation.kotlin.outputs

import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property keySource
 * @property keyVaultKeyId The ID of the Key Vault Key which should be used to Encrypt the data in this Automation Account.
 * @property userAssignedIdentityId The User Assigned Managed Identity ID to be used for accessing the Customer Managed Key for encryption.
 */
public data class AccountEncryption(
    @Deprecated(
        message = """
  This field is now ignored and will be removed in the next major version of the Azure Provider, the
      `encryption` block can be omitted to disable encryption
  """,
    )
    public val keySource: String? = null,
    public val keyVaultKeyId: String,
    public val userAssignedIdentityId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.AccountEncryption):
            AccountEncryption = AccountEncryption(
            keySource = javaType.keySource().map({ args0 -> args0 }).orElse(null),
            keyVaultKeyId = javaType.keyVaultKeyId(),
            userAssignedIdentityId = javaType.userAssignedIdentityId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy