Skip to main content

object_status

Creates, updates, deletes, gets or lists an object_status resource.

Overview

Nameobject_status
TypeResource
Iddatabricks_workspace.workspace.object_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
object_idinteger
languagestring
object_typestring
pathstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getstatusselectdeployment_nameGets the status of an object or a directory. If

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

Gets the status of an object or a directory. If

SELECT
object_id,
language,
object_type,
path
FROM databricks_workspace.workspace.object_status
WHERE deployment_name = '{{ deployment_name }}' -- required;