com.pulumi.azure.waf.kotlin.inputs.PolicyPolicySettingsLogScrubbingArgs.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.waf.kotlin.inputs
import com.pulumi.azure.waf.inputs.PolicyPolicySettingsLogScrubbingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property enabled Whether the log scrubbing is enabled or disabled. Defaults to `true`.
* @property rules One or more `scrubbing_rule` blocks as define below.
*/
public data class PolicyPolicySettingsLogScrubbingArgs(
public val enabled: Output? = null,
public val rules: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.waf.inputs.PolicyPolicySettingsLogScrubbingArgs =
com.pulumi.azure.waf.inputs.PolicyPolicySettingsLogScrubbingArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.rules(
rules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PolicyPolicySettingsLogScrubbingArgs].
*/
@PulumiTagMarker
public class PolicyPolicySettingsLogScrubbingArgsBuilder internal constructor() {
private var enabled: Output? = null
private var rules: Output>? = null
/**
* @param value Whether the log scrubbing is enabled or disabled. Defaults to `true`.
*/
@JvmName("ehntdixdmsdpluqw")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value One or more `scrubbing_rule` blocks as define below.
*/
@JvmName("woxpunnjiefaunig")
public suspend fun rules(`value`: Output>) {
this.rules = value
}
@JvmName("lnjlhwltogpkvhuu")
public suspend fun rules(vararg values: Output) {
this.rules = Output.all(values.asList())
}
/**
* @param values One or more `scrubbing_rule` blocks as define below.
*/
@JvmName("pgvdnsojlmjsiueq")
public suspend fun rules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy