All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.auditregistration.v1alpha1.kotlin.outputs.PolicyPatch.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 4.18.2.0
Show newest version
@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