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

com.pulumi.azure.storage.kotlin.outputs.GetPolicyResult.kt Maven / Gradle / Ivy

@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