com.pulumi.gcp.cloudrunv2.kotlin.outputs.JobTerminalCondition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudrunv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property executionReason (Output)
* A reason for the execution condition.
* @property lastTransitionTime (Output)
* Last time the condition transitioned from one status to another.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property message (Output)
* Human readable message indicating details about the current status.
* @property reason (Output)
* A common (service-level) reason for this condition.
* @property revisionReason (Output)
* A reason for the revision condition.
* @property severity (Output)
* How to interpret failures of this condition, one of Error, Warning, Info
* @property state (Output)
* State of the condition.
* @property type (Output)
* type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready.
*/
public data class JobTerminalCondition(
public val executionReason: String? = null,
public val lastTransitionTime: String? = null,
public val message: String? = null,
public val reason: String? = null,
public val revisionReason: String? = null,
public val severity: String? = null,
public val state: String? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.JobTerminalCondition): JobTerminalCondition = JobTerminalCondition(
executionReason = javaType.executionReason().map({ args0 -> args0 }).orElse(null),
lastTransitionTime = javaType.lastTransitionTime().map({ args0 -> args0 }).orElse(null),
message = javaType.message().map({ args0 -> args0 }).orElse(null),
reason = javaType.reason().map({ args0 -> args0 }).orElse(null),
revisionReason = javaType.revisionReason().map({ args0 -> args0 }).orElse(null),
severity = javaType.severity().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy