snowflake.core.image_repository.ImageRepositoryΒΆ
- class snowflake.core.image_repository.ImageRepository(name: str, database_name: str | None = None, schema_name: str | None = None, created_on: datetime | None = None, repository_url: str | None = None, owner: str | None = None, owner_role_type: str | None = None)ΒΆ
- Bases: - object- A model object representing the ImageRepository resource. - Constructs an object of type ImageRepository with the provided properties. - Parameters:
- name (str) β A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. 
- database_name (str, optional) β A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. 
- schema_name (str, optional) β A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. 
- created_on (datetime, optional) β Time the image repository was created. 
- repository_url (str, optional) β Current URL of the image repository. 
- owner (str, optional) β Identifier for the current owner of the image repository. 
- owner_role_type (str, optional) β Role type of the image repository owner. 
 
 - Methods - classmethod from_dict(obj: dict) ImageRepositoryModelΒΆ
- Create an instance of ImageRepository from a dict. - This method constructs a ImageRepository object from a dictionary with the key-value pairs of its properties. - Parameters:
- obj (dict) β A dictionary whose keys and values correspond to the properties of the resource object. 
- Returns:
- A ImageRepository object created using the input dictionary; this will fail if the required properties are missing. 
- Return type:
 
 - to_dict()ΒΆ
- Create a dictionary of the properties from a ImageRepository. - This method constructs a dictionary with the key-value entries corresponding to the properties of the ImageRepository object. - Returns:
- A dictionary object created using the input model. 
- Return type:
- dict