ObjectReferenceV1
Classsealednet10.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 PropertiesNamespaceget; 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.