# PodResourceClaimV1

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.4.0-preview.1.26281.18`
- Namespace: `Aspire.Hosting.Kubernetes.Resources`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/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.
