|
| 1 | + |
| 2 | +>>> [CLI] schemas create test-schema-[UUID] main |
| 3 | +{ |
| 4 | + "full_name": "main.test-schema-[UUID]", |
| 5 | + "catalog_name": "main" |
| 6 | +} |
| 7 | + |
| 8 | +=== Create a pre-defined volume: |
| 9 | +>>> [CLI] bundle deployment bind volume1 main.test-schema-[UUID].volume-[UUID] --auto-approve |
| 10 | +Updating deployment state... |
| 11 | +Successfully bound databricks_volume with an id 'main.test-schema-[UUID].volume-[UUID]'. Run 'bundle deploy' to deploy changes to your workspace |
| 12 | + |
| 13 | +>>> [CLI] bundle deploy |
| 14 | +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/bind-dashboard-test-[UNIQUE_NAME]/default/files... |
| 15 | +Deploying resources... |
| 16 | +Updating deployment state... |
| 17 | +Deployment complete! |
| 18 | + |
| 19 | +>>> [CLI] volumes read main.test-schema-[UUID].volume-[UUID] |
| 20 | +{ |
| 21 | + "catalog_name": "main", |
| 22 | + "full_name": "main.test-schema-[UUID].volume-[UUID]", |
| 23 | + "schema_name": "test-schema-[UUID]", |
| 24 | + "volume_type": "MANAGED" |
| 25 | +} |
| 26 | + |
| 27 | +>>> [CLI] bundle deployment unbind volume1 |
| 28 | +Updating deployment state... |
| 29 | + |
| 30 | +>>> [CLI] bundle destroy --auto-approve |
| 31 | +All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/bind-dashboard-test-[UNIQUE_NAME]/default |
| 32 | + |
| 33 | +Deleting files... |
| 34 | +Destroy complete! |
| 35 | + |
| 36 | +>>> [CLI] volumes read main.test-schema-[UUID].volume-[UUID] |
| 37 | +{ |
| 38 | + "catalog_name": "main", |
| 39 | + "full_name": "main.test-schema-[UUID].volume-[UUID]", |
| 40 | + "schema_name": "test-schema-[UUID]", |
| 41 | + "volume_type": "MANAGED" |
| 42 | +} |
0 commit comments