# ContainerImageAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ContainerImageAnnotation](/reference/api/csharp/aspire.hosting/containerimageannotation.md)
- Kind: `Properties`
- Members: `4`

Represents an annotation for a container image.

## Image

- Name: `Image`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerImageAnnotation.cs)

Gets or sets the image for the container.

```csharp
public string Image { get; set; }
```

## Registry

- Name: `Registry`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerImageAnnotation.cs)

Gets or sets the registry for the container image.

```csharp
public string? Registry { get; set; }
```

## SHA256

- Name: `SHA256`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerImageAnnotation.cs)

Gets or sets the SHA256 for the specific image.

```csharp
public string? SHA256 { get; set; }
```

## Tag

- Name: `Tag`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerImageAnnotation.cs)

Gets or sets the tag for the container image.

```csharp
public string? Tag { get; set; }
```
