com.pulumi.kubernetes.auditregistration.v1alpha1.kotlin.outputs.PolicyPatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.kubernetes.auditregistration.v1alpha1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Policy defines the configuration of how audit events are logged
* @property level The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required
* @property stages Stages is a list of stages for which events are created.
*/
public data class PolicyPatch(
public val level: String? = null,
public val stages: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.auditregistration.v1alpha1.outputs.PolicyPatch): PolicyPatch = PolicyPatch(
level = javaType.level().map({ args0 -> args0 }).orElse(null),
stages = javaType.stages().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy