![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.kotlin.outputs.GetPolicyRule.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.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