com.pulumi.cloudflare.kotlin.outputs.ZeroTrustGatewaySettingsLogging.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.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
*
* @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 ZeroTrustGatewaySettingsLogging(
public val redactPii: Boolean,
public val settingsByRuleType: ZeroTrustGatewaySettingsLoggingSettingsByRuleType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustGatewaySettingsLogging): ZeroTrustGatewaySettingsLogging = ZeroTrustGatewaySettingsLogging(
redactPii = javaType.redactPii(),
settingsByRuleType = javaType.settingsByRuleType().let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.ZeroTrustGatewaySettingsLoggingSettingsByRuleType.Companion.toKotlin(args0)
}),
)
}
}