# VolumeResourceRequirementsV1

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

Represents the resource requirements for a Kubernetes volume.

## Definition

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

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

## Remarks

This class defines the limits and requests for the resources associated with a volume in Kubernetes. It is primarily used to specify the amount of resources (e.g., storage) requested or capped for a volume.

## Constructors

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

## Properties

- [Limits](/reference/api/csharp/aspire.hosting.kubernetes/volumeresourcerequirementsv1/properties.md#limits) : `Dictionary<string, string>` `get` -- Represents the upper bound or maximum resource usage constraints for a volume in a Kubernetes environment. This property specifies the resource limits, such as storage capacity or other volume-specific constraints, that a volume cannot exceed during its lifecycle.
- [Requests](/reference/api/csharp/aspire.hosting.kubernetes/volumeresourcerequirementsv1/properties.md#requests) : `Dictionary<string, string>` `get` -- Represents the minimum amount of compute resources required for a volume in a Kubernetes environment. Specifies the resource requests for the volume, such as storage capacity or other resource types. Used to define guaranteed resource allocation for the volume.
