OwnerReferencePatchArgs

data class OwnerReferencePatchArgs(val apiVersion: Output<String>? = null, val blockOwnerDeletion: Output<Boolean>? = null, val controller: Output<Boolean>? = null, val kind: Output<String>? = null, val name: Output<String>? = null, val uid: Output<String>? = null) : ConvertibleToJava<OwnerReferencePatchArgs>

OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.

Constructors

Link copied to clipboard
constructor(apiVersion: Output<String>? = null, blockOwnerDeletion: Output<Boolean>? = null, controller: Output<Boolean>? = null, kind: Output<String>? = null, name: Output<String>? = null, uid: Output<String>? = null)

Properties

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

API version of the referent.

Link copied to clipboard
val blockOwnerDeletion: Output<Boolean>? = null

If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.

Link copied to clipboard
val controller: Output<Boolean>? = null

If true, this reference points to the managing controller.

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

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

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

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names

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

UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids

Functions

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