Share via


az databricks workspace

Note

This reference is part of the databricks extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az databricks workspace command. Learn more about extensions.

Commands to manage databricks workspace.

Commands

Name Description Type Status
az databricks workspace create

Create a new workspace.

Extension GA
az databricks workspace delete

Delete the workspace.

Extension GA
az databricks workspace list

Get all the workspaces.

Extension GA
az databricks workspace outbound-endpoint

Commands to manage endpoints in the specified workspace.

Extension GA
az databricks workspace outbound-endpoint list

List the list of endpoints that VNET Injected Workspace calls Azure Databricks Control Plane. You must configure outbound access with these endpoints. For more information, see https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/udr.

Extension GA
az databricks workspace private-endpoint-connection

Commands to manage databricks workspace private endpoint connections.

Extension GA
az databricks workspace private-endpoint-connection create

Create the status of a private endpoint connection with the specified name.

Extension GA
az databricks workspace private-endpoint-connection delete

Delete private endpoint connection with the specified name.

Extension GA
az databricks workspace private-endpoint-connection list

List private endpoint connections of the workspace.

Extension GA
az databricks workspace private-endpoint-connection show

Get a private endpoint connection properties for a workspace.

Extension GA
az databricks workspace private-endpoint-connection update

Update the status of a private endpoint connection with the specified name.

Extension GA
az databricks workspace private-endpoint-connection wait

Place the CLI in a waiting state until a condition is met.

Extension GA
az databricks workspace private-link-resource

Commands to manage databricks workspace private link resources.

Extension GA
az databricks workspace private-link-resource list

List private link resources for a given workspace.

Extension GA
az databricks workspace private-link-resource show

Get the specified private link resource for the given group id (sub-resource).

Extension GA
az databricks workspace show

Show the workspace.

Extension GA
az databricks workspace update

Update the workspace.

Extension GA
az databricks workspace vnet-peering

Commands to manage databricks workspace vnet peering.

Extension GA
az databricks workspace vnet-peering create

Create a vnet peering for a workspace.

Extension GA
az databricks workspace vnet-peering delete

Delete the vnet peering.

Extension GA
az databricks workspace vnet-peering list

List vnet peerings under a workspace.

Extension GA
az databricks workspace vnet-peering show

Show the vnet peering.

Extension GA
az databricks workspace vnet-peering update

Update the vnet peering.

Extension GA
az databricks workspace vnet-peering wait

Place the CLI in a waiting state until a condition is met.

Extension GA
az databricks workspace wait

Place the CLI in a waiting state until a condition is met.

Extension GA

az databricks workspace create

Create a new workspace.

az databricks workspace create --name
                               --resource-group
                               [--access-connector]
                               [--compliance-standards]
                               [--default-catalog]
                               [--default-storage-firewall {Disabled, Enabled}]
                               [--disk-key-auto-rotation {0, 1, f, false, n, no, t, true, y, yes}]
                               [--disk-key-name]
                               [--disk-key-vault]
                               [--disk-key-version]
                               [--enable-acu --enable-automatic-cluster-update {0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes}]
                               [--enable-compliance-security-profile --enable-csp {0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes}]
                               [--enable-enhanced-security-monitoring --enable-esm {0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes}]
                               [--enable-no-public-ip {0, 1, f, false, n, no, t, true, y, yes}]
                               [--enhanced-security-compliance]
                               [--location]
                               [--managed-resource-group]
                               [--managed-services-key-name --ms-key-name]
                               [--managed-services-key-vault --ms-key-vault]
                               [--managed-services-key-version --ms-key-version]
                               [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                               [--prepare-encryption {0, 1, f, false, n, no, t, true, y, yes}]
                               [--private-subnet]
                               [--public-network-access {Disabled, Enabled}]
                               [--public-subnet]
                               [--require-infrastructure-encryption {0, 1, f, false, n, no, t, true, y, yes}]
                               [--required-nsg-rules {AllRules, NoAzureDatabricksRules, NoAzureServiceRules}]
                               [--sku]
                               [--tags]
                               [--vnet]

Examples

Create a workspace

az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location westus --sku standard

Create a workspace with managed identity for storage account

az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location eastus2euap --sku premium --prepare-encryption

Create a workspace with automatic cluster update feature enabled

az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location eastus2euap --sku premium --enable-automatic-cluster-update

Create a workspace with all enhanced security & compliance features enabled with specific compliance standards

az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location eastus2euap --sku premium --enable-compliance-security-profile --compliance-standards='["HIPAA","PCI_DSS"]' --enable-automatic-cluster-update --enable-enhanced-security-monitoring

Required Parameters

--name -n

The name of the workspace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--access-connector

Access Connector Resource that is going to be associated with Databricks Workspace Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Properties Arguments
--compliance-standards

Compliance Standards associated with the workspace, allowed values: NONE, HIPAA, PCI_DSS. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Enhanced Security Compliance Arguments
--default-catalog

Properties for Default Catalog configuration during workspace creation. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Properties Arguments
--default-storage-firewall

Gets or Sets Default Storage Firewall configuration information.

Property Value
Parameter group: Properties Arguments
Accepted values: Disabled, Enabled
--disk-key-auto-rotation

Indicate whether the latest key version should be automatically used for Managed Disk Encryption.

Property Value
Parameter group: Encryption Arguments
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--disk-key-name

The name of KeyVault key.

Property Value
Parameter group: Encryption Arguments
--disk-key-vault

The URI of KeyVault.

Property Value
Parameter group: Encryption Arguments
--disk-key-version

The version of KeyVault key.

Property Value
Parameter group: Encryption Arguments
--enable-acu --enable-automatic-cluster-update

Enable Automatic Cluster Update feature.

Property Value
Parameter group: Enhanced Security Compliance Arguments
Accepted values: 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes
--enable-compliance-security-profile --enable-csp

Enable Compliance Security Profile.

Property Value
Parameter group: Enhanced Security Compliance Arguments
Accepted values: 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes
--enable-enhanced-security-monitoring --enable-esm

Enable Enhanced Security Monitoring feature.

Property Value
Parameter group: Enhanced Security Compliance Arguments
Accepted values: 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes
--enable-no-public-ip

Flag to enable the no public ip feature.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enhanced-security-compliance

Contains settings related to the Enhanced Security and Compliance Add-On. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Properties Arguments
--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>. When not specified, the location of the resource group will be used.

--managed-resource-group

The managed resource group to create. It can be either a name or a resource ID.

--managed-services-key-name --ms-key-name

The name of KeyVault key.

Property Value
Parameter group: Encryption Arguments
--managed-services-key-vault --ms-key-vault

The Uri of KeyVault.

Property Value
Parameter group: Encryption Arguments
--managed-services-key-version --ms-key-version

The version of KeyVault key.

Property Value
Parameter group: Encryption Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--prepare-encryption

Flag to enable the Managed Identity for managed storage account to prepare for CMK encryption.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--private-subnet

The name of a Private Subnet within the Virtual Network.

Property Value
Parameter group: Custom VNET Arguments
--public-network-access

The configuration to set whether network access from public internet to the endpoints are allowed. Allowed values: Disabled, Enabled.

Property Value
Accepted values: Disabled, Enabled
--public-subnet

The name of a Public Subnet within the Virtual Network.

Property Value
Parameter group: Custom VNET Arguments
--require-infrastructure-encryption

Flag to enable the DBFS root file system with secondary layer of encryption with platform managed keys for data at rest.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--required-nsg-rules

The type of Nsg rule for internal use only. Allowed values: AllRules, NoAzureDatabricksRules, NoAzureServiceRules.

Property Value
Accepted values: AllRules, NoAzureDatabricksRules, NoAzureServiceRules
--sku

The SKU tier name. Allowed values: premium, standard, trial.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--vnet

Virtual Network name or resource ID.

Property Value
Parameter group: Custom VNET Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az databricks workspace delete

Delete the workspace.

az databricks workspace delete [--force-deletion {0, 1, f, false, n, no, t, true, y, yes}]
                               [--ids]
                               [--name]
                               [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                               [--resource-group]
                               [--subscription]
                               [--yes]

Examples

Delete the workspace

az databricks workspace delete --resource-group MyResourceGroup --name MyWorkspace -y

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--force-deletion

Optional parameter to retain default unity catalog data. By default the data will retained if Uc is enabled on the workspace.

Property Value
Default value: False
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--name -n

The name of the workspace.

Property Value
Parameter group: Resource Id Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az databricks workspace list

Get all the workspaces.

az databricks workspace list [--max-items]
                             [--next-token]
                             [--resource-group]

Examples

List workspaces within a resource group

az databricks workspace list --resource-group MyResourceGroup

List workspaces within the default subscription

az databricks workspace list

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

Property Value
Parameter group: Pagination Arguments
--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Property Value
Parameter group: Pagination Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az databricks workspace show

Show the workspace.

az databricks workspace show [--ids]
                             [--name]
                             [--resource-group]
                             [--subscription]

Examples

Show the workspace

az databricks workspace show --resource-group MyResourceGroup --name MyWorkspace

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--name -n

The name of the workspace.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az databricks workspace update

Update the workspace.

az databricks workspace update [--access-connector]
                               [--add]
                               [--compliance-standards]
                               [--default-catalog]
                               [--default-storage-firewall {Disabled, Enabled}]
                               [--disk-key-auto-rotation {0, 1, f, false, n, no, t, true, y, yes}]
                               [--disk-key-name]
                               [--disk-key-vault]
                               [--disk-key-version]
                               [--enable-acu --enable-automatic-cluster-update {0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes}]
                               [--enable-compliance-security-profile --enable-csp {0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes}]
                               [--enable-enhanced-security-monitoring --enable-esm {0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes}]
                               [--enable-no-public-ip {0, 1, f, false, n, no, t, true, y, yes}]
                               [--enhanced-security-compliance]
                               [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                               [--ids]
                               [--key-name]
                               [--key-source {Default, Microsoft.Keyvault}]
                               [--key-vault]
                               [--key-version]
                               [--managed-services-key-name --ms-key-name]
                               [--managed-services-key-vault --ms-key-vault]
                               [--managed-services-key-version --ms-key-version]
                               [--name]
                               [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                               [--prepare-encryption {0, 1, f, false, n, no, t, true, y, yes}]
                               [--public-network-access {Disabled, Enabled}]
                               [--remove]
                               [--required-nsg-rules {AllRules, NoAzureDatabricksRules, NoAzureServiceRules}]
                               [--resource-group]
                               [--sa-sku-name --storage-account-sku-name]
                               [--set]
                               [--sku]
                               [--subscription]
                               [--tags]

Examples

Update the workspace's tags.

az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --tags key1=value1 key2=value2

Clean the workspace's tags.

az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --tags ""

Prepare for CMK encryption by assigning identity for storage account.

az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --prepare-encryption

Configure CMK encryption

az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --key-source Microsoft.KeyVault --key-name MyKey --key-vault https://myKeyVault.vault.azure.net/ --key-version 00000000000000000000000000000000

Revert encryption to Microsoft Managed Keys

az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --key-source Default

Enable enhanced security monitoring feature

az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --enable-enhanced-security-monitoring

Enable compliance security profile feature with specific compliance standards

az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --enable-compliance-security-profile --compliance-standards='["HIPAA","PCI_DSS"]'

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--access-connector

Access Connector Resource that is going to be associated with Databricks Workspace Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Properties Arguments
--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

Property Value
Parameter group: Generic Update Arguments
--compliance-standards

Compliance Standards associated with the workspace, allowed values: NONE, HIPAA, PCI_DSS. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Enhanced Security Compliance Arguments
--default-catalog

Properties for Default Catalog configuration during workspace creation. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Properties Arguments
--default-storage-firewall

Gets or Sets Default Storage Firewall configuration information.

Property Value
Parameter group: Properties Arguments
Accepted values: Disabled, Enabled
--disk-key-auto-rotation

Indicate whether the latest key version should be automatically used for Managed Disk Encryption.

Property Value
Parameter group: Managed Disk Arguments
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--disk-key-name

The name of KeyVault key.

Property Value
Parameter group: Managed Disk Arguments
--disk-key-vault

The URI of KeyVault.

Property Value
Parameter group: Managed Disk Arguments
--disk-key-version

The version of KeyVault key.

Property Value
Parameter group: Managed Disk Arguments
--enable-acu --enable-automatic-cluster-update

Enable Automatic Cluster Update feature.

Property Value
Parameter group: Enhanced Security Compliance Arguments
Accepted values: 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes
--enable-compliance-security-profile --enable-csp

Enable Compliance Security Profile.

Property Value
Parameter group: Enhanced Security Compliance Arguments
Accepted values: 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes
--enable-enhanced-security-monitoring --enable-esm

Enable Enhanced Security Monitoring feature.

Property Value
Parameter group: Enhanced Security Compliance Arguments
Accepted values: 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes
--enable-no-public-ip

Flag to enable the no public ip feature.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enhanced-security-compliance

Contains settings related to the Enhanced Security and Compliance Add-On. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Properties Arguments
--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Property Value
Parameter group: Generic Update Arguments
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--key-name

The name of KeyVault key.

Property Value
Parameter group: Encryption Arguments
--key-source

The encryption key source (provider). Allowed values: Default, Microsoft.Keyvault.

Property Value
Parameter group: Encryption Arguments
Accepted values: Default, Microsoft.Keyvault
--key-vault

The Uri of KeyVault.

Property Value
Parameter group: Encryption Arguments
--key-version

The version of KeyVault key. It is optional when updating CMK.

Property Value
Parameter group: Encryption Arguments
--managed-services-key-name --ms-key-name

The name of KeyVault key.

Property Value
Parameter group: Managed Services Arguments
--managed-services-key-vault --ms-key-vault

The Uri of KeyVault.

Property Value
Parameter group: Managed Services Arguments
--managed-services-key-version --ms-key-version

The version of KeyVault key.

Property Value
Parameter group: Managed Services Arguments
--name -n

The name of the workspace.

Property Value
Parameter group: Resource Id Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--prepare-encryption

Flag to enable the Managed Identity for managed storage account to prepare for CMK encryption.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--public-network-access

The network access type for accessing workspace. Set value to disabled to access workspace only via private link.

Property Value
Accepted values: Disabled, Enabled
--remove

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

Property Value
Parameter group: Generic Update Arguments
--required-nsg-rules

The type of Nsg rule for internal use only. Allowed values: AllRules, NoAzureDatabricksRules, NoAzureServiceRules.

Property Value
Accepted values: AllRules, NoAzureDatabricksRules, NoAzureServiceRules
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--sa-sku-name --storage-account-sku-name

Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for valid inputs.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

Property Value
Parameter group: Generic Update Arguments
--sku

The SKU tier name. Allowed values: premium, standard, trial.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments
--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az databricks workspace wait

Place the CLI in a waiting state until a condition is met.

az databricks workspace wait [--created]
                             [--custom]
                             [--deleted]
                             [--exists]
                             [--ids]
                             [--interval]
                             [--name]
                             [--resource-group]
                             [--subscription]
                             [--timeout]
                             [--updated]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--created

Wait until created with 'provisioningState' at 'Succeeded'.

Property Value
Parameter group: Wait Condition Arguments
Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

Property Value
Parameter group: Wait Condition Arguments
--deleted

Wait until deleted.

Property Value
Parameter group: Wait Condition Arguments
Default value: False
--exists

Wait until the resource exists.

Property Value
Parameter group: Wait Condition Arguments
Default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--interval

Polling interval in seconds.

Property Value
Parameter group: Wait Condition Arguments
Default value: 30
--name -n

The name of the workspace.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments
--timeout

Maximum wait in seconds.

Property Value
Parameter group: Wait Condition Arguments
Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Property Value
Parameter group: Wait Condition Arguments
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False