StatusArgs

data class StatusArgs(val apiVersion: Output<String>? = null, val code: Output<Int>? = null, val details: Output<StatusDetailsArgs>? = null, val kind: Output<String>? = null, val message: Output<String>? = null, val metadata: Output<ListMetaArgs>? = null, val reason: Output<String>? = null) : ConvertibleToJava<StatusArgs>

Status is a return value for calls that don't return other objects.

Constructors

Link copied to clipboard
constructor(apiVersion: Output<String>? = null, code: Output<Int>? = null, details: Output<StatusDetailsArgs>? = null, kind: Output<String>? = null, message: Output<String>? = null, metadata: Output<ListMetaArgs>? = null, reason: Output<String>? = null)

Properties

Link copied to clipboard
val apiVersion: Output<String>? = null

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

Link copied to clipboard
val code: Output<Int>? = null

Suggested HTTP return code for this status, 0 if not set.

Link copied to clipboard
val details: Output<StatusDetailsArgs>? = null

Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.

Link copied to clipboard
val kind: Output<String>? = null

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Link copied to clipboard
val message: Output<String>? = null

A human-readable description of the status of this operation.

Link copied to clipboard
val metadata: Output<ListMetaArgs>? = null

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Link copied to clipboard
val reason: Output<String>? = null

A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

Functions

Link copied to clipboard
open override fun toJava(): StatusArgs