Share via


TypedLocalObjectReferenceV1 Class

Definition

Represents a reference to a Kubernetes object with a specific type, enabling identification of a local object within the same namespace.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class TypedLocalObjectReferenceV1
[<YamlDotNet.Serialization.YamlSerializable>]
type TypedLocalObjectReferenceV1 = class
Public NotInheritable Class TypedLocalObjectReferenceV1
Inheritance
TypedLocalObjectReferenceV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

This class is primarily used to provide an explicit reference to an object by specifying its kind, name, and optionally its API group. It is commonly utilized in Kubernetes resource definitions that require pointers to other local objects.

Constructors

TypedLocalObjectReferenceV1()

Properties

ApiGroup

Gets or sets the API group of the referent. This property specifies the group of the referenced Kubernetes resource. An empty string represents the core API group, and a null value indicates the defaulting behavior is configured.

Kind

Gets or sets the kind of the referenced resource. This represents the type of resource being referenced (e.g., "Pod", "ConfigMap").

Name

Gets or sets the name of the referenced resource within the same namespace.

Applies to