w.consumer_installations
: Consumer Installations¶
- class databricks.sdk.service.marketplace.ConsumerInstallationsAPI¶
Installations are entities that allow consumers to interact with Databricks Marketplace listings.
- create(listing_id: str [, accepted_consumer_terms: Optional[ConsumerTerms], catalog_name: Optional[str], recipient_type: Optional[DeltaSharingRecipientType], repo_detail: Optional[RepoInstallation], share_name: Optional[str]]) Installation ¶
Install from a listing.
Install payload associated with a Databricks Marketplace listing.
- Parameters:
listing_id – str
accepted_consumer_terms –
ConsumerTerms
(optional)catalog_name – str (optional)
recipient_type –
DeltaSharingRecipientType
(optional)repo_detail –
RepoInstallation
(optional) for git repo installationsshare_name – str (optional)
- Returns:
- delete(listing_id: str, installation_id: str)¶
Uninstall from a listing.
Uninstall an installation associated with a Databricks Marketplace listing.
- Parameters:
listing_id – str
installation_id – str
- list([, page_size: Optional[int], page_token: Optional[str]]) Iterator[InstallationDetail] ¶
List all installations.
List all installations across all listings.
- Parameters:
page_size – int (optional)
page_token – str (optional)
- Returns:
Iterator over
InstallationDetail
- list_listing_installations(listing_id: str [, page_size: Optional[int], page_token: Optional[str]]) Iterator[InstallationDetail] ¶
List installations for a listing.
List all installations for a particular listing.
- Parameters:
listing_id – str
page_size – int (optional)
page_token – str (optional)
- Returns:
Iterator over
InstallationDetail
- update(listing_id: str, installation_id: str, installation: InstallationDetail [, rotate_token: Optional[bool]]) UpdateInstallationResponse ¶
Update an installation.
This is a update API that will update the part of the fields defined in the installation table as well as interact with external services according to the fields not included in the installation table 1. the token will be rotate if the rotateToken flag is true 2. the token will be forcibly rotate if the rotateToken flag is true and the tokenInfo field is empty
- Parameters:
listing_id – str
installation_id – str
installation –
InstallationDetail
rotate_token – bool (optional)
- Returns: