StatusPatchArgs

data class StatusPatchArgs(val apiVersion: Output<String>? = null, val code: Output<Int>? = null, val details: Output<StatusDetailsPatchArgs>? = null, val kind: Output<String>? = null, val message: Output<String>? = null, val metadata: Output<ListMetaPatchArgs>? = null, val reason: Output<String>? = null) : ConvertibleToJava<StatusPatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. 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<StatusDetailsPatchArgs>? = null, kind: Output<String>? = null, message: Output<String>? = null, metadata: Output<ListMetaPatchArgs>? = 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<StatusDetailsPatchArgs>? = 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<ListMetaPatchArgs>? = 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(): StatusPatchArgs