Skip to content

Commit eb57d00

Browse files
committed
Az.Databricks update generation tool version: autorest.powershell v3->v4
1 parent 5e06d22 commit eb57d00

File tree

42 files changed

+1295
-666
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1295
-666
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Databricks")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.10.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.10.0")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

src/Databricks/Databricks.Autorest/README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,6 @@ subject-prefix: $(service-name)
4242

4343
inlining-threshold: 100
4444

45-
resourcegroup-append: true
46-
identity-correction-for-post: true
47-
nested-object-to-string: true
48-
49-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
50-
use-extension:
51-
"@autorest/powershell": "3.x"
52-
5345
directive:
5446
- from: swagger-document
5547
where: $.definitions.EncryptionV2
@@ -74,12 +66,11 @@ directive:
7466
remove: true
7567
# Remove the unexpanded parameter set
7668
- where:
77-
variant: ^Create$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
69+
variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
7870
remove: true
79-
# Hide CreateViaIdentity for customization
8071
- where:
81-
variant: ^CreateViaIdentity$
82-
hide: true
72+
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
73+
remove: true
8374

8475
# Rename the parameter name to follow Azure PowerShell best practice
8576
- where:
@@ -281,4 +272,8 @@ directive:
281272
- ManagedResourceGroupId
282273
labels:
283274
ManagedResourceGroupId: Managed Resource Group ID
284-
```
275+
276+
- model-cmdlet:
277+
- model-name: WorkspaceProviderAuthorization
278+
cmdlet-name: New-AzDatabricksWorkspaceProviderAuthorizationObject
279+
```

0 commit comments

Comments
 (0)