Skip to content

Commit 206674d

Browse files
authored
Record scenario test for Managed Hsm (#12631)
* Record scenario tests for managed hsm * add default parameter set for * Re-record scenario tests.
1 parent 08b2c9c commit 206674d

File tree

23 files changed

+5603
-1076
lines changed

23 files changed

+5603
-1076
lines changed

src/Compute/Compute.Test/Compute.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.Azure.Graph.RBAC" Version="3.4.0-preview" />
1515
<PackageReference Include="Microsoft.Azure.Management.Compute" Version="38.0.0" />
16-
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.0.0" />
16+
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.1.0-preview.1" />
1717
<PackageReference Include="Microsoft.Azure.Management.Network" Version="20.0.2-preview" />
1818
</ItemGroup>
1919

src/EventHub/EventHub.Test/EventHub.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.5" />
1515
<PackageReference Include="Microsoft.Azure.Management.EventHub" Version="2.7.0" />
16-
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.0.0" />
16+
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.1.0-preview.1" />
1717
</ItemGroup>
1818

1919
<ItemGroup>

src/HDInsight/HDInsight.Test/HDInsight.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.5" />
1515
<PackageReference Include="Microsoft.Azure.Management.HDInsight" Version="5.5.0" />
1616
<PackageReference Include="Microsoft.Azure.Management.HDInsight.Job" Version="2.0.7" />
17-
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.0.0" />
17+
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.1.0-preview.1" />
1818
<PackageReference Include="Microsoft.Azure.Management.ManagedServiceIdentity" Version="0.11.0" />
1919
<PackageReference Include="Microsoft.Azure.Management.Network" Version="20.0.2-preview" />
2020
<PackageReference Include="Microsoft.Azure.Management.OperationalInsights" Version="0.21.0-preview" />

src/KeyVault/KeyVault.Test/KeyVault.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.1" />
1515
<PackageReference Include="Microsoft.Azure.KeyVault.WebKey" Version="3.0.1" />
16-
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.0.1" />
16+
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.1.0-preview.1" />
1717
<PackageReference Include="Microsoft.Azure.Management.Network" Version="20.0.2-preview" />
1818
</ItemGroup>
1919

src/KeyVault/KeyVault.Test/ScenarioTests/KeyVaultManagementTests.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,6 @@ public void TestCreateNewVault()
7171
);
7272
}
7373

74-
[Fact]
75-
[Trait(Category.AcceptanceType, Category.CheckIn)]
76-
public void TestManagedHsmCRUD()
77-
{
78-
KeyVaultManagementController.NewInstance.RunPsTestWorkflow(
79-
_logger,
80-
() => { return new[] { "Test-ManagedHsmCRUD" }; },
81-
null,
82-
MethodBase.GetCurrentMethod().ReflectedType?.ToString(),
83-
MethodBase.GetCurrentMethod().Name
84-
);
85-
}
86-
8774
#endregion
8875

8976
#region Get-AzureRmKeyVault
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
2+
using System;
3+
using System.Collections.Generic;
4+
using System.Text;
5+
using Xunit;
6+
7+
namespace Microsoft.Azure.Commands.KeyVault.Test.ScenarioTests
8+
{
9+
public class ManagedHsmManagementTests: KeyVaultTestRunner
10+
{
11+
public ManagedHsmManagementTests(Xunit.Abstractions.ITestOutputHelper output) : base(output)
12+
{
13+
}
14+
15+
[Fact]
16+
[Trait(Category.AcceptanceType, Category.CheckIn)]
17+
public void TestManagedHsmCRUD()
18+
{
19+
TestRunner.RunTestScript("Test-ManagedHsmCRUD");
20+
}
21+
}
22+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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+
<#
16+
.SYNOPSIS
17+
Tests CRUD for Managed Hsm.
18+
#>
19+
function Test-ManagedHsmCRUD {
20+
$rgName = getAssetName
21+
$rgLocation = Get-Location "Microsoft.Resources" "resourceGroups" "West US"
22+
$hsmName = getAssetName
23+
$hsmLocation = Get-Location "Microsoft.KeyVault" "managedHSMs" "East US 2"
24+
$administrator = "c1be1392-39b8-4521-aafc-819a47008545"
25+
New-AzResourceGroup -Name $rgName -Location $rgLocation
26+
27+
try {
28+
# Test create a default Managed HSM
29+
$hsm = New-AzKeyVault -Name $hsmName -ResourceGroupName $rgName -Location $hsmLocation -Administrator $administrator -Hsm
30+
Assert-AreEqual $hsmName $hsm.VaultName
31+
Assert-AreEqual $rgName $hsm.ResourceGroupName
32+
Assert-AreEqual $hsmLocation $hsm.Location
33+
Assert-AreEqual 1 $hsm.InitialAdminObjectIds.Count
34+
Assert-True { $hsm.InitialAdminObjectIds.Contains($administrator) }
35+
Assert-AreEqual "StandardB1" $hsm.Sku
36+
37+
# Default retention days
38+
Assert-AreEqual 90 $hsm.SoftDeleteRetentionInDays "By default SoftDeleteRetentionInDays should be 90"
39+
40+
# Test get Managed HSM
41+
$got = Get-AzKeyVault -Name $hsmName -ResourceType Hsm
42+
Assert-NotNull $got
43+
Assert-AreEqual $hsmName $got.VaultName
44+
Assert-AreEqual $rgName $got.ResourceGroupName
45+
Assert-AreEqual $hsmLocation $got.Location
46+
47+
# Test throws for existing vault
48+
Assert-Throws { New-AzKeyVault -VaultName $hsmName -ResourceGroupName $rgname -Location $vaultLocation -Administrator $administrator -Hsm}
49+
50+
# Test remove Managed HSM
51+
Remove-AzKeyVault -InputObject $got -Hsm -Force
52+
$deletedMhsm = Get-AzKeyVault -VaultName $hsmName -ResourceGroupName $rgName
53+
Assert-Null $deletedMhsm
54+
55+
# Test throws for resourcegroup nonexistent
56+
Assert-Throws { New-AzKeyVault -VaultName (getAssetName) -ResourceGroupName (getAssetName) -Location $vaultLocation -Administrator $administrator -Hsm}
57+
}
58+
59+
finally {
60+
Remove-AzResourceGroup -Name $rgName -Force
61+
}
62+
}

src/KeyVault/KeyVault.Test/Scripts/ControlPlane/KeyVaultManagementTests.ps1

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -156,55 +156,6 @@ function Test-CreateNewVault {
156156
}
157157
}
158158

159-
<#
160-
.SYNOPSIS
161-
Tests CRUD for Managed Hsm.
162-
#>
163-
function Test-ManagedHsmCRUD {
164-
$rgName = getAssetName
165-
$rgLocation = Get-Location "Microsoft.Resources" "resourceGroups" "West US"
166-
$hsmName = getAssetName
167-
$hsmLocation = Get-Location "Microsoft.KeyVault" "managedHSMs" "East US 2"
168-
$administrator = "c1be1392-39b8-4521-aafc-819a47008545"
169-
New-AzResourceGroup -Name $rgName -Location $rgLocation
170-
171-
try {
172-
# Test create a default Managed HSM
173-
$actual = New-AzKeyVault -Name $hsmName -ResourceGroupName $rgName -Location $hsmLocation -Administrator $administrator -Hsm
174-
Assert-AreEqual $hsmName $actual.VaultName
175-
Assert-AreEqual $rgName $actual.ResourceGroupName
176-
Assert-AreEqual $hsmLocation $actual.Location
177-
Assert-AreEqual 1 $hsm.InitialAdminObjectIds.Count
178-
Assert-True $hsm.InitialAdminObjectIds.Contains($administrator)
179-
Assert-AreEqual "StandardB1" $actual.Sku
180-
181-
# Default retention days
182-
Assert-AreEqual 90 $actual.SoftDeleteRetentionInDays "By default SoftDeleteRetentionInDays should be 90"
183-
184-
# Test get Managed HSM
185-
$got = Get-AzKeyVault -Name $hsmName -ResourceType Hsm
186-
Assert-NotNull $got
187-
Assert-AreEqual $hsmName $got.VaultName
188-
Assert-AreEqual $rgName $got.ResourceGroupName
189-
Assert-AreEqual $hsmLocation $got.Location
190-
191-
# Test throws for existing vault
192-
Assert-Throws { New-AzKeyVault -VaultName $hsmName -ResourceGroupName $rgname -Location $vaultLocation -Administrator $administrator -Hsm}
193-
194-
# Test remove Managed HSM
195-
Remove-AzKeyVault -InputObject $got -Hsm -Force
196-
$deletedMhsm = Get-AzKeyVault -VaultName $vaultName -ResourceGroupName $rgName
197-
Assert-Null $deletedMhsm
198-
199-
# Test throws for resourcegroup nonexistent
200-
Assert-Throws { New-AzKeyVault -VaultName (getAssetName) -ResourceGroupName (getAssetName) -Location $vaultLocation -Administrator $administrator -Hsm}
201-
}
202-
203-
finally {
204-
Remove-AzResourceGroup -Name $rgName -Force
205-
}
206-
}
207-
208159
#-------------------------------------------------------------------------------------
209160

210161
#------------------------------Soft-delete--------------------------------------

src/KeyVault/KeyVault.Test/SessionRecords/Microsoft.Azure.Commands.KeyVault.Test.ScenarioTests.KeyVaultManagementTests/TestDeleteVault.json

Lines changed: 326 additions & 314 deletions
Large diffs are not rendered by default.

src/KeyVault/KeyVault.Test/SessionRecords/Microsoft.Azure.Commands.KeyVault.Test.ScenarioTests.KeyVaultManagementTests/TestGetVault.json

Lines changed: 364 additions & 298 deletions
Large diffs are not rendered by default.

src/KeyVault/KeyVault.Test/SessionRecords/Microsoft.Azure.Commands.KeyVault.Test.ScenarioTests.KeyVaultManagementTests/TestListVaults.json

Lines changed: 971 additions & 365 deletions
Large diffs are not rendered by default.

src/KeyVault/KeyVault.Test/SessionRecords/Microsoft.Azure.Commands.KeyVault.Test.ScenarioTests.ManagedHsmManagementTests/TestManagedHsmCRUD.json

Lines changed: 3837 additions & 0 deletions
Large diffs are not rendered by default.

src/KeyVault/KeyVault/Commands/NewAzureKeyVault.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.KeyVault
2929
/// <summary>
3030
/// Create a new key vault.
3131
/// </summary>
32-
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "KeyVault", SupportsShouldProcess = true)]
32+
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "KeyVault", DefaultParameterSetName = KeyVaultParameterSet, SupportsShouldProcess = true)]
3333
[OutputType(typeof(PSKeyVault))]
3434
public class NewAzureKeyVault : KeyVaultManagementCmdletBase
3535
{

src/KeyVault/KeyVault/Commands/UpdateAzureKeyVault.cs

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -50,37 +50,16 @@ public class UpdateTopLevelResourceCommand : KeyVaultManagementCmdletBase
5050
[ValidateNotNullOrEmpty]
5151
public string ResourceId { get; set; }
5252

53-
[Parameter(Mandatory = false,
54-
ParameterSetName = UpdateKeyVault + ByNameParameterSet,
55-
HelpMessage = "Enable the soft-delete functionality for this key vault. Once enabled it cannot be disabled.")]
56-
[Parameter(Mandatory = false,
57-
ParameterSetName = UpdateKeyVault + ByInputObjectParameterSet,
58-
HelpMessage = "Enable the soft-delete functionality for this key vault. Once enabled it cannot be disabled.")]
59-
[Parameter(Mandatory = false,
60-
ParameterSetName = UpdateKeyVault + ByResourceIdParameterSet,
53+
[Parameter(Mandatory = false,
6154
HelpMessage = "Enable the soft-delete functionality for this key vault. Once enabled it cannot be disabled.")]
6255
public SwitchParameter EnableSoftDelete { get; set; }
6356

6457
[Parameter(Mandatory = false,
65-
ParameterSetName = UpdateKeyVault + ByNameParameterSet,
66-
HelpMessage = "Enable the purge protection functionality for this key vault. Once enabled it cannot be disabled. It requires soft-delete to be turned on.")]
67-
[Parameter(Mandatory = false,
68-
ParameterSetName = UpdateKeyVault + ByInputObjectParameterSet,
69-
HelpMessage = "Enable the purge protection functionality for this key vault. Once enabled it cannot be disabled. It requires soft-delete to be turned on.")]
70-
[Parameter(Mandatory = false,
71-
ParameterSetName = UpdateKeyVault + ByResourceIdParameterSet,
7258
HelpMessage = "Enable the purge protection functionality for this key vault. Once enabled it cannot be disabled. It requires soft-delete to be turned on.")]
7359
public SwitchParameter EnablePurgeProtection { get; set; }
7460

7561
[Parameter(Mandatory = false,
76-
ParameterSetName = UpdateKeyVault + ByNameParameterSet,
77-
HelpMessage = "Specifies how long deleted resources are retained, and how long until a vault or an object in the deleted state can be purged. The default is " + Constants.DefaultSoftDeleteRetentionDaysString + " days.")]
78-
[Parameter(Mandatory = false,
79-
ParameterSetName = UpdateKeyVault + ByInputObjectParameterSet,
80-
HelpMessage = "Specifies how long deleted resources are retained, and how long until a vault or an object in the deleted state can be purged. The default is " + Constants.DefaultSoftDeleteRetentionDaysString + " days.")]
81-
[Parameter(Mandatory = false,
82-
ParameterSetName = UpdateKeyVault + ByResourceIdParameterSet,
83-
HelpMessage = "Specifies how long deleted resources are retained, and how long until a vault or an object in the deleted state can be purged. The default is " + Constants.DefaultSoftDeleteRetentionDaysString + " days.")]
62+
HelpMessage = "Specifies how long deleted resources are retained, and how long until a vault or an object in the deleted state can be purged. The default is " + Constants.DefaultSoftDeleteRetentionDaysString + " days.")]
8463
[ValidateRange(Constants.MinSoftDeleteRetentionDays, Constants.MaxSoftDeleteRetentionDays)]
8564
[ValidateNotNullOrEmpty]
8665
public int SoftDeleteRetentionInDays { get; set; }

src/KeyVault/KeyVault/KeyVault.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ItemGroup>
1515
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.1" />
1616
<PackageReference Include="Microsoft.Azure.KeyVault.WebKey" Version="3.0.1" />
17-
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.0.1" />
17+
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.1.0-preview.1" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

src/KeyVault/KeyVault/Models/PSManagedHsm.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using Microsoft.Azure.Management.KeyVault.Models;
99
using Microsoft.Azure.Commands.ResourceManager.Common.Tags;
1010
using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
11+
using System.Linq;
1112

1213
namespace Microsoft.Azure.Commands.KeyVault.Models
1314
{
@@ -32,7 +33,7 @@ public PSManagedHsm(ManagedHsm managedHsm, ActiveDirectoryClient adClient)
3233
TenantName = ModelExtensions.GetDisplayNameForTenant(TenantId, adClient);
3334
SecurityDomainId = managedHsm.Properties.SecurityDomainId.Value;
3435
SecurityDomainName = ModelExtensions.GetDisplayNameForTenant(SecurityDomainId, adClient);
35-
InitialAdminObjectIds = managedHsm.Properties.InitialAdminObjectIds;
36+
InitialAdminObjectIds = managedHsm.Properties.InitialAdminObjectIds.ToArray<string>();
3637
HsmPoolUri = managedHsm.Properties.HsmPoolUri;
3738
EnablePurgeProtection = managedHsm.Properties.EnablePurgeProtection;
3839
EnableSoftDelete = managedHsm.Properties.EnableSoftDelete;
@@ -47,7 +48,7 @@ public PSManagedHsm(ManagedHsm managedHsm, ActiveDirectoryClient adClient)
4748
public string TenantName { get; private set; }
4849
public Guid SecurityDomainId { get; private set; }
4950
public string SecurityDomainName { get; private set; }
50-
public IList<string> InitialAdminObjectIds { get; private set; }
51+
public string[] InitialAdminObjectIds { get; private set; }
5152
public string HsmPoolUri { get; private set; }
5253
public bool? EnableSoftDelete { get; private set; }
5354
public int? SoftDeleteRetentionInDays { get; private set; }

src/KeyVault/KeyVault/Models/VaultManagementClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public PSKeyVault CreateNewVault(VaultCreationParameters parameters, ActiveDirec
8989
throw new ArgumentException("parameters.TenantId");
9090
if (!string.IsNullOrWhiteSpace(parameters.SkuName))
9191
{
92-
if (Enum.TryParse(parameters.SkuName, out SkuName skuName))
92+
if (Enum.TryParse(parameters.SkuName, true, out SkuName skuName))
9393
{
9494
properties.Sku = new Sku(skuName);
9595
}
@@ -380,7 +380,7 @@ public PSManagedHsm CreateNewManagedHsm(VaultCreationParameters parameters, Acti
380380
throw new ArgumentException("parameters.TenantId");
381381
if (!string.IsNullOrWhiteSpace(parameters.SkuName))
382382
{
383-
if (Enum.TryParse(parameters.SkuName, out ManagedHsmSkuName skuName))
383+
if (Enum.TryParse(parameters.SkuName, true, out ManagedHsmSkuName skuName))
384384
{
385385
managedHsmSku.Name = skuName;
386386
}
@@ -446,7 +446,7 @@ public PSManagedHsm GetManagedHsm(string managedHsmName, string resourceGroupNam
446446

447447
return new PSManagedHsm(response, adClient);
448448
}
449-
catch (CloudException ce)
449+
catch (ManagedHsmErrorException ce)
450450
{
451451
if (ce.Response.StatusCode == HttpStatusCode.NotFound)
452452
{

src/KeyVault/KeyVault/help/New-AzKeyVault.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Accept wildcard characters: False
259259
```
260260
261261
### -Hsm
262-
Specifies the type of this vault as MHSM.
262+
Specifies the type of this vault as managed hsm.
263263
264264
```yaml
265265
Type: System.Management.Automation.SwitchParameter

src/KeyVault/KeyVault/help/Remove-AzKeyVault.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Accept wildcard characters: False
132132
```
133133
134134
### -Hsm
135-
Specifies the type of vault as MHSM.
135+
Specifies the type of vault as managed hsm.
136136
137137
```yaml
138138
Type: System.Management.Automation.SwitchParameter

src/Sql/Sql.Test/Sql.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PackageReference Include="Microsoft.Azure.Graph.RBAC" Version="3.2.0-preview" />
1818
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.1" />
1919
<PackageReference Include="Microsoft.Azure.KeyVault.WebKey" Version="3.0.1" />
20-
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.0.0" />
20+
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.1.0-preview.1" />
2121
<PackageReference Include="Microsoft.Azure.Management.OperationalInsights" Version="0.21.0-preview" />
2222
<PackageReference Include="Microsoft.Azure.Management.Sql" Version="1.43.0-preview" />
2323
</ItemGroup>
Binary file not shown.
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
2+
"Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll","Microsoft.Azure.Commands.KeyVault.NewAzureKeyVault","New-AzKeyVault","0","2020","The cmdlet 'New-AzKeyVault' no longer supports the type 'Microsoft.Azure.Management.KeyVault.Models.SkuName' for parameter 'Sku'.","Change the type for parameter 'Sku' back to 'Microsoft.Azure.Management.KeyVault.Models.SkuName'."
3+
"Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll","Microsoft.Azure.Commands.KeyVault.RemoveAzureKeyVault","Remove-AzKeyVault","0","2020","The cmdlet 'Remove-AzKeyVault' no longer supports the type 'Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault' for parameter 'InputObject'.","Change the type for parameter 'InputObject' back to 'Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault'."
4+
"Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll","Microsoft.Azure.Commands.KeyVault.UpdateTopLevelResourceCommand","Update-AzKeyVault","0","2020","The cmdlet 'Update-AzKeyVault' no longer supports the type 'Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault' for parameter 'InputObject'.","Change the type for parameter 'InputObject' back to 'Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault'."

0 commit comments

Comments
 (0)