Skip to content

Commit d716236

Browse files
NoriZCBethanyZhou
andauthored
Implement ARM template in New-AzKeyVault (#22623)
* Private preview for arm template (#21959) (#22014) * Refresh the kv arm template branch to publish a private preview (#21959) * First commit of arm template implement * With Proress bar. * Fake progress bar for deployment validation * unexpected modifications * Add progress bar for validation and strating creation. * Revert "unexpected modifications" This reverts commit 2ab0409. * Polish progress bar timespan. * Set softdelete days as 90 and fix network property in whatif * Handle errors better. * Fix whatif network. * Add assembly in psd1 file * add -FailOnExist, api version, polish progress bar * Add progress bar for whatif. Add rotated bar. * NamingStrategy = new CamelCaseNamingStrategy() * Resolve enablePergeProtection and SKU issue * Resolve unthrown error issue * comment unpassed case * comment unpassed case * comment RBC unpassed case * comment RBC unpassed case * record unpassed case in kv * compute test case (#22013) * First commit of arm template implement * With Proress bar. * Fake progress bar for deployment validation * unexpected modifications * Add progress bar for validation and strating creation. * Revert "unexpected modifications" This reverts commit 2ab0409. * Polish progress bar timespan. * Set softdelete days as 90 and fix network property in whatif * Handle errors better. * Fix whatif network. * Add assembly in psd1 file * add -FailOnExist, api version, polish progress bar * Add progress bar for whatif. Add rotated bar. * NamingStrategy = new CamelCaseNamingStrategy() * Resolve enablePergeProtection and SKU issue * Resolve unthrown error issue * comment unpassed case * comment unpassed case * comment RBC unpassed case * comment RBC unpassed case * record unpassed case in kv * try to commit after removing secrets * try to commit after removing secrets * update changelog * preview version bumped * Create the Preview branch for sign (#22015) * Private preview for arm template (#21959) (#22014) * Refresh the kv arm template branch to publish a private preview (#21959) * First commit of arm template implement * With Proress bar. * Fake progress bar for deployment validation * unexpected modifications * Add progress bar for validation and strating creation. * Revert "unexpected modifications" This reverts commit 2ab0409. * Polish progress bar timespan. * Set softdelete days as 90 and fix network property in whatif * Handle errors better. * Fix whatif network. * Add assembly in psd1 file * add -FailOnExist, api version, polish progress bar * Add progress bar for whatif. Add rotated bar. * NamingStrategy = new CamelCaseNamingStrategy() * Resolve enablePergeProtection and SKU issue * Resolve unthrown error issue * comment unpassed case * comment unpassed case * comment RBC unpassed case * comment RBC unpassed case * record unpassed case in kv * compute test case (#22013) * First commit of arm template implement * With Proress bar. * Fake progress bar for deployment validation * unexpected modifications * Add progress bar for validation and strating creation. * Revert "unexpected modifications" This reverts commit 2ab0409. * Polish progress bar timespan. * Set softdelete days as 90 and fix network property in whatif * Handle errors better. * Fix whatif network. * Add assembly in psd1 file * add -FailOnExist, api version, polish progress bar * Add progress bar for whatif. Add rotated bar. * NamingStrategy = new CamelCaseNamingStrategy() * Resolve enablePergeProtection and SKU issue * Resolve unthrown error issue * comment unpassed case * comment unpassed case * comment RBC unpassed case * comment RBC unpassed case * record unpassed case in kv * try to commit after removing secrets * try to commit after removing secrets * update changelog * preview version bumped * preview version bumped - remove kv in azpreview * preview version bumped - for 5.0.0-preview * preview version bumped - for 4.10.1-preview * Preview version bumped - 4.11.0-preview * Revert "Preview version bumped - 4.11.0-preview" This reverts commit 7d0c1e4. * Revert "preview version bumped - for 4.10.1-preview" This reverts commit 2fd30cf. * Revert "preview version bumped - for 5.0.0-preview" This reverts commit 3d02cf0. * Revert "preview version bumped" This reverts commit e131eee. * Resolve comments * Resolve comments * Recover namespace * Polish code * Polish code * Update src/KeyVault/KeyVault/ChangeLog.md --------- Co-authored-by: Beisi Zhou <[email protected]>
1 parent c7699c0 commit d716236

File tree

194 files changed

+72009
-12047
lines changed

Some content is hidden

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

194 files changed

+72009
-12047
lines changed

src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineExtensionTests/TestAzureDiskEncryptionExtensionNonDefaultParams.json

Lines changed: 2394 additions & 1652 deletions
Large diffs are not rendered by default.

src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineExtensionTests/TestAzureDiskEncryptionExtensionSinglePass.json

Lines changed: 2723 additions & 1583 deletions
Large diffs are not rendered by default.

src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineExtensionTests/TestAzureDiskEncryptionExtensionSinglePassDisableAndRemove.json

Lines changed: 2859 additions & 1623 deletions
Large diffs are not rendered by default.

src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineExtensionTests/TestAzureDiskEncryptionLnxManagedDisk.json

Lines changed: 1511 additions & 1554 deletions
Large diffs are not rendered by default.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<PsModuleName>KeyVault</PsModuleName>
4+
</PropertyGroup>
5+
<Import Project="$(MSBuildThisFileDirectory)..\..\Az.props" />
6+
<PropertyGroup>
7+
<TargetFramework>netstandard2.0</TargetFramework>
8+
<AssemblyName>Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Helpers</AssemblyName>
9+
<RootNamespace>Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Helpers</RootNamespace>
10+
<NoWarn>$(NoWarn);CS0108</NoWarn>
11+
</PropertyGroup>
12+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., build.proj))\src\Az.Post.props" />
13+
</Project>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System;
16+
using System.Reflection;
17+
using System.Runtime.CompilerServices;
18+
using System.Runtime.InteropServices;
19+
20+
[assembly: AssemblyTitle("Microsoft Azure Powershell - Azure KeyVault Helpers")]
21+
[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
22+
[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
23+
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
24+
25+
[assembly: ComVisible(false)]
26+
[assembly: CLSCompliant(false)]
27+
[assembly: Guid("ba010ae0-118c-4f35-b010-7f6335557747")]
28+
29+
[assembly: AssemblyVersion("3.17.3.0")]
30+
[assembly: AssemblyFileVersion("3.17.3.0")]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Overall
2+
This directory contains the service clients of other services for Azure PowerShell KeyVault module.
3+
4+
## Run Generation
5+
In this directory, run AutoRest:
6+
```
7+
autorest.cmd README.md --version=v2 --tag=Resources
8+
```
9+
10+
### AutoRest Configuration
11+
> see https://aka.ms/autorest
12+
13+
``` yaml
14+
csharp: true
15+
clear-output-folder: true
16+
reflect-api-versions: true
17+
openapi-type: arm
18+
azure-arm: true
19+
license-header: MICROSOFT_MIT_NO_VERSION
20+
payload-flattening-threshold: 2
21+
```
22+
23+
24+
### Tag: Network
25+
``` yaml $(tag) == 'Resources'
26+
input-file:
27+
- https://github.com/Azure/azure-rest-api-specs/blob/81cd88a080c4bf4bb251afbe62892a6e220cb2b4/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json
28+
29+
output-folder: Resources
30+
31+
namespace: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Helpers.Resources
32+
```

0 commit comments

Comments
 (0)