![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.media.kotlin.outputs.ServiceAccountStorageAccount.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.media.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property id Specifies the ID of the Storage Account that will be associated with the Media Services instance.
* @property isPrimary Specifies whether the storage account should be the primary account or not. Defaults to `false`.
* > **NOTE:** Whilst multiple `storage_account` blocks can be specified - one of them must be set to the primary
* @property managedIdentity A `managed_identity` block as defined below.
*/
public data class ServiceAccountStorageAccount(
public val id: String,
public val isPrimary: Boolean? = null,
public val managedIdentity: ServiceAccountStorageAccountManagedIdentity? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.media.outputs.ServiceAccountStorageAccount): ServiceAccountStorageAccount = ServiceAccountStorageAccount(
id = javaType.id(),
isPrimary = javaType.isPrimary().map({ args0 -> args0 }).orElse(null),
managedIdentity = javaType.managedIdentity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.ServiceAccountStorageAccountManagedIdentity.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy