Azure Databricks · Arazzo Workflow
Azure Databricks Safely Delete a Workspace Directory
Version 1.0.0
List a directory, confirm it is a directory, then recursively delete it.
View Spec
View on GitHub
AnalyticsApache SparkBig DataData EngineeringMachine LearningArazzoWorkflows
Provider
Workflows
delete-workspace-directory
Inspect a directory, confirm its type, then recursively delete it.
Lists the directory, confirms object_type is DIRECTORY via getWorkspaceObjectStatus, then deletes it recursively.
1
listDirectory
listWorkspaceObjects
List the directory contents to capture what will be removed before deleting.
2
confirmDirectory
getWorkspaceObjectStatus
Confirm the path is a DIRECTORY before issuing a recursive delete so a single object is not removed unexpectedly.
3
deleteDirectory
deleteWorkspaceObject
Recursively delete the confirmed directory and all of its contents.