Skip to content
Docs Try Aspire

OwnerReferenceV1 Properties

Class Properties 4 members
Represents a reference to the owner of a Kubernetes resource. This reference is often used to establish relationships between dependent resources and ensure cascading deletion when the owner resource is removed.
BlockOwnerDeletion Section titled BlockOwnerDeletion nullable bool?
Specifies whether the deletion of the owner object should be blocked if this dependent object still exists. If set to true, the owner object cannot be deleted until this dependent object is removed. This property is typically used in Kubernetes garbage collection mechanisms.
public bool? BlockOwnerDeletion { get; set; }
Controller Section titled Controller nullable bool?
A property that indicates whether the current object is a controller for the associated resource. If true, it signifies that this object actively manages the resource and ensures its state matches the desired state defined by the controller.
public bool? Controller { get; set; }
Gets or sets the name of the Kubernetes resource associated with the owner reference.
public string Name { get; set; }
Gets or sets the unique identifier (UID) of the owner. This value is used to uniquely distinguish the owner resource within a Kubernetes cluster.
public string Uid { get; set; }