snowflake.core.image_repository

Manages Snowpark Container Image Repositories.

Example

>>> new_image_repository = ImageRepository(
...     name="my_imagerepo",
... )
>>> image_repositories = root.databases["MYDB"].schemas["MYSCHEMA"].image_repositories
>>> my_image_repo = image_repositories.create(new_image_repository)
>>> my_image_repo_snapshot = my_image_repo.fetch()
>>> ir_data = image_repositories.iter(like="%my")
>>> an_existing_repo = image_repositories["an_existing_repo"]
>>> an_existing_repo.delete()
Copy

Refer to snowflake.core.Root to create the root.

Classes

ImageRepository(name[, database_name, ...])

ImageRepositoryCollection(schema)

Represents the collection operations of the Snowflake Image Repository resource.

ImageRepositoryResource(name, collection)

A reference to an Image Repository in Snowflake.