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

com.pulumi.kubernetes.batch.v1.kotlin.outputs.PodFailurePolicyOnPodConditionsPatternPatch.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.kubernetes.batch.v1.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
 * @property status Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
 * @property type Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
 */
public data class PodFailurePolicyOnPodConditionsPatternPatch(
    public val status: String? = null,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.batch.v1.outputs.PodFailurePolicyOnPodConditionsPatternPatch): PodFailurePolicyOnPodConditionsPatternPatch = PodFailurePolicyOnPodConditionsPatternPatch(
            status = javaType.status().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy