az databricks workspace
Note
此參考是 Azure CLI 的 databricks 延伸模組的一部分(2.57.0 版或更高版本)。 擴充功能會在您第一次執行 az databricks workspace 命令時自動安裝。 深入了解擴充功能。
管理 databricks 工作區的命令。
命令
az databricks workspace create
建立新工作區。
az databricks workspace create --name
--resource-group
[--access-connector]
[--compliance-standards]
[--compute-mode {Hybrid, Serverless}]
[--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]
範例
建立工作區
az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location westus --sku standard --compute-mode Hybrid
建立無伺服器工作區
az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location westus --sku premium --compute-mode Serverless
建立具有記憶體帳戶受控識別的工作區
az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location eastus2euap --sku premium --compute-mode Hybrid --prepare-encryption
建立已啟用自動叢集更新功能的工作區
az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location eastus2euap --sku premium --compute-mode Hybrid --enable-automatic-cluster-update
使用特定合規性標準啟用的所有增強安全性 & 合規性功能來建立工作區
az databricks workspace create --resource-group MyResourceGroup --name MyWorkspace --location eastus2euap --sku premium --compute-mode Hybrid --enable-compliance-security-profile --compliance-standards='["HIPAA","PCI_DSS"]' --enable-automatic-cluster-update --enable-enhanced-security-monitoring
Note: Serverless compute mode does not support custom VNet configuration, custom encryption, access connectors, default catalog properties, workspace custom parameters, or managed resource groups. These features are only available with Hybrid compute mode.
必要參數
工作區的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
存取即將與 Databricks 工作區支援速記語法、json-file 和 yaml-file 相關聯的連接器資源。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
與工作區相關的合規標準,允許的值,參考如下: https://learn.microsoft.com/en-us/azure/databricks/security/privacy/security-profile。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Enhanced Security Compliance Arguments |
工作空間的運算模式。 允許的值:「混合」、「無伺服器」。
| 屬性 | 值 |
|---|---|
| 預設值: | Hybrid |
| 接受的值: | Hybrid, Serverless |
工作區建立期間的預設目錄組態屬性。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
取得或設定預設記憶體防火牆組態資訊。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
指出是否應該自動將最新的金鑰版本用於受控磁碟加密。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KeyVault 金鑰的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
KeyVault 的 URI。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
KeyVault 金鑰的版本。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
啟用自動叢集更新功能。
| 屬性 | 值 |
|---|---|
| 參數群組: | Enhanced Security Compliance Arguments |
| 接受的值: | 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes |
啟用合規性安全性配置檔。
| 屬性 | 值 |
|---|---|
| 參數群組: | Enhanced Security Compliance Arguments |
| 接受的值: | 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes |
啟用增強式安全性監視功能。
| 屬性 | 值 |
|---|---|
| 參數群組: | Enhanced Security Compliance Arguments |
| 接受的值: | 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes |
旗標以啟用無公用IP功能。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
包含與增強式安全性與合規性附加元件相關的設定。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
Location. 值的來源:az account list-locations。 您可以使用 az configure --defaults location=<location>來設定預設位置。 未指定時,將會使用資源群組的位置。
要建立的受控資源群組。 它可以是名稱或資源識別碼。
KeyVault 金鑰的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
KeyVault 的 URI。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
KeyVault 金鑰的版本。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
為受控記憶體帳戶啟用受控識別以準備 CMK 加密的旗標。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
虛擬網絡 內私人子網的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Custom VNET Arguments |
設定是否允許從公用因特網存取端點的網路存取。 允許的值:已停用、已啟用。
| 屬性 | 值 |
|---|---|
| 接受的值: | Disabled, Enabled |
虛擬網絡 內的公用子網名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Custom VNET Arguments |
使用平臺管理金鑰進行待用數據的次要加密層,以啟用 DBFS 根文件系統的旗標。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Nsg 規則的類型僅供內部使用。 允許的值:AllRules、NoAzureDatabricksRules、NoAzureServiceRules。
| 屬性 | 值 |
|---|---|
| 接受的值: | AllRules, NoAzureDatabricksRules, NoAzureServiceRules |
SKU 層名稱。 允許的值:進階、標準、試用。
以空格分隔的標記:key[=value] [key[=value] ...]。使用 「清除現有的標記」。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
虛擬網絡 名稱或資源識別碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Custom VNET Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az databricks workspace delete
刪除工作區。
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]
範例
刪除工作區
az databricks workspace delete --resource-group MyResourceGroup --name MyWorkspace -y
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
保留預設 Unity 目錄資料的選擇性參數。 如果工作區上已啟用 Uc,則預設會保留數據。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
工作區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az databricks workspace list
取得所有工作區。
az databricks workspace list [--max-items]
[--next-token]
[--resource-group]
範例
列出資源群組內的工作區
az databricks workspace list --resource-group MyResourceGroup
列出預設訂用帳戶內的工作區
az databricks workspace list
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的 --next-token 自變數中提供令牌值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Pagination Arguments |
標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Pagination Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az databricks workspace show
顯示工作區。
az databricks workspace show [--ids]
[--name]
[--resource-group]
[--subscription]
範例
顯示工作區
az databricks workspace show --resource-group MyResourceGroup --name MyWorkspace
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
工作區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az databricks workspace update
更新工作區。
az databricks workspace update [--access-connector]
[--add]
[--compliance-standards]
[--compute-mode {Hybrid, Serverless}]
[--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]
範例
更新工作區的標記。
az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --tags key1=value1 key2=value2
清除工作區的標記。
az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --tags ""
指派記憶體帳戶的身分識別來準備 CMK 加密。
az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --prepare-encryption
設定 CMK 加密
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
將加密還原為Microsoft受控密鑰
az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --key-source Default
啟用增強的安全性監視功能
az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --enable-enhanced-security-monitoring
使用特定合規性標準啟用合規性安全性配置檔功能
az databricks workspace update --resource-group MyResourceGroup --name MyWorkspace --enable-compliance-security-profile --compliance-standards='["HIPAA","PCI_DSS"]'
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
存取即將與 Databricks 工作區支援速記語法、json-file 和 yaml-file 相關聯的連接器資源。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
藉由指定路徑和索引鍵值組,將物件加入物件清單。 範例: --add property.listProperty <key=value, string or JSON string>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
與工作區相關的合規標準,允許的值列於此: https://learn.microsoft.com/en-us/azure/databricks/security/privacy/security-profile。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Enhanced Security Compliance Arguments |
工作空間的運算模式。 允許的值:「混合」、「無伺服器」。
| 屬性 | 值 |
|---|---|
| 接受的值: | Hybrid, Serverless |
工作區建立期間的預設目錄組態屬性。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
取得或設定預設記憶體防火牆組態資訊。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
指出是否應該自動將最新的金鑰版本用於受控磁碟加密。
| 屬性 | 值 |
|---|---|
| 參數群組: | Managed Disk Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KeyVault 金鑰的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Managed Disk Arguments |
KeyVault 的 URI。
| 屬性 | 值 |
|---|---|
| 參數群組: | Managed Disk Arguments |
KeyVault 金鑰的版本。
| 屬性 | 值 |
|---|---|
| 參數群組: | Managed Disk Arguments |
啟用自動叢集更新功能。
| 屬性 | 值 |
|---|---|
| 參數群組: | Enhanced Security Compliance Arguments |
| 接受的值: | 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes |
啟用合規性安全性配置檔。
| 屬性 | 值 |
|---|---|
| 參數群組: | Enhanced Security Compliance Arguments |
| 接受的值: | 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes |
啟用增強式安全性監視功能。
| 屬性 | 值 |
|---|---|
| 參數群組: | Enhanced Security Compliance Arguments |
| 接受的值: | 0, 1, Disabled, Enabled, disabled, enabled, f, false, n, no, t, true, y, yes |
旗標以啟用無公用IP功能。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
包含與增強式安全性與合規性附加元件相關的設定。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
使用 'set' 或 'add' 時,請保留字串常值,而不是嘗試轉換成 JSON。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
KeyVault 金鑰的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
加密金鑰來源(提供者)。 允許的值:預設值、Microsoft.Keyvault。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
| 接受的值: | Default, Microsoft.Keyvault |
KeyVault 的 URI。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
KeyVault 金鑰的版本。 更新 CMK 時,這是選擇性的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Encryption Arguments |
KeyVault 金鑰的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Managed Services Arguments |
KeyVault 的 URI。
| 屬性 | 值 |
|---|---|
| 參數群組: | Managed Services Arguments |
KeyVault 金鑰的版本。
| 屬性 | 值 |
|---|---|
| 參數群組: | Managed Services Arguments |
工作區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
為受控記憶體帳戶啟用受控識別以準備 CMK 加密的旗標。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
用於存取工作區的網路存取類型。 將值設定為停用,以僅透過私人連結存取工作區。
| 屬性 | 值 |
|---|---|
| 接受的值: | Disabled, Enabled |
從清單中移除屬性或專案。 範例: --remove property.list <indexToRemove> 或 --remove propertyToRemove。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
Nsg 規則的類型僅供內部使用。 允許的值:AllRules、NoAzureDatabricksRules、NoAzureServiceRules。
| 屬性 | 值 |
|---|---|
| 接受的值: | AllRules, NoAzureDatabricksRules, NoAzureServiceRules |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
記憶體帳戶 SKU 名稱,例如:Standard_GRS,Standard_LRS。 如需有效的輸入,請參閱 https://aka.ms/storageskus。
指定要設定的屬性路徑和值,以更新物件。 範例: --set property1.property2=<value>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
SKU 層名稱。 允許的值:進階、標準、試用。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
以空格分隔的標記:key[=value] [key[=value] ...]。使用 「清除現有的標記」。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az databricks workspace wait
將 CLI 置於等候狀態,直到符合條件為止。
az databricks workspace wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
請等候在 'Succeeded' 使用 'provisioningState' 建立。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等到條件符合自定義 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
等到刪除為止。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等候資源存在。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
輪詢間隔以秒為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 30 |
工作區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
以秒為單位的等候上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 3600 |
等到 provisioningState 更新為 'Succeeded'。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |