w.consumer_listings
: Consumer Listings¶
- class databricks.sdk.service.marketplace.ConsumerListingsAPI¶
Listings are the core entities in the Marketplace. They represent the products that are available for consumption.
- get(id: str) GetListingResponse ¶
Get listing.
Get a published listing in the Databricks Marketplace that the consumer has access to.
- Parameters:
id – str
- Returns:
- list([, assets: Optional[List[AssetType]], categories: Optional[List[Category]], is_free: Optional[bool], is_private_exchange: Optional[bool], is_staff_pick: Optional[bool], page_size: Optional[int], page_token: Optional[str], provider_ids: Optional[List[str]], sort_by_spec: Optional[SortBySpec], tags: Optional[List[ListingTag]]]) Iterator[Listing] ¶
List listings.
List all published listings in the Databricks Marketplace that the consumer has access to.
- Parameters:
assets – List[
AssetType
] (optional) Matches any of the following asset typescategories – List[
Category
] (optional) Matches any of the following categoriesis_free – bool (optional) Filters each listing based on if it is free.
is_private_exchange – bool (optional) Filters each listing based on if it is a private exchange.
is_staff_pick – bool (optional) Filters each listing based on whether it is a staff pick.
page_size – int (optional)
page_token – str (optional)
provider_ids – List[str] (optional) Matches any of the following provider ids
sort_by_spec –
SortBySpec
(optional) Criteria for sorting the resulting set of listings.tags – List[
ListingTag
] (optional) Matches any of the following tags
- Returns:
Iterator over
Listing
- search(query: str [, assets: Optional[List[AssetType]], categories: Optional[List[Category]], is_free: Optional[bool], is_private_exchange: Optional[bool], page_size: Optional[int], page_token: Optional[str], provider_ids: Optional[List[str]], sort_by: Optional[SortBy]]) Iterator[Listing] ¶
Search listings.
Search published listings in the Databricks Marketplace that the consumer has access to. This query supports a variety of different search parameters and performs fuzzy matching.
- Parameters:
query – str Fuzzy matches query
assets – List[
AssetType
] (optional) Matches any of the following asset typescategories – List[
Category
] (optional) Matches any of the following categoriesis_free – bool (optional)
is_private_exchange – bool (optional)
page_size – int (optional)
page_token – str (optional)
provider_ids – List[str] (optional) Matches any of the following provider ids
sort_by –
SortBy
(optional)
- Returns:
Iterator over
Listing