deployments
Creates, updates, deletes, gets or lists a deployments
resource.
Overview
Name | deployments |
Type | Resource |
Id | databricks_workspace.apps.deployments |
Fields
The following fields are returned by SELECT
queries:
- getdeployment
- listdeployments
Request completed successfully.
Name | Datatype | Description |
---|---|---|
deployment_id | string | |
create_time | string | |
creator | string | |
deployment_artifacts | object | |
mode | string | |
source_code_path | string | |
status | object | |
update_time | string |
Request completed successfully.
Name | Datatype | Description |
---|---|---|
deployment_id | string | |
create_time | string | |
creator | string | |
deployment_artifacts | object | |
mode | string | |
source_code_path | string | |
status | object | |
update_time | string |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getdeployment | select | deployment_name | Retrieves information for the app deployment with the supplied name and deployment id. | |
listdeployments | select | deployment_name | Lists 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.
Name | Datatype | Description |
---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
SELECT
examples
- getdeployment
- listdeployments
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;
Lists all app deployments for the app with the supplied name.
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;