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

com.pulumi.googlenative.osconfig.v1.kotlin.enums.OSPolicyMode.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.osconfig.v1.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Required. Policy mode
 */
public enum class OSPolicyMode(
    public val javaValue: com.pulumi.googlenative.osconfig.v1.enums.OSPolicyMode,
) : ConvertibleToJava {
    /**
     * Invalid mode
     */
    ModeUnspecified(com.pulumi.googlenative.osconfig.v1.enums.OSPolicyMode.ModeUnspecified),

    /**
     * This mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
     */
    Validation(com.pulumi.googlenative.osconfig.v1.enums.OSPolicyMode.Validation),

    /**
     * This mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.
     */
    Enforcement(com.pulumi.googlenative.osconfig.v1.enums.OSPolicyMode.Enforcement),
    ;

    override fun toJava(): com.pulumi.googlenative.osconfig.v1.enums.OSPolicyMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.osconfig.v1.enums.OSPolicyMode): OSPolicyMode = OSPolicyMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy