TypedLocalObjectReferenceV1
Class sealed net10.0
Represents a reference to a Kubernetes object with a specific type, enabling identification of a local object within the same namespace.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class TypedLocalObjectReferenceV1{ // ...}Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesApiGroupget; setstring 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.
Kindget; setstring Gets or sets the kind of the referenced resource. This represents the type of resource being referenced (e.g., "Pod", "ConfigMap").
Nameget; setstring Gets or sets the name of the referenced resource within the same namespace.