# PodResourceClaimV1

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

Represents a resource claim specification for a Kubernetes pod.

## Definition

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

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

## Remarks

This class is used to define a claim for resources that a Kubernetes pod requires. It specifies the claim's name, the direct reference to an existing resource claim, or the template from which a resource claim can be created when none exists.

## Constructors

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

## Properties

- [Name](/reference/api/csharp/aspire.hosting.kubernetes/podresourceclaimv1/properties.md#name) : `string` `get; set` -- Gets or sets the name of the resource claim associated with the Pod. This property represents the alias "name" in the serialized YAML format.
- [ResourceClaimName](/reference/api/csharp/aspire.hosting.kubernetes/podresourceclaimv1/properties.md#resourceclaimname) : `string` `get; set` -- Gets or sets the name of the referenced resource claim associated with the pod. This is used to identify the resource claim that provides specific resources to the pod in a Kubernetes environment.
- [ResourceClaimTemplateName](/reference/api/csharp/aspire.hosting.kubernetes/podresourceclaimv1/properties.md#resourceclaimtemplatename) : `string` `get; set` -- Gets or sets the name of the resource claim template associated with the pod. This property specifies the template to be used for creating a resource claim dynamically, enabling resource allocation for the pod.
