diff --git a/generated/KeyVault/KeyVault.Autorest/Az.KeyVault.format.ps1xml b/generated/KeyVault/KeyVault.Autorest/Az.KeyVault.format.ps1xml
index 339276fe5dc2..65fc22e1a888 100644
--- a/generated/KeyVault/KeyVault.Autorest/Az.KeyVault.format.ps1xml
+++ b/generated/KeyVault/KeyVault.Autorest/Az.KeyVault.format.ps1xml
@@ -8,6 +8,15 @@
+
+
+
+
+
+
+
+
+
@@ -45,6 +54,15 @@
+
+ IdentityPrincipalId
+
+
+ IdentityTenantId
+
+
+ IdentityType
+
Location
@@ -783,6 +801,34 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentity#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PrincipalId
+
+
+ TenantId
+
+
+
+
+
+
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.MhsmGeoReplicatedRegion
@@ -874,6 +920,15 @@
+
+
+
+
+
+
+
+
+
@@ -920,6 +975,15 @@
+
+ IdentityPrincipalId
+
+
+ IdentityTenantId
+
+
+ IdentityType
+
Location
@@ -1040,6 +1104,15 @@
+
+
+
+
+
+
+
+
+
@@ -1074,6 +1147,15 @@
+
+ IdentityPrincipalId
+
+
+ IdentityTenantId
+
+
+ IdentityType
+
Location
@@ -1569,6 +1651,34 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentity#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ClientId
+
+
+ PrincipalId
+
+
+
+
+
+
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.Vault
diff --git a/generated/KeyVault/KeyVault.Autorest/Properties/AssemblyInfo.cs b/generated/KeyVault/KeyVault.Autorest/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..ab9eb17df562
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/Properties/AssemblyInfo.cs
@@ -0,0 +1,26 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// 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.
+// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+// is regenerated.
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
+[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
+[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
+[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - KeyVault")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("6.3.1")]
+[assembly: System.Reflection.AssemblyVersionAttribute("6.3.1")]
+[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/KeyVault.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/KeyVault.cs
index a01c150f15de..def430d8381d 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/KeyVault.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/KeyVault.cs
@@ -29,7 +29,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCheckNameAvailability(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ICheckMhsmNameAvailabilityParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -73,7 +73,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ICheckMhsmNameAvailabilityParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -125,7 +125,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCheckNameAvailabilityViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ICheckMhsmNameAvailabilityParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -179,7 +179,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCheckNameAvailabilityViaJsonString(string subscriptionId, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -221,7 +221,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCheckNameAvailabilityViaJsonStringWithResult(string subscriptionId, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -264,7 +264,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCheckNameAvailabilityWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ICheckMhsmNameAvailabilityParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -444,7 +444,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCreateOrUpdate(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsm body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -491,7 +491,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsm body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -548,7 +548,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsm body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -609,7 +609,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string name, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -656,7 +656,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string name, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -704,7 +704,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsm body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1080,7 +1080,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsDelete(string subscriptionId, string resourceGroupName, string name, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1122,7 +1122,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsDeleteViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1354,7 +1354,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsGet(string subscriptionId, string resourceGroupName, string name, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1398,7 +1398,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsGetDeleted(string subscriptionId, string name, string location, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1439,7 +1439,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsGetDeletedViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1490,7 +1490,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsGetDeletedViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1544,7 +1544,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsGetDeletedWithResult(string subscriptionId, string name, string location, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1718,7 +1718,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1769,7 +1769,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1823,7 +1823,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsGetWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2014,7 +2014,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListByResourceGroup(string subscriptionId, string resourceGroupName, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2060,7 +2060,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListByResourceGroupViaIdentity(global::System.String viaIdentity, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2115,7 +2115,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2172,7 +2172,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2351,7 +2351,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListBySubscription(string subscriptionId, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2394,7 +2394,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListBySubscriptionViaIdentity(global::System.String viaIdentity, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2445,7 +2445,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2497,7 +2497,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListBySubscriptionWithResult(string subscriptionId, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2671,7 +2671,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListDeleted(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2711,7 +2711,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListDeletedViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2759,7 +2759,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListDeletedViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2808,7 +2808,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsListDeletedWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2977,7 +2977,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsPurgeDeleted(string subscriptionId, string name, string location, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3019,7 +3019,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsPurgeDeletedViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3246,7 +3246,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsUpdate(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsm body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3293,7 +3293,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsm body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3350,7 +3350,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsm body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3411,7 +3411,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsUpdateViaJsonString(string subscriptionId, string resourceGroupName, string name, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3458,7 +3458,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string name, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3506,7 +3506,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task ManagedHsmsUpdateWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsm body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3883,7 +3883,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsDelete(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3929,7 +3929,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3985,7 +3985,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsDeleteViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4045,7 +4045,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsDeleteWithResult(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4436,7 +4436,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsGet(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4481,7 +4481,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsGetViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4537,7 +4537,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4597,7 +4597,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsGetWithResult(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4781,7 +4781,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsListByResource(string subscriptionId, string resourceGroupName, string name, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4825,7 +4825,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsListByResourceViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4879,7 +4879,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsListByResourceViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4936,7 +4936,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsListByResourceWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5122,7 +5122,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsPut(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IMhsmPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5173,7 +5173,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsPutViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IMhsmPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5235,7 +5235,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsPutViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IMhsmPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5302,7 +5302,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsPutViaJsonString(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5354,7 +5354,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsPutViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5407,7 +5407,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateEndpointConnectionsPutWithResult(string subscriptionId, string resourceGroupName, string name, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IMhsmPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5596,7 +5596,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateLinkResourcesListByMhsmResource(string subscriptionId, string resourceGroupName, string name, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5638,7 +5638,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateLinkResourcesListByMhsmResourceViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5690,7 +5690,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateLinkResourcesListByMhsmResourceViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5745,7 +5745,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmPrivateLinkResourcesListByMhsmResourceWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5928,7 +5928,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmRegionsListByResource(string subscriptionId, string resourceGroupName, string name, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5972,7 +5972,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmRegionsListByResourceViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6026,7 +6026,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmRegionsListByResourceViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6083,7 +6083,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task MhsmRegionsListByResourceWithResult(string subscriptionId, string resourceGroupName, string name, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6266,7 +6266,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete(string subscriptionId, string resourceGroupName, string vaultName, string privateEndpointConnectionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6312,7 +6312,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6368,7 +6368,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDeleteViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6428,7 +6428,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDeleteWithResult(string subscriptionId, string resourceGroupName, string vaultName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6817,7 +6817,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet(string subscriptionId, string resourceGroupName, string vaultName, string privateEndpointConnectionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6861,7 +6861,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6915,7 +6915,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6973,7 +6973,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetWithResult(string subscriptionId, string resourceGroupName, string vaultName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7170,7 +7170,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByResource(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7214,7 +7214,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByResourceViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7268,7 +7268,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByResourceViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7325,7 +7325,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListByResourceWithResult(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7510,7 +7510,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsPut(string subscriptionId, string resourceGroupName, string vaultName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7559,7 +7559,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsPutViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7619,7 +7619,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsPutViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7684,7 +7684,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsPutViaJsonString(string subscriptionId, string resourceGroupName, string vaultName, string privateEndpointConnectionName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7734,7 +7734,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsPutViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string vaultName, string privateEndpointConnectionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7785,7 +7785,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsPutWithResult(string subscriptionId, string resourceGroupName, string vaultName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7975,7 +7975,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByVault(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8017,7 +8017,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByVaultViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8069,7 +8069,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByVaultViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8124,7 +8124,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByVaultWithResult(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8304,7 +8304,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCheckNameAvailability(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultCheckNameAvailabilityParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8348,7 +8348,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultCheckNameAvailabilityParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8400,7 +8400,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCheckNameAvailabilityViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultCheckNameAvailabilityParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8454,7 +8454,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCheckNameAvailabilityViaJsonString(string subscriptionId, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8496,7 +8496,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCheckNameAvailabilityViaJsonStringWithResult(string subscriptionId, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8539,7 +8539,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCheckNameAvailabilityWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultCheckNameAvailabilityParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8719,7 +8719,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultCreateOrUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8766,7 +8766,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultCreateOrUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8823,7 +8823,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultCreateOrUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8884,7 +8884,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string vaultName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8931,7 +8931,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string vaultName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8979,7 +8979,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultCreateOrUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9354,7 +9354,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsDelete(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9396,7 +9396,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsDeleteViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9531,7 +9531,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsGet(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9575,7 +9575,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsGetDeleted(string subscriptionId, string vaultName, string location, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9616,7 +9616,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsGetDeletedViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9667,7 +9667,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsGetDeletedViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9721,7 +9721,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsGetDeletedWithResult(string subscriptionId, string vaultName, string location, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9894,7 +9894,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsGetViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9945,7 +9945,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9999,7 +9999,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsGetWithResult(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10177,7 +10177,7 @@ public partial class KeyVault
public async global::System.Threading.Tasks.Task VaultsList(string subscriptionId, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
var Filter = @"resourceType eq 'Microsoft.KeyVault/vaults'";
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10225,7 +10225,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListByResourceGroup(string subscriptionId, string resourceGroupName, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10271,7 +10271,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListByResourceGroupViaIdentity(global::System.String viaIdentity, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10326,7 +10326,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10383,7 +10383,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10562,7 +10562,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListBySubscription(string subscriptionId, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10605,7 +10605,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListBySubscriptionViaIdentity(global::System.String viaIdentity, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10656,7 +10656,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10708,7 +10708,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListBySubscriptionWithResult(string subscriptionId, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10878,7 +10878,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListDeleted(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10916,7 +10916,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListDeletedViaIdentity(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.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -10962,7 +10962,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListDeletedViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11009,7 +11009,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsListDeletedWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11179,7 +11179,7 @@ public partial class KeyVault
public async global::System.Threading.Tasks.Task VaultsListViaIdentity(global::System.String viaIdentity, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
var Filter = @"resourceType eq 'Microsoft.KeyVault/vaults'";
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11233,7 +11233,7 @@ public partial class KeyVault
public async global::System.Threading.Tasks.Task VaultsListViaIdentityWithResult(global::System.String viaIdentity, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
var Filter = @"resourceType eq 'Microsoft.KeyVault/vaults'";
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11288,7 +11288,7 @@ public partial class KeyVault
public async global::System.Threading.Tasks.Task VaultsListWithResult(string subscriptionId, int? Top, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
var Filter = @"resourceType eq 'Microsoft.KeyVault/vaults'";
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11464,7 +11464,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsPurgeDeleted(string subscriptionId, string vaultName, string location, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11508,7 +11508,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsPurgeDeletedViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11736,7 +11736,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultPatchParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11788,7 +11788,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateAccessPolicy(string subscriptionId, string resourceGroupName, string vaultName, string operationKind, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultAccessPolicyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11838,7 +11838,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateAccessPolicyViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultAccessPolicyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11898,7 +11898,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateAccessPolicyViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultAccessPolicyParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -11964,7 +11964,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateAccessPolicyViaJsonString(string subscriptionId, string resourceGroupName, string vaultName, string operationKind, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -12014,7 +12014,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateAccessPolicyViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string vaultName, string operationKind, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -12065,7 +12065,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateAccessPolicyWithResult(string subscriptionId, string resourceGroupName, string vaultName, string operationKind, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultAccessPolicyParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -12266,7 +12266,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultPatchParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -12323,7 +12323,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultPatchParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -12385,7 +12385,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateViaJsonString(string subscriptionId, string resourceGroupName, string vaultName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -12432,7 +12432,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string vaultName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -12480,7 +12480,7 @@ public partial class KeyVault
///
public async global::System.Threading.Tasks.Task VaultsUpdateWithResult(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IVaultPatchParameters body, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2023-02-01";
+ var apiVersion = @"2024-11-01";
// Constant Parameters
using( NoSynchronizationContext )
{
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsm.PowerShell.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsm.PowerShell.cs
index a47c0b3eaf40..98c194459cc0 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsm.PowerShell.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsm.PowerShell.cs
@@ -145,6 +145,22 @@ internal ManagedHsm(global::System.Collections.IDictionary content)
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
}
+ if (content.Contains("IdentityPrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityTenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityType"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityUserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
if (content.Contains("Sku"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedHsmSkuTypeConverter.ConvertFrom);
@@ -153,6 +169,10 @@ internal ManagedHsm(global::System.Collections.IDictionary content)
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemDataTypeConverter.ConvertFrom);
}
+ if (content.Contains("Identity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentityTypeConverter.ConvertFrom);
+ }
if (content.Contains("Id"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id, global::System.Convert.ToString);
@@ -310,6 +330,22 @@ internal ManagedHsm(global::System.Management.Automation.PSObject content)
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
}
+ if (content.Contains("IdentityPrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityTenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityType"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityUserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
if (content.Contains("Sku"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedHsmSkuTypeConverter.ConvertFrom);
@@ -318,6 +354,10 @@ internal ManagedHsm(global::System.Management.Automation.PSObject content)
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemDataTypeConverter.ConvertFrom);
}
+ if (content.Contains("Identity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentityTypeConverter.ConvertFrom);
+ }
if (content.Contains("Id"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id, global::System.Convert.ToString);
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsm.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsm.cs
index 5865f22ac793..31bd61a8637f 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsm.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsm.cs
@@ -48,6 +48,36 @@ public partial class ManagedHsm :
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id; }
+ /// Managed service identity (system assigned and/or user assigned identities)
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity = value ?? null /* model class */; }
+
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId; }
+
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId; }
+
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityType = value ?? null; }
+
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityUserAssignedIdentity = value ?? null /* model class */; }
+
/// Array of initial administrators object ids for this managed hsm pool.
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inlined)]
public System.Collections.Generic.List InitialAdminObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmPropertiesInternal)Property).InitialAdminObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmPropertiesInternal)Property).InitialAdminObjectId = value ?? null /* arrayOf */; }
@@ -89,15 +119,21 @@ public partial class ManagedHsm :
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id = value ?? null; }
+ /// Internal Acessors for Identity
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity = value ?? null /* model class */; }
+
+ /// Internal Acessors for IdentityPrincipalId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId = value ?? null; }
+
+ /// Internal Acessors for IdentityTenantId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId = value ?? null; }
+
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Name = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Sku = value ?? null /* model class */; }
- /// Internal Acessors for SkuFamily
- string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily = value ?? null; }
-
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SystemData = value ?? null /* model class */; }
@@ -192,7 +228,7 @@ public partial class ManagedHsm :
/// SKU Family of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
- public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; }
+ public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily = value ?? null; }
/// SKU of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.PowerShell.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.PowerShell.cs
index cef83b43eaad..584236646421 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.PowerShell.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.PowerShell.cs
@@ -117,6 +117,10 @@ internal ManagedHsmResource(global::System.Collections.IDictionary content)
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemDataTypeConverter.ConvertFrom);
}
+ if (content.Contains("Identity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentityTypeConverter.ConvertFrom);
+ }
if (content.Contains("Id"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id, global::System.Convert.ToString);
@@ -169,6 +173,22 @@ internal ManagedHsmResource(global::System.Collections.IDictionary content)
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
}
+ if (content.Contains("IdentityPrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityTenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityType"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityUserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
AfterDeserializeDictionary(content);
}
@@ -194,6 +214,10 @@ internal ManagedHsmResource(global::System.Management.Automation.PSObject conten
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemDataTypeConverter.ConvertFrom);
}
+ if (content.Contains("Identity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentityTypeConverter.ConvertFrom);
+ }
if (content.Contains("Id"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id, global::System.Convert.ToString);
@@ -246,6 +270,22 @@ internal ManagedHsmResource(global::System.Management.Automation.PSObject conten
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
}
+ if (content.Contains("IdentityPrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityTenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityType"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityUserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
AfterDeserializePSObject(content);
}
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.cs
index 7f12b9a8e0fb..e00e963241c5 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.cs
@@ -20,6 +20,39 @@ public partial class ManagedHsmResource :
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Owned)]
public string Id { get => this._id; }
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity _identity;
+
+ /// Managed service identity (system assigned and/or user assigned identities)
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentity()); set => this._identity = value; }
+
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inlined)]
+ public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; }
+
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inlined)]
+ public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).TenantId; }
+
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inlined)]
+ public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).Type = value ?? null; }
+
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; }
+
/// Backing field for property.
private string _location;
@@ -30,15 +63,21 @@ public partial class ManagedHsmResource :
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Id { get => this._id; set { {_id = value;} } }
+ /// Internal Acessors for Identity
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentity()); set { {_identity = value;} } }
+
+ /// Internal Acessors for IdentityPrincipalId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).PrincipalId = value ?? null; }
+
+ /// Internal Acessors for IdentityTenantId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)Identity).TenantId = value ?? null; }
+
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Name { get => this._name; set { {_name = value;} } }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedHsmSku()); set { {_sku = value;} } }
- /// Internal Acessors for SkuFamily
- string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSkuInternal)Sku).Family; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSkuInternal)Sku).Family = value ?? null; }
-
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemData()); set { {_systemData = value;} } }
@@ -79,7 +118,7 @@ public partial class ManagedHsmResource :
/// SKU Family of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inlined)]
- public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSkuInternal)Sku).Family; }
+ public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSkuInternal)Sku).Family; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSkuInternal)Sku).Family = value ?? null; }
/// SKU of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inlined)]
@@ -153,6 +192,61 @@ public partial interface IManagedHsmResource :
SerializedName = @"id",
PossibleTypes = new [] { typeof(string) })]
string Id { get; }
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Read = true,
+ Create = false,
+ Update = false,
+ Description = @"The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.",
+ SerializedName = @"principalId",
+ PossibleTypes = new [] { typeof(string) })]
+ string IdentityPrincipalId { get; }
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Read = true,
+ Create = false,
+ Update = false,
+ Description = @"The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.",
+ SerializedName = @"tenantId",
+ PossibleTypes = new [] { typeof(string) })]
+ string IdentityTenantId { get; }
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Read = true,
+ Create = true,
+ Update = true,
+ Description = @"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(string) })]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
+ string IdentityType { get; set; }
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Read = true,
+ Create = true,
+ Update = true,
+ Description = @"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
+ SerializedName = @"userAssignedIdentities",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) })]
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities IdentityUserAssignedIdentity { get; set; }
/// The supported Azure location where the managed HSM Pool should be created.
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
Required = false,
@@ -178,14 +272,15 @@ public partial interface IManagedHsmResource :
/// SKU Family of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
Required = false,
- ReadOnly = true,
+ ReadOnly = false,
Read = true,
Create = true,
Update = true,
Description = @"SKU Family of the managed HSM Pool",
SerializedName = @"family",
PossibleTypes = new [] { typeof(string) })]
- string SkuFamily { get; }
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("B", "C")]
+ string SkuFamily { get; set; }
/// SKU of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
Required = false,
@@ -196,7 +291,7 @@ public partial interface IManagedHsmResource :
Description = @"SKU of the managed HSM Pool",
SerializedName = @"name",
PossibleTypes = new [] { typeof(string) })]
- [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("Standard_B1", "Custom_B32", "Custom_B6")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("Standard_B1", "Custom_B32", "Custom_B6", "Custom_C42", "Custom_C10")]
string SkuName { get; set; }
/// The timestamp of the key vault resource creation (UTC).
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
@@ -296,6 +391,27 @@ internal partial interface IManagedHsmResourceInternal
{
/// The Azure Resource Manager resource ID for the managed HSM Pool.
string Id { get; set; }
+ /// Managed service identity (system assigned and/or user assigned identities)
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Identity { get; set; }
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ string IdentityPrincipalId { get; set; }
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ string IdentityTenantId { get; set; }
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
+ string IdentityType { get; set; }
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities IdentityUserAssignedIdentity { get; set; }
/// The supported Azure location where the managed HSM Pool should be created.
string Location { get; set; }
/// The name of the managed HSM Pool.
@@ -303,9 +419,10 @@ internal partial interface IManagedHsmResourceInternal
/// SKU details
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku Sku { get; set; }
/// SKU Family of the managed HSM Pool
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("B", "C")]
string SkuFamily { get; set; }
/// SKU of the managed HSM Pool
- [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("Standard_B1", "Custom_B32", "Custom_B6")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("Standard_B1", "Custom_B32", "Custom_B6", "Custom_C42", "Custom_C10")]
string SkuName { get; set; }
///
/// Metadata pertaining to creation and last modification of the key vault resource.
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.json.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.json.cs
index a3e5dd934ae1..59799f2ed7ba 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.json.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmResource.json.cs
@@ -79,6 +79,7 @@ internal ManagedHsmResource(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.
}
{_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedHsmSku.FromJson(__jsonSku) : _sku;}
{_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemData.FromJson(__jsonSystemData) : _systemData;}
+ {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentity.FromJson(__jsonIdentity) : _identity;}
{_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)_id;}
{_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;}
{_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;}
@@ -111,6 +112,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode ToJson(
{
AddIf( null != this._systemData ? (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode) this._systemData.ToJson(null,serializationMode) : null, "systemData" ,container.Add );
}
+ AddIf( null != this._identity ? (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode) this._identity.ToJson(null,serializationMode) : null, "identity" ,container.Add );
if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeRead))
{
AddIf( null != (((object)this._id)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonString(this._id.ToString()) : null, "id" ,container.Add );
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmSku.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmSku.cs
index 4231c6f29b21..b2ad34f3b655 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmSku.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedHsmSku.cs
@@ -14,14 +14,11 @@ public partial class ManagedHsmSku :
{
/// Backing field for property.
- private string _family= @"B";
+ private string _family;
/// SKU Family of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Owned)]
- public string Family { get => this._family; }
-
- /// Internal Acessors for Family
- string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSkuInternal.Family { get => this._family; set { {_family = value;} } }
+ public string Family { get => this._family; set => this._family = value; }
/// Backing field for property.
private string _name;
@@ -43,14 +40,15 @@ public partial interface IManagedHsmSku :
/// SKU Family of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
Required = true,
- ReadOnly = true,
+ ReadOnly = false,
Read = true,
Create = true,
Update = true,
Description = @"SKU Family of the managed HSM Pool",
SerializedName = @"family",
PossibleTypes = new [] { typeof(string) })]
- string Family { get; }
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("B", "C")]
+ string Family { get; set; }
/// SKU of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
Required = true,
@@ -61,7 +59,7 @@ public partial interface IManagedHsmSku :
Description = @"SKU of the managed HSM Pool",
SerializedName = @"name",
PossibleTypes = new [] { typeof(string) })]
- [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("Standard_B1", "Custom_B32", "Custom_B6")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("Standard_B1", "Custom_B32", "Custom_B6", "Custom_C42", "Custom_C10")]
string Name { get; set; }
}
@@ -70,9 +68,10 @@ internal partial interface IManagedHsmSkuInternal
{
/// SKU Family of the managed HSM Pool
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("B", "C")]
string Family { get; set; }
/// SKU of the managed HSM Pool
- [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("Standard_B1", "Custom_B32", "Custom_B6")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("Standard_B1", "Custom_B32", "Custom_B6", "Custom_C42", "Custom_C10")]
string Name { get; set; }
}
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.PowerShell.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.PowerShell.cs
new file mode 100644
index 000000000000..4d3084972177
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.PowerShell.cs
@@ -0,0 +1,188 @@
+// 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.KeyVault.Models
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.PowerShell;
+
+ /// Managed service identity (system assigned and/or user assigned identities)
+ [System.ComponentModel.TypeConverter(typeof(ManagedServiceIdentityTypeConverter))]
+ public partial class ManagedServiceIdentity
+ {
+
+ ///
+ /// 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);
+
+ ///
+ /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior
+ ///
+ /// /// instance serialized to a string, normally it is a Json
+ /// /// set returnNow to true if you provide a customized OverrideToString function
+
+ partial void OverrideToString(ref string stringResult, 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.KeyVault.Models.IManagedServiceIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content)
+ {
+ return new ManagedServiceIdentity(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.KeyVault.Models.IManagedServiceIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
+ {
+ return new ManagedServiceIdentity(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.KeyVault.Models.IManagedServiceIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode.Parse(jsonText));
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ internal ManagedServiceIdentity(global::System.Collections.IDictionary content)
+ {
+ bool returnNow = false;
+ BeforeDeserializeDictionary(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ if (content.Contains("PrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).PrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("TenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).TenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("Type"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).Type, global::System.Convert.ToString);
+ }
+ if (content.Contains("UserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
+ AfterDeserializeDictionary(content);
+ }
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ internal ManagedServiceIdentity(global::System.Management.Automation.PSObject content)
+ {
+ bool returnNow = false;
+ BeforeDeserializePSObject(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ if (content.Contains("PrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).PrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("TenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).TenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("Type"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).Type, global::System.Convert.ToString);
+ }
+ if (content.Contains("UserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
+ 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.KeyVault.Runtime.SerializationMode.IncludeAll)?.ToString();
+
+ public override string ToString()
+ {
+ var returnNow = false;
+ var result = global::System.String.Empty;
+ OverrideToString(ref result, ref returnNow);
+ if (returnNow)
+ {
+ return result;
+ }
+ return ToJsonString();
+ }
+ }
+ /// Managed service identity (system assigned and/or user assigned identities)
+ [System.ComponentModel.TypeConverter(typeof(ManagedServiceIdentityTypeConverter))]
+ public partial interface IManagedServiceIdentity
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.TypeConverter.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.TypeConverter.cs
new file mode 100644
index 000000000000..bc00161bec84
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.TypeConverter.cs
@@ -0,0 +1,147 @@
+// 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.KeyVault.Models
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.PowerShell;
+
+ ///
+ /// A PowerShell PSTypeConverter to support converting to an instance of
+ ///
+ public partial class ManagedServiceIdentityTypeConverter : 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
+ /// type.
+ ///
+ /// 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.KeyVault.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.KeyVault.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 into an instance of
+ ///
+ /// 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.KeyVault.Models.IManagedServiceIdentity ConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return null;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity).IsAssignableFrom(type))
+ {
+ return sourceValue;
+ }
+ try
+ {
+ return ManagedServiceIdentity.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());;
+ }
+ catch
+ {
+ // Unable to use JSON pattern
+ }
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ return ManagedServiceIdentity.DeserializeFromPSObject(sourceValue);
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ return ManagedServiceIdentity.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/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.cs
new file mode 100644
index 000000000000..f322a91e933b
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.cs
@@ -0,0 +1,152 @@
+// 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.KeyVault.Models
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Extensions;
+
+ /// Managed service identity (system assigned and/or user assigned identities)
+ public partial class ManagedServiceIdentity :
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity,
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal
+ {
+
+ /// Internal Acessors for PrincipalId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } }
+
+ /// Internal Acessors for TenantId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentityInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } }
+
+ /// Backing field for property.
+ private string _principalId;
+
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Owned)]
+ public string PrincipalId { get => this._principalId; }
+
+ /// Backing field for property.
+ private string _tenantId;
+
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Owned)]
+ public string TenantId { get => this._tenantId; }
+
+ /// Backing field for property.
+ private string _type;
+
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Owned)]
+ public string Type { get => this._type; set => this._type = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities _userAssignedIdentity;
+
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities UserAssignedIdentity { get => (this._userAssignedIdentity = this._userAssignedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentities()); set => this._userAssignedIdentity = value; }
+
+ /// Creates an new instance.
+ public ManagedServiceIdentity()
+ {
+
+ }
+ }
+ /// Managed service identity (system assigned and/or user assigned identities)
+ public partial interface IManagedServiceIdentity :
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IJsonSerializable
+ {
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Read = true,
+ Create = false,
+ Update = false,
+ Description = @"The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.",
+ SerializedName = @"principalId",
+ PossibleTypes = new [] { typeof(string) })]
+ string PrincipalId { get; }
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Read = true,
+ Create = false,
+ Update = false,
+ Description = @"The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.",
+ SerializedName = @"tenantId",
+ PossibleTypes = new [] { typeof(string) })]
+ string TenantId { get; }
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
+ Required = true,
+ ReadOnly = false,
+ Read = true,
+ Create = true,
+ Update = true,
+ Description = @"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(string) })]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
+ string Type { get; set; }
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Read = true,
+ Create = true,
+ Update = true,
+ Description = @"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
+ SerializedName = @"userAssignedIdentities",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) })]
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities UserAssignedIdentity { get; set; }
+
+ }
+ /// Managed service identity (system assigned and/or user assigned identities)
+ internal partial interface IManagedServiceIdentityInternal
+
+ {
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ string PrincipalId { get; set; }
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ string TenantId { get; set; }
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [global::Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
+ string Type { get; set; }
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities UserAssignedIdentity { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.json.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.json.cs
new file mode 100644
index 000000000000..8917ae8efb51
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/ManagedServiceIdentity.json.cs
@@ -0,0 +1,120 @@
+// 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.KeyVault.Models
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Extensions;
+
+ /// Managed service identity (system assigned and/or user assigned identities)
+ public partial class ManagedServiceIdentity
+ {
+
+ ///
+ /// 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.KeyVault.Runtime.Json.JsonObject json);
+
+ ///
+ /// AfterToJson will be called after the json serialization 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.KeyVault.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.KeyVault.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.KeyVault.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonObject json ? new ManagedServiceIdentity(json) : null;
+ }
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonObject instance to deserialize from.
+ internal ManagedServiceIdentity(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_principalId = If( json?.PropertyT("principalId"), out var __jsonPrincipalId) ? (string)__jsonPrincipalId : (string)_principalId;}
+ {_tenantId = If( json?.PropertyT("tenantId"), out var __jsonTenantId) ? (string)__jsonTenantId : (string)_tenantId;}
+ {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;}
+ {_userAssignedIdentity = If( json?.PropertyT("userAssignedIdentities"), out var __jsonUserAssignedIdentities) ? Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentities.FromJson(__jsonUserAssignedIdentities) : _userAssignedIdentity;}
+ 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.KeyVault.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeRead))
+ {
+ AddIf( null != (((object)this._principalId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonString(this._principalId.ToString()) : null, "principalId" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.SerializationMode.IncludeRead))
+ {
+ AddIf( null != (((object)this._tenantId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonString(this._tenantId.ToString()) : null, "tenantId" ,container.Add );
+ }
+ AddIf( null != (((object)this._type)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonString(this._type.ToString()) : null, "type" ,container.Add );
+ AddIf( null != this._userAssignedIdentity ? (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Json.JsonNode) this._userAssignedIdentity.ToJson(null,serializationMode) : null, "userAssignedIdentities" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateEndpointConnection.PowerShell.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateEndpointConnection.PowerShell.cs
index 78f2ee330d5e..05070cc43aaa 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateEndpointConnection.PowerShell.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateEndpointConnection.PowerShell.cs
@@ -157,6 +157,22 @@ internal MhsmPrivateEndpointConnection(global::System.Collections.IDictionary co
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
}
+ if (content.Contains("IdentityPrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityTenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityType"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityUserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
if (content.Contains("Sku"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedHsmSkuTypeConverter.ConvertFrom);
@@ -165,6 +181,10 @@ internal MhsmPrivateEndpointConnection(global::System.Collections.IDictionary co
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemDataTypeConverter.ConvertFrom);
}
+ if (content.Contains("Identity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentityTypeConverter.ConvertFrom);
+ }
if (content.Contains("Id"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id, global::System.Convert.ToString);
@@ -278,6 +298,22 @@ internal MhsmPrivateEndpointConnection(global::System.Management.Automation.PSOb
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
}
+ if (content.Contains("IdentityPrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityTenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityType"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityUserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
if (content.Contains("Sku"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedHsmSkuTypeConverter.ConvertFrom);
@@ -286,6 +322,10 @@ internal MhsmPrivateEndpointConnection(global::System.Management.Automation.PSOb
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemDataTypeConverter.ConvertFrom);
}
+ if (content.Contains("Identity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentityTypeConverter.ConvertFrom);
+ }
if (content.Contains("Id"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id, global::System.Convert.ToString);
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateEndpointConnection.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateEndpointConnection.cs
index 76b8765fabd9..26db64598600 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateEndpointConnection.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateEndpointConnection.cs
@@ -39,6 +39,36 @@ public partial class MhsmPrivateEndpointConnection :
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id; }
+ /// Managed service identity (system assigned and/or user assigned identities)
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity = value ?? null /* model class */; }
+
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId; }
+
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId; }
+
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityType = value ?? null; }
+
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityUserAssignedIdentity = value ?? null /* model class */; }
+
/// The supported Azure location where the managed HSM Pool should be created.
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Location = value ?? null; }
@@ -46,15 +76,21 @@ public partial class MhsmPrivateEndpointConnection :
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id = value ?? null; }
+ /// Internal Acessors for Identity
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity = value ?? null /* model class */; }
+
+ /// Internal Acessors for IdentityPrincipalId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId = value ?? null; }
+
+ /// Internal Acessors for IdentityTenantId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId = value ?? null; }
+
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Name = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Sku = value ?? null /* model class */; }
- /// Internal Acessors for SkuFamily
- string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily = value ?? null; }
-
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SystemData = value ?? null /* model class */; }
@@ -142,7 +178,7 @@ public partial class MhsmPrivateEndpointConnection :
/// SKU Family of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
- public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; }
+ public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily = value ?? null; }
/// SKU of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateLinkResource.PowerShell.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateLinkResource.PowerShell.cs
index ffb5b7ad838a..dad582c125d8 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateLinkResource.PowerShell.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateLinkResource.PowerShell.cs
@@ -145,6 +145,22 @@ internal MhsmPrivateLinkResource(global::System.Collections.IDictionary content)
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
}
+ if (content.Contains("IdentityPrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityTenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityType"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityUserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
if (content.Contains("Sku"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedHsmSkuTypeConverter.ConvertFrom);
@@ -153,6 +169,10 @@ internal MhsmPrivateLinkResource(global::System.Collections.IDictionary content)
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemDataTypeConverter.ConvertFrom);
}
+ if (content.Contains("Identity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentityTypeConverter.ConvertFrom);
+ }
if (content.Contains("Id"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id, global::System.Convert.ToString);
@@ -238,6 +258,22 @@ internal MhsmPrivateLinkResource(global::System.Management.Automation.PSObject c
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified));
}
+ if (content.Contains("IdentityPrincipalId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityTenantId"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityTenantId, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityType"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityType, global::System.Convert.ToString);
+ }
+ if (content.Contains("IdentityUserAssignedIdentity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.UserAssignedIdentitiesTypeConverter.ConvertFrom);
+ }
if (content.Contains("Sku"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedHsmSkuTypeConverter.ConvertFrom);
@@ -246,6 +282,10 @@ internal MhsmPrivateLinkResource(global::System.Management.Automation.PSObject c
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.SystemDataTypeConverter.ConvertFrom);
}
+ if (content.Contains("Identity"))
+ {
+ ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ManagedServiceIdentityTypeConverter.ConvertFrom);
+ }
if (content.Contains("Id"))
{
((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)this).Id, global::System.Convert.ToString);
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateLinkResource.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateLinkResource.cs
index 072de00081b3..e13925a2f85d 100644
--- a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateLinkResource.cs
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/MhsmPrivateLinkResource.cs
@@ -27,6 +27,36 @@ public partial class MhsmPrivateLinkResource :
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id; }
+ /// Managed service identity (system assigned and/or user assigned identities)
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity = value ?? null /* model class */; }
+
+ ///
+ /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId; }
+
+ ///
+ /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId; }
+
+ ///
+ /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityType = value ?? null; }
+
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityUserAssignedIdentity = value ?? null /* model class */; }
+
/// The supported Azure location where the managed HSM Pool should be created.
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Location = value ?? null; }
@@ -34,15 +64,21 @@ public partial class MhsmPrivateLinkResource :
/// Internal Acessors for Id
string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Id = value ?? null; }
+ /// Internal Acessors for Identity
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedServiceIdentity Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Identity = value ?? null /* model class */; }
+
+ /// Internal Acessors for IdentityPrincipalId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityPrincipalId = value ?? null; }
+
+ /// Internal Acessors for IdentityTenantId
+ string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).IdentityTenantId = value ?? null; }
+
/// Internal Acessors for Name
string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Name = value ?? null; }
/// Internal Acessors for Sku
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmSku Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.Sku { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).Sku = value ?? null /* model class */; }
- /// Internal Acessors for SkuFamily
- string Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily = value ?? null; }
-
/// Internal Acessors for SystemData
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SystemData = value ?? null /* model class */; }
@@ -101,7 +137,7 @@ public partial class MhsmPrivateLinkResource :
/// SKU Family of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
- public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; }
+ public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily; set => ((Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IManagedHsmResourceInternal)__managedHsmResource).SkuFamily = value ?? null; }
/// SKU of the managed HSM Pool
[Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Origin(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.PropertyOrigin.Inherited)]
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.PowerShell.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.PowerShell.cs
new file mode 100644
index 000000000000..e08e2fb39724
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.PowerShell.cs
@@ -0,0 +1,166 @@
+// 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.KeyVault.Models
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.PowerShell;
+
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ [System.ComponentModel.TypeConverter(typeof(UserAssignedIdentitiesTypeConverter))]
+ public partial class UserAssignedIdentities
+ {
+
+ ///
+ /// 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);
+
+ ///
+ /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior
+ ///
+ /// /// instance serialized to a string, normally it is a Json
+ /// /// set returnNow to true if you provide a customized OverrideToString function
+
+ partial void OverrideToString(ref string stringResult, 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.KeyVault.Models.IUserAssignedIdentities DeserializeFromDictionary(global::System.Collections.IDictionary content)
+ {
+ return new UserAssignedIdentities(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.KeyVault.Models.IUserAssignedIdentities DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
+ {
+ return new UserAssignedIdentities(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.KeyVault.Models.IUserAssignedIdentities FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.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.KeyVault.Runtime.SerializationMode.IncludeAll)?.ToString();
+
+ public override string ToString()
+ {
+ var returnNow = false;
+ var result = global::System.String.Empty;
+ OverrideToString(ref result, ref returnNow);
+ if (returnNow)
+ {
+ return result;
+ }
+ return ToJsonString();
+ }
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Collections.IDictionary content that should be used.
+ internal UserAssignedIdentities(global::System.Collections.IDictionary content)
+ {
+ bool returnNow = false;
+ BeforeDeserializeDictionary(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ // this type is a dictionary; copy elements from source to here.
+ CopyFrom(content);
+ AfterDeserializeDictionary(content);
+ }
+
+ ///
+ /// Deserializes a into a new instance of .
+ ///
+ /// The global::System.Management.Automation.PSObject content that should be used.
+ internal UserAssignedIdentities(global::System.Management.Automation.PSObject content)
+ {
+ bool returnNow = false;
+ BeforeDeserializePSObject(content, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ // actually deserialize
+ // this type is a dictionary; copy elements from source to here.
+ CopyFrom(content);
+ AfterDeserializePSObject(content);
+ }
+ }
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ [System.ComponentModel.TypeConverter(typeof(UserAssignedIdentitiesTypeConverter))]
+ public partial interface IUserAssignedIdentities
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.TypeConverter.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.TypeConverter.cs
new file mode 100644
index 000000000000..45ff385ddda4
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.TypeConverter.cs
@@ -0,0 +1,147 @@
+// 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.KeyVault.Models
+{
+ using Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.PowerShell;
+
+ ///
+ /// A PowerShell PSTypeConverter to support converting to an instance of
+ ///
+ public partial class UserAssignedIdentitiesTypeConverter : 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
+ /// type.
+ ///
+ /// 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.KeyVault.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.KeyVault.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 into an instance of
+ ///
+ /// 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.KeyVault.Models.IUserAssignedIdentities ConvertFrom(dynamic sourceValue)
+ {
+ if (null == sourceValue)
+ {
+ return null;
+ }
+ global::System.Type type = sourceValue.GetType();
+ if (typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities).IsAssignableFrom(type))
+ {
+ return sourceValue;
+ }
+ try
+ {
+ return UserAssignedIdentities.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());;
+ }
+ catch
+ {
+ // Unable to use JSON pattern
+ }
+ if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type))
+ {
+ return UserAssignedIdentities.DeserializeFromPSObject(sourceValue);
+ }
+ if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type))
+ {
+ return UserAssignedIdentities.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/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.cs
new file mode 100644
index 000000000000..8aed4f99e35c
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.cs
@@ -0,0 +1,43 @@
+// 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.KeyVault.Models
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Extensions;
+
+ ///
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ ///
+ public partial class UserAssignedIdentities :
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentities,
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IUserAssignedIdentitiesInternal
+ {
+
+ /// Creates an new instance.
+ public UserAssignedIdentities()
+ {
+
+ }
+ }
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ public partial interface IUserAssignedIdentities :
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IAssociativeArray
+ {
+
+ }
+ /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
+ /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ /// The dictionary values can be empty objects ({}) in requests.
+ internal partial interface IUserAssignedIdentitiesInternal
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.dictionary.cs b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.dictionary.cs
new file mode 100644
index 000000000000..52579143f3ba
--- /dev/null
+++ b/generated/KeyVault/KeyVault.Autorest/generated/api/Models/UserAssignedIdentities.dictionary.cs
@@ -0,0 +1,75 @@
+// 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.KeyVault.Models
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.Extensions;
+
+ public partial class UserAssignedIdentities :
+ Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IAssociativeArray
+ {
+ protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Runtime.IAssociativeArray