![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.inputs.TeamsAccountLoggingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingArgs.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.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property redactPii Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
* @property settingsByRuleType Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
*/
public data class TeamsAccountLoggingArgs(
public val redactPii: Output,
public val settingsByRuleType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.TeamsAccountLoggingArgs =
com.pulumi.cloudflare.inputs.TeamsAccountLoggingArgs.builder()
.redactPii(redactPii.applyValue({ args0 -> args0 }))
.settingsByRuleType(
settingsByRuleType.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [TeamsAccountLoggingArgs].
*/
@PulumiTagMarker
public class TeamsAccountLoggingArgsBuilder internal constructor() {
private var redactPii: Output? = null
private var settingsByRuleType: Output? = null
/**
* @param value Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
*/
@JvmName("jdfkocgbywflgxlv")
public suspend fun redactPii(`value`: Output) {
this.redactPii = value
}
/**
* @param value Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
*/
@JvmName("teidxkkkgfjwjqel")
public suspend fun settingsByRuleType(`value`: Output) {
this.settingsByRuleType = value
}
/**
* @param value Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
*/
@JvmName("gygglcyplkfqmyig")
public suspend fun redactPii(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.redactPii = mapped
}
/**
* @param value Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
*/
@JvmName("tehdcoxnwicwgtyn")
public suspend fun settingsByRuleType(`value`: TeamsAccountLoggingSettingsByRuleTypeArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.settingsByRuleType = mapped
}
/**
* @param argument Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
*/
@JvmName("yifkyudaemifxyek")
public suspend fun settingsByRuleType(argument: suspend TeamsAccountLoggingSettingsByRuleTypeArgsBuilder.() -> Unit) {
val toBeMapped = TeamsAccountLoggingSettingsByRuleTypeArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.settingsByRuleType = mapped
}
internal fun build(): TeamsAccountLoggingArgs = TeamsAccountLoggingArgs(
redactPii = redactPii ?: throw PulumiNullFieldException("redactPii"),
settingsByRuleType = settingsByRuleType ?: throw PulumiNullFieldException("settingsByRuleType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy