# TypedLocalObjectReferenceV1

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Hosting.Kubernetes.Resources`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/TypedLocalObjectReferenceV1.cs)

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

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes.Resources;

public sealed class TypedLocalObjectReferenceV1
{
    // ...
}
```

## 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](/reference/api/csharp/aspire.hosting.kubernetes/typedlocalobjectreferencev1/constructors.md#constructor)

## Properties

- [ApiGroup](/reference/api/csharp/aspire.hosting.kubernetes/typedlocalobjectreferencev1/properties.md#apigroup) : `string` `get; set` -- 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](/reference/api/csharp/aspire.hosting.kubernetes/typedlocalobjectreferencev1/properties.md#kind) : `string` `get; set` -- Gets or sets the kind of the referenced resource. This represents the type of resource being referenced (e.g., "Pod", "ConfigMap").
- [Name](/reference/api/csharp/aspire.hosting.kubernetes/typedlocalobjectreferencev1/properties.md#name) : `string` `get; set` -- Gets or sets the name of the referenced resource within the same namespace.
