Skip to content
Docs Try Aspire

ObjectReferenceV1 Properties

Class Properties 5 members
Represents a reference to an object within a Kubernetes cluster.
Gets or sets the field within the object that the reference points to.
public string FieldPath { get; set; }
The field path is used to refer to a specific field within the referenced object. This property is particularly useful when working with object selectors or when referencing sub-fields of an object in Kubernetes resources.
Gets or sets the name of the Kubernetes resource that this object refers to.
public string Name { get; set; }
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.
public string Namespace { get; set; }
ResourceVersion Section titled ResourceVersion string
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.
public string ResourceVersion { get; set; }
Gets or sets the unique identifier (UID) of the referenced resource. This is a unique value assigned by Kubernetes to identify the resource instance.
public string Uid { get; set; }