deployments
Operations on a deployments
resource.
Overview
Name | deployments |
Type | Resource |
Id | databricks_workspace.apps.deployments |
Fields
Name | Datatype |
---|---|
create_time | string |
creator | string |
deployment_artifacts | object |
deployment_id | string |
mode | string |
source_code_path | string |
status | object |
update_time | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getdeployment | SELECT | app_name, deployment_id, deployment_name | Retrieves information for the app deployment with the supplied name and deployment id. |
listdeployments | SELECT | app_name, deployment_name | Lists all app deployments for the app with the supplied name. |
SELECT
examples
- deployments (listdeployments)
- deployments (getdeployment)
SELECT
create_time,
creator,
deployment_artifacts,
deployment_id,
mode,
source_code_path,
status,
update_time
FROM databricks_workspace.apps.deployments
WHERE app_name = '{{ app_name }}' AND
deployment_name = '{{ deployment_name }}';
SELECT
create_time,
creator,
deployment_artifacts,
deployment_id,
mode,
source_code_path,
status,
update_time
FROM databricks_workspace.apps.deployments
WHERE app_name = '{{ app_name }}' AND
deployment_id = '{{ deployment_id }}' AND
deployment_name = '{{ deployment_name }}';