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

com.pulumi.googlenative.cloudresourcemanager.v1beta1.kotlin.enums.ProjectLifecycleState.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.cloudresourcemanager.v1beta1.kotlin.enums

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

/**
 * The Project lifecycle state. Read-only.
 */
public enum class ProjectLifecycleState(
    public val javaValue: com.pulumi.googlenative.cloudresourcemanager.v1beta1.enums.ProjectLifecycleState,
) :
    ConvertibleToJava {
    /**
     * Unspecified state. This is only used/useful for distinguishing unset values.
     */
    LifecycleStateUnspecified(com.pulumi.googlenative.cloudresourcemanager.v1beta1.enums.ProjectLifecycleState.LifecycleStateUnspecified),

    /**
     * The normal and active state.
     */
    Active(com.pulumi.googlenative.cloudresourcemanager.v1beta1.enums.ProjectLifecycleState.Active),

    /**
     * The project has been marked for deletion by the user (by invoking DeleteProject) or by the system (Google Cloud Platform). This can generally be reversed by invoking UndeleteProject.
     */
    DeleteRequested(com.pulumi.googlenative.cloudresourcemanager.v1beta1.enums.ProjectLifecycleState.DeleteRequested),

    /**
     * This lifecycle state is no longer used and is not returned by the API.
     */
    DeleteInProgress(com.pulumi.googlenative.cloudresourcemanager.v1beta1.enums.ProjectLifecycleState.DeleteInProgress),
    ;

    override fun toJava(): com.pulumi.googlenative.cloudresourcemanager.v1beta1.enums.ProjectLifecycleState = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.cloudresourcemanager.v1beta1.enums.ProjectLifecycleState): ProjectLifecycleState = ProjectLifecycleState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy