com.pulumi.azure.frontdoor.kotlin.inputs.FirewallPolicyManagedRuleArgs.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.frontdoor.kotlin.inputs
import com.pulumi.azure.frontdoor.inputs.FirewallPolicyManagedRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property exclusions One or more `exclusion` blocks as defined below.
* @property overrides One or more `override` blocks as defined below.
* @property type The name of the managed rule to use with this resource.
* @property version The version on the managed rule to use with this resource.
*/
public data class FirewallPolicyManagedRuleArgs(
public val exclusions: Output>? = null,
public val overrides: Output>? = null,
public val type: Output,
public val version: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.frontdoor.inputs.FirewallPolicyManagedRuleArgs =
com.pulumi.azure.frontdoor.inputs.FirewallPolicyManagedRuleArgs.builder()
.exclusions(
exclusions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.overrides(
overrides?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.type(type.applyValue({ args0 -> args0 }))
.version(version.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirewallPolicyManagedRuleArgs].
*/
@PulumiTagMarker
public class FirewallPolicyManagedRuleArgsBuilder internal constructor() {
private var exclusions: Output>? = null
private var overrides: Output>? = null
private var type: Output? = null
private var version: Output? = null
/**
* @param value One or more `exclusion` blocks as defined below.
*/
@JvmName("ahxownhifwmlipce")
public suspend fun exclusions(`value`: Output>) {
this.exclusions = value
}
@JvmName("rdmqykfmvfyxatvt")
public suspend fun exclusions(vararg values: Output) {
this.exclusions = Output.all(values.asList())
}
/**
* @param values One or more `exclusion` blocks as defined below.
*/
@JvmName("evajgsoykejqoxay")
public suspend fun exclusions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy