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

com.pulumi.azure.media.kotlin.outputs.ServiceAccountEncryption.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.media.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property currentKeyIdentifier The current key used to encrypt the Media Services Account, including the key version.
 * @property keyVaultKeyIdentifier Specifies the URI of the Key Vault Key used to encrypt data. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
 * @property managedIdentity A `managed_identity` block as defined below.
 * @property type Specifies the type of key used to encrypt the account data. Possible values are `SystemKey` and `CustomerKey`. Defaults to `SystemKey`.
 */
public data class ServiceAccountEncryption(
    public val currentKeyIdentifier: String? = null,
    public val keyVaultKeyIdentifier: String? = null,
    public val managedIdentity: ServiceAccountEncryptionManagedIdentity? = null,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.media.outputs.ServiceAccountEncryption): ServiceAccountEncryption = ServiceAccountEncryption(
            currentKeyIdentifier = javaType.currentKeyIdentifier().map({ args0 -> args0 }).orElse(null),
            keyVaultKeyIdentifier = javaType.keyVaultKeyIdentifier().map({ args0 -> args0 }).orElse(null),
            managedIdentity = javaType.managedIdentity().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.media.kotlin.outputs.ServiceAccountEncryptionManagedIdentity.Companion.toKotlin(args0)
                })
            }).orElse(null),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy