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

com.pulumi.azure.storage.kotlin.outputs.GetPolicyRule.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.storage.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property actions An `actions` block as documented below.
 * @property enabled Boolean to specify whether the rule is enabled.
 * @property filters A `filter` block as documented below.
 * @property name The filter tag name used for tag based filtering for blob objects.
 */
public data class GetPolicyRule(
    public val actions: List,
    public val enabled: Boolean,
    public val filters: List,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.GetPolicyRule): GetPolicyRule =
            GetPolicyRule(
                actions = javaType.actions().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.storage.kotlin.outputs.GetPolicyRuleAction.Companion.toKotlin(args0)
                    })
                }),
                enabled = javaType.enabled(),
                filters = javaType.filters().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.storage.kotlin.outputs.GetPolicyRuleFilter.Companion.toKotlin(args0)
                    })
                }),
                name = javaType.name(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy