OwnerReferenceV1
Class sealed net10.0
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.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class OwnerReferenceV1 : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesObject{ // ...} 5 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesBlockOwnerDeletionget; setbool? 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.
Controllerget; setbool? 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.
Nameget; setstring Gets or sets the name of the Kubernetes resource associated with the owner reference.
Uidget; setstring Gets or sets the unique identifier (UID) of the owner. This value is used to uniquely distinguish the owner resource within a Kubernetes cluster.