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

com.pulumi.googlenative.notebooks.v1.kotlin.enums.ScheduleState.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.notebooks.v1.kotlin.enums

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

public enum class ScheduleState(
    public val javaValue: com.pulumi.googlenative.notebooks.v1.enums.ScheduleState,
) : ConvertibleToJava {
    /**
     * Unspecified state.
     */
    StateUnspecified(com.pulumi.googlenative.notebooks.v1.enums.ScheduleState.StateUnspecified),

    /**
     * The job is executing normally.
     */
    Enabled(com.pulumi.googlenative.notebooks.v1.enums.ScheduleState.Enabled),

    /**
     * The job is paused by the user. It will not execute. A user can intentionally pause the job using PauseJobRequest.
     */
    Paused(com.pulumi.googlenative.notebooks.v1.enums.ScheduleState.Paused),

    /**
     * The job is disabled by the system due to error. The user cannot directly set a job to be disabled.
     */
    Disabled(com.pulumi.googlenative.notebooks.v1.enums.ScheduleState.Disabled),

    /**
     * The job state resulting from a failed CloudScheduler.UpdateJob operation. To recover a job from this state, retry CloudScheduler.UpdateJob until a successful response is received.
     */
    UpdateFailed(com.pulumi.googlenative.notebooks.v1.enums.ScheduleState.UpdateFailed),

    /**
     * The schedule resource is being created.
     */
    Initializing(com.pulumi.googlenative.notebooks.v1.enums.ScheduleState.Initializing),

    /**
     * The schedule resource is being deleted.
     */
    Deleting(com.pulumi.googlenative.notebooks.v1.enums.ScheduleState.Deleting),
    ;

    override fun toJava(): com.pulumi.googlenative.notebooks.v1.enums.ScheduleState = javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy