Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.21k stars 3.82k forks source link

Cannot upgrade SKU for Databricks workspace using Az.Databricks 1.1.0 #14375

Open msaranga opened 3 years ago

msaranga commented 3 years ago

Description

  1. Azure Databricks RP supports upgrade/downgrade of workspace SKU. But we couldn't find equivalent commands in Az PowerShell module. Update-AzDatabricksWorkspace

  2. In docs Update-AzDatabricksWorkspace

In Example :1 :Updates the tags of a Databricks workspace , GET Command has incorrect parameter "Tag".

Get-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceopsc46 -Tag @{'key'=1}

Please correct document by remove Tag Parameter in the above command i.e. -Tag @{'key'=1}

Steps to reproduce

Environment data

$PSVersionTable.PSVersion

Major Minor Build Revision


5 1 19041 610

Module versions

ModuleType Version Name ExportedCommands


Script 1.1.0 Az.Databricks {Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace, New-AzDatabricksVNetPeering, New-AzDatabricksWorkspace...}

Debug output

Error output

Update-AzDatabricksWorkspace : A parameter cannot be found that matches parameter name 'Tag'

isra-fel commented 3 years ago

Thanks for reporting! I'll update our code and docs.