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

com.pulumi.azurenative.sql.kotlin.enums.SecurityAlertPolicyState.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.sql.kotlin.enums

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

/**
 * Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required.
 */
public enum class SecurityAlertPolicyState(
    public val javaValue: com.pulumi.azurenative.sql.enums.SecurityAlertPolicyState,
) : ConvertibleToJava {
    New(com.pulumi.azurenative.sql.enums.SecurityAlertPolicyState.New),
    Enabled(com.pulumi.azurenative.sql.enums.SecurityAlertPolicyState.Enabled),
    Disabled(com.pulumi.azurenative.sql.enums.SecurityAlertPolicyState.Disabled),
    ;

    override fun toJava(): com.pulumi.azurenative.sql.enums.SecurityAlertPolicyState = javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy