com.pulumi.kubernetes.meta.v1.kotlin.inputs.StatusDetailsPatchArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.meta.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.kubernetes.meta.v1.inputs.StatusDetailsPatchArgs.builder
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
* @property causes The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
* @property group The group attribute of the resource associated with the status StatusReason.
* @property kind The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @property name The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
* @property retryAfterSeconds If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
* @property uid UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
*/
public data class StatusDetailsPatchArgs(
public val causes: Output>? = null,
public val group: Output? = null,
public val kind: Output? = null,
public val name: Output? = null,
public val retryAfterSeconds: Output? = null,
public val uid: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.meta.v1.inputs.StatusDetailsPatchArgs =
com.pulumi.kubernetes.meta.v1.inputs.StatusDetailsPatchArgs.builder()
.causes(causes?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.group(group?.applyValue({ args0 -> args0 }))
.kind(kind?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.retryAfterSeconds(retryAfterSeconds?.applyValue({ args0 -> args0 }))
.uid(uid?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StatusDetailsPatchArgs].
*/
@PulumiTagMarker
public class StatusDetailsPatchArgsBuilder internal constructor() {
private var causes: Output>? = null
private var group: Output? = null
private var kind: Output? = null
private var name: Output? = null
private var retryAfterSeconds: Output? = null
private var uid: Output? = null
/**
* @param value The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
*/
@JvmName("yikqeuuqseblrpcs")
public suspend fun causes(`value`: Output>) {
this.causes = value
}
@JvmName("kldencjmrmlvlmxe")
public suspend fun causes(vararg values: Output) {
this.causes = Output.all(values.asList())
}
/**
* @param values The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
*/
@JvmName("lrsfgqcltejqjhja")
public suspend fun causes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy