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, ...])

A model object representing the ImageRepository resource.

ImageRepositoryCollection(schema)

Represents the collection operations on the Snowflake Image Repository resource.

ImageRepositoryResource(name, collection)

Represents a reference to a Snowflake image repository.