Skip to content

Commit

Permalink
Migrate Databricks from generation to main (#25615)
Browse files Browse the repository at this point in the history
* Move Databricks to main

* Update ChangeLog.md

---------

Co-authored-by: Yabo Hu <[email protected]>
  • Loading branch information
azure-powershell-bot and VeryEarly authored Jul 23, 2024
1 parent 56c6bed commit c084f4c
Show file tree
Hide file tree
Showing 21 changed files with 841 additions and 794 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,18 @@ function Update-AzDatabricksWorkspace {
{
$workspace.DefaultStorageFirewall = $DefaultStorageFirewall
}
if ($hasAccessConnectorId)
{
$workspace.AccessConnectorId = $AccessConnectorId
}
if ($hasAccessConnectorIdentityType)
{
$workspace.AccessConnectorIdentityType = $AccessConnectorIdentityType
}
if ($hasAccessConnectorUserAssignedIdentityId)
{
$workspace.AccessConnectorUserAssignedIdentityId = $AccessConnectorUserAssignedIdentityId
}
if ($hasAsJob) {
$PSBoundParameters.Add('AsJob', $true)
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions src/Databricks/Databricks.Autorest/test/env.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"networkSecurityRuleName": "y4lvdo",
"vNetSubnetName1": "z6rqtl",
"resourceGroup": "auto-test-databricks-ey",
"networkSecurityRuleName": "cq4xgv",
"vNetSubnetName2": "vwgjlc",
"Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"workSpaceName2": "rhsu92",
"keyVaultName": "azpsvrhw27",
"location": "eastus",
"workSpaceName1": "plziav",
"vNetSubnetName1": "b51pw7",
"networkSecurityGroupName": "bs17rt",
"accessConnectorName1": "jshct2",
"workSpaceName2": "vo0ldr",
"vNetName1": "dvrxl8",
"networkSecurityGroupName": "o9z1w4",
"vNetSubnetName3": "sbgcl8",
"workSpaceName1": "gnhqd7",
"SubscriptionId": "0140911e-1040-48da-8bc9-b99fb3dd88a6",
"vNetName": "8vq9e5",
"vNetSubnetName3": "kpxyz1",
"accessConnectorName1": "4jxk7r",
"vNetSubnetName2": "8hcxvz",
"resourceGroup": "auto-test-databricks-r7",
"vNetName1": "f0pg8x",
"workSpaceName3": "dabmvq"
"workSpaceName3": "62k8v5",
"vNetName": "ljcn7v",
"keyVaultName": "azps4xhr69"
}
12 changes: 6 additions & 6 deletions src/Databricks/Databricks/Az.Databricks.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 7/4/2024
# Generated on: 7/23/2024
#

@{
Expand Down Expand Up @@ -51,16 +51,16 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.1'; })
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.2'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'Databricks.Autorest/bin/Az.Databricks.private.dll'

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()
TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = 'Databricks.Autorest/Az.Databricks.format.ps1xml'
Expand Down Expand Up @@ -104,7 +104,7 @@ PrivateData = @{
PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = 'Azure','ResourceManager','ARM','PSModule','Databricks'
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Databricks'

# A URL to the license for this module.
LicenseUri = 'https://aka.ms/azps-license'
Expand All @@ -129,7 +129,7 @@ PrivateData = @{

} # End of PSData hashtable

} # End of PrivateData hashtable
} # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''
Expand Down
1 change: 1 addition & 0 deletions src/Databricks/Databricks/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Fixed Access Connector Resource update for `Update-AzDatabricksWorkspace`

## Version 1.8.0
* Updated the Az Databricks cmdlets to 2024-05-01 api version.
Expand Down
23 changes: 19 additions & 4 deletions src/Databricks/Databricks/help/Get-AzDatabricksAccessConnector.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ Gets an Azure Databricks Access Connector.
### List1 (Default)
```
Get-AzDatabricksAccessConnector [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### Get
```
Get-AzDatabricksAccessConnector -Name <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>] [<CommonParameters>]
[-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### List
```
Get-AzDatabricksAccessConnector -ResourceGroupName <String> [-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>] [<CommonParameters>]
[-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### GetViaIdentity
```
Get-AzDatabricksAccessConnector -InputObject <IDatabricksIdentity> [-DefaultProfile <PSObject>]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -129,6 +129,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga

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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For more information, see https://docs.microsoft.com/en-us/azure/databricks/admi

```
Get-AzDatabricksOutboundNetworkDependenciesEndpoint -ResourceGroupName <String> -WorkspaceName <String>
[-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
[-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

Expand Down Expand Up @@ -65,6 +65,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga

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.
Expand Down
21 changes: 18 additions & 3 deletions src/Databricks/Databricks/help/Get-AzDatabricksVNetPeering.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ Gets the workspace vNet Peering.
### List (Default)
```
Get-AzDatabricksVNetPeering -ResourceGroupName <String> [-SubscriptionId <String[]>] -WorkspaceName <String>
[-DefaultProfile <PSObject>] [<CommonParameters>]
[-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### Get
```
Get-AzDatabricksVNetPeering -Name <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
-WorkspaceName <String> [-DefaultProfile <PSObject>] [-PassThru]
-WorkspaceName <String> [-DefaultProfile <PSObject>] [-PassThru] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

### GetViaIdentity
```
Get-AzDatabricksVNetPeering -InputObject <IDatabricksIdentity> [-DefaultProfile <PSObject>] [-PassThru]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -126,6 +126,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga

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.
Expand Down
23 changes: 19 additions & 4 deletions src/Databricks/Databricks/help/Get-AzDatabricksWorkspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ Gets the workspace.
### List1 (Default)
```
Get-AzDatabricksWorkspace [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### Get
```
Get-AzDatabricksWorkspace -Name <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>] [<CommonParameters>]
[-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### List
```
Get-AzDatabricksWorkspace -ResourceGroupName <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### GetViaIdentity
```
Get-AzDatabricksWorkspace -InputObject <IDatabricksIdentity> [-DefaultProfile <PSObject>]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -133,6 +133,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga

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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Creates or updates Azure Databricks Access Connector.
New-AzDatabricksAccessConnector -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
-Location <String> [-IdentityType <ManagedServiceIdentityType>] [-Tag <Hashtable>]
[-UserAssignedIdentity <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[-WhatIf] [-Confirm] [<CommonParameters>]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -130,6 +130,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga

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.
Expand Down
17 changes: 16 additions & 1 deletion src/Databricks/Databricks/help/New-AzDatabricksVNetPeering.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ New-AzDatabricksVNetPeering -Name <String> -ResourceGroupName <String> -Workspac
[-SubscriptionId <String>] [-AllowForwardedTraffic] [-AllowGatewayTransit] [-AllowVirtualNetworkAccess]
[-DatabricksAddressSpacePrefix <String[]>] [-DatabricksVirtualNetworkId <String>]
[-RemoteAddressSpacePrefix <String[]>] [-RemoteVirtualNetworkId <String>] [-UseRemoteGateway]
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

Expand Down Expand Up @@ -177,6 +177,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -RemoteAddressSpacePrefix
A list of address blocks reserved for this virtual network in CIDR notation.
Expand Down
17 changes: 16 additions & 1 deletion src/Databricks/Databricks/help/New-AzDatabricksWorkspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ New-AzDatabricksWorkspace -Name <String> -ResourceGroupName <String> [-Subscript
[-ComplianceSecurityProfileValue <ComplianceSecurityProfileValue>] [-AccessConnectorId <String>]
[-AccessConnectorIdentityType <IdentityType>] [-AccessConnectorUserAssignedIdentityId <String>]
[-DefaultStorageFirewall <DefaultStorageFirewall>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[-WhatIf] [-Confirm] [<CommonParameters>]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -591,6 +591,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -PublicIPName
The value which should be used for this field.
Expand Down
Loading

0 comments on commit c084f4c

Please sign in to comment.