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

com.pulumi.azurenative.azurefleet.kotlin.enums.Mode.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.azurefleet.kotlin.enums

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

/**
 * Specifies the mode that ProxyAgent will execute on if the feature is enabled.
 * ProxyAgent will start to audit or monitor but not enforce access control over
 * requests to host endpoints in Audit mode, while in Enforce mode it will enforce
 * access control. The default value is Enforce mode.
 */
public enum class Mode(
    public val javaValue: com.pulumi.azurenative.azurefleet.enums.Mode,
) : ConvertibleToJava {
    /**
     * Audit Mode
     */
    Audit(com.pulumi.azurenative.azurefleet.enums.Mode.Audit),

    /**
     * Enforce Mode
     */
    Enforce(com.pulumi.azurenative.azurefleet.enums.Mode.Enforce),
    ;

    override fun toJava(): com.pulumi.azurenative.azurefleet.enums.Mode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.azurefleet.enums.Mode): Mode =
            Mode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy