diff --git a/src/Databricks/Az.Databricks.format.ps1xml b/src/Databricks/Az.Databricks.format.ps1xml
index 8ef27e11afa7..2e3e1c591c9f 100644
--- a/src/Databricks/Az.Databricks.format.ps1xml
+++ b/src/Databricks/Az.Databricks.format.ps1xml
@@ -35,6 +35,80 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedBy
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedBy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ApplicationId
+
+
+ Oid
+
+
+ Puid
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.Encryption
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.Encryption
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ KeyName
+
+
+ KeySource
+
+
+ KeyVaultUri
+
+
+ KeyVersion
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ErrorDetail
@@ -103,6 +177,40 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PrincipalId
+
+
+ TenantId
+
+
+ Type
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.Operation
@@ -405,6 +513,28 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameter
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameter
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceListResult
@@ -434,6 +564,9 @@
+
+
+
@@ -443,10 +576,19 @@
+
+
+
+
+
+
+
+ CreatedDateTime
+ ManagedResourceGroupId
@@ -456,6 +598,12 @@
UiDefinitionUri
+
+ WorkspaceId
+
+
+ WorkspaceUrl
+
diff --git a/src/Databricks/Az.Databricks.psm1 b/src/Databricks/Az.Databricks.psm1
index 35e75d76dd4a..3dc1f04f3d72 100644
--- a/src/Databricks/Az.Databricks.psm1
+++ b/src/Databricks/Az.Databricks.psm1
@@ -24,17 +24,17 @@
}
}
if(-not $accountsModule) {
- $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'1.7.2' } | Measure-Object).Count -gt 0
+ $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'1.7.4' } | Measure-Object).Count -gt 0
if($hasAdequateVersion) {
- $accountsModule = Import-Module -Name $accountsName -MinimumVersion 1.7.2 -Scope Global -PassThru
+ $accountsModule = Import-Module -Name $accountsName -MinimumVersion 1.7.4 -Scope Global -PassThru
}
}
}
if(-not $accountsModule) {
- Write-Error "`nThis module requires $accountsName version 1.7.2 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
- } elseif (($accountsModule.Version -lt [System.Version]'1.7.2') -and (-not $localAccounts)) {
- Write-Error "`nThis module requires $accountsName version 1.7.2 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
+ Write-Error "`nThis module requires $accountsName version 1.7.4 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
+ } elseif (($accountsModule.Version -lt [System.Version]'1.7.4') -and (-not $localAccounts)) {
+ Write-Error "`nThis module requires $accountsName version 1.7.4 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
}
Write-Information "Loaded Module '$($accountsModule.Name)'"
diff --git a/src/Databricks/ChangeLog.md b/src/Databricks/ChangeLog.md
index b76ecb79cf4a..b137c6aca132 100644
--- a/src/Databricks/ChangeLog.md
+++ b/src/Databricks/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Added support for customer-managed keys.
## Version 0.1.0
* the first preview release
diff --git a/src/Databricks/check-dependencies.ps1 b/src/Databricks/check-dependencies.ps1
index 56272a2785c9..23ee92268fde 100644
--- a/src/Databricks/check-dependencies.ps1
+++ b/src/Databricks/check-dependencies.ps1
@@ -21,13 +21,15 @@ if(-not $Isolated) {
return
}
-function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum) {
+function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) {
if($predicate) {
$module = Get-Module -ListAvailable -Name $moduleName
if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0)) {
$null = New-Item -ItemType Directory -Force -Path $path
Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..."
- if($versionMinimum) {
+ if ($requiredVersion) {
+ Find-Module -Name $moduleName -RequiredVersion $requiredVersion -Repository PSGallery | Save-Module -Path $path
+ }elseif($versionMinimum) {
Find-Module -Name $moduleName -MinimumVersion $versionMinimum -Repository PSGallery | Save-Module -Path $path
} else {
Find-Module -Name $moduleName -Repository PSGallery | Save-Module -Path $path
@@ -44,8 +46,8 @@ if(Test-Path -Path $localModulesPath) {
$env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath"
}
-DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '1.7.2'
-DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -versionMinimum ''
+DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '1.7.4'
+DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1'
$tools = Join-Path $PSScriptRoot 'tools'
$resourceDir = Join-Path $tools 'Resources'
diff --git a/src/Databricks/custom/New-AzDatabricksWorkspace.ps1 b/src/Databricks/custom/New-AzDatabricksWorkspace.ps1
index 9ddde7c26d45..1ccda0349346 100644
--- a/src/Databricks/custom/New-AzDatabricksWorkspace.ps1
+++ b/src/Databricks/custom/New-AzDatabricksWorkspace.ps1
@@ -33,147 +33,154 @@ AUTHORIZATION : The workspace provider author
https://docs.microsoft.com/en-us/powershell/module/az.databricks/new-azdatabricksworkspace
#>
function New-AzDatabricksWorkspace {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace])]
-[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-#[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Profile('latest-2019-04-30')]
-param(
- [Parameter(Mandatory)]
- [Alias('WorkspaceName')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
- [System.String]
- # The name of the workspace.
- ${Name},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- ${SubscriptionId},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The geo-location where the resource lives
- ${Location},
-
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The managed resource group Id.
- ${ManagedResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The value which should be used for this field.
- ${PrivateSubnetName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The value which should be used for this field.
- ${PublicSubnetName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The SKU name.
- ${Sku},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceTags]))]
- [System.Collections.Hashtable]
- # Resource tags.
- ${Tag},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The value which should be used for this field.
- ${VirtualNetworkId},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-process {
- try {
- if (-not $PSBoundParameters.ContainsKey('ManagedResourceGroupName')) {
- $randomStr = -join ((48..57) + (97..122) | Get-Random -Count 13 | % {[char]$_})
- $manageResourceGroupName = "databricks-rg-{0}-{1}" -f $PSBoundParameters["Name"], $randomStr
- } else {
- $manageResourceGroupName = $PSBoundParameters["ManagedResourceGroupName"]
- $null = $PSBoundParameters.Remove("ManagedResourceGroupName")
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace])]
+ [CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
+ param(
+ [Parameter(Mandatory)]
+ [Alias('WorkspaceName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [System.String]
+ # The name of the workspace.
+ ${Name},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The geo-location where the resource lives
+ ${Location},
+
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The managed resource group name.
+ ${ManagedResourceGroupName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The value which should be used for this field.
+ ${PrivateSubnetName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The value which should be used for this field.
+ ${PublicSubnetName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The SKU name.
+ ${Sku},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceTags]))]
+ [System.Collections.Hashtable]
+ # Resource tags.
+ ${Tag},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The value which should be used for this field.
+ ${VirtualNetworkId},
+
+ [Parameter(HelpMessage = "Prepare the workspace for encryption. Enables the Managed Identity for managed storage account.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # The value which should be used for this field.
+ ${PrepareEncryption},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command as a job
+ ${AsJob},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command asynchronously
+ ${NoWait},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+ )
+
+ process {
+ try {
+ if (-not $PSBoundParameters.ContainsKey('ManagedResourceGroupName')) {
+ $randomStr = -join ((48..57) + (97..122) | Get-Random -Count 13 | % { [char]$_ })
+ $manageResourceGroupName = "databricks-rg-{0}-{1}" -f $PSBoundParameters["Name"], $randomStr
+ }
+ else {
+ $manageResourceGroupName = $PSBoundParameters["ManagedResourceGroupName"]
+ $null = $PSBoundParameters.Remove("ManagedResourceGroupName")
+ }
+ $ManagedResourceGroupId = "/subscriptions/{0}/resourceGroups/{1}" -f (Get-AzContext).Subscription.Id, $manageResourceGroupName
+ $null = $PSBoundParameters.Add("ManagedResourceGroupId", $ManagedResourceGroupId)
+ Az.Databricks.internal\New-AzDatabricksWorkspace @PSBoundParameters
+ }
+ catch {
+ throw
}
- $ManagedResourceGroupId = "/subscriptions/{0}/resourceGroups/{1}" -f (Get-AzContext).Subscription.Id, $manageResourceGroupName
- $null = $PSBoundParameters.Add("ManagedResourceGroupId", $ManagedResourceGroupId)
- Az.Databricks.internal\New-AzDatabricksWorkspace @PSBoundParameters
- } catch {
- throw
}
}
-}
diff --git a/src/Databricks/custom/Update-AzDatabricksWorkspace.ps1 b/src/Databricks/custom/Update-AzDatabricksWorkspace.ps1
new file mode 100644
index 000000000000..e5477a3d6246
--- /dev/null
+++ b/src/Databricks/custom/Update-AzDatabricksWorkspace.ps1
@@ -0,0 +1,203 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Updates a workspace.
+.Description
+Updates a workspace.
+#>
+function Update-AzDatabricksWorkspace {
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace])]
+ [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
+ param(
+ [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory, HelpMessage = "The name of the workspace.")]
+ [Alias('WorkspaceName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [System.String]
+ # The name of the workspace.
+ ${Name},
+
+ [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory, HelpMessage = "The name of the resource group. The name is case insensitive.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName = 'UpdateExpanded', HelpMessage = "The ID of the target subscription.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline, HelpMessage = "Identity parameter. To construct, see NOTES section for INPUTOBJECT properties and create a hash table.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter(HelpMessage = "Prepare the workspace for encryption. Enables the Managed Identity for managed storage account.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # The value which should be used for this field.
+ ${PrepareEncryption},
+
+ [Parameter(HelpMessage = "The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault")]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource])]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource]
+ # The encryption keySource (provider).
+ # Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ${EncryptionKeySource},
+
+ [Parameter(HelpMessage = "The URI (DNS name) of the Key Vault.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The Uri of KeyVault.
+ ${EncryptionKeyVaultUri},
+
+ [Parameter(HelpMessage = "The name of Key Vault key.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The name of KeyVault key.
+ ${EncryptionKeyName},
+
+ [Parameter(HelpMessage = "The version of KeyVault key.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The version of KeyVault key.
+ ${EncryptionKeyVersion},
+
+ [Parameter(HelpMessage = "Resource tags.")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceUpdateTags]))]
+ [System.Collections.Hashtable]
+ # Resource tags.
+ ${Tag},
+
+ [Parameter(HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(HelpMessage = "Run the command as a job")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command as a job
+ ${AsJob},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(HelpMessage = "Run the command asynchronously")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command asynchronously
+ ${NoWait},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+ )
+
+ process {
+ try {
+ # 1. GET
+ $hasPrepareEncryption = $PSBoundParameters.Remove('PrepareEncryption')
+ $hasEncryptionKeySource = $PSBoundParameters.Remove('EncryptionKeySource')
+ $hasEncryptionKeyVaultUri = $PSBoundParameters.Remove('EncryptionKeyVaultUri')
+ $hasEncryptionKeyName = $PSBoundParameters.Remove('EncryptionKeyName')
+ $hasEncryptionKeyVersion = $PSBoundParameters.Remove('EncryptionKeyVersion')
+ $hasTag = $PSBoundParameters.Remove('Tag')
+ $hasAsJob = $PSBoundParameters.Remove('AsJob')
+ $null = $PSBoundParameters.Remove('WhatIf')
+ $null = $PSBoundParameters.Remove('Confirm')
+
+ $workspace = Get-AzDatabricksWorkspace @PSBoundParameters
+
+ # 2. PUT
+ $null = $PSBoundParameters.Remove('InputObject')
+ $null = $PSBoundParameters.Remove('ResourceGroupName')
+ $null = $PSBoundParameters.Remove('Name')
+ $null = $PSBoundParameters.Remove('SubscriptionId')
+ if ($hasPrepareEncryption) {
+ $workspace.PrepareEncryption = $PrepareEncryption
+ }
+ if ($hasEncryptionKeySource) {
+ $workspace.EncryptionKeySource = $EncryptionKeySource
+ }
+ if ($hasEncryptionKeyVaultUri) {
+ $workspace.EncryptionKeyVaultUri = $EncryptionKeyVaultUri
+ }
+ if ($hasEncryptionKeyName) {
+ $workspace.EncryptionKeyName = $EncryptionKeyName
+ }
+ if ($hasEncryptionKeyVersion) {
+ $workspace.EncryptionKeyVersion = $EncryptionKeyVersion
+ }
+ if ($hasTag) {
+ $workspace.Tag = $Tag
+ }
+ if ($hasAsJob) {
+ $PSBoundParameters.Add('AsJob', $true)
+ }
+
+ if ($PSCmdlet.ShouldProcess("Databricks workspace $($workspace.Name)", "Create or update")) {
+ Az.Databricks.private\New-AzDatabricksWorkspace_CreateViaIdentity -InputObject $workspace -Parameter $workspace @PSBoundParameters
+ }
+ }
+ catch {
+ throw
+ }
+ }
+}
diff --git a/src/Databricks/examples/New-AzDatabricksWorkspace.md b/src/Databricks/examples/New-AzDatabricksWorkspace.md
index 092a99b641e1..0f71cc7465f3 100644
--- a/src/Databricks/examples/New-AzDatabricksWorkspace.md
+++ b/src/Databricks/examples/New-AzDatabricksWorkspace.md
@@ -24,4 +24,15 @@ Location Name Type
eastus databricks-test-with-custom-vn Microsoft.Databricks/workspaces
```
-This command creates a Databricks workspace with customized virtual network in a resource group.
\ No newline at end of file
+This command creates a Databricks workspace with customized virtual network in a resource group.
+
+### Example 3: Create a Databricks workspace with enable encryption
+```powershell
+PS C:\> New-AzDatabricksWorkspace -Name databricks-test02 -ResourceGroupName testgroup -PrepareEncryption -Location "East US 2 EUAP" -Sku premium
+
+Location Name Type
+-------- ---- ----
+eastus databricks-test02 Microsoft.Databricks/workspaces
+```
+
+This command creates a Databricks workspace and sets it to prepare for encryption. Please refer to the examples of Update-AzDatabricksWorkspace for more settings to encryption.
\ No newline at end of file
diff --git a/src/Databricks/examples/Remove-AzDatabricksWorkspace.md b/src/Databricks/examples/Remove-AzDatabricksWorkspace.md
index a5a81d7ea44c..0830fbd11fdb 100644
--- a/src/Databricks/examples/Remove-AzDatabricksWorkspace.md
+++ b/src/Databricks/examples/Remove-AzDatabricksWorkspace.md
@@ -5,3 +5,11 @@ PS C:\> Remove-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databric
This command removes a Databricks workspace from a resource group.
+### Example 2: Remove a Databricks workspace by object
+```powershell
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test02
+PS C:\> Remove-AzDatabricksWorkspace -InputObject $dbr
+```
+
+This command removes a Databricks workspace from a resource group.
+
diff --git a/src/Databricks/examples/Update-AzDatabricksWorkspace.md b/src/Databricks/examples/Update-AzDatabricksWorkspace.md
index 274cdd63f475..b580f3294b4f 100644
--- a/src/Databricks/examples/Update-AzDatabricksWorkspace.md
+++ b/src/Databricks/examples/Update-AzDatabricksWorkspace.md
@@ -1,11 +1,36 @@
-### Example 1: Update a Databricks workspace
+### Example 1: Updates the tags of a Databricks workspace
```powershell
-PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test -Tag @{ dbr="home-resource" }
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceopsc46 -Tag @{'key'=1}
+PS C:\> Update-AzDatabricksWorkspace -InputObject $dbr -Tag @{key="value"}
-Location Name Type
--------- ---- ----
-eastus databricks-test Microsoft.Databricks/workspaces
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceopsc46 eastus /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceopsc46-wfgp3ayhu6jkn
```
-This command updates a Databricks workspace.
+This command updates the tags of a Databricks workspace.
+### Example 2: Enable encryption on a Databricks workspace
+```powershell
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -PrepareEncryption
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Microsoft.KeyVault' -EncryptionKeyVaultUri https://keyvalult-j3kube.vault.azure.net/ -EncryptionKeyName key-p3bjsf -EncryptionKeyVersion 853999da89714fb4a1408681945135fd
+
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceypae6l East US 2 EUAP /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceypae6l-wzefrgv2b075t
+```
+
+Enabling encryption on a Databricks workspace takes two steps:
+1. Update a workspace with `-PrepareEncryption` (if the workspace was not created with `-PrepareEncryption`)
+1. Update the encryption key with the following parameters:
+ - `-EncryptionKeySource`
+ - `-EncryptionKeyVaultUri`
+ - `-EncryptionKeyName`
+ - `-EncryptionKeyVersion`
+
+### Example 3: Disable encryption on a Databricks workspace
+```powershell
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Default'
+```
+
+To disable encryption, simply set `-EncryptionKeySource` to `'Default'`.
diff --git a/src/Databricks/exports/Get-AzDatabricksWorkspace.ps1 b/src/Databricks/exports/Get-AzDatabricksWorkspace.ps1
index 610ea504ba10..01c735d5121d 100644
--- a/src/Databricks/exports/Get-AzDatabricksWorkspace.ps1
+++ b/src/Databricks/exports/Get-AzDatabricksWorkspace.ps1
@@ -45,6 +45,7 @@ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
.Notes
COMPLEX PARAMETER PROPERTIES
+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
@@ -118,13 +119,6 @@ param(
# SendAsync Pipeline Steps to be prepended to the front of the pipeline
${HttpPipelinePrepend},
- [Parameter(ParameterSetName='Get')]
- [Parameter(ParameterSetName='GetViaIdentity')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Returns true when the command succeeds
- ${PassThru},
-
[Parameter(DontShow)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
[System.Uri]
diff --git a/src/Databricks/exports/New-AzDatabricksWorkspace.ps1 b/src/Databricks/exports/New-AzDatabricksWorkspace.ps1
index 5c3b84b51974..9e1da7f906f8 100644
--- a/src/Databricks/exports/New-AzDatabricksWorkspace.ps1
+++ b/src/Databricks/exports/New-AzDatabricksWorkspace.ps1
@@ -36,6 +36,12 @@ PS C:\> New-AzDatabricksWorkspace -Name databricks-test-with-custom-vn -Resource
Location Name Type
-------- ---- ----
eastus databricks-test-with-custom-vn Microsoft.Databricks/workspaces
+.Example
+PS C:\> New-AzDatabricksWorkspace -Name databricks-test02 -ResourceGroupName testgroup -PrepareEncryption -Location "East US 2 EUAP" -Sku premium
+
+Location Name Type
+-------- ---- ----
+eastus databricks-test02 Microsoft.Databricks/workspaces
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
@@ -110,6 +116,13 @@ param(
# The value which should be used for this field.
${VirtualNetworkId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # Prepare the workspace for encryption.
+ # Enables the Managed Identity for managed storage account.
+ ${PrepareEncryption},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
diff --git a/src/Databricks/exports/ProxyCmdletDefinitions.ps1 b/src/Databricks/exports/ProxyCmdletDefinitions.ps1
index cb12973e16e4..efc24c2596b3 100644
--- a/src/Databricks/exports/ProxyCmdletDefinitions.ps1
+++ b/src/Databricks/exports/ProxyCmdletDefinitions.ps1
@@ -45,6 +45,7 @@ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
.Notes
COMPLEX PARAMETER PROPERTIES
+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
@@ -118,13 +119,6 @@ param(
# SendAsync Pipeline Steps to be prepended to the front of the pipeline
${HttpPipelinePrepend},
- [Parameter(ParameterSetName='Get')]
- [Parameter(ParameterSetName='GetViaIdentity')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Returns true when the command succeeds
- ${PassThru},
-
[Parameter(DontShow)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
[System.Uri]
@@ -208,6 +202,9 @@ Deletes the workspace.
Deletes the workspace.
.Example
PS C:\> Remove-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test
+.Example
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test02
+PS C:\> Remove-AzDatabricksWorkspace -InputObject $dbr
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
@@ -215,6 +212,7 @@ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
System.Boolean
.Notes
COMPLEX PARAMETER PROPERTIES
+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
@@ -379,71 +377,114 @@ end {
<#
.Synopsis
-Updates a workspace.
+Creates a new workspace.
.Description
-Updates a workspace.
+Creates a new workspace.
.Example
-PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test -Tag @{ dbr="home-resource" }
+PS C:\> New-AzDatabricksWorkspace -Name databricks-test -ResourceGroupName testgroup -Location eastus -ManagedResourceGroupName databricks-group -Sku standard
Location Name Type
-------- ---- ----
eastus databricks-test Microsoft.Databricks/workspaces
+.Example
+PS C:\> $dlg = New-AzDelegation -Name dbrdl -ServiceName "Microsoft.Databricks/workspaces"
+PS C:\> $rdpRule = New-AzNetworkSecurityRuleConfig -Name rdp-rule -Description "Allow RDP" -Access Allow -Protocol Tcp -Direction Inbound -Priority 100 -SourceAddressPrefix Internet -SourcePortRange * -DestinationAddressPrefix * -DestinationPortRange 3389
+PS C:\> $networkSecurityGroup = New-AzNetworkSecurityGroup -ResourceGroupName testgroup -Location eastus -Name nsg-test -SecurityRules $rdpRule
+PS C:\> $privSubnet = New-AzVirtualNetworkSubnetConfig -Name priv-sub -AddressPrefix "10.0.1.0/24" -NetworkSecurityGroup $networkSecurityGroup -Delegation $dlg
+PS C:\> $pubSubnet = New-AzVirtualNetworkSubnetConfig -Name pub-sub -AddressPrefix "10.0.2.0/24" -NetworkSecurityGroup $networkSecurityGroup -Delegation $dlg
+PS C:\> $testVN = New-AzVirtualNetwork -Name testvn -ResourceGroupName testgroup -Location eastus -AddressPrefix "10.0.0.0/16" -Subnet $privSubnet,$pubSubnet
+PS C:\> New-AzDatabricksWorkspace -Name databricks-test-with-custom-vn -ResourceGroupName testgroup -Location eastus -VirtualNetworkId $testVN.Id -PrivateSubnetName $privSubnet.Name -PublicSubnetName $privSubnet.Name -Sku standard
+
+Location Name Type
+-------- ---- ----
+eastus databricks-test-with-custom-vn Microsoft.Databricks/workspaces
+.Example
+PS C:\> New-AzDatabricksWorkspace -Name databricks-test02 -ResourceGroupName testgroup -PrepareEncryption -Location "East US 2 EUAP" -Sku premium
+
+Location Name Type
+-------- ---- ----
+eastus databricks-test02 Microsoft.Databricks/workspaces
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
-.Notes
-COMPLEX PARAMETER PROPERTIES
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-INPUTOBJECT : Identity Parameter
- [Id ]: Resource identity path
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription.
- [WorkspaceName ]: The name of the workspace.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.databricks/update-azdatabricksworkspace
+https://docs.microsoft.com/en-us/powershell/module/az.databricks/new-azdatabricksworkspace
#>
-function Update-AzDatabricksWorkspace {
+function New-AzDatabricksWorkspace {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace])]
-[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
- [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
+ [Parameter(Mandatory)]
[Alias('WorkspaceName')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[System.String]
# The name of the workspace.
${Name},
- [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
+ [Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[System.String]
# The name of the resource group.
# The name is case insensitive.
${ResourceGroupName},
- [Parameter(ParameterSetName='UpdateExpanded')]
+ [Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
# The ID of the target subscription.
${SubscriptionId},
- [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity]
- # Identity Parameter
- # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
- ${InputObject},
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The geo-location where the resource lives
+ ${Location},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceUpdateTags]))]
+ [System.String]
+ # The managed resource group name.
+ ${ManagedResourceGroupName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The value which should be used for this field.
+ ${PrivateSubnetName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The value which should be used for this field.
+ ${PublicSubnetName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The SKU name.
+ ${Sku},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceTags]))]
[System.Collections.Hashtable]
# Resource tags.
${Tag},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The value which should be used for this field.
+ ${VirtualNetworkId},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # Prepare the workspace for encryption.
+ # Enables the Managed Identity for managed storage account.
+ ${PrepareEncryption},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -512,10 +553,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
$mapping = @{
- UpdateExpanded = 'Az.Databricks.private\Update-AzDatabricksWorkspace_UpdateExpanded';
- UpdateViaIdentityExpanded = 'Az.Databricks.private\Update-AzDatabricksWorkspace_UpdateViaIdentityExpanded';
+ CreateExpanded = 'Az.Databricks.custom\New-AzDatabricksWorkspace';
}
- if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
@@ -560,101 +600,115 @@ end {
<#
.Synopsis
-Creates a new workspace.
+Updates a workspace.
.Description
-Creates a new workspace.
+Updates a workspace.
.Example
-PS C:\> New-AzDatabricksWorkspace -Name databricks-test -ResourceGroupName testgroup -Location eastus -ManagedResourceGroupName databricks-group -Sku standard
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceopsc46 -Tag @{'key'=1}
+PS C:\> Update-AzDatabricksWorkspace -InputObject $dbr -Tag @{key="value"}
-Location Name Type
--------- ---- ----
-eastus databricks-test Microsoft.Databricks/workspaces
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceopsc46 eastus /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceopsc46-wfgp3ayhu6jkn
.Example
-PS C:\> $dlg = New-AzDelegation -Name dbrdl -ServiceName "Microsoft.Databricks/workspaces"
-PS C:\> $rdpRule = New-AzNetworkSecurityRuleConfig -Name rdp-rule -Description "Allow RDP" -Access Allow -Protocol Tcp -Direction Inbound -Priority 100 -SourceAddressPrefix Internet -SourcePortRange * -DestinationAddressPrefix * -DestinationPortRange 3389
-PS C:\> $networkSecurityGroup = New-AzNetworkSecurityGroup -ResourceGroupName testgroup -Location eastus -Name nsg-test -SecurityRules $rdpRule
-PS C:\> $privSubnet = New-AzVirtualNetworkSubnetConfig -Name priv-sub -AddressPrefix "10.0.1.0/24" -NetworkSecurityGroup $networkSecurityGroup -Delegation $dlg
-PS C:\> $pubSubnet = New-AzVirtualNetworkSubnetConfig -Name pub-sub -AddressPrefix "10.0.2.0/24" -NetworkSecurityGroup $networkSecurityGroup -Delegation $dlg
-PS C:\> $testVN = New-AzVirtualNetwork -Name testvn -ResourceGroupName testgroup -Location eastus -AddressPrefix "10.0.0.0/16" -Subnet $privSubnet,$pubSubnet
-PS C:\> New-AzDatabricksWorkspace -Name databricks-test-with-custom-vn -ResourceGroupName testgroup -Location eastus -VirtualNetworkId $testVN.Id -PrivateSubnetName $privSubnet.Name -PublicSubnetName $privSubnet.Name -Sku standard
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -PrepareEncryption
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Microsoft.KeyVault' -EncryptionKeyVaultUri https://keyvalult-j3kube.vault.azure.net/ -EncryptionKeyName key-p3bjsf -EncryptionKeyVersion 853999da89714fb4a1408681945135fd
-Location Name Type
--------- ---- ----
-eastus databricks-test-with-custom-vn Microsoft.Databricks/workspaces
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceypae6l East US 2 EUAP /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceypae6l-wzefrgv2b075t
+.Example
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Default'
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity parameter.
+ [Id ]: Resource identity path
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription.
+ [WorkspaceName ]: The name of the workspace.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.databricks/new-azdatabricksworkspace
+https://docs.microsoft.com/en-us/powershell/module/az.databricks/update-azdatabricksworkspace
#>
-function New-AzDatabricksWorkspace {
+function Update-AzDatabricksWorkspace {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace])]
-[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
[Alias('WorkspaceName')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[System.String]
# The name of the workspace.
${Name},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[System.String]
# The name of the resource group.
# The name is case insensitive.
${ResourceGroupName},
- [Parameter()]
+ [Parameter(ParameterSetName='UpdateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
# The ID of the target subscription.
${SubscriptionId},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity]
+ # Identity parameter.
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The geo-location where the resource lives
- ${Location},
+ [System.Management.Automation.SwitchParameter]
+ # Prepare the workspace for encryption.
+ # Enables the Managed Identity for managed storage account.
+ ${PrepareEncryption},
[Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource])]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The managed resource group name.
- ${ManagedResourceGroupName},
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource]
+ # The encryption keySource (provider).
+ # Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ${EncryptionKeySource},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
- # The value which should be used for this field.
- ${PrivateSubnetName},
+ # The URI (DNS name) of the Key Vault.
+ ${EncryptionKeyVaultUri},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
- # The value which should be used for this field.
- ${PublicSubnetName},
+ # The name of Key Vault key.
+ ${EncryptionKeyName},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
- # The SKU name.
- ${Sku},
+ # The version of KeyVault key.
+ ${EncryptionKeyVersion},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceTags]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceUpdateTags]))]
[System.Collections.Hashtable]
# Resource tags.
${Tag},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
- [System.String]
- # The value which should be used for this field.
- ${VirtualNetworkId},
-
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -723,9 +777,10 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
$mapping = @{
- CreateExpanded = 'Az.Databricks.custom\New-AzDatabricksWorkspace';
+ UpdateExpanded = 'Az.Databricks.custom\Update-AzDatabricksWorkspace';
+ UpdateViaIdentityExpanded = 'Az.Databricks.custom\Update-AzDatabricksWorkspace';
}
- if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
diff --git a/src/Databricks/exports/Remove-AzDatabricksWorkspace.ps1 b/src/Databricks/exports/Remove-AzDatabricksWorkspace.ps1
index d763d92b6ba7..4bc61fb34794 100644
--- a/src/Databricks/exports/Remove-AzDatabricksWorkspace.ps1
+++ b/src/Databricks/exports/Remove-AzDatabricksWorkspace.ps1
@@ -20,6 +20,9 @@ Deletes the workspace.
Deletes the workspace.
.Example
PS C:\> Remove-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test
+.Example
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test02
+PS C:\> Remove-AzDatabricksWorkspace -InputObject $dbr
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
@@ -27,6 +30,7 @@ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
System.Boolean
.Notes
COMPLEX PARAMETER PROPERTIES
+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
diff --git a/src/Databricks/exports/Update-AzDatabricksWorkspace.ps1 b/src/Databricks/exports/Update-AzDatabricksWorkspace.ps1
index 28137a28ca57..6a8bbceb9f60 100644
--- a/src/Databricks/exports/Update-AzDatabricksWorkspace.ps1
+++ b/src/Databricks/exports/Update-AzDatabricksWorkspace.ps1
@@ -19,11 +19,21 @@ Updates a workspace.
.Description
Updates a workspace.
.Example
-PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test -Tag @{ dbr="home-resource" }
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceopsc46 -Tag @{'key'=1}
+PS C:\> Update-AzDatabricksWorkspace -InputObject $dbr -Tag @{key="value"}
-Location Name Type
--------- ---- ----
-eastus databricks-test Microsoft.Databricks/workspaces
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceopsc46 eastus /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceopsc46-wfgp3ayhu6jkn
+.Example
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -PrepareEncryption
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Microsoft.KeyVault' -EncryptionKeyVaultUri https://keyvalult-j3kube.vault.azure.net/ -EncryptionKeyName key-p3bjsf -EncryptionKeyVersion 853999da89714fb4a1408681945135fd
+
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceypae6l East US 2 EUAP /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceypae6l-wzefrgv2b075t
+.Example
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Default'
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
@@ -31,9 +41,10 @@ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
.Notes
COMPLEX PARAMETER PROPERTIES
+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-INPUTOBJECT : Identity Parameter
+INPUTOBJECT : Identity parameter.
[Id ]: Resource identity path
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription.
@@ -69,10 +80,43 @@ param(
[Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity]
- # Identity Parameter
+ # Identity parameter.
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # Prepare the workspace for encryption.
+ # Enables the Managed Identity for managed storage account.
+ ${PrepareEncryption},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource])]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource]
+ # The encryption keySource (provider).
+ # Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ${EncryptionKeySource},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The URI (DNS name) of the Key Vault.
+ ${EncryptionKeyVaultUri},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The name of Key Vault key.
+ ${EncryptionKeyName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The version of KeyVault key.
+ ${EncryptionKeyVersion},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceUpdateTags]))]
@@ -148,8 +192,8 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
$mapping = @{
- UpdateExpanded = 'Az.Databricks.private\Update-AzDatabricksWorkspace_UpdateExpanded';
- UpdateViaIdentityExpanded = 'Az.Databricks.private\Update-AzDatabricksWorkspace_UpdateViaIdentityExpanded';
+ UpdateExpanded = 'Az.Databricks.custom\Update-AzDatabricksWorkspace';
+ UpdateViaIdentityExpanded = 'Az.Databricks.custom\Update-AzDatabricksWorkspace';
}
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
diff --git a/src/Databricks/generate-help.ps1 b/src/Databricks/generate-help.ps1
index 453d8a1f1035..c18419b66dfa 100644
--- a/src/Databricks/generate-help.ps1
+++ b/src/Databricks/generate-help.ps1
@@ -44,8 +44,8 @@ $modulePath = $modulePsd1.FullName
$moduleName = $modulePsd1.BaseName
# Load DLL to use build-time cmdlets
-Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.Databricks.private.dll')
Import-Module -Name $modulePath
+Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.Databricks.private.dll')
$instance = [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Module]::Instance
# Module info is shared per profile
$moduleInfo = Get-Module -Name $moduleName
diff --git a/src/Databricks/generate-info.json b/src/Databricks/generate-info.json
new file mode 100644
index 000000000000..4ba7949c43ed
--- /dev/null
+++ b/src/Databricks/generate-info.json
@@ -0,0 +1,8 @@
+{
+ "node": "v10.16.0",
+ "autorest": "`-- (empty)",
+ "swagger_commit": "c7eba4d81cd6b0d7e5e3c953bd37b77fde36f6f3",
+ "autorest_powershell": "2.1.386",
+ "autorest_core": "3.0.6282",
+ "autorest_remodeler": "2.1.27"
+}
diff --git a/src/Databricks/generated/api/Databricks.cs b/src/Databricks/generated/api/Databricks.cs
index 7d368d8a4682..ae6316ccf4e1 100644
--- a/src/Databricks/generated/api/Databricks.cs
+++ b/src/Databricks/generated/api/Databricks.cs
@@ -434,6 +434,7 @@ public partial class Databricks
/// The name of the workspace.
/// The ID of the target subscription.
/// a delegate that is called when the remote service returns 200 (OK).
+ /// a delegate that is called when the remote service returns 204 (NoContent).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -441,7 +442,7 @@ public partial class Databricks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task WorkspacesDelete(string resourceGroupName, string workspaceName, string subscriptionId, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task WorkspacesDelete(string resourceGroupName, string workspaceName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
{
var apiVersion = @"2018-04-01";
// Constant Parameters
@@ -467,13 +468,14 @@ public partial class Databricks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.WorkspacesDelete_Call(request,onOk,onDefault,eventListener,sender);
+ await this.WorkspacesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender);
}
}
/// Deletes the workspace.
///
/// a delegate that is called when the remote service returns 200 (OK).
+ /// a delegate that is called when the remote service returns 204 (NoContent).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -481,7 +483,7 @@ public partial class Databricks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task WorkspacesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task WorkspacesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
{
var apiVersion = @"2018-04-01";
// Constant Parameters
@@ -519,13 +521,14 @@ public partial class Databricks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.WorkspacesDelete_Call(request,onOk,onDefault,eventListener,sender);
+ await this.WorkspacesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
/// a delegate that is called when the remote service returns 200 (OK).
+ /// a delegate that is called when the remote service returns 204 (NoContent).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -533,7 +536,7 @@ public partial class Databricks
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task WorkspacesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task WorkspacesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
@@ -647,6 +650,12 @@ public partial class Databricks
await onOk(_response);
break;
}
+ case global::System.Net.HttpStatusCode.NoContent:
+ {
+ await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
+ await onNoContent(_response);
+ break;
+ }
default:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -696,7 +705,6 @@ public partial class Databricks
/// The name of the workspace.
/// The ID of the target subscription.
/// a delegate that is called when the remote service returns 200 (OK).
- /// a delegate that is called when the remote service returns 404 (NotFound).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -704,7 +712,7 @@ public partial class Databricks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task WorkspacesGet(string resourceGroupName, string workspaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task WorkspacesGet(string resourceGroupName, string workspaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
{
var apiVersion = @"2018-04-01";
// Constant Parameters
@@ -730,14 +738,13 @@ public partial class Databricks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.WorkspacesGet_Call(request,onOk,onNotFound,onDefault,eventListener,sender);
+ await this.WorkspacesGet_Call(request,onOk,onDefault,eventListener,sender);
}
}
/// Gets the workspace.
///
/// a delegate that is called when the remote service returns 200 (OK).
- /// a delegate that is called when the remote service returns 404 (NotFound).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -745,7 +752,7 @@ public partial class Databricks
///
/// A that will be complete when handling of the response is completed.
///
- public async global::System.Threading.Tasks.Task WorkspacesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
+ public async global::System.Threading.Tasks.Task WorkspacesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
{
var apiVersion = @"2018-04-01";
// Constant Parameters
@@ -783,14 +790,13 @@ public partial class Databricks
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; }
// make the call
- await this.WorkspacesGet_Call(request,onOk,onNotFound,onDefault,eventListener,sender);
+ await this.WorkspacesGet_Call(request,onOk,onDefault,eventListener,sender);
}
}
/// Actual wire call for method.
/// the prepared HttpRequestMessage to send.
/// a delegate that is called when the remote service returns 200 (OK).
- /// a delegate that is called when the remote service returns 404 (NotFound).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
/// an instance that will receive events.
@@ -798,7 +804,7 @@ public partial class Databricks
///
/// A that will be complete when handling of the response is completed.
///
- internal async global::System.Threading.Tasks.Task WorkspacesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
+ internal async global::System.Threading.Tasks.Task WorkspacesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.ISendAsync sender)
{
using( NoSynchronizationContext )
{
@@ -818,12 +824,6 @@ public partial class Databricks
await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.Workspace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(body.Result)) ));
break;
}
- case global::System.Net.HttpStatusCode.NotFound:
- {
- await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
- await onNotFound(_response);
- break;
- }
default:
{
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
diff --git a/src/Databricks/generated/api/Models/Api20180401/CreatedBy.PowerShell.cs b/src/Databricks/generated/api/Models/Api20180401/CreatedBy.PowerShell.cs
new file mode 100644
index 000000000000..a904fb4d4fea
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/CreatedBy.PowerShell.cs
@@ -0,0 +1,135 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell;
+
+ /// Provides details of the entity that created/updated the workspace.
+ [System.ComponentModel.TypeConverter(typeof(CreatedByTypeConverter))]
+ public partial class CreatedBy
+ {
+
+ ///
+ /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the
+ /// object before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+
+ partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content);
+
+ ///
+ /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object
+ /// before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+
+ partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content);
+
+ ///
+ /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization
+ /// of the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow);
+
+ ///
+ /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization
+ /// of the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow);
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ internal CreatedBy(global::System.Collections.IDictionary content)
+ {
+ bool returnNow = false;
+ BeforeDeserializeDictionary(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).ApplicationId = (string) content.GetValueForProperty("ApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).ApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).Oid = (string) content.GetValueForProperty("Oid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).Oid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).Puid = (string) content.GetValueForProperty("Puid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).Puid, global::System.Convert.ToString);
+ AfterDeserializeDictionary(content);
+ }
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ internal CreatedBy(global::System.Management.Automation.PSObject content)
+ {
+ bool returnNow = false;
+ BeforeDeserializePSObject(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).ApplicationId = (string) content.GetValueForProperty("ApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).ApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).Oid = (string) content.GetValueForProperty("Oid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).Oid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).Puid = (string) content.GetValueForProperty("Puid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)this).Puid, global::System.Convert.ToString);
+ AfterDeserializePSObject(content);
+ }
+
+ ///
+ /// Deserializes a into an instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ ///
+ /// an instance of .
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy DeserializeFromDictionary(global::System.Collections.IDictionary content)
+ {
+ return new CreatedBy(content);
+ }
+
+ ///
+ /// Deserializes a into an instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ ///
+ /// an instance of .
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
+ {
+ return new CreatedBy(content);
+ }
+
+ ///
+ /// Creates a new instance of , deserializing the content from a json string.
+ ///
+ /// a string containing a JSON serialized instance of this model.
+ /// an instance of the model class.
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(jsonText));
+
+ /// Serializes this instance to a json string.
+
+ /// a containing this model serialized to JSON text.
+ public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeAll)?.ToString();
+ }
+ /// Provides details of the entity that created/updated the workspace.
+ [System.ComponentModel.TypeConverter(typeof(CreatedByTypeConverter))]
+ public partial interface ICreatedBy
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/CreatedBy.TypeConverter.cs b/src/Databricks/generated/api/Models/Api20180401/CreatedBy.TypeConverter.cs
new file mode 100644
index 000000000000..17c835107df6
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/CreatedBy.TypeConverter.cs
@@ -0,0 +1,142 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell;
+
+ ///
+ /// A PowerShell PSTypeConverter to support converting to an instance of
+ ///
+ public partial class CreatedByTypeConverter : global::System.Management.Automation.PSTypeConverter
+ {
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false.
+ ///
+ public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue);
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the instance to check if it can be converted to the type.
+ ///
+ /// true if the instance could be converted to a type, otherwise false
+ ///
+ public static bool CanConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return true;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ // we say yest to PSObjects
+ return true;
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ // we say yest to Hashtables/dictionaries
+ return true;
+ }
+ try
+ {
+ if (null != sourceValue.ToJsonString())
+ {
+ return true;
+ }
+ }
+ catch
+ {
+ // Not one of our objects
+ }
+ try
+ {
+ string text = sourceValue.ToString()?.Trim();
+ return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonType.Object;
+ }
+ catch
+ {
+ // Doesn't look like it can be treated as JSON
+ }
+ return false;
+ }
+
+ ///
+ /// Determines if the parameter can be converted to the parameter
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false
+ ///
+ public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false;
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue);
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the value to convert into an instance of .
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy ConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return null;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy).IsAssignableFrom(type))
+ {
+ return sourceValue;
+ }
+ try
+ {
+ return CreatedBy.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());;
+ }
+ catch
+ {
+ // Unable to use JSON pattern
+ }
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ return CreatedBy.DeserializeFromPSObject(sourceValue);
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ return CreatedBy.DeserializeFromDictionary(sourceValue);
+ }
+ return null;
+ }
+
+ /// NotImplemented -- this will return null
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ /// will always return null.
+ public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null;
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/CreatedBy.cs b/src/Databricks/generated/api/Models/Api20180401/CreatedBy.cs
new file mode 100644
index 000000000000..c27328118dd2
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/CreatedBy.cs
@@ -0,0 +1,95 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// Provides details of the entity that created/updated the workspace.
+ public partial class CreatedBy :
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy,
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal
+ {
+
+ /// Backing field for property.
+ private string _applicationId;
+
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string ApplicationId { get => this._applicationId; }
+
+ /// Internal Acessors for ApplicationId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal.ApplicationId { get => this._applicationId; set { {_applicationId = value;} } }
+
+ /// Internal Acessors for Oid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal.Oid { get => this._oid; set { {_oid = value;} } }
+
+ /// Internal Acessors for Puid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal.Puid { get => this._puid; set { {_puid = value;} } }
+
+ /// Backing field for property.
+ private string _oid;
+
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string Oid { get => this._oid; }
+
+ /// Backing field for property.
+ private string _puid;
+
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string Puid { get => this._puid; }
+
+ /// Creates an new instance.
+ public CreatedBy()
+ {
+
+ }
+ }
+ /// Provides details of the entity that created/updated the workspace.
+ public partial interface ICreatedBy :
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IJsonSerializable
+ {
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.",
+ SerializedName = @"applicationId",
+ PossibleTypes = new [] { typeof(string) })]
+ string ApplicationId { get; }
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Object ID that created the workspace.",
+ SerializedName = @"oid",
+ PossibleTypes = new [] { typeof(string) })]
+ string Oid { get; }
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Personal Object ID corresponding to the object ID above",
+ SerializedName = @"puid",
+ PossibleTypes = new [] { typeof(string) })]
+ string Puid { get; }
+
+ }
+ /// Provides details of the entity that created/updated the workspace.
+ internal partial interface ICreatedByInternal
+
+ {
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ string ApplicationId { get; set; }
+ /// The Object ID that created the workspace.
+ string Oid { get; set; }
+ /// The Personal Object ID corresponding to the object ID above
+ string Puid { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/CreatedBy.json.cs b/src/Databricks/generated/api/Models/Api20180401/CreatedBy.json.cs
new file mode 100644
index 000000000000..9acf223a7517
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/CreatedBy.json.cs
@@ -0,0 +1,114 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// Provides details of the entity that created/updated the workspace.
+ public partial class CreatedBy
+ {
+
+ ///
+ /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object
+ /// before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The JsonNode that should be deserialized into this object.
+
+ partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json);
+
+ ///
+ /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The JSON container that the serialization result will be placed in.
+
+ partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container);
+
+ ///
+ /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of
+ /// the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The JsonNode that should be deserialized into this object.
+ /// Determines if the rest of the deserialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json, ref bool returnNow);
+
+ ///
+ /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the
+ /// object before it is serialized.
+ /// If you wish to disable the default serialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The JSON container that the serialization result will be placed in.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject instance to deserialize from.
+ internal CreatedBy(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_applicationId = If( json?.PropertyT("applicationId"), out var __jsonApplicationId) ? (string)__jsonApplicationId : (string)ApplicationId;}
+ {_oid = If( json?.PropertyT("oid"), out var __jsonOid) ? (string)__jsonOid : (string)Oid;}
+ {_puid = If( json?.PropertyT("puid"), out var __jsonPuid) ? (string)__jsonPuid : (string)Puid;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json ? new CreatedBy(json) : null;
+ }
+
+ ///
+ /// Serializes this instance of into a .
+ ///
+ /// The container to serialize this object into. If the caller
+ /// passes in null, a new instance will be created and returned to the caller.
+ /// Allows the caller to choose the depth of the serialization. See .
+ ///
+ /// a serialized instance of as a .
+ ///
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._applicationId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._applicationId.ToString()) : null, "applicationId" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._oid)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._oid.ToString()) : null, "oid" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._puid)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._puid.ToString()) : null, "puid" ,container.Add );
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/Encryption.PowerShell.cs b/src/Databricks/generated/api/Models/Api20180401/Encryption.PowerShell.cs
new file mode 100644
index 000000000000..1a5f2c9535f9
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/Encryption.PowerShell.cs
@@ -0,0 +1,137 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell;
+
+ /// The object that contains details of encryption used on the workspace.
+ [System.ComponentModel.TypeConverter(typeof(EncryptionTypeConverter))]
+ public partial class Encryption
+ {
+
+ ///
+ /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the
+ /// object before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+
+ partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content);
+
+ ///
+ /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object
+ /// before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+
+ partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content);
+
+ ///
+ /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization
+ /// of the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow);
+
+ ///
+ /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization
+ /// of the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow);
+
+ ///
+ /// Deserializes a into an instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ ///
+ /// an instance of .
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption DeserializeFromDictionary(global::System.Collections.IDictionary content)
+ {
+ return new Encryption(content);
+ }
+
+ ///
+ /// Deserializes a into an instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ ///
+ /// an instance of .
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
+ {
+ return new Encryption(content);
+ }
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ internal Encryption(global::System.Collections.IDictionary content)
+ {
+ bool returnNow = false;
+ BeforeDeserializeDictionary(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyName, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyVersion, global::System.Convert.ToString);
+ AfterDeserializeDictionary(content);
+ }
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ internal Encryption(global::System.Management.Automation.PSObject content)
+ {
+ bool returnNow = false;
+ BeforeDeserializePSObject(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyName, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)this).KeyVersion, global::System.Convert.ToString);
+ AfterDeserializePSObject(content);
+ }
+
+ ///
+ /// Creates a new instance of , deserializing the content from a json string.
+ ///
+ /// a string containing a JSON serialized instance of this model.
+ /// an instance of the model class.
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(jsonText));
+
+ /// Serializes this instance to a json string.
+
+ /// a containing this model serialized to JSON text.
+ public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeAll)?.ToString();
+ }
+ /// The object that contains details of encryption used on the workspace.
+ [System.ComponentModel.TypeConverter(typeof(EncryptionTypeConverter))]
+ public partial interface IEncryption
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/Encryption.TypeConverter.cs b/src/Databricks/generated/api/Models/Api20180401/Encryption.TypeConverter.cs
new file mode 100644
index 000000000000..60ff8113c533
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/Encryption.TypeConverter.cs
@@ -0,0 +1,142 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell;
+
+ ///
+ /// A PowerShell PSTypeConverter to support converting to an instance of
+ ///
+ public partial class EncryptionTypeConverter : global::System.Management.Automation.PSTypeConverter
+ {
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false.
+ ///
+ public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue);
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the instance to check if it can be converted to the type.
+ ///
+ /// true if the instance could be converted to a type, otherwise false
+ ///
+ public static bool CanConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return true;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ // we say yest to PSObjects
+ return true;
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ // we say yest to Hashtables/dictionaries
+ return true;
+ }
+ try
+ {
+ if (null != sourceValue.ToJsonString())
+ {
+ return true;
+ }
+ }
+ catch
+ {
+ // Not one of our objects
+ }
+ try
+ {
+ string text = sourceValue.ToString()?.Trim();
+ return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonType.Object;
+ }
+ catch
+ {
+ // Doesn't look like it can be treated as JSON
+ }
+ return false;
+ }
+
+ ///
+ /// Determines if the parameter can be converted to the parameter
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false
+ ///
+ public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false;
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue);
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the value to convert into an instance of .
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption ConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return null;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption).IsAssignableFrom(type))
+ {
+ return sourceValue;
+ }
+ try
+ {
+ return Encryption.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());;
+ }
+ catch
+ {
+ // Unable to use JSON pattern
+ }
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ return Encryption.DeserializeFromPSObject(sourceValue);
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ return Encryption.DeserializeFromDictionary(sourceValue);
+ }
+ return null;
+ }
+
+ /// NotImplemented -- this will return null
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ /// will always return null.
+ public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null;
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/Encryption.cs b/src/Databricks/generated/api/Models/Api20180401/Encryption.cs
new file mode 100644
index 000000000000..a94732c20d6c
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/Encryption.cs
@@ -0,0 +1,103 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// The object that contains details of encryption used on the workspace.
+ public partial class Encryption :
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption,
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal
+ {
+
+ /// Backing field for property.
+ private string _keyName;
+
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string KeyName { get => this._keyName; set => this._keyName = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? _keySource;
+
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? KeySource { get => this._keySource; set => this._keySource = value; }
+
+ /// Backing field for property.
+ private string _keyVaultUri;
+
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string KeyVaultUri { get => this._keyVaultUri; set => this._keyVaultUri = value; }
+
+ /// Backing field for property.
+ private string _keyVersion;
+
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string KeyVersion { get => this._keyVersion; set => this._keyVersion = value; }
+
+ /// Creates an new instance.
+ public Encryption()
+ {
+
+ }
+ }
+ /// The object that contains details of encryption used on the workspace.
+ public partial interface IEncryption :
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IJsonSerializable
+ {
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The name of KeyVault key.",
+ SerializedName = @"KeyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string KeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault",
+ SerializedName = @"keySource",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? KeySource { get; set; }
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The Uri of KeyVault.",
+ SerializedName = @"keyvaulturi",
+ PossibleTypes = new [] { typeof(string) })]
+ string KeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The version of KeyVault key.",
+ SerializedName = @"keyversion",
+ PossibleTypes = new [] { typeof(string) })]
+ string KeyVersion { get; set; }
+
+ }
+ /// The object that contains details of encryption used on the workspace.
+ internal partial interface IEncryptionInternal
+
+ {
+ /// The name of KeyVault key.
+ string KeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? KeySource { get; set; }
+ /// The Uri of KeyVault.
+ string KeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ string KeyVersion { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/Encryption.json.cs b/src/Databricks/generated/api/Models/Api20180401/Encryption.json.cs
new file mode 100644
index 000000000000..148bd0d6f606
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/Encryption.json.cs
@@ -0,0 +1,107 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// The object that contains details of encryption used on the workspace.
+ public partial class Encryption
+ {
+
+ ///
+ /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object
+ /// before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The JsonNode that should be deserialized into this object.
+
+ partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json);
+
+ ///
+ /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The JSON container that the serialization result will be placed in.
+
+ partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container);
+
+ ///
+ /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of
+ /// the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The JsonNode that should be deserialized into this object.
+ /// Determines if the rest of the deserialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json, ref bool returnNow);
+
+ ///
+ /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the
+ /// object before it is serialized.
+ /// If you wish to disable the default serialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The JSON container that the serialization result will be placed in.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject instance to deserialize from.
+ internal Encryption(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_keyName = If( json?.PropertyT("KeyName"), out var __jsonKeyName) ? (string)__jsonKeyName : (string)KeyName;}
+ {_keySource = If( json?.PropertyT("keySource"), out var __jsonKeySource) ? (string)__jsonKeySource : (string)KeySource;}
+ {_keyVaultUri = If( json?.PropertyT("keyvaulturi"), out var __jsonKeyvaulturi) ? (string)__jsonKeyvaulturi : (string)KeyVaultUri;}
+ {_keyVersion = If( json?.PropertyT("keyversion"), out var __jsonKeyversion) ? (string)__jsonKeyversion : (string)KeyVersion;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json ? new Encryption(json) : null;
+ }
+
+ ///
+ /// Serializes this instance of into a .
+ ///
+ /// The container to serialize this object into. If the caller
+ /// passes in null, a new instance will be created and returned to the caller.
+ /// Allows the caller to choose the depth of the serialization. See .
+ ///
+ /// a serialized instance of as a .
+ ///
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AddIf( null != (((object)this._keyName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._keyName.ToString()) : null, "KeyName" ,container.Add );
+ AddIf( null != (((object)this._keySource)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._keySource.ToString()) : null, "keySource" ,container.Add );
+ AddIf( null != (((object)this._keyVaultUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._keyVaultUri.ToString()) : null, "keyvaulturi" ,container.Add );
+ AddIf( null != (((object)this._keyVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._keyVersion.ToString()) : null, "keyversion" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.PowerShell.cs b/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.PowerShell.cs
new file mode 100644
index 000000000000..9f176a5d731e
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.PowerShell.cs
@@ -0,0 +1,137 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell;
+
+ /// The Managed Identity details for storage account.
+ [System.ComponentModel.TypeConverter(typeof(ManagedIdentityConfigurationTypeConverter))]
+ public partial class ManagedIdentityConfiguration
+ {
+
+ ///
+ /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the
+ /// object before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+
+ partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content);
+
+ ///
+ /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object
+ /// before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+
+ partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content);
+
+ ///
+ /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization
+ /// of the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow);
+
+ ///
+ /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization
+ /// of the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow);
+
+ ///
+ /// Deserializes a into an instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ ///
+ /// an instance of .
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration DeserializeFromDictionary(global::System.Collections.IDictionary content)
+ {
+ return new ManagedIdentityConfiguration(content);
+ }
+
+ ///
+ /// Deserializes a into an instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ ///
+ /// an instance of .
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
+ {
+ return new ManagedIdentityConfiguration(content);
+ }
+
+ ///
+ /// Creates a new instance of , deserializing the content from a json string.
+ ///
+ /// a string containing a JSON serialized instance of this model.
+ /// an instance of the model class.
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(jsonText));
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ internal ManagedIdentityConfiguration(global::System.Collections.IDictionary content)
+ {
+ bool returnNow = false;
+ BeforeDeserializeDictionary(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).Type, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).PrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).TenantId, global::System.Convert.ToString);
+ AfterDeserializeDictionary(content);
+ }
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ internal ManagedIdentityConfiguration(global::System.Management.Automation.PSObject content)
+ {
+ bool returnNow = false;
+ BeforeDeserializePSObject(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).Type, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).PrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)this).TenantId, global::System.Convert.ToString);
+ AfterDeserializePSObject(content);
+ }
+
+ /// Serializes this instance to a json string.
+
+ /// a containing this model serialized to JSON text.
+ public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeAll)?.ToString();
+ }
+ /// The Managed Identity details for storage account.
+ [System.ComponentModel.TypeConverter(typeof(ManagedIdentityConfigurationTypeConverter))]
+ public partial interface IManagedIdentityConfiguration
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.TypeConverter.cs b/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.TypeConverter.cs
new file mode 100644
index 000000000000..fec36a5883bf
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.TypeConverter.cs
@@ -0,0 +1,142 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell;
+
+ ///
+ /// A PowerShell PSTypeConverter to support converting to an instance of
+ ///
+ public partial class ManagedIdentityConfigurationTypeConverter : global::System.Management.Automation.PSTypeConverter
+ {
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false.
+ ///
+ public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue);
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the instance to check if it can be converted to the type.
+ ///
+ /// true if the instance could be converted to a type, otherwise false
+ ///
+ public static bool CanConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return true;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ // we say yest to PSObjects
+ return true;
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ // we say yest to Hashtables/dictionaries
+ return true;
+ }
+ try
+ {
+ if (null != sourceValue.ToJsonString())
+ {
+ return true;
+ }
+ }
+ catch
+ {
+ // Not one of our objects
+ }
+ try
+ {
+ string text = sourceValue.ToString()?.Trim();
+ return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonType.Object;
+ }
+ catch
+ {
+ // Doesn't look like it can be treated as JSON
+ }
+ return false;
+ }
+
+ ///
+ /// Determines if the parameter can be converted to the parameter
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false
+ ///
+ public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false;
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue);
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the value to convert into an instance of .
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration ConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return null;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration).IsAssignableFrom(type))
+ {
+ return sourceValue;
+ }
+ try
+ {
+ return ManagedIdentityConfiguration.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());;
+ }
+ catch
+ {
+ // Unable to use JSON pattern
+ }
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ return ManagedIdentityConfiguration.DeserializeFromPSObject(sourceValue);
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ return ManagedIdentityConfiguration.DeserializeFromDictionary(sourceValue);
+ }
+ return null;
+ }
+
+ /// NotImplemented -- this will return null
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ /// will always return null.
+ public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null;
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.cs b/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.cs
new file mode 100644
index 000000000000..ee9a2145d7f9
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.cs
@@ -0,0 +1,95 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// The Managed Identity details for storage account.
+ public partial class ManagedIdentityConfiguration :
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration,
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal
+ {
+
+ /// Internal Acessors for PrincipalId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } }
+
+ /// Internal Acessors for TenantId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } }
+
+ /// Internal Acessors for Type
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal.Type { get => this._type; set { {_type = value;} } }
+
+ /// Backing field for property.
+ private string _principalId;
+
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string PrincipalId { get => this._principalId; }
+
+ /// Backing field for property.
+ private string _tenantId;
+
+ /// The tenant Id where the Managed Identity is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string TenantId { get => this._tenantId; }
+
+ /// Backing field for property.
+ private string _type;
+
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string Type { get => this._type; }
+
+ /// Creates an new instance.
+ public ManagedIdentityConfiguration()
+ {
+
+ }
+ }
+ /// The Managed Identity details for storage account.
+ public partial interface IManagedIdentityConfiguration :
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IJsonSerializable
+ {
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The objectId of the Managed Identity that is linked to the Managed Storage account.",
+ SerializedName = @"principalId",
+ PossibleTypes = new [] { typeof(string) })]
+ string PrincipalId { get; }
+ /// The tenant Id where the Managed Identity is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The tenant Id where the Managed Identity is created.",
+ SerializedName = @"tenantId",
+ PossibleTypes = new [] { typeof(string) })]
+ string TenantId { get; }
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of Identity created. It can be either SystemAssigned or UserAssigned.",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(string) })]
+ string Type { get; }
+
+ }
+ /// The Managed Identity details for storage account.
+ internal partial interface IManagedIdentityConfigurationInternal
+
+ {
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ string PrincipalId { get; set; }
+ /// The tenant Id where the Managed Identity is created.
+ string TenantId { get; set; }
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ string Type { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.json.cs b/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.json.cs
new file mode 100644
index 000000000000..a341879c6d23
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/ManagedIdentityConfiguration.json.cs
@@ -0,0 +1,114 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// The Managed Identity details for storage account.
+ public partial class ManagedIdentityConfiguration
+ {
+
+ ///
+ /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object
+ /// before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The JsonNode that should be deserialized into this object.
+
+ partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json);
+
+ ///
+ /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The JSON container that the serialization result will be placed in.
+
+ partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container);
+
+ ///
+ /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of
+ /// the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The JsonNode that should be deserialized into this object.
+ /// Determines if the rest of the deserialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json, ref bool returnNow);
+
+ ///
+ /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the
+ /// object before it is serialized.
+ /// If you wish to disable the default serialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The JSON container that the serialization result will be placed in.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json ? new ManagedIdentityConfiguration(json) : null;
+ }
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject instance to deserialize from.
+ internal ManagedIdentityConfiguration(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;}
+ {_principalId = If( json?.PropertyT("principalId"), out var __jsonPrincipalId) ? (string)__jsonPrincipalId : (string)PrincipalId;}
+ {_tenantId = If( json?.PropertyT("tenantId"), out var __jsonTenantId) ? (string)__jsonTenantId : (string)TenantId;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Serializes this instance of into a .
+ ///
+ /// The container to serialize this object into. If the caller
+ /// passes in null, a new instance will be created and returned to the caller.
+ /// Allows the caller to choose the depth of the serialization. See .
+ ///
+ /// a serialized instance of as a .
+ ///
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._type)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._type.ToString()) : null, "type" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._principalId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._principalId.ToString()) : null, "principalId" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._tenantId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._tenantId.ToString()) : null, "tenantId" ,container.Add );
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/Workspace.PowerShell.cs b/src/Databricks/generated/api/Models/Api20180401/Workspace.PowerShell.cs
index d613ad12a626..b95751e4789a 100644
--- a/src/Databricks/generated/api/Models/Api20180401/Workspace.PowerShell.cs
+++ b/src/Databricks/generated/api/Models/Api20180401/Workspace.PowerShell.cs
@@ -106,49 +106,74 @@ internal Workspace(global::System.Collections.IDictionary content)
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IResourceInternal)this).Id, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceInternal)this).Location, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.TrackedResourceTagsTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedBy = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy) content.GetValueForProperty("CreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedBy, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedByTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).SkuTier = (string) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).SkuTier, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).SkuName, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomParametersTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByApplicationId = (string) content.GetValueForProperty("CreatedByApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Authorization = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[]) content.GetValueForProperty("Authorization",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Authorization, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceProviderAuthorizationTypeConverter.ConvertFrom));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedBy = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy) content.GetValueForProperty("UpdatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedBy, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedByTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UiDefinitionUri = (string) content.GetValueForProperty("UiDefinitionUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UiDefinitionUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).WorkspaceId = (string) content.GetValueForProperty("WorkspaceId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).WorkspaceId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Url, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ManagedResourceGroupId = (string) content.GetValueForProperty("ManagedResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ManagedResourceGroupId, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Authorization = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[]) content.GetValueForProperty("Authorization",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Authorization, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceProviderAuthorizationTypeConverter.ConvertFrom));
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountSkuName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountSkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountSkuName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByPuid = (string) content.GetValueForProperty("CreatedByPuid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByPuid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByOid = (string) content.GetValueForProperty("CreatedByOid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByOid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomParametersTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration) content.GetValueForProperty("StorageAccountIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentity, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfigurationTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedDateTime = (global::System.DateTime?) content.GetValueForProperty("CreatedDateTime",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedDateTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomVirtualNetworkId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomVirtualNetworkId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomVirtualNetworkId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEnableNoPublicIP = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterEnableNoPublicIP",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEnableNoPublicIP, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter) content.GetValueForProperty("ParameterEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerBackendPoolName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerBackendPoolName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerBackendPoolName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterPrepareEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterPrepareEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterPrepareEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterRelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterRelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterRelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterResourceTag = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameter) content.GetValueForProperty("ParameterResourceTag",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterResourceTag, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerBackendPoolName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerBackendPoolName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerBackendPoolName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountSkuName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountSkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountSkuName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterVnetAddressPrefix = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterVnetAddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterVnetAddressPrefix, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPrivateSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPrivateSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPrivateSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption) content.GetValueForProperty("EncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.EncryptionTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByOid = (string) content.GetValueForProperty("UpdatedByOid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByOid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByApplicationId = (string) content.GetValueForProperty("UpdatedByApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityTenantId = (string) content.GetValueForProperty("StorageAccountIdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityTenantId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityPrincipalId = (string) content.GetValueForProperty("StorageAccountIdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityPrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityType = (string) content.GetValueForProperty("StorageAccountIdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityType, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByPuid = (string) content.GetValueForProperty("UpdatedByPuid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByPuid, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterAmlWorkspaceId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterAmlWorkspaceId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterAmlWorkspaceId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEnableNoPublicIP = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterEnableNoPublicIP",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEnableNoPublicIP, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterRelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterRelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterRelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameValue = (string) content.GetValueForProperty("CustomPublicSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdValue = (string) content.GetValueForProperty("CustomVirtualNetworkIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPrivateSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPrivateSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPrivateSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("ResourceTagType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPValue = (bool) content.GetValueForProperty("EnableNoPublicIPValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("EncryptionKeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).AmlWorkspaceIdValue = (string) content.GetValueForProperty("AmlWorkspaceIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).AmlWorkspaceIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdValue = (string) content.GetValueForProperty("LoadBalancerIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).PrepareEncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("PrepareEncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).PrepareEncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).PrepareEncryption = (bool) content.GetValueForProperty("PrepareEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).PrepareEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameValue = (string) content.GetValueForProperty("RelayNamespaceNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("ResourceTagType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomVirtualNetworkIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue) content.GetValueForProperty("ResourceTagValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterValueTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountNameValue = (string) content.GetValueForProperty("StorageAccountNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomVirtualNetworkIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameValue = (string) content.GetValueForProperty("CustomPublicSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdValue = (string) content.GetValueForProperty("CustomVirtualNetworkIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyVaultUri = (string) content.GetValueForProperty("EncryptionKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyVersion = (string) content.GetValueForProperty("EncryptionKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyVersion, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyName = (string) content.GetValueForProperty("EncryptionKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyName, global::System.Convert.ToString);
AfterDeserializeDictionary(content);
}
@@ -173,49 +198,74 @@ internal Workspace(global::System.Management.Automation.PSObject content)
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IResourceInternal)this).Id, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceInternal)this).Location, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.TrackedResourceTagsTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedBy = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy) content.GetValueForProperty("CreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedBy, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedByTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).SkuTier = (string) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).SkuTier, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).SkuName, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomParametersTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByApplicationId = (string) content.GetValueForProperty("CreatedByApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Authorization = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[]) content.GetValueForProperty("Authorization",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Authorization, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceProviderAuthorizationTypeConverter.ConvertFrom));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedBy = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy) content.GetValueForProperty("UpdatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedBy, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedByTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UiDefinitionUri = (string) content.GetValueForProperty("UiDefinitionUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UiDefinitionUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).WorkspaceId = (string) content.GetValueForProperty("WorkspaceId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).WorkspaceId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Url, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ManagedResourceGroupId = (string) content.GetValueForProperty("ManagedResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ManagedResourceGroupId, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Authorization = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[]) content.GetValueForProperty("Authorization",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Authorization, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceProviderAuthorizationTypeConverter.ConvertFrom));
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountSkuName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountSkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountSkuName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByPuid = (string) content.GetValueForProperty("CreatedByPuid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByPuid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByOid = (string) content.GetValueForProperty("CreatedByOid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedByOid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomParametersTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration) content.GetValueForProperty("StorageAccountIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentity, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfigurationTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedDateTime = (global::System.DateTime?) content.GetValueForProperty("CreatedDateTime",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CreatedDateTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomVirtualNetworkId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomVirtualNetworkId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomVirtualNetworkId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEnableNoPublicIP = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterEnableNoPublicIP",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEnableNoPublicIP, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter) content.GetValueForProperty("ParameterEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerBackendPoolName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerBackendPoolName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerBackendPoolName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterPrepareEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterPrepareEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterPrepareEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterRelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterRelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterRelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterResourceTag = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameter) content.GetValueForProperty("ParameterResourceTag",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterResourceTag, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerBackendPoolName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerBackendPoolName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterLoadBalancerBackendPoolName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountSkuName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountSkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterStorageAccountSkuName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterVnetAddressPrefix = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterVnetAddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterVnetAddressPrefix, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPrivateSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPrivateSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPrivateSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption) content.GetValueForProperty("EncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.EncryptionTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByOid = (string) content.GetValueForProperty("UpdatedByOid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByOid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByApplicationId = (string) content.GetValueForProperty("UpdatedByApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityTenantId = (string) content.GetValueForProperty("StorageAccountIdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityTenantId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityPrincipalId = (string) content.GetValueForProperty("StorageAccountIdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityPrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityType = (string) content.GetValueForProperty("StorageAccountIdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountIdentityType, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByPuid = (string) content.GetValueForProperty("UpdatedByPuid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).UpdatedByPuid, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterAmlWorkspaceId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterAmlWorkspaceId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterAmlWorkspaceId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEnableNoPublicIP = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterEnableNoPublicIP",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterEnableNoPublicIP, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterRelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterRelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterRelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameValue = (string) content.GetValueForProperty("CustomPublicSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdValue = (string) content.GetValueForProperty("CustomVirtualNetworkIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPrivateSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPrivateSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ParameterCustomPrivateSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("ResourceTagType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPValue = (bool) content.GetValueForProperty("EnableNoPublicIPValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("EncryptionKeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).AmlWorkspaceIdValue = (string) content.GetValueForProperty("AmlWorkspaceIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).AmlWorkspaceIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdValue = (string) content.GetValueForProperty("LoadBalancerIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerIdValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).PrepareEncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("PrepareEncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).PrepareEncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).PrepareEncryption = (bool) content.GetValueForProperty("PrepareEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).PrepareEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameValue = (string) content.GetValueForProperty("RelayNamespaceNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("ResourceTagType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomVirtualNetworkIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue) content.GetValueForProperty("ResourceTagValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).ResourceTagValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterValueTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountNameValue = (string) content.GetValueForProperty("StorageAccountNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomVirtualNetworkIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameValue = (string) content.GetValueForProperty("CustomPublicSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdValue = (string) content.GetValueForProperty("CustomVirtualNetworkIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).CustomVirtualNetworkIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyVaultUri = (string) content.GetValueForProperty("EncryptionKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyVersion = (string) content.GetValueForProperty("EncryptionKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyVersion, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyName = (string) content.GetValueForProperty("EncryptionKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal)this).EncryptionKeyName, global::System.Convert.ToString);
AfterDeserializePSObject(content);
}
}
diff --git a/src/Databricks/generated/api/Models/Api20180401/Workspace.cs b/src/Databricks/generated/api/Models/Api20180401/Workspace.cs
index 5bd76e4d293d..5961fe15445d 100644
--- a/src/Databricks/generated/api/Models/Api20180401/Workspace.cs
+++ b/src/Databricks/generated/api/Models/Api20180401/Workspace.cs
@@ -29,6 +29,28 @@ public partial class Workspace :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[] Authorization { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).Authorization; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).Authorization = value; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string CreatedByApplicationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByApplicationId; }
+
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string CreatedByOid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByOid; }
+
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string CreatedByPuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByPuid; }
+
+ /// Specifies the date and time when the workspace is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public global::System.DateTime? CreatedDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedDateTime; }
+
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
@@ -69,6 +91,33 @@ public partial class Workspace :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
public bool EnableNoPublicIPValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EnableNoPublicIPValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EnableNoPublicIPValue = value; }
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string EncryptionKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ValueKeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ValueKeyName = value; }
+
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? EncryptionKeySource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ValueKeySource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ValueKeySource = value; }
+
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string EncryptionKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ValueKeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ValueKeyVaultUri = value; }
+
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string EncryptionKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ValueKeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ValueKeyVersion = value; }
+
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EncryptionType; }
+
///
/// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
///
@@ -118,6 +167,21 @@ public partial class Workspace :
/// Internal Acessors for AmlWorkspaceIdType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.AmlWorkspaceIdType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).AmlWorkspaceIdType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).AmlWorkspaceIdType = value; }
+ /// Internal Acessors for CreatedBy
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.CreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedBy = value; }
+
+ /// Internal Acessors for CreatedByApplicationId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.CreatedByApplicationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByApplicationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByApplicationId = value; }
+
+ /// Internal Acessors for CreatedByOid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.CreatedByOid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByOid; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByOid = value; }
+
+ /// Internal Acessors for CreatedByPuid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.CreatedByPuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByPuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedByPuid = value; }
+
+ /// Internal Acessors for CreatedDateTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.CreatedDateTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedDateTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CreatedDateTime = value; }
+
/// Internal Acessors for CustomPrivateSubnetNameType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.CustomPrivateSubnetNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CustomPrivateSubnetNameType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).CustomPrivateSubnetNameType = value; }
@@ -130,6 +194,12 @@ public partial class Workspace :
/// Internal Acessors for EnableNoPublicIPType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.EnableNoPublicIPType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EnableNoPublicIPType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EnableNoPublicIPType = value; }
+ /// Internal Acessors for EncryptionType
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.EncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EncryptionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EncryptionType = value; }
+
+ /// Internal Acessors for EncryptionValue
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.EncryptionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EncryptionValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).EncryptionValue = value; }
+
/// Internal Acessors for LoadBalancerBackendPoolNameType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.LoadBalancerBackendPoolNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).LoadBalancerBackendPoolNameType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).LoadBalancerBackendPoolNameType = value; }
@@ -154,12 +224,18 @@ public partial class Workspace :
/// Internal Acessors for ParameterEnableNoPublicIP
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.ParameterEnableNoPublicIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterEnableNoPublicIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterEnableNoPublicIP = value; }
+ /// Internal Acessors for ParameterEncryption
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.ParameterEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterEncryption = value; }
+
/// Internal Acessors for ParameterLoadBalancerBackendPoolName
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.ParameterLoadBalancerBackendPoolName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterLoadBalancerBackendPoolName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterLoadBalancerBackendPoolName = value; }
/// Internal Acessors for ParameterLoadBalancerId
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.ParameterLoadBalancerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterLoadBalancerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterLoadBalancerId = value; }
+ /// Internal Acessors for ParameterPrepareEncryption
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.ParameterPrepareEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterPrepareEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterPrepareEncryption = value; }
+
/// Internal Acessors for ParameterRelayNamespaceName
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.ParameterRelayNamespaceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterRelayNamespaceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterRelayNamespaceName = value; }
@@ -175,6 +251,9 @@ public partial class Workspace :
/// Internal Acessors for ParameterVnetAddressPrefix
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.ParameterVnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterVnetAddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).ParameterVnetAddressPrefix = value; }
+ /// Internal Acessors for PrepareEncryptionType
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.PrepareEncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).PrepareEncryptionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).PrepareEncryptionType = value; }
+
/// Internal Acessors for Property
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProperties Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceProperties()); set { {_property = value;} } }
@@ -190,20 +269,60 @@ public partial class Workspace :
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ISku Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.Sku()); set { {_sku = value;} } }
+ /// Internal Acessors for StorageAccountIdentity
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.StorageAccountIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentity = value; }
+
+ /// Internal Acessors for StorageAccountIdentityPrincipalId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.StorageAccountIdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityPrincipalId = value; }
+
+ /// Internal Acessors for StorageAccountIdentityTenantId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.StorageAccountIdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityTenantId = value; }
+
+ /// Internal Acessors for StorageAccountIdentityType
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.StorageAccountIdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityType = value; }
+
/// Internal Acessors for StorageAccountNameType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.StorageAccountNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountNameType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountNameType = value; }
/// Internal Acessors for StorageAccountSkuNameType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.StorageAccountSkuNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountSkuNameType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountSkuNameType = value; }
+ /// Internal Acessors for UpdatedBy
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.UpdatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedBy = value; }
+
+ /// Internal Acessors for UpdatedByApplicationId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.UpdatedByApplicationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByApplicationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByApplicationId = value; }
+
+ /// Internal Acessors for UpdatedByOid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.UpdatedByOid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByOid; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByOid = value; }
+
+ /// Internal Acessors for UpdatedByPuid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.UpdatedByPuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByPuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByPuid = value; }
+
+ /// Internal Acessors for Url
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.Url { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).WorkspaceUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).WorkspaceUrl = value; }
+
/// Internal Acessors for VnetAddressPrefixType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.VnetAddressPrefixType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).VnetAddressPrefixType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).VnetAddressPrefixType = value; }
+ /// Internal Acessors for WorkspaceId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceInternal.WorkspaceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).WorkspaceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).WorkspaceId = value; }
+
/// The name of the resource
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inherited)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.FormatTable(Index = 0)]
public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IResourceInternal)__trackedResource).Name; }
+ /// The value which should be used for this field.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public bool PrepareEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).PrepareEncryptionValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).PrepareEncryptionValue = value; }
+
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).PrepareEncryptionType; }
+
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProperties _property;
@@ -255,6 +374,23 @@ public partial class Workspace :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
public string SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ISkuInternal)Sku).Tier = value; }
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string StorageAccountIdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityPrincipalId; }
+
+ /// The tenant Id where the Managed Identity is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string StorageAccountIdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityTenantId; }
+
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string StorageAccountIdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).StorageAccountIdentityType; }
+
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
@@ -292,6 +428,30 @@ public partial class Workspace :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
public string UiDefinitionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UiDefinitionUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UiDefinitionUri = value; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string UpdatedByApplicationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByApplicationId; }
+
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string UpdatedByOid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByOid; }
+
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string UpdatedByPuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).UpdatedByPuid; }
+
+ ///
+ /// The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string Url { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).WorkspaceUrl; }
+
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
@@ -302,6 +462,11 @@ public partial class Workspace :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
public string VnetAddressPrefixValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).VnetAddressPrefixValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).VnetAddressPrefixValue = value; }
+ /// The unique identifier of the databricks workspace in databricks control plane.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.DoNotFormat]
+ public string WorkspaceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)Property).WorkspaceId; }
+
/// Validates that this object meets the validation criteria.
/// an instance that will receive validation
/// events.
@@ -349,6 +514,40 @@ public partial interface IWorkspace :
SerializedName = @"authorizations",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization) })]
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[] Authorization { get; set; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.",
+ SerializedName = @"applicationId",
+ PossibleTypes = new [] { typeof(string) })]
+ string CreatedByApplicationId { get; }
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Object ID that created the workspace.",
+ SerializedName = @"oid",
+ PossibleTypes = new [] { typeof(string) })]
+ string CreatedByOid { get; }
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Personal Object ID corresponding to the object ID above",
+ SerializedName = @"puid",
+ PossibleTypes = new [] { typeof(string) })]
+ string CreatedByPuid { get; }
+ /// Specifies the date and time when the workspace is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Specifies the date and time when the workspace is created.",
+ SerializedName = @"createdDateTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? CreatedDateTime { get; }
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -413,6 +612,48 @@ public partial interface IWorkspace :
SerializedName = @"value",
PossibleTypes = new [] { typeof(bool) })]
bool EnableNoPublicIPValue { get; set; }
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The name of KeyVault key.",
+ SerializedName = @"KeyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string EncryptionKeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault",
+ SerializedName = @"keySource",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? EncryptionKeySource { get; set; }
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The Uri of KeyVault.",
+ SerializedName = @"keyvaulturi",
+ PossibleTypes = new [] { typeof(string) })]
+ string EncryptionKeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The version of KeyVault key.",
+ SerializedName = @"keyversion",
+ PossibleTypes = new [] { typeof(string) })]
+ string EncryptionKeyVersion { get; set; }
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of variable that this is",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get; }
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -453,6 +694,22 @@ public partial interface IWorkspace :
SerializedName = @"managedResourceGroupId",
PossibleTypes = new [] { typeof(string) })]
string ManagedResourceGroupId { get; set; }
+ /// The value which should be used for this field.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = true,
+ ReadOnly = false,
+ Description = @"The value which should be used for this field.",
+ SerializedName = @"value",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool PrepareEncryption { get; set; }
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of variable that this is",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get; }
/// The workspace provisioning state.
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -509,6 +766,32 @@ public partial interface IWorkspace :
SerializedName = @"tier",
PossibleTypes = new [] { typeof(string) })]
string SkuTier { get; set; }
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The objectId of the Managed Identity that is linked to the Managed Storage account.",
+ SerializedName = @"principalId",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountIdentityPrincipalId { get; }
+ /// The tenant Id where the Managed Identity is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The tenant Id where the Managed Identity is created.",
+ SerializedName = @"tenantId",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountIdentityTenantId { get; }
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of Identity created. It can be either SystemAssigned or UserAssigned.",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountIdentityType { get; }
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -549,6 +832,42 @@ public partial interface IWorkspace :
SerializedName = @"uiDefinitionUri",
PossibleTypes = new [] { typeof(string) })]
string UiDefinitionUri { get; set; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.",
+ SerializedName = @"applicationId",
+ PossibleTypes = new [] { typeof(string) })]
+ string UpdatedByApplicationId { get; }
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Object ID that created the workspace.",
+ SerializedName = @"oid",
+ PossibleTypes = new [] { typeof(string) })]
+ string UpdatedByOid { get; }
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Personal Object ID corresponding to the object ID above",
+ SerializedName = @"puid",
+ PossibleTypes = new [] { typeof(string) })]
+ string UpdatedByPuid { get; }
+ ///
+ /// The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'",
+ SerializedName = @"workspaceUrl",
+ PossibleTypes = new [] { typeof(string) })]
+ string Url { get; }
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -565,6 +884,14 @@ public partial interface IWorkspace :
SerializedName = @"value",
PossibleTypes = new [] { typeof(string) })]
string VnetAddressPrefixValue { get; set; }
+ /// The unique identifier of the databricks workspace in databricks control plane.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The unique identifier of the databricks workspace in databricks control plane.",
+ SerializedName = @"workspaceId",
+ PossibleTypes = new [] { typeof(string) })]
+ string WorkspaceId { get; }
}
/// Information about workspace.
@@ -577,6 +904,20 @@ internal partial interface IWorkspaceInternal :
string AmlWorkspaceIdValue { get; set; }
/// The workspace provider authorizations.
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[] Authorization { get; set; }
+ ///
+ /// Indicates the Object ID, PUID and Application ID of entity that created the workspace.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy CreatedBy { get; set; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ string CreatedByApplicationId { get; set; }
+ /// The Object ID that created the workspace.
+ string CreatedByOid { get; set; }
+ /// The Personal Object ID corresponding to the object ID above
+ string CreatedByPuid { get; set; }
+ /// Specifies the date and time when the workspace is created.
+ global::System.DateTime? CreatedDateTime { get; set; }
/// The type of variable that this is
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? CustomPrivateSubnetNameType { get; set; }
/// The value which should be used for this field.
@@ -593,6 +934,20 @@ internal partial interface IWorkspaceInternal :
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EnableNoPublicIPType { get; set; }
/// The value which should be used for this field.
bool EnableNoPublicIPValue { get; set; }
+ /// The name of KeyVault key.
+ string EncryptionKeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? EncryptionKeySource { get; set; }
+ /// The Uri of KeyVault.
+ string EncryptionKeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ string EncryptionKeyVersion { get; set; }
+ /// The type of variable that this is
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get; set; }
+ /// The value which should be used for this field.
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption EncryptionValue { get; set; }
/// The type of variable that this is
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? LoadBalancerBackendPoolNameType { get; set; }
/// The value which should be used for this field.
@@ -615,10 +970,18 @@ internal partial interface IWorkspaceInternal :
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterCustomVirtualNetworkId { get; set; }
/// Should the Public IP be Disabled?
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter ParameterEnableNoPublicIP { get; set; }
+ ///
+ /// Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter ParameterEncryption { get; set; }
/// The name of a Backend Address Pool within an Azure Load Balancer
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterLoadBalancerBackendPoolName { get; set; }
/// The Resource ID of an Azure Load Balancer
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterLoadBalancerId { get; set; }
+ ///
+ /// Prepare the workspace for encryption. Enables the Managed Identity for managed storage account.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter ParameterPrepareEncryption { get; set; }
/// The name of an Azure Relay Namespace
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterRelayNamespaceName { get; set; }
///
@@ -633,6 +996,10 @@ internal partial interface IWorkspaceInternal :
/// The first 2 octets of the virtual network /16 address range (e.g., '10.139' for the address range 10.139.0.0/16).
///
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterVnetAddressPrefix { get; set; }
+ /// The value which should be used for this field.
+ bool PrepareEncryption { get; set; }
+ /// The type of variable that this is
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get; set; }
/// The workspace properties.
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProperties Property { get; set; }
/// The workspace provisioning state.
@@ -651,6 +1018,16 @@ internal partial interface IWorkspaceInternal :
string SkuName { get; set; }
/// The SKU tier.
string SkuTier { get; set; }
+ /// The details of Managed Identity of Storage Account
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration StorageAccountIdentity { get; set; }
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ string StorageAccountIdentityPrincipalId { get; set; }
+ /// The tenant Id where the Managed Identity is created.
+ string StorageAccountIdentityTenantId { get; set; }
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ string StorageAccountIdentityType { get; set; }
/// The type of variable that this is
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? StorageAccountNameType { get; set; }
/// The value which should be used for this field.
@@ -661,10 +1038,28 @@ internal partial interface IWorkspaceInternal :
string StorageAccountSkuNameValue { get; set; }
/// The blob URI where the UI definition file is located.
string UiDefinitionUri { get; set; }
+ ///
+ /// Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy UpdatedBy { get; set; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ string UpdatedByApplicationId { get; set; }
+ /// The Object ID that created the workspace.
+ string UpdatedByOid { get; set; }
+ /// The Personal Object ID corresponding to the object ID above
+ string UpdatedByPuid { get; set; }
+ ///
+ /// The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'
+ ///
+ string Url { get; set; }
/// The type of variable that this is
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? VnetAddressPrefixType { get; set; }
/// The value which should be used for this field.
string VnetAddressPrefixValue { get; set; }
+ /// The unique identifier of the databricks workspace in databricks control plane.
+ string WorkspaceId { get; set; }
}
}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.PowerShell.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.PowerShell.cs
index e49dfbc298ff..ca30a770df92 100644
--- a/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.PowerShell.cs
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.PowerShell.cs
@@ -106,15 +106,17 @@ internal WorkspaceCustomParameters(global::System.Collections.IDictionary conten
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("CustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomVirtualNetworkId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("CustomVirtualNetworkId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomVirtualNetworkId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIP = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("EnableNoPublicIP",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIP, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("LoadBalancerBackendPoolName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("LoadBalancerId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("PrepareEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("RelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTag = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameter) content.GetValueForProperty("ResourceTag",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTag, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("StorageAccountName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("StorageAccountSkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefix = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("VnetAddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefix, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EncryptionValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption) content.GetValueForProperty("EncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EncryptionValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.EncryptionTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
@@ -123,20 +125,28 @@ internal WorkspaceCustomParameters(global::System.Collections.IDictionary conten
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomVirtualNetworkIdValue = (string) content.GetValueForProperty("CustomVirtualNetworkIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomVirtualNetworkIdValue, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIPValue = (bool) content.GetValueForProperty("EnableNoPublicIPValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIPValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("ValueKeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdValue = (string) content.GetValueForProperty("AmlWorkspaceIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdValue = (string) content.GetValueForProperty("LoadBalancerIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("PrepareEncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryptionValue = (bool) content.GetValueForProperty("PrepareEncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryptionValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceNameValue = (string) content.GetValueForProperty("RelayNamespaceNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceNameValue, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTagType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("ResourceTagType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTagType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTagValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue) content.GetValueForProperty("ResourceTagValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTagValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterValueTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountNameValue = (string) content.GetValueForProperty("StorageAccountNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyVersion = (string) content.GetValueForProperty("ValueKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyVersion, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyVaultUri = (string) content.GetValueForProperty("ValueKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyName = (string) content.GetValueForProperty("ValueKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyName, global::System.Convert.ToString);
AfterDeserializeDictionary(content);
}
@@ -159,15 +169,17 @@ internal WorkspaceCustomParameters(global::System.Management.Automation.PSObject
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("CustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomVirtualNetworkId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("CustomVirtualNetworkId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomVirtualNetworkId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIP = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("EnableNoPublicIP",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIP, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("LoadBalancerBackendPoolName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("LoadBalancerId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("PrepareEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("RelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTag = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameter) content.GetValueForProperty("ResourceTag",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTag, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("StorageAccountName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("StorageAccountSkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefix = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("VnetAddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefix, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EncryptionValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption) content.GetValueForProperty("EncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EncryptionValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.EncryptionTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
@@ -176,20 +188,28 @@ internal WorkspaceCustomParameters(global::System.Management.Automation.PSObject
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomVirtualNetworkIdValue = (string) content.GetValueForProperty("CustomVirtualNetworkIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).CustomVirtualNetworkIdValue, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIPValue = (bool) content.GetValueForProperty("EnableNoPublicIPValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EnableNoPublicIPValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).EncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("ValueKeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdValue = (string) content.GetValueForProperty("AmlWorkspaceIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).AmlWorkspaceIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdValue = (string) content.GetValueForProperty("LoadBalancerIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).LoadBalancerIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("PrepareEncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryptionValue = (bool) content.GetValueForProperty("PrepareEncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).PrepareEncryptionValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceNameValue = (string) content.GetValueForProperty("RelayNamespaceNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).RelayNamespaceNameValue, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTagType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("ResourceTagType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTagType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTagValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue) content.GetValueForProperty("ResourceTagValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ResourceTagValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterValueTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountNameValue = (string) content.GetValueForProperty("StorageAccountNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyVersion = (string) content.GetValueForProperty("ValueKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyVersion, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyVaultUri = (string) content.GetValueForProperty("ValueKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyName = (string) content.GetValueForProperty("ValueKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)this).ValueKeyName, global::System.Convert.ToString);
AfterDeserializePSObject(content);
}
}
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.cs
index 2cdee1a201e9..7373bd9dcb1d 100644
--- a/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.cs
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.cs
@@ -83,6 +83,19 @@ public partial class WorkspaceCustomParameters :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public bool EnableNoPublicIPValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)EnableNoPublicIP).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)EnableNoPublicIP).Value = value; }
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter _encryption;
+
+ ///
+ /// Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter Encryption { get => (this._encryption = this._encryption ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameter()); set => this._encryption = value; }
+
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).Type; }
+
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter _loadBalancerBackendPoolName;
@@ -143,6 +156,15 @@ public partial class WorkspaceCustomParameters :
/// Internal Acessors for EnableNoPublicIPType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.EnableNoPublicIPType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)EnableNoPublicIP).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)EnableNoPublicIP).Type = value; }
+ /// Internal Acessors for Encryption
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.Encryption { get => (this._encryption = this._encryption ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameter()); set { {_encryption = value;} } }
+
+ /// Internal Acessors for EncryptionType
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.EncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).Type = value; }
+
+ /// Internal Acessors for EncryptionValue
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.EncryptionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).Value = value; }
+
/// Internal Acessors for LoadBalancerBackendPoolName
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.LoadBalancerBackendPoolName { get => (this._loadBalancerBackendPoolName = this._loadBalancerBackendPoolName ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameter()); set { {_loadBalancerBackendPoolName = value;} } }
@@ -155,6 +177,12 @@ public partial class WorkspaceCustomParameters :
/// Internal Acessors for LoadBalancerIdType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.LoadBalancerIdType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameterInternal)LoadBalancerId).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameterInternal)LoadBalancerId).Type = value; }
+ /// Internal Acessors for PrepareEncryption
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.PrepareEncryption { get => (this._prepareEncryption = this._prepareEncryption ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameter()); set { {_prepareEncryption = value;} } }
+
+ /// Internal Acessors for PrepareEncryptionType
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.PrepareEncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)PrepareEncryption).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)PrepareEncryption).Type = value; }
+
/// Internal Acessors for RelayNamespaceName
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.RelayNamespaceName { get => (this._relayNamespaceName = this._relayNamespaceName ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameter()); set { {_relayNamespaceName = value;} } }
@@ -185,6 +213,23 @@ public partial class WorkspaceCustomParameters :
/// Internal Acessors for VnetAddressPrefixType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal.VnetAddressPrefixType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameterInternal)VnetAddressPrefix).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameterInternal)VnetAddressPrefix).Type = value; }
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter _prepareEncryption;
+
+ ///
+ /// Prepare the workspace for encryption. Enables the Managed Identity for managed storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter PrepareEncryption { get => (this._prepareEncryption = this._prepareEncryption ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameter()); set => this._prepareEncryption = value; }
+
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)PrepareEncryption).Type; }
+
+ /// The value which should be used for this field.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public bool PrepareEncryptionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)PrepareEncryption).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameterInternal)PrepareEncryption).Value = value; }
+
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter _relayNamespaceName;
@@ -247,6 +292,24 @@ public partial class WorkspaceCustomParameters :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public string StorageAccountSkuNameValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameterInternal)StorageAccountSkuName).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameterInternal)StorageAccountSkuName).Value = value; }
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).ValueKeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).ValueKeyName = value; }
+
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).ValueKeySource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).ValueKeySource = value; }
+
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).ValueKeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).ValueKeyVaultUri = value; }
+
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).ValueKeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)Encryption).ValueKeyVersion = value; }
+
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter _vnetAddressPrefix;
@@ -361,6 +424,14 @@ public partial interface IWorkspaceCustomParameters :
Description = @"The type of variable that this is",
SerializedName = @"type",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get; }
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of variable that this is",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? LoadBalancerBackendPoolNameType { get; }
/// The value which should be used for this field.
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
@@ -393,6 +464,22 @@ public partial interface IWorkspaceCustomParameters :
Description = @"The type of variable that this is",
SerializedName = @"type",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get; }
+ /// The value which should be used for this field.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = true,
+ ReadOnly = false,
+ Description = @"The value which should be used for this field.",
+ SerializedName = @"value",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool PrepareEncryptionValue { get; set; }
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of variable that this is",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? RelayNamespaceNameType { get; }
/// The value which should be used for this field.
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
@@ -450,6 +537,40 @@ public partial interface IWorkspaceCustomParameters :
SerializedName = @"value",
PossibleTypes = new [] { typeof(string) })]
string StorageAccountSkuNameValue { get; set; }
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The name of KeyVault key.",
+ SerializedName = @"KeyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault",
+ SerializedName = @"keySource",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get; set; }
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The Uri of KeyVault.",
+ SerializedName = @"keyvaulturi",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The version of KeyVault key.",
+ SerializedName = @"keyversion",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyVersion { get; set; }
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -502,6 +623,14 @@ internal partial interface IWorkspaceCustomParametersInternal
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EnableNoPublicIPType { get; set; }
/// The value which should be used for this field.
bool EnableNoPublicIPValue { get; set; }
+ ///
+ /// Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter Encryption { get; set; }
+ /// The type of variable that this is
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get; set; }
+ /// The value which should be used for this field.
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption EncryptionValue { get; set; }
/// The name of a Backend Address Pool within an Azure Load Balancer
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter LoadBalancerBackendPoolName { get; set; }
/// The type of variable that this is
@@ -514,6 +643,14 @@ internal partial interface IWorkspaceCustomParametersInternal
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? LoadBalancerIdType { get; set; }
/// The value which should be used for this field.
string LoadBalancerIdValue { get; set; }
+ ///
+ /// Prepare the workspace for encryption. Enables the Managed Identity for managed storage account.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter PrepareEncryption { get; set; }
+ /// The type of variable that this is
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get; set; }
+ /// The value which should be used for this field.
+ bool PrepareEncryptionValue { get; set; }
/// The name of an Azure Relay Namespace
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter RelayNamespaceName { get; set; }
/// The type of variable that this is
@@ -540,6 +677,16 @@ internal partial interface IWorkspaceCustomParametersInternal
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? StorageAccountSkuNameType { get; set; }
/// The value which should be used for this field.
string StorageAccountSkuNameValue { get; set; }
+ /// The name of KeyVault key.
+ string ValueKeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get; set; }
+ /// The Uri of KeyVault.
+ string ValueKeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ string ValueKeyVersion { get; set; }
///
/// The first 2 octets of the virtual network /16 address range (e.g., '10.139' for the address range 10.139.0.0/16).
///
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.json.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.json.cs
index 37943ecf1d7b..40b19c5eae1f 100644
--- a/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.json.cs
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.json.cs
@@ -82,8 +82,10 @@ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode ToJso
AddIf( null != this._customPublicSubnetName ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._customPublicSubnetName.ToJson(null,serializationMode) : null, "customPublicSubnetName" ,container.Add );
AddIf( null != this._customVirtualNetworkId ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._customVirtualNetworkId.ToJson(null,serializationMode) : null, "customVirtualNetworkId" ,container.Add );
AddIf( null != this._enableNoPublicIP ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._enableNoPublicIP.ToJson(null,serializationMode) : null, "enableNoPublicIp" ,container.Add );
+ AddIf( null != this._encryption ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._encryption.ToJson(null,serializationMode) : null, "encryption" ,container.Add );
AddIf( null != this._loadBalancerBackendPoolName ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._loadBalancerBackendPoolName.ToJson(null,serializationMode) : null, "loadBalancerBackendPoolName" ,container.Add );
AddIf( null != this._loadBalancerId ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._loadBalancerId.ToJson(null,serializationMode) : null, "loadBalancerId" ,container.Add );
+ AddIf( null != this._prepareEncryption ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._prepareEncryption.ToJson(null,serializationMode) : null, "prepareEncryption" ,container.Add );
AddIf( null != this._relayNamespaceName ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._relayNamespaceName.ToJson(null,serializationMode) : null, "relayNamespaceName" ,container.Add );
AddIf( null != this._resourceTag ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._resourceTag.ToJson(null,serializationMode) : null, "resourceTags" ,container.Add );
AddIf( null != this._storageAccountName ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._storageAccountName.ToJson(null,serializationMode) : null, "storageAccountName" ,container.Add );
@@ -110,8 +112,10 @@ internal WorkspaceCustomParameters(Microsoft.Azure.PowerShell.Cmdlets.Databricks
{_customPublicSubnetName = If( json?.PropertyT("customPublicSubnetName"), out var __jsonCustomPublicSubnetName) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameter.FromJson(__jsonCustomPublicSubnetName) : CustomPublicSubnetName;}
{_customVirtualNetworkId = If( json?.PropertyT("customVirtualNetworkId"), out var __jsonCustomVirtualNetworkId) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameter.FromJson(__jsonCustomVirtualNetworkId) : CustomVirtualNetworkId;}
{_enableNoPublicIP = If( json?.PropertyT("enableNoPublicIp"), out var __jsonEnableNoPublicIP) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameter.FromJson(__jsonEnableNoPublicIP) : EnableNoPublicIP;}
+ {_encryption = If( json?.PropertyT("encryption"), out var __jsonEncryption) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameter.FromJson(__jsonEncryption) : Encryption;}
{_loadBalancerBackendPoolName = If( json?.PropertyT("loadBalancerBackendPoolName"), out var __jsonLoadBalancerBackendPoolName) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameter.FromJson(__jsonLoadBalancerBackendPoolName) : LoadBalancerBackendPoolName;}
{_loadBalancerId = If( json?.PropertyT("loadBalancerId"), out var __jsonLoadBalancerId) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameter.FromJson(__jsonLoadBalancerId) : LoadBalancerId;}
+ {_prepareEncryption = If( json?.PropertyT("prepareEncryption"), out var __jsonPrepareEncryption) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameter.FromJson(__jsonPrepareEncryption) : PrepareEncryption;}
{_relayNamespaceName = If( json?.PropertyT("relayNamespaceName"), out var __jsonRelayNamespaceName) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameter.FromJson(__jsonRelayNamespaceName) : RelayNamespaceName;}
{_resourceTag = If( json?.PropertyT("resourceTags"), out var __jsonResourceTags) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameter.FromJson(__jsonResourceTags) : ResourceTag;}
{_storageAccountName = If( json?.PropertyT("storageAccountName"), out var __jsonStorageAccountName) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameter.FromJson(__jsonStorageAccountName) : StorageAccountName;}
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.PowerShell.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.PowerShell.cs
new file mode 100644
index 000000000000..948b0a6f19da
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.PowerShell.cs
@@ -0,0 +1,143 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell;
+
+ /// The object that contains details of encryption used on the workspace.
+ [System.ComponentModel.TypeConverter(typeof(WorkspaceEncryptionParameterTypeConverter))]
+ public partial class WorkspaceEncryptionParameter
+ {
+
+ ///
+ /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the
+ /// object before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+
+ partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content);
+
+ ///
+ /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object
+ /// before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+
+ partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content);
+
+ ///
+ /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization
+ /// of the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow);
+
+ ///
+ /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization
+ /// of the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow);
+
+ ///
+ /// Deserializes a into an instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ ///
+ /// an instance of .
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter DeserializeFromDictionary(global::System.Collections.IDictionary content)
+ {
+ return new WorkspaceEncryptionParameter(content);
+ }
+
+ ///
+ /// Deserializes a into an instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ ///
+ /// an instance of .
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
+ {
+ return new WorkspaceEncryptionParameter(content);
+ }
+
+ ///
+ /// Creates a new instance of , deserializing the content from a json string.
+ ///
+ /// a string containing a JSON serialized instance of this model.
+ /// an instance of the model class.
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(jsonText));
+
+ /// Serializes this instance to a json string.
+
+ /// a containing this model serialized to JSON text.
+ public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeAll)?.ToString();
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ internal WorkspaceEncryptionParameter(global::System.Collections.IDictionary content)
+ {
+ bool returnNow = false;
+ BeforeDeserializeDictionary(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).Value, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.EncryptionTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("ValueKeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyName = (string) content.GetValueForProperty("ValueKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyName, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyVaultUri = (string) content.GetValueForProperty("ValueKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyVersion = (string) content.GetValueForProperty("ValueKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyVersion, global::System.Convert.ToString);
+ AfterDeserializeDictionary(content);
+ }
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ internal WorkspaceEncryptionParameter(global::System.Management.Automation.PSObject content)
+ {
+ bool returnNow = false;
+ BeforeDeserializePSObject(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).Value, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.EncryptionTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("ValueKeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyName = (string) content.GetValueForProperty("ValueKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyName, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyVaultUri = (string) content.GetValueForProperty("ValueKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyVersion = (string) content.GetValueForProperty("ValueKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal)this).ValueKeyVersion, global::System.Convert.ToString);
+ AfterDeserializePSObject(content);
+ }
+ }
+ /// The object that contains details of encryption used on the workspace.
+ [System.ComponentModel.TypeConverter(typeof(WorkspaceEncryptionParameterTypeConverter))]
+ public partial interface IWorkspaceEncryptionParameter
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.TypeConverter.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.TypeConverter.cs
new file mode 100644
index 000000000000..7a4d25d2fcdd
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.TypeConverter.cs
@@ -0,0 +1,142 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell;
+
+ ///
+ /// A PowerShell PSTypeConverter to support converting to an instance of
+ ///
+ public partial class WorkspaceEncryptionParameterTypeConverter : global::System.Management.Automation.PSTypeConverter
+ {
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false.
+ ///
+ public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue);
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the instance to check if it can be converted to the type.
+ ///
+ /// true if the instance could be converted to a type, otherwise false
+ ///
+ public static bool CanConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return true;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ // we say yest to PSObjects
+ return true;
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ // we say yest to Hashtables/dictionaries
+ return true;
+ }
+ try
+ {
+ if (null != sourceValue.ToJsonString())
+ {
+ return true;
+ }
+ }
+ catch
+ {
+ // Not one of our objects
+ }
+ try
+ {
+ string text = sourceValue.ToString()?.Trim();
+ return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonType.Object;
+ }
+ catch
+ {
+ // Doesn't look like it can be treated as JSON
+ }
+ return false;
+ }
+
+ ///
+ /// Determines if the parameter can be converted to the parameter
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false
+ ///
+ public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false;
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue);
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the value to convert into an instance of .
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter ConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return null;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter).IsAssignableFrom(type))
+ {
+ return sourceValue;
+ }
+ try
+ {
+ return WorkspaceEncryptionParameter.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());;
+ }
+ catch
+ {
+ // Unable to use JSON pattern
+ }
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ return WorkspaceEncryptionParameter.DeserializeFromPSObject(sourceValue);
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ return WorkspaceEncryptionParameter.DeserializeFromDictionary(sourceValue);
+ }
+ return null;
+ }
+
+ /// NotImplemented -- this will return null
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ /// will always return null.
+ public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null;
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.cs
new file mode 100644
index 000000000000..6050c0eea144
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.cs
@@ -0,0 +1,123 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// The object that contains details of encryption used on the workspace.
+ public partial class WorkspaceEncryptionParameter :
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter,
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal
+ {
+
+ /// Internal Acessors for Type
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal.Type { get => this._type; set { {_type = value;} } }
+
+ /// Internal Acessors for Value
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameterInternal.Value { get => (this._value = this._value ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.Encryption()); set { {_value = value;} } }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? _type;
+
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Type { get => this._type; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption _value;
+
+ /// The value which should be used for this field.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption Value { get => (this._value = this._value ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.Encryption()); set => this._value = value; }
+
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)Value).KeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)Value).KeyName = value; }
+
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)Value).KeySource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)Value).KeySource = value; }
+
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)Value).KeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)Value).KeyVaultUri = value; }
+
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)Value).KeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryptionInternal)Value).KeyVersion = value; }
+
+ /// Creates an new instance.
+ public WorkspaceEncryptionParameter()
+ {
+
+ }
+ }
+ /// The object that contains details of encryption used on the workspace.
+ public partial interface IWorkspaceEncryptionParameter :
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IJsonSerializable
+ {
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of variable that this is",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Type { get; }
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The name of KeyVault key.",
+ SerializedName = @"KeyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault",
+ SerializedName = @"keySource",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get; set; }
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The Uri of KeyVault.",
+ SerializedName = @"keyvaulturi",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The version of KeyVault key.",
+ SerializedName = @"keyversion",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyVersion { get; set; }
+
+ }
+ /// The object that contains details of encryption used on the workspace.
+ internal partial interface IWorkspaceEncryptionParameterInternal
+
+ {
+ /// The type of variable that this is
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Type { get; set; }
+ /// The value which should be used for this field.
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption Value { get; set; }
+ /// The name of KeyVault key.
+ string ValueKeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get; set; }
+ /// The Uri of KeyVault.
+ string ValueKeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ string ValueKeyVersion { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.json.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.json.cs
new file mode 100644
index 000000000000..743d9928ff01
--- /dev/null
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceEncryptionParameter.json.cs
@@ -0,0 +1,106 @@
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// The object that contains details of encryption used on the workspace.
+ public partial class WorkspaceEncryptionParameter
+ {
+
+ ///
+ /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object
+ /// before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The JsonNode that should be deserialized into this object.
+
+ partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json);
+
+ ///
+ /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior
+ ///
+ /// The JSON container that the serialization result will be placed in.
+
+ partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container);
+
+ ///
+ /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of
+ /// the object before it is deserialized.
+ /// If you wish to disable the default deserialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The JsonNode that should be deserialized into this object.
+ /// Determines if the rest of the deserialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json, ref bool returnNow);
+
+ ///
+ /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the
+ /// object before it is serialized.
+ /// If you wish to disable the default serialization entirely, return true in the output parameter.
+ /// Implement this method in a partial class to enable this behavior.
+ ///
+ /// The JSON container that the serialization result will be placed in.
+ /// Determines if the rest of the serialization should be processed, or if the method should return
+ /// instantly.
+
+ partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter FromJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json ? new WorkspaceEncryptionParameter(json) : null;
+ }
+
+ ///
+ /// Serializes this instance of into a .
+ ///
+ /// The container to serialize this object into. If the caller
+ /// passes in null, a new instance will be created and returned to the caller.
+ /// Allows the caller to choose the depth of the serialization. See .
+ ///
+ /// a serialized instance of as a .
+ ///
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AddIf( null != this._value ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._value.ToJson(null,serializationMode) : null, "value" ,container.Add );
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._type)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._type.ToString()) : null, "type" ,container.Add );
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject instance to deserialize from.
+ internal WorkspaceEncryptionParameter(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_value = If( json?.PropertyT("value"), out var __jsonValue) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.Encryption.FromJson(__jsonValue) : Value;}
+ {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;}
+ AfterFromJson(json);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.PowerShell.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.PowerShell.cs
index 517f046da43f..303704d54e4d 100644
--- a/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.PowerShell.cs
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.PowerShell.cs
@@ -99,47 +99,72 @@ internal WorkspaceProperties(global::System.Collections.IDictionary content)
return;
}
// actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedBy = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy) content.GetValueForProperty("CreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedBy, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedByTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomParametersTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration) content.GetValueForProperty("StorageAccountIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentity, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfigurationTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedBy = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy) content.GetValueForProperty("UpdatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedBy, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedByTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).Authorization = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[]) content.GetValueForProperty("Authorization",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).Authorization, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceProviderAuthorizationTypeConverter.ConvertFrom));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedDateTime = (global::System.DateTime?) content.GetValueForProperty("CreatedDateTime",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedDateTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ManagedResourceGroupId = (string) content.GetValueForProperty("ManagedResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ManagedResourceGroupId, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UiDefinitionUri = (string) content.GetValueForProperty("UiDefinitionUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UiDefinitionUri, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterRelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterRelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterRelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).WorkspaceId = (string) content.GetValueForProperty("WorkspaceId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).WorkspaceId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).WorkspaceUrl = (string) content.GetValueForProperty("WorkspaceUrl",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).WorkspaceUrl, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByApplicationId = (string) content.GetValueForProperty("CreatedByApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByPuid = (string) content.GetValueForProperty("CreatedByPuid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByPuid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByOid = (string) content.GetValueForProperty("CreatedByOid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByOid, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterAmlWorkspaceId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterAmlWorkspaceId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterAmlWorkspaceId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPrivateSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPrivateSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPrivateSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomVirtualNetworkId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomVirtualNetworkId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomVirtualNetworkId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterEnableNoPublicIP = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterEnableNoPublicIP",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterEnableNoPublicIP, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter) content.GetValueForProperty("ParameterEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterLoadBalancerBackendPoolName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerBackendPoolName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterLoadBalancerBackendPoolName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterLoadBalancerId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterLoadBalancerId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterPrepareEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterPrepareEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterPrepareEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterRelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterRelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterRelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterResourceTag = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameter) content.GetValueForProperty("ParameterResourceTag",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterResourceTag, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterStorageAccountName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterStorageAccountName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterStorageAccountSkuName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountSkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterStorageAccountSkuName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterVnetAddressPrefix = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterVnetAddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterVnetAddressPrefix, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPrivateSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPrivateSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPrivateSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameValue = (string) content.GetValueForProperty("CustomPublicSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EncryptionValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption) content.GetValueForProperty("EncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EncryptionValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.EncryptionTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByOid = (string) content.GetValueForProperty("UpdatedByOid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByOid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByApplicationId = (string) content.GetValueForProperty("UpdatedByApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityTenantId = (string) content.GetValueForProperty("StorageAccountIdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityTenantId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityPrincipalId = (string) content.GetValueForProperty("StorageAccountIdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityPrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityType = (string) content.GetValueForProperty("StorageAccountIdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityType, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByPuid = (string) content.GetValueForProperty("UpdatedByPuid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByPuid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdValue = (string) content.GetValueForProperty("CustomVirtualNetworkIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPValue = (bool) content.GetValueForProperty("EnableNoPublicIPValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomVirtualNetworkIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("ValueKeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdValue = (string) content.GetValueForProperty("AmlWorkspaceIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdValue = (string) content.GetValueForProperty("LoadBalancerIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).PrepareEncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("PrepareEncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).PrepareEncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).PrepareEncryptionValue = (bool) content.GetValueForProperty("PrepareEncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).PrepareEncryptionValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameValue = (string) content.GetValueForProperty("RelayNamespaceNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameValue, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ResourceTagType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("ResourceTagType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ResourceTagType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ResourceTagValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue) content.GetValueForProperty("ResourceTagValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ResourceTagValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterValueTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountNameValue = (string) content.GetValueForProperty("StorageAccountNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomVirtualNetworkIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameValue = (string) content.GetValueForProperty("CustomPublicSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyName = (string) content.GetValueForProperty("ValueKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyName, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyVaultUri = (string) content.GetValueForProperty("ValueKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyVersion = (string) content.GetValueForProperty("ValueKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyVersion, global::System.Convert.ToString);
AfterDeserializeDictionary(content);
}
@@ -157,47 +182,72 @@ internal WorkspaceProperties(global::System.Management.Automation.PSObject conte
return;
}
// actually deserialize
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedBy = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy) content.GetValueForProperty("CreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedBy, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedByTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomParametersTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration) content.GetValueForProperty("StorageAccountIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentity, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfigurationTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedBy = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy) content.GetValueForProperty("UpdatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedBy, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedByTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).Authorization = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[]) content.GetValueForProperty("Authorization",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).Authorization, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceProviderAuthorizationTypeConverter.ConvertFrom));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedDateTime = (global::System.DateTime?) content.GetValueForProperty("CreatedDateTime",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedDateTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ManagedResourceGroupId = (string) content.GetValueForProperty("ManagedResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ManagedResourceGroupId, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UiDefinitionUri = (string) content.GetValueForProperty("UiDefinitionUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UiDefinitionUri, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterRelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterRelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterRelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).WorkspaceId = (string) content.GetValueForProperty("WorkspaceId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).WorkspaceId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).WorkspaceUrl = (string) content.GetValueForProperty("WorkspaceUrl",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).WorkspaceUrl, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByApplicationId = (string) content.GetValueForProperty("CreatedByApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByPuid = (string) content.GetValueForProperty("CreatedByPuid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByPuid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByOid = (string) content.GetValueForProperty("CreatedByOid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CreatedByOid, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterAmlWorkspaceId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterAmlWorkspaceId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterAmlWorkspaceId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPrivateSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPrivateSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPrivateSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomVirtualNetworkId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomVirtualNetworkId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomVirtualNetworkId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterEnableNoPublicIP = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterEnableNoPublicIP",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterEnableNoPublicIP, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter) content.GetValueForProperty("ParameterEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceEncryptionParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterLoadBalancerBackendPoolName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerBackendPoolName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterLoadBalancerBackendPoolName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterLoadBalancerId = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterLoadBalancerId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterLoadBalancerId, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPublicSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPublicSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPublicSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterPrepareEncryption = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter) content.GetValueForProperty("ParameterPrepareEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterPrepareEncryption, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomBooleanParameterTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterRelayNamespaceName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterRelayNamespaceName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterRelayNamespaceName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterResourceTag = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameter) content.GetValueForProperty("ParameterResourceTag",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterResourceTag, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterStorageAccountName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterStorageAccountName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterStorageAccountSkuName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterStorageAccountSkuName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterStorageAccountSkuName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterVnetAddressPrefix = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterVnetAddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterVnetAddressPrefix, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPrivateSubnetName = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter) content.GetValueForProperty("ParameterCustomPrivateSubnetName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ParameterCustomPrivateSubnetName, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomStringParameterTypeConverter.ConvertFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameValue = (string) content.GetValueForProperty("CustomPublicSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EncryptionValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption) content.GetValueForProperty("EncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EncryptionValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.EncryptionTypeConverter.ConvertFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByOid = (string) content.GetValueForProperty("UpdatedByOid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByOid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByApplicationId = (string) content.GetValueForProperty("UpdatedByApplicationId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByApplicationId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityTenantId = (string) content.GetValueForProperty("StorageAccountIdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityTenantId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityPrincipalId = (string) content.GetValueForProperty("StorageAccountIdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityPrincipalId, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityType = (string) content.GetValueForProperty("StorageAccountIdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountIdentityType, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByPuid = (string) content.GetValueForProperty("UpdatedByPuid",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).UpdatedByPuid, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdValue = (string) content.GetValueForProperty("CustomVirtualNetworkIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPValue = (bool) content.GetValueForProperty("EnableNoPublicIPValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomVirtualNetworkIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeySource = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource?) content.GetValueForProperty("ValueKeySource",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeySource, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdValue = (string) content.GetValueForProperty("AmlWorkspaceIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameValue = (string) content.GetValueForProperty("LoadBalancerBackendPoolNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdValue = (string) content.GetValueForProperty("LoadBalancerIdValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerIdValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("RelayNamespaceNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).PrepareEncryptionType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("PrepareEncryptionType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).PrepareEncryptionType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).PrepareEncryptionValue = (bool) content.GetValueForProperty("PrepareEncryptionValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).PrepareEncryptionValue, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("EnableNoPublicIPType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).EnableNoPublicIPType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameValue = (string) content.GetValueForProperty("RelayNamespaceNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).RelayNamespaceNameValue, global::System.Convert.ToString);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ResourceTagType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("ResourceTagType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ResourceTagType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ResourceTagValue = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue) content.GetValueForProperty("ResourceTagValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ResourceTagValue, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomObjectParameterValueTypeConverter.ConvertFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountNameValue = (string) content.GetValueForProperty("StorageAccountNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("StorageAccountSkuNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameValue = (string) content.GetValueForProperty("StorageAccountSkuNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).StorageAccountSkuNameValue, global::System.Convert.ToString);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("VnetAddressPrefixType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
- ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomVirtualNetworkIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomVirtualNetworkIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixValue = (string) content.GetValueForProperty("VnetAddressPrefixValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).VnetAddressPrefixValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("LoadBalancerBackendPoolNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).LoadBalancerBackendPoolNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPrivateSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameValue = (string) content.GetValueForProperty("CustomPrivateSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPrivateSubnetNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameValue = (string) content.GetValueForProperty("CustomPublicSubnetNameValue",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameValue, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("CustomPublicSubnetNameType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).CustomPublicSubnetNameType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdType = (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType?) content.GetValueForProperty("AmlWorkspaceIdType",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).AmlWorkspaceIdType, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType.CreateFrom);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyName = (string) content.GetValueForProperty("ValueKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyName, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyVaultUri = (string) content.GetValueForProperty("ValueKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyVaultUri, global::System.Convert.ToString);
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyVersion = (string) content.GetValueForProperty("ValueKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal)this).ValueKeyVersion, global::System.Convert.ToString);
AfterDeserializePSObject(content);
}
}
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.cs
index 865b0c5d5364..2cac8ac6ad46 100644
--- a/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.cs
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.cs
@@ -23,6 +23,36 @@ public partial class WorkspaceProperties :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[] Authorization { get => this._authorization; set => this._authorization = value; }
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy _createdBy;
+
+ ///
+ /// Indicates the Object ID, PUID and Application ID of entity that created the workspace.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy CreatedBy { get => (this._createdBy = this._createdBy ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedBy()); set => this._createdBy = value; }
+
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string CreatedByApplicationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).ApplicationId; }
+
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string CreatedByOid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).Oid; }
+
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string CreatedByPuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).Puid; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _createdDateTime;
+
+ /// Specifies the date and time when the workspace is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public global::System.DateTime? CreatedDateTime { get => this._createdDateTime; }
+
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? CustomPrivateSubnetNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).CustomPrivateSubnetNameType; }
@@ -55,6 +85,10 @@ public partial class WorkspaceProperties :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public bool EnableNoPublicIPValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EnableNoPublicIPValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EnableNoPublicIPValue = value; }
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EncryptionType; }
+
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? LoadBalancerBackendPoolNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).LoadBalancerBackendPoolNameType; }
@@ -81,6 +115,21 @@ public partial class WorkspaceProperties :
/// Internal Acessors for AmlWorkspaceIdType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.AmlWorkspaceIdType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).AmlWorkspaceIdType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).AmlWorkspaceIdType = value; }
+ /// Internal Acessors for CreatedBy
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.CreatedBy { get => (this._createdBy = this._createdBy ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedBy()); set { {_createdBy = value;} } }
+
+ /// Internal Acessors for CreatedByApplicationId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.CreatedByApplicationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).ApplicationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).ApplicationId = value; }
+
+ /// Internal Acessors for CreatedByOid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.CreatedByOid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).Oid; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).Oid = value; }
+
+ /// Internal Acessors for CreatedByPuid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.CreatedByPuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).Puid; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)CreatedBy).Puid = value; }
+
+ /// Internal Acessors for CreatedDateTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.CreatedDateTime { get => this._createdDateTime; set { {_createdDateTime = value;} } }
+
/// Internal Acessors for CustomPrivateSubnetNameType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.CustomPrivateSubnetNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).CustomPrivateSubnetNameType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).CustomPrivateSubnetNameType = value; }
@@ -93,6 +142,12 @@ public partial class WorkspaceProperties :
/// Internal Acessors for EnableNoPublicIPType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.EnableNoPublicIPType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EnableNoPublicIPType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EnableNoPublicIPType = value; }
+ /// Internal Acessors for EncryptionType
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.EncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EncryptionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EncryptionType = value; }
+
+ /// Internal Acessors for EncryptionValue
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.EncryptionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EncryptionValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EncryptionValue = value; }
+
/// Internal Acessors for LoadBalancerBackendPoolNameType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.LoadBalancerBackendPoolNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).LoadBalancerBackendPoolNameType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).LoadBalancerBackendPoolNameType = value; }
@@ -117,12 +172,18 @@ public partial class WorkspaceProperties :
/// Internal Acessors for ParameterEnableNoPublicIP
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ParameterEnableNoPublicIP { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EnableNoPublicIP; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).EnableNoPublicIP = value; }
+ /// Internal Acessors for ParameterEncryption
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ParameterEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).Encryption = value; }
+
/// Internal Acessors for ParameterLoadBalancerBackendPoolName
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ParameterLoadBalancerBackendPoolName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).LoadBalancerBackendPoolName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).LoadBalancerBackendPoolName = value; }
/// Internal Acessors for ParameterLoadBalancerId
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ParameterLoadBalancerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).LoadBalancerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).LoadBalancerId = value; }
+ /// Internal Acessors for ParameterPrepareEncryption
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ParameterPrepareEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).PrepareEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).PrepareEncryption = value; }
+
/// Internal Acessors for ParameterRelayNamespaceName
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ParameterRelayNamespaceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).RelayNamespaceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).RelayNamespaceName = value; }
@@ -138,6 +199,9 @@ public partial class WorkspaceProperties :
/// Internal Acessors for ParameterVnetAddressPrefix
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ParameterVnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).VnetAddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).VnetAddressPrefix = value; }
+ /// Internal Acessors for PrepareEncryptionType
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.PrepareEncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).PrepareEncryptionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).PrepareEncryptionType = value; }
+
/// Internal Acessors for ProvisioningState
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } }
@@ -147,15 +211,45 @@ public partial class WorkspaceProperties :
/// Internal Acessors for ResourceTagType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.ResourceTagType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ResourceTagType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ResourceTagType = value; }
+ /// Internal Acessors for StorageAccountIdentity
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.StorageAccountIdentity { get => (this._storageAccountIdentity = this._storageAccountIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfiguration()); set { {_storageAccountIdentity = value;} } }
+
+ /// Internal Acessors for StorageAccountIdentityPrincipalId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.StorageAccountIdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).PrincipalId = value; }
+
+ /// Internal Acessors for StorageAccountIdentityTenantId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.StorageAccountIdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).TenantId = value; }
+
+ /// Internal Acessors for StorageAccountIdentityType
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.StorageAccountIdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).Type = value; }
+
/// Internal Acessors for StorageAccountNameType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.StorageAccountNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).StorageAccountNameType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).StorageAccountNameType = value; }
/// Internal Acessors for StorageAccountSkuNameType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.StorageAccountSkuNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).StorageAccountSkuNameType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).StorageAccountSkuNameType = value; }
+ /// Internal Acessors for UpdatedBy
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.UpdatedBy { get => (this._updatedBy = this._updatedBy ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedBy()); set { {_updatedBy = value;} } }
+
+ /// Internal Acessors for UpdatedByApplicationId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.UpdatedByApplicationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).ApplicationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).ApplicationId = value; }
+
+ /// Internal Acessors for UpdatedByOid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.UpdatedByOid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).Oid; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).Oid = value; }
+
+ /// Internal Acessors for UpdatedByPuid
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.UpdatedByPuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).Puid; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).Puid = value; }
+
/// Internal Acessors for VnetAddressPrefixType
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.VnetAddressPrefixType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).VnetAddressPrefixType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).VnetAddressPrefixType = value; }
+ /// Internal Acessors for WorkspaceId
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.WorkspaceId { get => this._workspaceId; set { {_workspaceId = value;} } }
+
+ /// Internal Acessors for WorkspaceUrl
+ string Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspacePropertiesInternal.WorkspaceUrl { get => this._workspaceUrl; set { {_workspaceUrl = value;} } }
+
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParameters _parameter;
@@ -163,6 +257,14 @@ public partial class WorkspaceProperties :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
internal Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParameters Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomParameters()); set => this._parameter = value; }
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).PrepareEncryptionType; }
+
+ /// The value which should be used for this field.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public bool PrepareEncryptionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).PrepareEncryptionValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).PrepareEncryptionValue = value; }
+
/// Backing field for property.
private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState? _provisioningState;
@@ -186,6 +288,27 @@ public partial class WorkspaceProperties :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue ResourceTagValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ResourceTagValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ResourceTagValue = value; }
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration _storageAccountIdentity;
+
+ /// The details of Managed Identity of Storage Account
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration StorageAccountIdentity { get => (this._storageAccountIdentity = this._storageAccountIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfiguration()); set => this._storageAccountIdentity = value; }
+
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string StorageAccountIdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).PrincipalId; }
+
+ /// The tenant Id where the Managed Identity is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string StorageAccountIdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).TenantId; }
+
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string StorageAccountIdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfigurationInternal)StorageAccountIdentity).Type; }
+
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? StorageAccountNameType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).StorageAccountNameType; }
@@ -209,6 +332,47 @@ public partial class WorkspaceProperties :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
public string UiDefinitionUri { get => this._uiDefinitionUri; set => this._uiDefinitionUri = value; }
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy _updatedBy;
+
+ ///
+ /// Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy UpdatedBy { get => (this._updatedBy = this._updatedBy ?? new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedBy()); set => this._updatedBy = value; }
+
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string UpdatedByApplicationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).ApplicationId; }
+
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string UpdatedByOid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).Oid; }
+
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string UpdatedByPuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedByInternal)UpdatedBy).Puid; }
+
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ValueKeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ValueKeyName = value; }
+
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ValueKeySource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ValueKeySource = value; }
+
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ValueKeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ValueKeyVaultUri = value; }
+
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
+ public string ValueKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ValueKeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).ValueKeyVersion = value; }
+
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? VnetAddressPrefixType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).VnetAddressPrefixType; }
@@ -217,6 +381,22 @@ public partial class WorkspaceProperties :
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Inlined)]
public string VnetAddressPrefixValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).VnetAddressPrefixValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomParametersInternal)Parameter).VnetAddressPrefixValue = value; }
+ /// Backing field for property.
+ private string _workspaceId;
+
+ /// The unique identifier of the databricks workspace in databricks control plane.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string WorkspaceId { get => this._workspaceId; }
+
+ /// Backing field for property.
+ private string _workspaceUrl;
+
+ ///
+ /// The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Origin(Microsoft.Azure.PowerShell.Cmdlets.Databricks.PropertyOrigin.Owned)]
+ public string WorkspaceUrl { get => this._workspaceUrl; }
+
/// Creates an new instance.
public WorkspaceProperties()
{
@@ -251,6 +431,40 @@ public partial interface IWorkspaceProperties :
SerializedName = @"authorizations",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization) })]
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[] Authorization { get; set; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.",
+ SerializedName = @"applicationId",
+ PossibleTypes = new [] { typeof(string) })]
+ string CreatedByApplicationId { get; }
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Object ID that created the workspace.",
+ SerializedName = @"oid",
+ PossibleTypes = new [] { typeof(string) })]
+ string CreatedByOid { get; }
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Personal Object ID corresponding to the object ID above",
+ SerializedName = @"puid",
+ PossibleTypes = new [] { typeof(string) })]
+ string CreatedByPuid { get; }
+ /// Specifies the date and time when the workspace is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Specifies the date and time when the workspace is created.",
+ SerializedName = @"createdDateTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? CreatedDateTime { get; }
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -322,6 +536,14 @@ public partial interface IWorkspaceProperties :
Description = @"The type of variable that this is",
SerializedName = @"type",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get; }
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of variable that this is",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? LoadBalancerBackendPoolNameType { get; }
/// The value which should be used for this field.
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
@@ -355,6 +577,22 @@ public partial interface IWorkspaceProperties :
SerializedName = @"managedResourceGroupId",
PossibleTypes = new [] { typeof(string) })]
string ManagedResourceGroupId { get; set; }
+ /// The type of variable that this is
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of variable that this is",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get; }
+ /// The value which should be used for this field.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = true,
+ ReadOnly = false,
+ Description = @"The value which should be used for this field.",
+ SerializedName = @"value",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool PrepareEncryptionValue { get; set; }
/// The workspace provisioning state.
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -395,6 +633,32 @@ public partial interface IWorkspaceProperties :
SerializedName = @"value",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue) })]
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue ResourceTagValue { get; set; }
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The objectId of the Managed Identity that is linked to the Managed Storage account.",
+ SerializedName = @"principalId",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountIdentityPrincipalId { get; }
+ /// The tenant Id where the Managed Identity is created.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The tenant Id where the Managed Identity is created.",
+ SerializedName = @"tenantId",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountIdentityTenantId { get; }
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The type of Identity created. It can be either SystemAssigned or UserAssigned.",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountIdentityType { get; }
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -435,6 +699,66 @@ public partial interface IWorkspaceProperties :
SerializedName = @"uiDefinitionUri",
PossibleTypes = new [] { typeof(string) })]
string UiDefinitionUri { get; set; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.",
+ SerializedName = @"applicationId",
+ PossibleTypes = new [] { typeof(string) })]
+ string UpdatedByApplicationId { get; }
+ /// The Object ID that created the workspace.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Object ID that created the workspace.",
+ SerializedName = @"oid",
+ PossibleTypes = new [] { typeof(string) })]
+ string UpdatedByOid { get; }
+ /// The Personal Object ID corresponding to the object ID above
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The Personal Object ID corresponding to the object ID above",
+ SerializedName = @"puid",
+ PossibleTypes = new [] { typeof(string) })]
+ string UpdatedByPuid { get; }
+ /// The name of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The name of KeyVault key.",
+ SerializedName = @"KeyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault",
+ SerializedName = @"keySource",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource) })]
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get; set; }
+ /// The Uri of KeyVault.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The Uri of KeyVault.",
+ SerializedName = @"keyvaulturi",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The version of KeyVault key.",
+ SerializedName = @"keyversion",
+ PossibleTypes = new [] { typeof(string) })]
+ string ValueKeyVersion { get; set; }
/// The type of variable that this is
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
Required = false,
@@ -451,6 +775,24 @@ public partial interface IWorkspaceProperties :
SerializedName = @"value",
PossibleTypes = new [] { typeof(string) })]
string VnetAddressPrefixValue { get; set; }
+ /// The unique identifier of the databricks workspace in databricks control plane.
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The unique identifier of the databricks workspace in databricks control plane.",
+ SerializedName = @"workspaceId",
+ PossibleTypes = new [] { typeof(string) })]
+ string WorkspaceId { get; }
+ ///
+ /// The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'",
+ SerializedName = @"workspaceUrl",
+ PossibleTypes = new [] { typeof(string) })]
+ string WorkspaceUrl { get; }
}
/// The workspace properties.
@@ -463,6 +805,20 @@ internal partial interface IWorkspacePropertiesInternal
string AmlWorkspaceIdValue { get; set; }
/// The workspace provider authorizations.
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[] Authorization { get; set; }
+ ///
+ /// Indicates the Object ID, PUID and Application ID of entity that created the workspace.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy CreatedBy { get; set; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ string CreatedByApplicationId { get; set; }
+ /// The Object ID that created the workspace.
+ string CreatedByOid { get; set; }
+ /// The Personal Object ID corresponding to the object ID above
+ string CreatedByPuid { get; set; }
+ /// Specifies the date and time when the workspace is created.
+ global::System.DateTime? CreatedDateTime { get; set; }
/// The type of variable that this is
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? CustomPrivateSubnetNameType { get; set; }
/// The value which should be used for this field.
@@ -480,6 +836,10 @@ internal partial interface IWorkspacePropertiesInternal
/// The value which should be used for this field.
bool EnableNoPublicIPValue { get; set; }
/// The type of variable that this is
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? EncryptionType { get; set; }
+ /// The value which should be used for this field.
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IEncryption EncryptionValue { get; set; }
+ /// The type of variable that this is
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? LoadBalancerBackendPoolNameType { get; set; }
/// The value which should be used for this field.
string LoadBalancerBackendPoolNameValue { get; set; }
@@ -501,10 +861,18 @@ internal partial interface IWorkspacePropertiesInternal
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterCustomVirtualNetworkId { get; set; }
/// Should the Public IP be Disabled?
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter ParameterEnableNoPublicIP { get; set; }
+ ///
+ /// Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceEncryptionParameter ParameterEncryption { get; set; }
/// The name of a Backend Address Pool within an Azure Load Balancer
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterLoadBalancerBackendPoolName { get; set; }
/// The Resource ID of an Azure Load Balancer
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterLoadBalancerId { get; set; }
+ ///
+ /// Prepare the workspace for encryption. Enables the Managed Identity for managed storage account.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomBooleanParameter ParameterPrepareEncryption { get; set; }
/// The name of an Azure Relay Namespace
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterRelayNamespaceName { get; set; }
///
@@ -519,6 +887,10 @@ internal partial interface IWorkspacePropertiesInternal
/// The first 2 octets of the virtual network /16 address range (e.g., '10.139' for the address range 10.139.0.0/16).
///
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomStringParameter ParameterVnetAddressPrefix { get; set; }
+ /// The type of variable that this is
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? PrepareEncryptionType { get; set; }
+ /// The value which should be used for this field.
+ bool PrepareEncryptionValue { get; set; }
/// The workspace provisioning state.
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.ProvisioningState? ProvisioningState { get; set; }
/// The type of variable that this is
@@ -529,6 +901,16 @@ internal partial interface IWorkspacePropertiesInternal
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? ResourceTagType { get; set; }
/// The value which should be used for this field.
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue ResourceTagValue { get; set; }
+ /// The details of Managed Identity of Storage Account
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IManagedIdentityConfiguration StorageAccountIdentity { get; set; }
+ ///
+ /// The objectId of the Managed Identity that is linked to the Managed Storage account.
+ ///
+ string StorageAccountIdentityPrincipalId { get; set; }
+ /// The tenant Id where the Managed Identity is created.
+ string StorageAccountIdentityTenantId { get; set; }
+ /// The type of Identity created. It can be either SystemAssigned or UserAssigned.
+ string StorageAccountIdentityType { get; set; }
/// The type of variable that this is
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? StorageAccountNameType { get; set; }
/// The value which should be used for this field.
@@ -539,10 +921,38 @@ internal partial interface IWorkspacePropertiesInternal
string StorageAccountSkuNameValue { get; set; }
/// The blob URI where the UI definition file is located.
string UiDefinitionUri { get; set; }
+ ///
+ /// Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ICreatedBy UpdatedBy { get; set; }
+ ///
+ /// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
+ ///
+ string UpdatedByApplicationId { get; set; }
+ /// The Object ID that created the workspace.
+ string UpdatedByOid { get; set; }
+ /// The Personal Object ID corresponding to the object ID above
+ string UpdatedByPuid { get; set; }
+ /// The name of KeyVault key.
+ string ValueKeyName { get; set; }
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource? ValueKeySource { get; set; }
+ /// The Uri of KeyVault.
+ string ValueKeyVaultUri { get; set; }
+ /// The version of KeyVault key.
+ string ValueKeyVersion { get; set; }
/// The type of variable that this is
Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.CustomParameterType? VnetAddressPrefixType { get; set; }
/// The value which should be used for this field.
string VnetAddressPrefixValue { get; set; }
+ /// The unique identifier of the databricks workspace in databricks control plane.
+ string WorkspaceId { get; set; }
+ ///
+ /// The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'
+ ///
+ string WorkspaceUrl { get; set; }
}
}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.json.cs b/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.json.cs
index 3505f4814533..f41c3fa0a61c 100644
--- a/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.json.cs
+++ b/src/Databricks/generated/api/Models/Api20180401/WorkspaceProperties.json.cs
@@ -77,7 +77,10 @@ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode ToJso
{
return container;
}
+ AddIf( null != this._createdBy ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._createdBy.ToJson(null,serializationMode) : null, "createdBy" ,container.Add );
AddIf( null != this._parameter ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._parameter.ToJson(null,serializationMode) : null, "parameters" ,container.Add );
+ AddIf( null != this._storageAccountIdentity ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._storageAccountIdentity.ToJson(null,serializationMode) : null, "storageAccountIdentity" ,container.Add );
+ AddIf( null != this._updatedBy ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) this._updatedBy.ToJson(null,serializationMode) : null, "updatedBy" ,container.Add );
if (null != this._authorization)
{
var __w = new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.XNodeArray();
@@ -87,12 +90,24 @@ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode ToJso
}
container.Add("authorizations",__w);
}
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != this._createdDateTime ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._createdDateTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "createdDateTime" ,container.Add );
+ }
AddIf( null != (((object)this._managedResourceGroupId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._managedResourceGroupId.ToString()) : null, "managedResourceGroupId" ,container.Add );
if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
{
AddIf( null != (((object)this._provisioningState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._provisioningState.ToString()) : null, "provisioningState" ,container.Add );
}
AddIf( null != (((object)this._uiDefinitionUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._uiDefinitionUri.ToString()) : null, "uiDefinitionUri" ,container.Add );
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._workspaceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._workspaceId.ToString()) : null, "workspaceId" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._workspaceUrl)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonString(this._workspaceUrl.ToString()) : null, "workspaceUrl" ,container.Add );
+ }
AfterToJson(ref container);
return container;
}
@@ -109,11 +124,17 @@ internal WorkspaceProperties(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runti
{
return;
}
+ {_createdBy = If( json?.PropertyT("createdBy"), out var __jsonCreatedBy) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedBy.FromJson(__jsonCreatedBy) : CreatedBy;}
{_parameter = If( json?.PropertyT("parameters"), out var __jsonParameters) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceCustomParameters.FromJson(__jsonParameters) : Parameter;}
+ {_storageAccountIdentity = If( json?.PropertyT("storageAccountIdentity"), out var __jsonStorageAccountIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ManagedIdentityConfiguration.FromJson(__jsonStorageAccountIdentity) : StorageAccountIdentity;}
+ {_updatedBy = If( json?.PropertyT("updatedBy"), out var __jsonUpdatedBy) ? Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.CreatedBy.FromJson(__jsonUpdatedBy) : UpdatedBy;}
{_authorization = If( json?.PropertyT("authorizations"), out var __jsonAuthorizations) ? If( __jsonAuthorizations as Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization) (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.WorkspaceProviderAuthorization.FromJson(__u) )) ))() : null : Authorization;}
+ {_createdDateTime = If( json?.PropertyT("createdDateTime"), out var __jsonCreatedDateTime) ? global::System.DateTime.TryParse((string)__jsonCreatedDateTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonCreatedDateTimeValue) ? __jsonCreatedDateTimeValue : CreatedDateTime : CreatedDateTime;}
{_managedResourceGroupId = If( json?.PropertyT("managedResourceGroupId"), out var __jsonManagedResourceGroupId) ? (string)__jsonManagedResourceGroupId : (string)ManagedResourceGroupId;}
{_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;}
{_uiDefinitionUri = If( json?.PropertyT("uiDefinitionUri"), out var __jsonUiDefinitionUri) ? (string)__jsonUiDefinitionUri : (string)UiDefinitionUri;}
+ {_workspaceId = If( json?.PropertyT("workspaceId"), out var __jsonWorkspaceId) ? (string)__jsonWorkspaceId : (string)WorkspaceId;}
+ {_workspaceUrl = If( json?.PropertyT("workspaceUrl"), out var __jsonWorkspaceUrl) ? (string)__jsonWorkspaceUrl : (string)WorkspaceUrl;}
AfterFromJson(json);
}
}
diff --git a/src/Databricks/generated/api/Support/KeySource.Completer.cs b/src/Databricks/generated/api/Support/KeySource.Completer.cs
new file mode 100644
index 000000000000..1794fc7b8b13
--- /dev/null
+++ b/src/Databricks/generated/api/Support/KeySource.Completer.cs
@@ -0,0 +1,39 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support
+{
+
+ /// Argument completer implementation for KeySource.
+ [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySourceTypeConverter))]
+ public partial struct KeySource :
+ System.Management.Automation.IArgumentCompleter
+ {
+
+ ///
+ /// Implementations of this function are called by PowerShell to complete arguments.
+ ///
+ /// The name of the command that needs argument completion.
+ /// The name of the parameter that needs argument completion.
+ /// The (possibly empty) word being completed.
+ /// The command ast in case it is needed for completion.
+ /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot
+ /// or will not attempt to evaluate an argument, in which case you may need to use commandAst.
+ ///
+ /// A collection of completion results, most like with ResultType set to ParameterValue.
+ ///
+ public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters)
+ {
+ if (global::System.String.IsNullOrEmpty(wordToComplete) || "Default".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase))
+ {
+ yield return new global::System.Management.Automation.CompletionResult("Default", "Default", global::System.Management.Automation.CompletionResultType.ParameterValue, "Default");
+ }
+ if (global::System.String.IsNullOrEmpty(wordToComplete) || "Microsoft.Keyvault".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase))
+ {
+ yield return new global::System.Management.Automation.CompletionResult("Microsoft.Keyvault", "Microsoft.Keyvault", global::System.Management.Automation.CompletionResultType.ParameterValue, "Microsoft.Keyvault");
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Support/KeySource.TypeConverter.cs b/src/Databricks/generated/api/Support/KeySource.TypeConverter.cs
new file mode 100644
index 000000000000..b5497030098b
--- /dev/null
+++ b/src/Databricks/generated/api/Support/KeySource.TypeConverter.cs
@@ -0,0 +1,59 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support
+{
+
+ /// TypeConverter implementation for KeySource.
+ public partial class KeySourceTypeConverter :
+ global::System.Management.Automation.PSTypeConverter
+ {
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false.
+ ///
+ public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true;
+
+ ///
+ /// Determines if the converter can convert the parameter to the
+ /// parameter.
+ ///
+ /// the to convert from
+ /// the to convert to
+ ///
+ /// true if the converter can convert the parameter to the
+ /// parameter, otherwise false.
+ ///
+ public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false;
+
+ ///
+ /// Converts the parameter to the parameter using and
+ ///
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ ///
+ /// an instance of , or null if there is no suitable conversion.
+ ///
+ public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => KeySource.CreateFrom(sourceValue);
+
+ /// NotImplemented -- this will return null
+ /// the to convert from
+ /// the to convert to
+ /// not used by this TypeConverter.
+ /// when set to true, will ignore the case when converting.
+ /// will always return null.
+ public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null;
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/api/Support/KeySource.cs b/src/Databricks/generated/api/Support/KeySource.cs
new file mode 100644
index 000000000000..de3d98be6590
--- /dev/null
+++ b/src/Databricks/generated/api/Support/KeySource.cs
@@ -0,0 +1,97 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support
+{
+
+ public partial struct KeySource :
+ System.IEquatable
+ {
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource Default = @"Default";
+
+ public static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource MicrosoftKeyvault = @"Microsoft.Keyvault";
+
+ /// the value for an instance of the Enum.
+ private string _value { get; set; }
+
+ /// Conversion from arbitrary object to KeySource
+ /// the value to convert to an instance of .
+ internal static object CreateFrom(object value)
+ {
+ return new KeySource(System.Convert.ToString(value));
+ }
+
+ /// Compares values of enum type KeySource
+ /// the value to compare against this instance.
+ /// true if the two instances are equal to the same value
+ public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource e)
+ {
+ return _value.Equals(e._value);
+ }
+
+ /// Compares values of enum type KeySource (override for Object)
+ /// the value to compare against this instance.
+ /// true if the two instances are equal to the same value
+ public override bool Equals(object obj)
+ {
+ return obj is KeySource && Equals((KeySource)obj);
+ }
+
+ /// Returns hashCode for enum KeySource
+ /// The hashCode of the value
+ public override int GetHashCode()
+ {
+ return this._value.GetHashCode();
+ }
+
+ /// Creates an instance of the
+ /// the value to create an instance for.
+ private KeySource(string underlyingValue)
+ {
+ this._value = underlyingValue;
+ }
+
+ /// Returns string representation for KeySource
+ /// A string for this value.
+ public override string ToString()
+ {
+ return this._value;
+ }
+
+ /// Implicit operator to convert string to KeySource
+ /// the value to convert to an instance of .
+
+ public static implicit operator KeySource(string value)
+ {
+ return new KeySource(value);
+ }
+
+ /// Implicit operator to convert KeySource to string
+ /// the value to convert to an instance of .
+
+ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource e)
+ {
+ return e._value;
+ }
+
+ /// Overriding != operator for enum KeySource
+ /// the value to compare against
+ /// the value to compare against
+ /// true if the two instances are not equal to the same value
+ public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource e1, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource e2)
+ {
+ return !e2.Equals(e1);
+ }
+
+ /// Overriding == operator for enum KeySource
+ /// the value to compare against
+ /// the value to compare against
+ /// true if the two instances are equal to the same value
+ public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource e1, Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource e2)
+ {
+ return e2.Equals(e1);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/cmdlets/GetAzDatabricksWorkspace_Get.cs b/src/Databricks/generated/cmdlets/GetAzDatabricksWorkspace_Get.cs
index a4ed59353343..05b4762f02bf 100644
--- a/src/Databricks/generated/cmdlets/GetAzDatabricksWorkspace_Get.cs
+++ b/src/Databricks/generated/cmdlets/GetAzDatabricksWorkspace_Get.cs
@@ -87,13 +87,6 @@ public partial class GetAzDatabricksWorkspace_Get : global::System.Management.Au
[global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Path)]
public string Name { get => this._name; set => this._name = value; }
- ///
- /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
- ///
- [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
- public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
-
///
/// The instance of the that the remote call will use.
///
@@ -159,16 +152,6 @@ public partial class GetAzDatabricksWorkspace_Get : global::System.Management.Au
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
- ///
- /// overrideOnNotFound will be called before the regular onNotFound has been processed, allowing customization of what
- /// happens on that response. Implement this method in a partial class to enable this behavior
- ///
- /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
- /// /// Determines if the rest of the onNotFound method should be processed, or if the method should
- /// return immediately (set to true to skip further processing )
-
- partial void overrideOnNotFound(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
-
///
/// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
/// on that response. Implement this method in a partial class to enable this behavior
@@ -322,7 +305,7 @@ protected override void ProcessRecord()
foreach( var SubscriptionId in this.SubscriptionId )
{
await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.WorkspacesGet(ResourceGroupName, Name, SubscriptionId, onOk, onNotFound, onDefault, this, Pipeline);
+ await this.Client.WorkspacesGet(ResourceGroupName, Name, SubscriptionId, onOk, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
}
@@ -389,30 +372,6 @@ protected override void StopProcessing()
}
}
- /// a delegate that is called when the remote service returns 404 (NotFound).
- /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
- ///
- /// A that will be complete when handling of the method is completed.
- ///
- private async global::System.Threading.Tasks.Task onNotFound(global::System.Net.Http.HttpResponseMessage responseMessage)
- {
- using( NoSynchronizationContext )
- {
- var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
- overrideOnNotFound(responseMessage, ref _returnNow);
- // if overrideOnNotFound has returned true, then return right away.
- if ((null != _returnNow && await _returnNow))
- {
- return ;
- }
- // onNotFound - response for 404 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
- {
- WriteObject(true);
- }
- }
- }
-
/// a delegate that is called when the remote service returns 200 (OK).
/// the raw response message as an global::System.Net.Http.HttpResponseMessage.
/// the body result as a cancellation token.
global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener.Token => _cancellationTokenSource.Token;
- ///
- /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default.
- ///
- [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
- public global::System.Management.Automation.SwitchParameter PassThru { get; set; }
-
///
/// The instance of the that the remote call will use.
///
@@ -120,16 +113,6 @@ public partial class GetAzDatabricksWorkspace_GetViaIdentity : global::System.Ma
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
- ///
- /// overrideOnNotFound will be called before the regular onNotFound has been processed, allowing customization of what
- /// happens on that response. Implement this method in a partial class to enable this behavior
- ///
- /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
- /// /// Determines if the rest of the onNotFound method should be processed, or if the method should
- /// return immediately (set to true to skip further processing )
-
- partial void overrideOnNotFound(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
-
///
/// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
/// on that response. Implement this method in a partial class to enable this behavior
@@ -283,7 +266,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.WorkspacesGetViaIdentity(InputObject.Id, onOk, onNotFound, onDefault, this, Pipeline);
+ await this.Client.WorkspacesGetViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline);
}
else
{
@@ -300,7 +283,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.WorkspacesGet(InputObject.ResourceGroupName ?? null, InputObject.WorkspaceName ?? null, InputObject.SubscriptionId ?? null, onOk, onNotFound, onDefault, this, Pipeline);
+ await this.Client.WorkspacesGet(InputObject.ResourceGroupName ?? null, InputObject.WorkspaceName ?? null, InputObject.SubscriptionId ?? null, onOk, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -367,30 +350,6 @@ protected override void StopProcessing()
}
}
- /// a delegate that is called when the remote service returns 404 (NotFound).
- /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
- ///
- /// A that will be complete when handling of the method is completed.
- ///
- private async global::System.Threading.Tasks.Task onNotFound(global::System.Net.Http.HttpResponseMessage responseMessage)
- {
- using( NoSynchronizationContext )
- {
- var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
- overrideOnNotFound(responseMessage, ref _returnNow);
- // if overrideOnNotFound has returned true, then return right away.
- if ((null != _returnNow && await _returnNow))
- {
- return ;
- }
- // onNotFound - response for 404 /
- if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
- {
- WriteObject(true);
- }
- }
- }
-
/// a delegate that is called when the remote service returns 200 (OK).
/// the raw response message as an global::System.Net.Http.HttpResponseMessage.
/// the body result as a ParametersBody.EnableNoPublicIPValue; set => ParametersBody.EnableNoPublicIPValue = value; }
+ /// The name of KeyVault key.
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The name of KeyVault key.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Body)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The name of KeyVault key.",
+ SerializedName = @"KeyName",
+ PossibleTypes = new [] { typeof(string) })]
+ public string EncryptionKeyName { get => ParametersBody.EncryptionKeyName ?? null; set => ParametersBody.EncryptionKeyName = value; }
+
+ ///
+ /// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Body)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault",
+ SerializedName = @"keySource",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource) })]
+ [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource))]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource EncryptionKeySource { get => ParametersBody.EncryptionKeySource ?? ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource)""); set => ParametersBody.EncryptionKeySource = value; }
+
+ /// The Uri of KeyVault.
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The Uri of KeyVault.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Body)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The Uri of KeyVault.",
+ SerializedName = @"keyvaulturi",
+ PossibleTypes = new [] { typeof(string) })]
+ public string EncryptionKeyVaultUri { get => ParametersBody.EncryptionKeyVaultUri ?? null; set => ParametersBody.EncryptionKeyVaultUri = value; }
+
+ /// The version of KeyVault key.
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The version of KeyVault key.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Body)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The version of KeyVault key.",
+ SerializedName = @"keyversion",
+ PossibleTypes = new [] { typeof(string) })]
+ public string EncryptionKeyVersion { get => ParametersBody.EncryptionKeyVersion ?? null; set => ParametersBody.EncryptionKeyVersion = value; }
+
/// SendAsync Pipeline Steps to be appended to the front of the pipeline
[global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")]
[global::System.Management.Automation.ValidateNotNull]
@@ -190,6 +237,17 @@ public partial class NewAzDatabricksWorkspace_CreateExpanded : global::System.Ma
///
private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.HttpPipeline Pipeline { get; set; }
+ /// The value which should be used for this field.
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The value which should be used for this field.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Body)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The value which should be used for this field.",
+ SerializedName = @"value",
+ PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })]
+ public global::System.Management.Automation.SwitchParameter PrepareEncryption { get => ParametersBody.PrepareEncryption; set => ParametersBody.PrepareEncryption = value; }
+
/// The value which should be used for this field.
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The value which should be used for this field.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Body)]
diff --git a/src/Databricks/generated/cmdlets/NewAzDatabricksWorkspace_CreateViaIdentity.cs b/src/Databricks/generated/cmdlets/NewAzDatabricksWorkspace_CreateViaIdentity.cs
new file mode 100644
index 000000000000..9d522f055f86
--- /dev/null
+++ b/src/Databricks/generated/cmdlets/NewAzDatabricksWorkspace_CreateViaIdentity.cs
@@ -0,0 +1,458 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Cmdlets
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Extensions;
+
+ /// Creates a new workspace.
+ ///
+ /// [OpenAPI] Workspaces_CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}"
+ ///
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.InternalExport]
+ [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDatabricksWorkspace_CreateViaIdentity", SupportsShouldProcess = true)]
+ [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace))]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Description(@"Creates a new workspace.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Generated]
+ public partial class NewAzDatabricksWorkspace_CreateViaIdentity : global::System.Management.Automation.PSCmdlet,
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener
+ {
+ /// A unique id generatd for the this cmdlet when it is instantiated.
+ private string __correlationId = System.Guid.NewGuid().ToString();
+
+ /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet)
+ private global::System.Management.Automation.InvocationInfo __invocationInfo;
+
+ /// A unique id generatd for the this cmdlet when ProcessRecord() is called.
+ private string __processRecordId;
+
+ ///
+ /// The for this operation.
+ ///
+ private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource();
+
+ /// when specified, runs this cmdlet as a PowerShell job
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter AsJob { get; set; }
+
+ /// Wait for .NET debugger to attach
+ [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter Break { get; set; }
+
+ /// The reference to the client API class.
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Databricks Client => Microsoft.Azure.PowerShell.Cmdlets.Databricks.Module.Instance.ClientAPI;
+
+ ///
+ /// The credentials, account, tenant, and subscription used for communication with Azure
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")]
+ [global::System.Management.Automation.ValidateNotNull]
+ [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Azure)]
+ public global::System.Management.Automation.PSObject DefaultProfile { get; set; }
+
+ /// SendAsync Pipeline Steps to be appended to the front of the pipeline
+ [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")]
+ [global::System.Management.Automation.ValidateNotNull]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; }
+
+ /// SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")]
+ [global::System.Management.Automation.ValidateNotNull]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity _inputObject;
+
+ /// Identity Parameter
+ [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Path)]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity InputObject { get => this._inputObject; set => this._inputObject = value; }
+
+ /// Accessor for our copy of the InvocationInfo.
+ public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } }
+
+ ///
+ /// cancellation delegate. Stops the cmdlet when called.
+ ///
+ global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel;
+
+ /// cancellation token.
+ global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener.Token => _cancellationTokenSource.Token;
+
+ ///
+ /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue
+ /// asynchronously.
+ ///
+ [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter NoWait { get; set; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace _parameter;
+
+ /// Information about workspace.
+ [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Information about workspace.", ValueFromPipeline = true)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(
+ Required = true,
+ ReadOnly = false,
+ Description = @"Information about workspace.",
+ SerializedName = @"parameters",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace) })]
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace Parameter { get => this._parameter; set => this._parameter = value; }
+
+ ///
+ /// The instance of the that the remote call will use.
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.HttpPipeline Pipeline { get; set; }
+
+ /// The URI for the proxy server to use
+ [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
+ public global::System.Uri Proxy { get; set; }
+
+ /// Credentials for a proxy server to use for the remote call
+ [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")]
+ [global::System.Management.Automation.ValidateNotNull]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.PSCredential ProxyCredential { get; set; }
+
+ /// Use the default credentials for the proxy
+ [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.ParameterCategory.Runtime)]
+ public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; }
+
+ ///
+ /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what
+ /// happens on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// the body result as a from the remote call
+ /// /// Determines if the rest of the onDefault method should be processed, or if the method should
+ /// return immediately (set to true to skip further processing )
+
+ partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+
+ ///
+ /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
+ /// on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// the body result as a from the remote call
+ /// /// Determines if the rest of the onOk method should be processed, or if the method should return
+ /// immediately (set to true to skip further processing )
+
+ partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+
+ ///
+ /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet)
+ ///
+ protected override void BeginProcessing()
+ {
+ Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials);
+ if (Break)
+ {
+ Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.AttachDebugger.Break();
+ }
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ }
+
+ /// Creates a duplicate instance of this cmdlet (via JSON serialization).
+ /// a duplicate instance of NewAzDatabricksWorkspace_CreateViaIdentity
+ public Microsoft.Azure.PowerShell.Cmdlets.Databricks.Cmdlets.NewAzDatabricksWorkspace_CreateViaIdentity Clone()
+ {
+ var clone = new NewAzDatabricksWorkspace_CreateViaIdentity();
+ clone.__correlationId = this.__correlationId;
+ clone.__processRecordId = this.__processRecordId;
+ clone.DefaultProfile = this.DefaultProfile;
+ clone.InvocationInformation = this.InvocationInformation;
+ clone.Proxy = this.Proxy;
+ clone.Pipeline = this.Pipeline;
+ clone.AsJob = this.AsJob;
+ clone.Break = this.Break;
+ clone.ProxyCredential = this.ProxyCredential;
+ clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials;
+ clone.HttpPipelinePrepend = this.HttpPipelinePrepend;
+ clone.HttpPipelineAppend = this.HttpPipelineAppend;
+ clone.Parameter = this.Parameter;
+ return clone;
+ }
+
+ /// Performs clean-up after the command execution
+ protected override void EndProcessing()
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ }
+
+ /// Handles/Dispatches events during the call to the REST service.
+ /// The message id
+ /// The message cancellation token. When this call is cancelled, this should be true
+ /// Detailed message data for the message event.
+ ///
+ /// A that will be complete when handling of the message is completed.
+ ///
+ async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData)
+ {
+ using( NoSynchronizationContext )
+ {
+ if (token.IsCancellationRequested)
+ {
+ return ;
+ }
+
+ switch ( id )
+ {
+ case Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.Verbose:
+ {
+ WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}");
+ return ;
+ }
+ case Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.Warning:
+ {
+ WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}");
+ return ;
+ }
+ case Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.Information:
+ {
+ // When an operation supports asjob, Information messages must go thru verbose.
+ WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}");
+ return ;
+ }
+ case Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.Debug:
+ {
+ WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}");
+ return ;
+ }
+ case Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.Error:
+ {
+ WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) );
+ return ;
+ }
+ case Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.DelayBeforePolling:
+ {
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait"))
+ {
+ var data = messageData();
+ if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response)
+ {
+ var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation");
+ var location = response.GetFirstHeader(@"Location");
+ var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation;
+ WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell.AsyncOperationResponse { Target = uri });
+ // do nothing more.
+ data.Cancel();
+ return;
+ }
+ }
+ break;
+ }
+ }
+ await Microsoft.Azure.PowerShell.Cmdlets.Databricks.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null );
+ if (token.IsCancellationRequested)
+ {
+ return ;
+ }
+ WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}");
+ }
+ }
+
+ ///
+ /// Intializes a new instance of the cmdlet class.
+ ///
+ public NewAzDatabricksWorkspace_CreateViaIdentity()
+ {
+
+ }
+
+ /// Performs execution of the command.
+ protected override void ProcessRecord()
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ __processRecordId = System.Guid.NewGuid().ToString();
+ try
+ {
+ // work
+ if (ShouldProcess($"Call remote 'WorkspacesCreateOrUpdate' operation"))
+ {
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob"))
+ {
+ var instance = this.Clone();
+ var job = new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel);
+ JobRepository.Add(job);
+ var task = instance.ProcessRecordAsync();
+ job.Monitor(task);
+ WriteObject(job);
+ }
+ else
+ {
+ using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token) )
+ {
+ asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token);
+ }
+ }
+ }
+ }
+ catch (global::System.AggregateException aggregateException)
+ {
+ // unroll the inner exceptions to get the root cause
+ foreach( var innerException in aggregateException.Flatten().InnerExceptions )
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ // Write exception out to error channel.
+ WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) );
+ }
+ }
+ catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null)
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ // Write exception out to error channel.
+ WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) );
+ }
+ finally
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletProcessRecordEnd).Wait();
+ }
+ }
+
+ /// Performs execution of the command, working asynchronously if required.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ protected async global::System.Threading.Tasks.Task ProcessRecordAsync()
+ {
+ using( NoSynchronizationContext )
+ {
+ await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Databricks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName);
+ if (null != HttpPipelinePrepend)
+ {
+ Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend);
+ }
+ if (null != HttpPipelineAppend)
+ {
+ Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend);
+ }
+ // get the client instance
+ try
+ {
+ await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ if (InputObject?.Id != null)
+ {
+ await this.Client.WorkspacesCreateOrUpdateViaIdentity(InputObject.Id, Parameter, onOk, onDefault, this, Pipeline);
+ }
+ else
+ {
+ // try to call with PATH parameters from Input Object
+ if (null == InputObject.ResourceGroupName)
+ {
+ ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
+ }
+ if (null == InputObject.WorkspaceName)
+ {
+ ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.WorkspaceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
+ }
+ if (null == InputObject.SubscriptionId)
+ {
+ ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
+ }
+ await this.Client.WorkspacesCreateOrUpdate(InputObject.ResourceGroupName ?? null, InputObject.WorkspaceName ?? null, InputObject.SubscriptionId ?? null, Parameter, onOk, onDefault, this, Pipeline);
+ }
+ await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
+ }
+ catch (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.UndeclaredResponseException urexception)
+ {
+ WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter})
+ {
+ ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action }
+ });
+ }
+ finally
+ {
+ await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletProcessRecordAsyncEnd);
+ }
+ }
+ }
+
+ /// Interrupts currently running code within the command.
+ protected override void StopProcessing()
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Cancel();
+ base.StopProcessing();
+ }
+
+ ///
+ /// a delegate that is called when the remote service returns default (any response code not handled elsewhere).
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// the body result as a from the remote call
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnDefault(responseMessage, response, ref _returnNow);
+ // if overrideOnDefault has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // Error Response : default
+ var code = (await response)?.Code;
+ var message = (await response)?.Message;
+ if ((null == code || null == message))
+ {
+ // Unrecognized Response. Create an error record based on what we have.
+ var ex = new Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.RestException(responseMessage, await response);
+ WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter })
+ {
+ ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action }
+ });
+ }
+ else
+ {
+ WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter })
+ {
+ ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty }
+ });
+ }
+ }
+ }
+
+ /// a delegate that is called when the remote service returns 200 (OK).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// the body result as a from the remote call
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnOk(responseMessage, response, ref _returnNow);
+ // if overrideOnOk has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onOk - response for 200 / application/json
+ // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
+ WriteObject((await response));
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Databricks/generated/cmdlets/RemoveAzDatabricksWorkspace_Delete.cs b/src/Databricks/generated/cmdlets/RemoveAzDatabricksWorkspace_Delete.cs
index ab9a8fb08d1f..a26f00d206ae 100644
--- a/src/Databricks/generated/cmdlets/RemoveAzDatabricksWorkspace_Delete.cs
+++ b/src/Databricks/generated/cmdlets/RemoveAzDatabricksWorkspace_Delete.cs
@@ -172,6 +172,16 @@ public partial class RemoveAzDatabricksWorkspace_Delete : global::System.Managem
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of
+ /// what happens on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onNoContent method should be processed, or if the method should
+ /// return immediately (set to true to skip further processing )
+
+ partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
/// on that response. Implement this method in a partial class to enable this behavior
@@ -369,7 +379,7 @@ protected override void ProcessRecord()
try
{
await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
- await this.Client.WorkspacesDelete(ResourceGroupName, Name, SubscriptionId, onOk, onDefault, this, Pipeline);
+ await this.Client.WorkspacesDelete(ResourceGroupName, Name, SubscriptionId, onOk, onNoContent, onDefault, this, Pipeline);
await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
catch (Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.UndeclaredResponseException urexception)
@@ -443,6 +453,30 @@ protected override void StopProcessing()
}
}
+ /// a delegate that is called when the remote service returns 204 (NoContent).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onNoContent(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnNoContent(responseMessage, ref _returnNow);
+ // if overrideOnNoContent has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onNoContent - response for 204 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
+
/// a delegate that is called when the remote service returns 200 (OK).
/// the raw response message as an global::System.Net.Http.HttpResponseMessage.
///
diff --git a/src/Databricks/generated/cmdlets/RemoveAzDatabricksWorkspace_DeleteViaIdentity.cs b/src/Databricks/generated/cmdlets/RemoveAzDatabricksWorkspace_DeleteViaIdentity.cs
index 6b61be10245a..9f45143ac4c4 100644
--- a/src/Databricks/generated/cmdlets/RemoveAzDatabricksWorkspace_DeleteViaIdentity.cs
+++ b/src/Databricks/generated/cmdlets/RemoveAzDatabricksWorkspace_DeleteViaIdentity.cs
@@ -133,6 +133,16 @@ public partial class RemoveAzDatabricksWorkspace_DeleteViaIdentity : global::Sys
partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow);
+ ///
+ /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of
+ /// what happens on that response. Implement this method in a partial class to enable this behavior
+ ///
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ /// /// Determines if the rest of the onNoContent method should be processed, or if the method should
+ /// return immediately (set to true to skip further processing )
+
+ partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow);
+
///
/// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens
/// on that response. Implement this method in a partial class to enable this behavior
@@ -329,7 +339,7 @@ protected override void ProcessRecord()
await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
if (InputObject?.Id != null)
{
- await this.Client.WorkspacesDeleteViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline);
+ await this.Client.WorkspacesDeleteViaIdentity(InputObject.Id, onOk, onNoContent, onDefault, this, Pipeline);
}
else
{
@@ -346,7 +356,7 @@ protected override void ProcessRecord()
{
ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) );
}
- await this.Client.WorkspacesDelete(InputObject.ResourceGroupName ?? null, InputObject.WorkspaceName ?? null, InputObject.SubscriptionId ?? null, onOk, onDefault, this, Pipeline);
+ await this.Client.WorkspacesDelete(InputObject.ResourceGroupName ?? null, InputObject.WorkspaceName ?? null, InputObject.SubscriptionId ?? null, onOk, onNoContent, onDefault, this, Pipeline);
}
await ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
}
@@ -421,6 +431,30 @@ protected override void StopProcessing()
}
}
+ /// a delegate that is called when the remote service returns 204 (NoContent).
+ /// the raw response message as an global::System.Net.Http.HttpResponseMessage.
+ ///
+ /// A that will be complete when handling of the method is completed.
+ ///
+ private async global::System.Threading.Tasks.Task onNoContent(global::System.Net.Http.HttpResponseMessage responseMessage)
+ {
+ using( NoSynchronizationContext )
+ {
+ var _returnNow = global::System.Threading.Tasks.Task.FromResult(false);
+ overrideOnNoContent(responseMessage, ref _returnNow);
+ // if overrideOnNoContent has returned true, then return right away.
+ if ((null != _returnNow && await _returnNow))
+ {
+ return ;
+ }
+ // onNoContent - response for 204 /
+ if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru"))
+ {
+ WriteObject(true);
+ }
+ }
+ }
+
/// a delegate that is called when the remote service returns 200 (OK).
/// the raw response message as an global::System.Net.Http.HttpResponseMessage.
///
diff --git a/src/Databricks/generated/cmdlets/UpdateAzDatabricksWorkspace_UpdateExpanded.cs b/src/Databricks/generated/cmdlets/UpdateAzDatabricksWorkspace_UpdateExpanded.cs
index 21bab6d0f73b..b8341cc53802 100644
--- a/src/Databricks/generated/cmdlets/UpdateAzDatabricksWorkspace_UpdateExpanded.cs
+++ b/src/Databricks/generated/cmdlets/UpdateAzDatabricksWorkspace_UpdateExpanded.cs
@@ -11,6 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Cmdlets
///
/// [OpenAPI] Workspaces_Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}"
///
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzDatabricksWorkspace_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Description(@"Updates a workspace.")]
diff --git a/src/Databricks/generated/cmdlets/UpdateAzDatabricksWorkspace_UpdateViaIdentityExpanded.cs b/src/Databricks/generated/cmdlets/UpdateAzDatabricksWorkspace_UpdateViaIdentityExpanded.cs
index 3bc3d81fe33c..23b9f1cbc704 100644
--- a/src/Databricks/generated/cmdlets/UpdateAzDatabricksWorkspace_UpdateViaIdentityExpanded.cs
+++ b/src/Databricks/generated/cmdlets/UpdateAzDatabricksWorkspace_UpdateViaIdentityExpanded.cs
@@ -11,6 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Cmdlets
///
/// [OpenAPI] Workspaces_Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}"
///
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzDatabricksWorkspace_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace))]
[global::Microsoft.Azure.PowerShell.Cmdlets.Databricks.Description(@"Updates a workspace.")]
diff --git a/src/Databricks/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs b/src/Databricks/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs
index d6edc8964004..6677b12ceef3 100644
--- a/src/Databricks/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs
+++ b/src/Databricks/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs
@@ -49,7 +49,7 @@ protected override void ProcessRecord()
throw new ArgumentException($"Custom folder '{CustomFolder}' does not exist");
}
- string version = Convert.ToString(@"0.0.1");
+ string version = Convert.ToString(@"0.1.0");
// Validate the module version should be semantic version
// Following regex is official from https://semver.org/
Regex rx = new Regex(@"^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$", RegexOptions.Compiled);
diff --git a/src/Databricks/generated/runtime/BuildTime/MarkdownRenderer.cs b/src/Databricks/generated/runtime/BuildTime/MarkdownRenderer.cs
index 9e7c57b231e2..df0186fad2dd 100644
--- a/src/Databricks/generated/runtime/BuildTime/MarkdownRenderer.cs
+++ b/src/Databricks/generated/runtime/BuildTime/MarkdownRenderer.cs
@@ -75,20 +75,19 @@ public static void WriteMarkdowns(IEnumerable variantGroups, PsMod
sb.Append($"### {output}{Environment.NewLine}{Environment.NewLine}");
}
- sb.Append($"## ALIASES{Environment.NewLine}{Environment.NewLine}");
+ sb.Append($"## NOTES{Environment.NewLine}{Environment.NewLine}");
+ sb.Append($"ALIASES{Environment.NewLine}{Environment.NewLine}");
foreach (var alias in markdownInfo.Aliases)
{
sb.Append($"### {alias}{Environment.NewLine}{Environment.NewLine}");
}
-
- sb.Append($"## NOTES{Environment.NewLine}{Environment.NewLine}");
if (markdownInfo.ComplexInterfaceInfos.Any())
{
- sb.Append($"### {ComplexParameterHeader}");
+ sb.Append($"{ComplexParameterHeader}{Environment.NewLine}");
}
foreach (var complexInterfaceInfo in markdownInfo.ComplexInterfaceInfos)
{
- sb.Append($"#### {complexInterfaceInfo.ToNoteOutput(includeDashes: true, includeBackticks: true)}{Environment.NewLine}{Environment.NewLine}");
+ sb.Append($"{complexInterfaceInfo.ToNoteOutput(includeDashes: true, includeBackticks: true)}{Environment.NewLine}{Environment.NewLine}");
}
sb.Append($"## RELATED LINKS{Environment.NewLine}{Environment.NewLine}");
diff --git a/src/Databricks/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs b/src/Databricks/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs
index cd2909505285..fe2371841be1 100644
--- a/src/Databricks/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs
+++ b/src/Databricks/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs
@@ -103,7 +103,6 @@ public override string ToString()
Default value: {ParameterInfo.DefaultValue}
Accept pipeline input: {pipelineInput}
Accept wildcard characters: {ParameterInfo.AcceptsWildcardCharacters}
-Dynamic: {ParameterInfo.IsDynamic}
```
";
diff --git a/src/Databricks/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/Databricks/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
index 5b7ec2be48bb..bfcbae714fcb 100644
--- a/src/Databricks/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
+++ b/src/Databricks/generated/runtime/BuildTime/Models/PsProxyOutputs.cs
@@ -271,7 +271,7 @@ public override string ToString()
{CommentInfo.Synopsis.ToDescriptionFormat(false)}
.Description
{CommentInfo.Description.ToDescriptionFormat(false)}
-{examples}
+{examples}{inputsText}{outputsText}{notesText}
.Link
{CommentInfo.OnlineVersion}{relatedLinksText}
#>
@@ -415,7 +415,7 @@ internal static class PsProxyOutputExtensions
public const string ItemSeparator = ", ";
- public static readonly string ComplexParameterHeader = $"COMPLEX PARAMETER PROPERTIES{Environment.NewLine}To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.{Environment.NewLine}{Environment.NewLine}";
+ public static readonly string ComplexParameterHeader = $"COMPLEX PARAMETER PROPERTIES{Environment.NewLine}{Environment.NewLine}To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.{Environment.NewLine}{Environment.NewLine}";
public static string ToPsBool(this bool value) => $"${value.ToString().ToLowerInvariant()}";
diff --git a/src/Databricks/generated/runtime/HttpPipeline.cs b/src/Databricks/generated/runtime/HttpPipeline.cs
index 2a19654f2579..0e65464462fc 100644
--- a/src/Databricks/generated/runtime/HttpPipeline.cs
+++ b/src/Databricks/generated/runtime/HttpPipeline.cs
@@ -47,7 +47,7 @@ public partial class SendAsyncFactory
{
///
/// This translates a generic-defined delegate for a listener into one that fits our ISendAsync pattern.
- /// (Provided to support out-of-module delgation for Azure Cmdlets)
+ /// (Provided to support out-of-module delegation for Azure Cmdlets)
///
/// The Pipeline Step as a delegate
public SendAsyncFactory(SendAsyncStepDelegate step) => this.implementation = (request, listener, next) =>
@@ -85,4 +85,4 @@ public HttpPipeline Prepend(SendAsyncStepDelegate item)
return this;
}
}
-}
\ No newline at end of file
+}
diff --git a/src/Databricks/help/Az.Databricks.md b/src/Databricks/help/Az.Databricks.md
index 6c3f730e678b..980a55e1365a 100644
--- a/src/Databricks/help/Az.Databricks.md
+++ b/src/Databricks/help/Az.Databricks.md
@@ -1,6 +1,6 @@
---
Module Name: Az.Databricks
-Module Guid: 7c5fb237-d682-4079-8e8e-3c8a7430a77d
+Module Guid: b453c0c1-7867-4fa1-9fd0-0cf8f6c6959c
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.databricks
Help Version: 1.0.0.0
Locale: en-US
diff --git a/src/Databricks/help/Get-AzDatabricksWorkspace.md b/src/Databricks/help/Get-AzDatabricksWorkspace.md
index 781956944dee..0c2453db68fe 100644
--- a/src/Databricks/help/Get-AzDatabricksWorkspace.md
+++ b/src/Databricks/help/Get-AzDatabricksWorkspace.md
@@ -122,21 +122,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -PassThru
-Returns true when the command succeeds
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Get, GetViaIdentity
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
### -ResourceGroupName
The name of the resource group.
The name is case insensitive.
@@ -184,6 +169,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
ALIASES
COMPLEX PARAMETER PROPERTIES
+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
diff --git a/src/Databricks/help/New-AzDatabricksWorkspace.md b/src/Databricks/help/New-AzDatabricksWorkspace.md
index da95cc4d25eb..5c7fc9f00f7f 100644
--- a/src/Databricks/help/New-AzDatabricksWorkspace.md
+++ b/src/Databricks/help/New-AzDatabricksWorkspace.md
@@ -14,9 +14,10 @@ Creates a new workspace.
```
New-AzDatabricksWorkspace -Name -ResourceGroupName -Location
- [-SubscriptionId ] [-ManagedResourceGroupName ] [-PrivateSubnetName ]
- [-PublicSubnetName ] [-Sku ] [-Tag ] [-VirtualNetworkId ]
- [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+ [-SubscriptionId ] [-ManagedResourceGroupName ] [-PrepareEncryption]
+ [-PrivateSubnetName ] [-PublicSubnetName ] [-Sku ] [-Tag ]
+ [-VirtualNetworkId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
```
## DESCRIPTION
@@ -52,6 +53,18 @@ eastus databricks-test-with-custom-vn Microsoft.Databricks/workspaces
This command creates a Databricks workspace with customized virtual network in a resource group.
+### Example 3: Create a Databricks workspace with enable encryption
+```powershell
+PS C:\> New-AzDatabricksWorkspace -Name databricks-test02 -ResourceGroupName testgroup -PrepareEncryption -Location "East US 2 EUAP" -Sku premium
+
+Location Name Type
+-------- ---- ----
+eastus databricks-test02 Microsoft.Databricks/workspaces
+```
+
+This command creates a Databricks workspace and sets it to prepare for encryption.
+Please refer to the examples of Update-AzDatabricksWorkspace for more settings to encryption.
+
## PARAMETERS
### -AsJob
@@ -144,6 +157,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -PrepareEncryption
+Prepare the workspace for encryption.
+Enables the Managed Identity for managed storage account.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -PrivateSubnetName
The value which should be used for this field.
diff --git a/src/Databricks/help/Remove-AzDatabricksWorkspace.md b/src/Databricks/help/Remove-AzDatabricksWorkspace.md
index baee9bc497f4..5c4f41c9585f 100644
--- a/src/Databricks/help/Remove-AzDatabricksWorkspace.md
+++ b/src/Databricks/help/Remove-AzDatabricksWorkspace.md
@@ -36,6 +36,14 @@ PS C:\> Remove-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databric
This command removes a Databricks workspace from a resource group.
+### Example 2: Remove a Databricks workspace by object
+```powershell
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test02
+PS C:\> Remove-AzDatabricksWorkspace -InputObject $dbr
+```
+
+This command removes a Databricks workspace from a resource group.
+
## PARAMETERS
### -AsJob
@@ -207,6 +215,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
ALIASES
COMPLEX PARAMETER PROPERTIES
+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
diff --git a/src/Databricks/help/Update-AzDatabricksWorkspace.md b/src/Databricks/help/Update-AzDatabricksWorkspace.md
index 58e57dfee319..e3590b7e2c6f 100644
--- a/src/Databricks/help/Update-AzDatabricksWorkspace.md
+++ b/src/Databricks/help/Update-AzDatabricksWorkspace.md
@@ -15,13 +15,17 @@ Updates a workspace.
### UpdateExpanded (Default)
```
Update-AzDatabricksWorkspace -Name -ResourceGroupName [-SubscriptionId ]
- [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+ [-EncryptionKeyName ] [-EncryptionKeySource ] [-EncryptionKeyVaultUri ]
+ [-EncryptionKeyVersion ] [-PrepareEncryption] [-Tag ] [-DefaultProfile ]
+ [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
```
### UpdateViaIdentityExpanded
```
-Update-AzDatabricksWorkspace -InputObject [-Tag ]
- [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+Update-AzDatabricksWorkspace -InputObject [-EncryptionKeyName ]
+ [-EncryptionKeySource ] [-EncryptionKeyVaultUri ] [-EncryptionKeyVersion ]
+ [-PrepareEncryption] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
+ []
```
## DESCRIPTION
@@ -29,16 +33,44 @@ Updates a workspace.
## EXAMPLES
-### Example 1: Update a Databricks workspace
+### Example 1: Updates the tags of a Databricks workspace
```powershell
-PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName testgroup -Name databricks-test -Tag @{ dbr="home-resource" }
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceopsc46 -Tag @{'key'=1}
+PS C:\> Update-AzDatabricksWorkspace -InputObject $dbr -Tag @{key="value"}
-Location Name Type
--------- ---- ----
-eastus databricks-test Microsoft.Databricks/workspaces
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceopsc46 eastus /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceopsc46-wfgp3ayhu6jkn
```
-This command updates a Databricks workspace.
+This command updates the tags of a Databricks workspace.
+
+### Example 2: Enable encryption on a Databricks workspace
+```powershell
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -PrepareEncryption
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Microsoft.KeyVault' -EncryptionKeyVaultUri https://keyvalult-j3kube.vault.azure.net/ -EncryptionKeyName key-p3bjsf -EncryptionKeyVersion 853999da89714fb4a1408681945135fd
+
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceypae6l East US 2 EUAP /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceypae6l-wzefrgv2b075t
+```
+
+Enabling encryption on a Databricks workspace takes two steps:
+1.
+Update a workspace with `-PrepareEncryption` (if the workspace was not created with `-PrepareEncryption`)
+1.
+Update the encryption key with the following parameters:
+ - `-EncryptionKeySource`
+ - `-EncryptionKeyVaultUri`
+ - `-EncryptionKeyName`
+ - `-EncryptionKeyVersion`
+
+### Example 3: Disable encryption on a Databricks workspace
+```powershell
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Default'
+```
+
+To disable encryption, simply set `-EncryptionKeySource` to `'Default'`.
## PARAMETERS
@@ -72,8 +104,69 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -EncryptionKeyName
+The name of Key Vault key.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -EncryptionKeySource
+The encryption keySource (provider).
+Possible values (case-insensitive): Default, Microsoft.Keyvault
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -EncryptionKeyVaultUri
+The URI (DNS name) of the Key Vault.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -EncryptionKeyVersion
+The version of KeyVault key.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -InputObject
-Identity Parameter
+Identity parameter.
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
@@ -118,6 +211,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -PrepareEncryption
+Prepare the workspace for encryption.
+Enables the Managed Identity for managed storage account.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceGroupName
The name of the resource group.
The name is case insensitive.
@@ -211,10 +320,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
ALIASES
COMPLEX PARAMETER PROPERTIES
+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-INPUTOBJECT : Identity Parameter
+INPUTOBJECT : Identity parameter.
- `[Id ]`: Resource identity path
- `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive.
- `[SubscriptionId ]`: The ID of the target subscription.
diff --git a/src/Databricks/internal/Get-AzDatabricksOperation.ps1 b/src/Databricks/internal/Get-AzDatabricksOperation.ps1
index 4cc9cc005931..44ec52c2c19c 100644
--- a/src/Databricks/internal/Get-AzDatabricksOperation.ps1
+++ b/src/Databricks/internal/Get-AzDatabricksOperation.ps1
@@ -27,6 +27,8 @@ PS C:\> {{ Add code here }}
{{ Add output here }}
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IOperation
.Link
https://docs.microsoft.com/en-us/powershell/module/az.databricks/get-azdatabricksoperation
#>
diff --git a/src/Databricks/internal/New-AzDatabricksWorkspace.ps1 b/src/Databricks/internal/New-AzDatabricksWorkspace.ps1
index fc3da62cf838..af4eeba90095 100644
--- a/src/Databricks/internal/New-AzDatabricksWorkspace.ps1
+++ b/src/Databricks/internal/New-AzDatabricksWorkspace.ps1
@@ -36,7 +36,62 @@ PS C:\> New-AzDatabricksWorkspace -Name databricks-test-with-custom-vn -Resource
Location Name Type
-------- ---- ----
eastus databricks-test-with-custom-vn Microsoft.Databricks/workspaces
+.Example
+PS C:\> New-AzDatabricksWorkspace -Name databricks-test02 -ResourceGroupName testgroup -PrepareEncryption -Location "East US 2 EUAP" -Sku premium
+Location Name Type
+-------- ---- ----
+eastus databricks-test02 Microsoft.Databricks/workspaces
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+AUTHORIZATION : The workspace provider authorizations.
+ PrincipalId : The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources.
+ RoleDefinitionId : The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group.
+
+INPUTOBJECT : Identity Parameter
+ [Id ]: Resource identity path
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription.
+ [WorkspaceName ]: The name of the workspace.
+
+PARAMETER : Information about workspace.
+ Location : The geo-location where the resource lives
+ AmlWorkspaceIdValue : The value which should be used for this field.
+ CustomPrivateSubnetNameValue : The value which should be used for this field.
+ CustomPublicSubnetNameValue : The value which should be used for this field.
+ CustomVirtualNetworkIdValue : The value which should be used for this field.
+ EnableNoPublicIPValue : The value which should be used for this field.
+ LoadBalancerBackendPoolNameValue : The value which should be used for this field.
+ LoadBalancerIdValue : The value which should be used for this field.
+ ManagedResourceGroupId : The managed resource group Id.
+ PrepareEncryption : The value which should be used for this field.
+ RelayNamespaceNameValue : The value which should be used for this field.
+ ResourceTagValue : The value which should be used for this field.
+ SkuName : The SKU name.
+ StorageAccountNameValue : The value which should be used for this field.
+ StorageAccountSkuNameValue : The value which should be used for this field.
+ VnetAddressPrefixValue : The value which should be used for this field.
+ [Tag ]: Resource tags.
+ [(Any) ]: This indicates any property can be added to this object.
+ [Authorization ]: The workspace provider authorizations.
+ PrincipalId : The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources.
+ RoleDefinitionId : The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group.
+ [EncryptionKeyName ]: The name of KeyVault key.
+ [EncryptionKeySource ]: The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ [EncryptionKeyVaultUri ]: The Uri of KeyVault.
+ [EncryptionKeyVersion ]: The version of KeyVault key.
+ [SkuTier ]: The SKU tier.
+ [UiDefinitionUri ]: The blob URI where the UI definition file is located.
.Link
https://docs.microsoft.com/en-us/powershell/module/az.databricks/new-azdatabricksworkspace
#>
@@ -44,143 +99,189 @@ function New-AzDatabricksWorkspace {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Alias('WorkspaceName')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[System.String]
# The name of the workspace.
${Name},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[System.String]
# The name of the resource group.
# The name is case insensitive.
${ResourceGroupName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
# The ID of the target subscription.
${SubscriptionId},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The geo-location where the resource lives
${Location},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The managed resource group Id.
${ManagedResourceGroupId},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${AmlWorkspaceIdValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[]]
# The workspace provider authorizations.
# To construct, see NOTES section for AUTHORIZATION properties and create a hash table.
${Authorization},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.Management.Automation.SwitchParameter]
# The value which should be used for this field.
${EnableNoPublicIPValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The name of KeyVault key.
+ ${EncryptionKeyName},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource])]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource]
+ # The encryption keySource (provider).
+ # Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ${EncryptionKeySource},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The Uri of KeyVault.
+ ${EncryptionKeyVaultUri},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The version of KeyVault key.
+ ${EncryptionKeyVersion},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${LoadBalancerBackendPoolNameValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${LoadBalancerIdValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # The value which should be used for this field.
+ ${PrepareEncryption},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${PrivateSubnetName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${PublicSubnetName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${RelayNamespaceNameValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue]
# The value which should be used for this field.
${ResourceTagValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The SKU name.
${Sku},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The SKU tier.
${SkuTier},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${StorageAccountNameValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${StorageAccountSkuNameValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceTags]))]
[System.Collections.Hashtable]
# Resource tags.
${Tag},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The blob URI where the UI definition file is located.
${UiDefinitionUri},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${VirtualNetworkId},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${VnetAddressPrefixValue},
+ [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace]
+ # Information about workspace.
+ # To construct, see NOTES section for PARAMETER properties and create a hash table.
+ ${Parameter},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -250,6 +351,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
$mapping = @{
CreateExpanded = 'Az.Databricks.private\New-AzDatabricksWorkspace_CreateExpanded';
+ CreateViaIdentity = 'Az.Databricks.private\New-AzDatabricksWorkspace_CreateViaIdentity';
}
if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
diff --git a/src/Databricks/internal/ProxyCmdletDefinitions.ps1 b/src/Databricks/internal/ProxyCmdletDefinitions.ps1
index f2d9c11a08b6..fac93df0321a 100644
--- a/src/Databricks/internal/ProxyCmdletDefinitions.ps1
+++ b/src/Databricks/internal/ProxyCmdletDefinitions.ps1
@@ -27,6 +27,8 @@ PS C:\> {{ Add code here }}
{{ Add output here }}
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IOperation
.Link
https://docs.microsoft.com/en-us/powershell/module/az.databricks/get-azdatabricksoperation
#>
@@ -155,7 +157,62 @@ PS C:\> New-AzDatabricksWorkspace -Name databricks-test-with-custom-vn -Resource
Location Name Type
-------- ---- ----
eastus databricks-test-with-custom-vn Microsoft.Databricks/workspaces
+.Example
+PS C:\> New-AzDatabricksWorkspace -Name databricks-test02 -ResourceGroupName testgroup -PrepareEncryption -Location "East US 2 EUAP" -Sku premium
+Location Name Type
+-------- ---- ----
+eastus databricks-test02 Microsoft.Databricks/workspaces
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+AUTHORIZATION : The workspace provider authorizations.
+ PrincipalId : The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources.
+ RoleDefinitionId : The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group.
+
+INPUTOBJECT : Identity Parameter
+ [Id ]: Resource identity path
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription.
+ [WorkspaceName ]: The name of the workspace.
+
+PARAMETER : Information about workspace.
+ Location : The geo-location where the resource lives
+ AmlWorkspaceIdValue : The value which should be used for this field.
+ CustomPrivateSubnetNameValue : The value which should be used for this field.
+ CustomPublicSubnetNameValue : The value which should be used for this field.
+ CustomVirtualNetworkIdValue : The value which should be used for this field.
+ EnableNoPublicIPValue : The value which should be used for this field.
+ LoadBalancerBackendPoolNameValue : The value which should be used for this field.
+ LoadBalancerIdValue : The value which should be used for this field.
+ ManagedResourceGroupId : The managed resource group Id.
+ PrepareEncryption : The value which should be used for this field.
+ RelayNamespaceNameValue : The value which should be used for this field.
+ ResourceTagValue : The value which should be used for this field.
+ SkuName : The SKU name.
+ StorageAccountNameValue : The value which should be used for this field.
+ StorageAccountSkuNameValue : The value which should be used for this field.
+ VnetAddressPrefixValue : The value which should be used for this field.
+ [Tag ]: Resource tags.
+ [(Any) ]: This indicates any property can be added to this object.
+ [Authorization ]: The workspace provider authorizations.
+ PrincipalId : The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources.
+ RoleDefinitionId : The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group.
+ [EncryptionKeyName ]: The name of KeyVault key.
+ [EncryptionKeySource ]: The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
+ [EncryptionKeyVaultUri ]: The Uri of KeyVault.
+ [EncryptionKeyVersion ]: The version of KeyVault key.
+ [SkuTier ]: The SKU tier.
+ [UiDefinitionUri ]: The blob URI where the UI definition file is located.
.Link
https://docs.microsoft.com/en-us/powershell/module/az.databricks/new-azdatabricksworkspace
#>
@@ -163,143 +220,189 @@ function New-AzDatabricksWorkspace {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Alias('WorkspaceName')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[System.String]
# The name of the workspace.
${Name},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[System.String]
# The name of the resource group.
# The name is case insensitive.
${ResourceGroupName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
# The ID of the target subscription.
${SubscriptionId},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The geo-location where the resource lives
${Location},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The managed resource group Id.
${ManagedResourceGroupId},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${AmlWorkspaceIdValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceProviderAuthorization[]]
# The workspace provider authorizations.
# To construct, see NOTES section for AUTHORIZATION properties and create a hash table.
${Authorization},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.Management.Automation.SwitchParameter]
# The value which should be used for this field.
${EnableNoPublicIPValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The name of KeyVault key.
+ ${EncryptionKeyName},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource])]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Support.KeySource]
+ # The encryption keySource (provider).
+ # Possible values (case-insensitive): Default, Microsoft.Keyvault
+ ${EncryptionKeySource},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The Uri of KeyVault.
+ ${EncryptionKeyVaultUri},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.String]
+ # The version of KeyVault key.
+ ${EncryptionKeyVersion},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${LoadBalancerBackendPoolNameValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${LoadBalancerIdValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # The value which should be used for this field.
+ ${PrepareEncryption},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${PrivateSubnetName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${PublicSubnetName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${RelayNamespaceNameValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceCustomObjectParameterValue]
# The value which should be used for this field.
${ResourceTagValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The SKU name.
${Sku},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The SKU tier.
${SkuTier},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${StorageAccountNameValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${StorageAccountSkuNameValue},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.ITrackedResourceTags]))]
[System.Collections.Hashtable]
# Resource tags.
${Tag},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The blob URI where the UI definition file is located.
${UiDefinitionUri},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${VirtualNetworkId},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
[System.String]
# The value which should be used for this field.
${VnetAddressPrefixValue},
+ [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace]
+ # Information about workspace.
+ # To construct, see NOTES section for PARAMETER properties and create a hash table.
+ ${Parameter},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -369,6 +472,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
$mapping = @{
CreateExpanded = 'Az.Databricks.private\New-AzDatabricksWorkspace_CreateExpanded';
+ CreateViaIdentity = 'Az.Databricks.private\New-AzDatabricksWorkspace_CreateViaIdentity';
}
if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
@@ -398,3 +502,195 @@ end {
}
}
}
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Updates a workspace.
+.Description
+Updates a workspace.
+.Example
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceopsc46 -Tag @{'key'=1}
+PS C:\> Update-AzDatabricksWorkspace -InputObject $dbr -Tag @{key="value"}
+
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceopsc46 eastus /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceopsc46-wfgp3ayhu6jkn
+.Example
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -PrepareEncryption
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Microsoft.KeyVault' -EncryptionKeyVaultUri https://keyvalult-j3kube.vault.azure.net/ -EncryptionKeyName key-p3bjsf -EncryptionKeyVersion 853999da89714fb4a1408681945135fd
+
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceypae6l East US 2 EUAP /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceypae6l-wzefrgv2b075t
+.Example
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Default'
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [Id ]: Resource identity path
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription.
+ [WorkspaceName ]: The name of the workspace.
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.databricks/update-azdatabricksworkspace
+#>
+function Update-AzDatabricksWorkspace {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace])]
+[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
+ [Alias('WorkspaceName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [System.String]
+ # The name of the workspace.
+ ${Name},
+
+ [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='UpdateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspaceUpdateTags]))]
+ [System.Collections.Hashtable]
+ # Resource tags.
+ ${Tag},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command as a job
+ ${AsJob},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command asynchronously
+ ${NoWait},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Databricks.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ UpdateExpanded = 'Az.Databricks.private\Update-AzDatabricksWorkspace_UpdateExpanded';
+ UpdateViaIdentityExpanded = 'Az.Databricks.private\Update-AzDatabricksWorkspace_UpdateViaIdentityExpanded';
+ }
+ if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/Databricks/internal/Update-AzDatabricksWorkspace.ps1 b/src/Databricks/internal/Update-AzDatabricksWorkspace.ps1
new file mode 100644
index 000000000000..e791afd35938
--- /dev/null
+++ b/src/Databricks/internal/Update-AzDatabricksWorkspace.ps1
@@ -0,0 +1,192 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Updates a workspace.
+.Description
+Updates a workspace.
+.Example
+PS C:\> $dbr = Get-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceopsc46 -Tag @{'key'=1}
+PS C:\> Update-AzDatabricksWorkspace -InputObject $dbr -Tag @{key="value"}
+
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceopsc46 eastus /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceopsc46-wfgp3ayhu6jkn
+.Example
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -PrepareEncryption
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Microsoft.KeyVault' -EncryptionKeyVaultUri https://keyvalult-j3kube.vault.azure.net/ -EncryptionKeyName key-p3bjsf -EncryptionKeyVersion 853999da89714fb4a1408681945135fd
+
+Name Location Managed Resource Group ID
+---- -------- -------------------------
+workspaceypae6l East US 2 EUAP /subscriptions/0140911e-1040-48da-8bc9-b99fb3dd88a6/resourceGroups/databricks-rg-workspaceypae6l-wzefrgv2b075t
+.Example
+PS C:\> Update-AzDatabricksWorkspace -ResourceGroupName databricks-rg-952d47 -Name workspaceypae6l -EncryptionKeySource 'Default'
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.IDatabricksIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401.IWorkspace
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [Id ]: Resource identity path
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId