ObjectReferenceV1 Class

Definition

Represents a reference to an object within a Kubernetes cluster.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class ObjectReferenceV1 : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesObject
[<YamlDotNet.Serialization.YamlSerializable>]
type ObjectReferenceV1 = class
    inherit BaseKubernetesObject
Public NotInheritable Class ObjectReferenceV1
Inherits BaseKubernetesObject
Inheritance
ObjectReferenceV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

ObjectReferenceV1()

Properties

ApiVersion

Gets or sets the API version for the Kubernetes resource.

(Inherited from BaseKubernetesObject)
FieldPath

Gets or sets the field within the object that the reference points to.

Kind

Gets or sets the kind of the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Name

Gets or sets the name of the Kubernetes resource that this object refers to.

Namespace

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.

ResourceVersion

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.

Uid

Gets or sets the unique identifier (UID) of the referenced resource. This is a unique value assigned by Kubernetes to identify the resource instance.

Applies to