![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.kotlin.outputs.GetPolicyResult.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.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getPolicy.
* @property id The provider-assigned unique ID for this managed resource.
* @property rules supports the following:
* @property storageAccountId
*/
public data class GetPolicyResult(
public val id: String,
public val rules: List,
public val storageAccountId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.GetPolicyResult): GetPolicyResult = GetPolicyResult(
id = javaType.id(),
rules = javaType.rules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.storage.kotlin.outputs.GetPolicyRule.Companion.toKotlin(args0)
})
}),
storageAccountId = javaType.storageAccountId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy