---
sidebar:
  label: roboto.image_registry.record
  order: 2
title: roboto.image_registry.record
---
## Module Contents

### ContainerImageRecord

```python
class roboto.image_registry.record.ContainerImageRecord(/, **data: Any)
```

`from roboto.image_registry import ContainerImageRecord`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/image_registry/record.py#L30-L50)

Bases: `pydantic.BaseModel`

Data record of a container image, as [`list_images()`](/docs/reference/python-sdk/roboto/image_registry/image_registry#roboto.image_registry.image_registry.ImageRegistry.list_images) returns it.

[`get_container_image_record()`](/docs/reference/python-sdk/roboto/image_registry/image_registry#roboto.image_registry.image_registry.ImageRegistry.get_container_image_record) also returns it. Each record names a tagged image in Roboto's private image registry, so an image with several tags has one record per tag.

**Parameters**

- **data** (`Any`)

**Attributes**

- **ContainerImageRecord.image_tag** (`str`): Tag this record names the image by.

- **ContainerImageRecord.image_uri** (`str`): URI of the image, as `<repository_uri>:<image_tag>`, which an action can name as its container image.

  [`get_container_image_record()`](/docs/reference/python-sdk/roboto/image_registry/image_registry#roboto.image_registry.image_registry.ImageRegistry.get_container_image_record) returns the URI it was given.

- **ContainerImageRecord.org_id** (`str`): ID of the organization that owns the image's repository.

- **ContainerImageRecord.repository_name** (`str`): Name of the repository that holds the image, as `<org_id>/<name>` in lowercase.

### ContainerImageRepositoryRecord

```python
class roboto.image_registry.record.ContainerImageRepositoryRecord(/, **data: Any)
```

`from roboto.image_registry import ContainerImageRepositoryRecord`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/image_registry/record.py#L10-L27)

Bases: `pydantic.BaseModel`

Data record of a container image repository, as the Roboto API returns it.

A container image repository holds the images an organization pushes to Roboto's private image registry, one image per tag. [`list_repositories()`](/docs/reference/python-sdk/roboto/image_registry/image_registry#roboto.image_registry.image_registry.ImageRegistry.list_repositories) returns these records.

**Parameters**

- **data** (`Any`)

**Attributes**

- **ContainerImageRepositoryRecord.arn** (`str`): Amazon Resource Name (ARN) of the repository.
- **ContainerImageRepositoryRecord.org_id** (`str`): ID of the organization that owns the repository.
- **ContainerImageRepositoryRecord.repository_name** (`str`): Name of the repository, as `<org_id>/<name>` in lowercase.
- **ContainerImageRepositoryRecord.repository_uri** (`str`): URI to push images to and pull them from, without a tag.
