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

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

/**
 *
 * @property actions An `actions` block as documented below.
 * @property enabled Boolean to specify whether the rule is enabled.
 * @property filters A `filters` block as documented below.
 * @property name The name of the rule. Rule name is case-sensitive. It must be unique within a policy.
 */
public data class ManagementPolicyRule(
    public val actions: ManagementPolicyRuleActions,
    public val enabled: Boolean,
    public val filters: ManagementPolicyRuleFilters,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.ManagementPolicyRule):
            ManagementPolicyRule = ManagementPolicyRule(
            actions = javaType.actions().let({ args0 ->
                com.pulumi.azure.storage.kotlin.outputs.ManagementPolicyRuleActions.Companion.toKotlin(args0)
            }),
            enabled = javaType.enabled(),
            filters = javaType.filters().let({ args0 ->
                com.pulumi.azure.storage.kotlin.outputs.ManagementPolicyRuleFilters.Companion.toKotlin(args0)
            }),
            name = javaType.name(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy