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()
Refer to snowflake.core.Root
to create the root
.
Classes
|
A model object representing the ImageRepository resource. |
|
Represents the collection operations on the Snowflake Image Repository resource. |
|
Represents a reference to a Snowflake image repository. |