# TypedObjectReferenceV1

- 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/TypedObjectReferenceV1.cs)

Represents a reference to a Kubernetes object with a specified kind and API group.

## Definition

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

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

## Remarks

This class is typically used to define a reference to another resource in the Kubernetes API. It includes information about the object's kind, name, namespace, and API group.

## Constructors

- [TypedObjectReferenceV1](/reference/api/csharp/aspire.hosting.kubernetes/typedobjectreferencev1/constructors.md#constructor)

## Properties

- [ApiGroup](/reference/api/csharp/aspire.hosting.kubernetes/typedobjectreferencev1/properties.md#apigroup) : `string` `get; set` -- Gets or sets the API group for the referenced resource. This typically specifies the group under which the Kubernetes resource is classified, for example, "apps", "core", or other custom API groups.
- [Kind](/reference/api/csharp/aspire.hosting.kubernetes/typedobjectreferencev1/properties.md#kind) : `string` `get; set` -- Represents the type of the Kubernetes resource referenced. This property denotes the kind of the resource (e.g., Pod, Service, Deployment) being referred to, allowing identification of the specific resource type.
- [Name](/reference/api/csharp/aspire.hosting.kubernetes/typedobjectreferencev1/properties.md#name) : `string` `get; set` -- Gets or sets the name of the Kubernetes resource.
- [Namespace](/reference/api/csharp/aspire.hosting.kubernetes/typedobjectreferencev1/properties.md#namespace) : `string` `get; set` -- Gets or sets the namespace in which the Kubernetes object resides.
