ObjectReferenceV1
Class sealed net10.0
Represents a reference to an object within a Kubernetes cluster.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ObjectReferenceV1 : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesObject{ // ...} 6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesFieldPathget; setstring Gets or sets the field within the object that the reference points to.
Nameget; setstring Gets or sets the name of the Kubernetes resource that this object refers to.
Namespaceget; setstring Gets or sets the namespace of the Kubernetes object. This determines the organizational scope within which the resource resides, typically grouping resources under common logical units for access control and resource management.
ResourceVersionget; setstring Gets or sets the specific version of the resource. This is used to track changes to the resource and ensure consistency during updates. The
ResourceVersion is typically set by the server and can be used for optimistic concurrency control when modifying or retrieving resources. Uidget; setstring Gets or sets the unique identifier (UID) of the referenced resource. This is a unique value assigned by Kubernetes to identify the resource instance.