com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceCondition.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 A reason for the execution condition.
* @property lastTransitionTime 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 Human readable message indicating details about the current status.
* @property reason A common (service-level) reason for this condition.
* @property revisionReason A reason for the revision condition.
* @property severity How to interpret failures of this condition, one of Error, Warning, Info
* @property state State of the condition.
* @property type 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 GetServiceCondition(
public val executionReason: String,
public val lastTransitionTime: String,
public val message: String,
public val reason: String,
public val revisionReason: String,
public val severity: String,
public val state: String,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.GetServiceCondition): GetServiceCondition = GetServiceCondition(
executionReason = javaType.executionReason(),
lastTransitionTime = javaType.lastTransitionTime(),
message = javaType.message(),
reason = javaType.reason(),
revisionReason = javaType.revisionReason(),
severity = javaType.severity(),
state = javaType.state(),
type = javaType.type(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy