Skip to main content

deployments

Creates, updates, deletes, gets or lists a deployments resource.

Overview

Namedeployments
TypeResource
Iddatabricks_workspace.apps.deployments

Fields

The following fields are returned by SELECT queries:

Request completed successfully.

NameDatatypeDescription
deployment_idstring
create_timestring
creatorstring
deployment_artifactsobject
modestring
source_code_pathstring
statusobject
update_timestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getdeploymentselectdeployment_nameRetrieves information for the app deployment with the supplied name and deployment id.
listdeploymentsselectdeployment_nameLists all app deployments for the app with the supplied name.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Retrieves information for the app deployment with the supplied name and deployment id.

SELECT
deployment_id,
create_time,
creator,
deployment_artifacts,
mode,
source_code_path,
status,
update_time
FROM databricks_workspace.apps.deployments
WHERE deployment_name = '{{ deployment_name }}' -- required;