# ResourceRequirementsV1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [ResourceRequirementsV1](/reference/api/csharp/aspire.hosting.kubernetes/resourcerequirementsv1.md)
- Kind: `Properties`
- Members: `3`

Represents the resource requirements for a container or a pod in a Kubernetes environment.

## Claims

- Name: `Claims`
- Modifiers: `get`
- Returns: [List<ResourceClaimV1>](/reference/api/csharp/aspire.hosting.kubernetes/resourceclaimv1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/ResourceRequirementsV1.cs#L23)

Represents a collection of resource claims associated with the resource requirements. Each claim defines specific resource requests or constraints.

```csharp
public List<ResourceClaimV1> Claims { get; }
```

## Limits

- Name: `Limits`
- Modifiers: `get`
- Returns: `Dictionary<string, string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/ResourceRequirementsV1.cs#L32)

Represents the resource limits for a Kubernetes resource. Limits specify the maximum amount of resources (e.g., CPU, memory) that a container can use. The keys represent the resource types, and the corresponding values specify the quantity limit for each resource.

```csharp
public Dictionary<string, string> Limits { get; }
```

## Requests

- Name: `Requests`
- Modifiers: `get`
- Returns: `Dictionary<string, string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/ResourceRequirementsV1.cs#L43)

Gets the resource requests for the container or pod.

```csharp
public Dictionary<string, string> Requests { get; }
```

## Remarks

Represents the minimum amount of each resource type that the container or pod requests. The resources are identified by their names as keys in the dictionary, and the corresponding values specify the requested quantity (e.g., CPU or memory).
