# ImageVolumeSourceV1

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

Represents the configuration for an image-based volume source in a Kubernetes resource.

## Definition

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

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

## Constructors

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

## Properties

- [PullPolicy](/reference/api/csharp/aspire.hosting.kubernetes/imagevolumesourcev1/properties.md#pullpolicy) : `string` `get; set` -- Specifies the pull policy for the image volume source. Determines how the container runtime should pull the image, for instance, always pulling a new version, or using a cached version if available.
- [Reference](/reference/api/csharp/aspire.hosting.kubernetes/imagevolumesourcev1/properties.md#reference) : `string` `get; set` -- Gets or sets the reference to the image resource used in the volume. This property is used to specify the identifier or link to the image source associated with the volume.
