diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/Properties/AssemblyInfo.cs b/src/DedicatedHsm/DedicatedHsm.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..1de8e4dbb122 --- /dev/null +++ b/src/DedicatedHsm/DedicatedHsm.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 - DedicatedHsm")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.3.2")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.3.2")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/README.md b/src/DedicatedHsm/DedicatedHsm.Autorest/README.md index 2a128f001a34..138adab8a531 100644 --- a/src/DedicatedHsm/DedicatedHsm.Autorest/README.md +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/README.md @@ -56,20 +56,15 @@ module-version: 0.1.0 title: DedicatedHsm subject-prefix: $(service-name) -# If there are post APIs for some kinds of actions in the RP, you may need to -# uncomment following line to support viaIdentity for these post APIs -# identity-correction-for-post: true - -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" - directive: # Following is two common directive which are normally required in all the RPs # 1. Remove the unexpanded parameter set # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$ + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true # Remove the set-* cmdlet - where: @@ -102,10 +97,6 @@ directive: parameter-name: ManagementNetworkProfileSubnetId set: parameter-name: ManagementSubnetId - # Service team asked us to use 2018-10-31, should be the same as 2018-10-31-preview, but it's not ready on swagger yet - # - from: swagger-document - # where: $.info - # transform: $['version'] = '2018-10-31' # table format - where: diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Az.DedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Az.DedicatedHsm.md index b23f98396aaa..cb2c11a17e58 100644 --- a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Az.DedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Az.DedicatedHsm.md @@ -1,6 +1,6 @@ --- Module Name: Az.DedicatedHsm -Module Guid: 841c2fad-e8c0-4924-b9b9-9d27d0f40b48 +Module Guid: 1fcbb2f1-cb1e-4d67-9da2-5e7b35810c88 Download Help Link: https://learn.microsoft.com/powershell/module/az.dedicatedhsm Help Version: 1.0.0.0 Locale: en-US @@ -19,11 +19,11 @@ Gets a list of egress endpoints (network endpoints of all outbound dependencies) The operation returns properties of each egress endpoint. ### [New-AzDedicatedHsm](New-AzDedicatedHsm.md) -Create or Update a dedicated HSM in the specified subscription. +create a dedicated HSM in the specified subscription. ### [Remove-AzDedicatedHsm](Remove-AzDedicatedHsm.md) Deletes the specified Azure Dedicated HSM. ### [Update-AzDedicatedHsm](Update-AzDedicatedHsm.md) -Update a dedicated HSM in the specified subscription. +update a dedicated HSM in the specified subscription. diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Get-AzDedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Get-AzDedicatedHsm.md index f58f3a2cea4d..82c29de864ac 100644 --- a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Get-AzDedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Get-AzDedicatedHsm.md @@ -114,7 +114,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsmIdentity @@ -198,7 +197,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.IDedicatedHsm +### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsm ## NOTES diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Get-AzDedicatedHsmOutboundNetworkDependencyEndpoint.md b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Get-AzDedicatedHsmOutboundNetworkDependencyEndpoint.md index f878ad251b18..7d8bf82cd236 100644 --- a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Get-AzDedicatedHsmOutboundNetworkDependencyEndpoint.md +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Get-AzDedicatedHsmOutboundNetworkDependencyEndpoint.md @@ -103,7 +103,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.IOutboundEnvironmentEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IOutboundEnvironmentEndpoint ## NOTES diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/New-AzDedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/New-AzDedicatedHsm.md index 140d5548d903..edbc6247f5d8 100644 --- a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/New-AzDedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/New-AzDedicatedHsm.md @@ -8,20 +8,34 @@ schema: 2.0.0 # New-AzDedicatedHsm ## SYNOPSIS -Create or Update a dedicated HSM in the specified subscription. +create a dedicated HSM in the specified subscription. ## SYNTAX +### CreateExpanded (Default) ``` New-AzDedicatedHsm -Name -ResourceGroupName -Location [-SubscriptionId ] [-ManagementNetworkInterface ] [-ManagementSubnetId ] - [-NetworkInterface ] [-Sku ] [-StampId ] [-SubnetId ] + [-NetworkInterface ] [-Sku ] [-StampId ] [-SubnetId ] [-Tag ] [-Zone ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzDedicatedHsm -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzDedicatedHsm -Name -ResourceGroupName -JsonString [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Create or Update a dedicated HSM in the specified subscription. +create a dedicated HSM in the specified subscription. ## EXAMPLES @@ -74,12 +88,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location The supported Azure location where the dedicated HSM should be created. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -91,11 +135,10 @@ Accept wildcard characters: False ### -ManagementNetworkInterface Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. -To construct, see NOTES section for MANAGEMENTNETWORKINTERFACE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.INetworkInterface[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.INetworkInterface[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -110,7 +153,7 @@ The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroup ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -137,11 +180,10 @@ Accept wildcard characters: False ### -NetworkInterface Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. -To construct, see NOTES section for NETWORKINTERFACE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.INetworkInterface[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.INetworkInterface[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -185,8 +227,8 @@ Accept wildcard characters: False SKU of the dedicated HSM ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Support.SkuName -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -201,7 +243,7 @@ This field will be used when RP does not support Availability zones. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -216,7 +258,7 @@ The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroup ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -247,7 +289,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -262,7 +304,7 @@ The Dedicated Hsm zones. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -310,7 +352,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.IDedicatedHsm +### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsm ## NOTES diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Remove-AzDedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Remove-AzDedicatedHsm.md index 183d9d27cfeb..346d7b9ada8c 100644 --- a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Remove-AzDedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Remove-AzDedicatedHsm.md @@ -79,7 +79,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsmIdentity diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Update-AzDedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Update-AzDedicatedHsm.md index 1d9301d8cf60..0328babc688a 100644 --- a/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Update-AzDedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/docs/Update-AzDedicatedHsm.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzDedicatedHsm ## SYNOPSIS -Update a dedicated HSM in the specified subscription. +update a dedicated HSM in the specified subscription. ## SYNTAX @@ -24,8 +24,22 @@ Update-AzDedicatedHsm -InputObject [-Tag ] [- [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzDedicatedHsm -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzDedicatedHsm -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Update a dedicated HSM in the specified subscription. +update a dedicated HSM in the specified subscription. ## EXAMPLES @@ -91,7 +105,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsmIdentity @@ -105,12 +118,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Name of the dedicated HSM ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -140,7 +183,7 @@ The name of the Resource Group to which the server belongs. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -156,7 +199,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -171,7 +214,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -221,7 +264,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.IDedicatedHsm +### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsm ## NOTES diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/generate-info.json b/src/DedicatedHsm/DedicatedHsm.Autorest/generate-info.json index 1b580fc2742d..87b4511f88be 100644 --- a/src/DedicatedHsm/DedicatedHsm.Autorest/generate-info.json +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "9b738dc2-0224-405a-b1b5-6253445db24f" + "generate_Id": "a3a205b8-4d52-4503-a046-547ab5e817af" } diff --git a/src/DedicatedHsm/DedicatedHsm.Autorest/resources/README.md b/src/DedicatedHsm/DedicatedHsm.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/DedicatedHsm/DedicatedHsm.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/DedicatedHsm/DedicatedHsm.sln b/src/DedicatedHsm/DedicatedHsm.sln index 03c1c96dd632..e280144c113a 100644 --- a/src/DedicatedHsm/DedicatedHsm.sln +++ b/src/DedicatedHsm/DedicatedHsm.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DedicatedHsm", "DedicatedHsm\DedicatedHsm.csproj", "{7210A54A-9E7D-42D2-9DC2-258F34F760E5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DedicatedHsm", "..\..\generated\DedicatedHsm\DedicatedHsm.Autorest\Az.DedicatedHsm.csproj", "{66DDE2DC-035A-4E93-A8C9-D47F1F13B999}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DedicatedHsm.Autorest", "DedicatedHsm.Autorest", "{4506DA30-44FE-BA8D-4ED7-589DD5E986D6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DedicatedHsm", "..\..\generated\DedicatedHsm\DedicatedHsm.Autorest\Az.DedicatedHsm.csproj", "{2F5230C6-AEAE-44F0-941D-98A1162EA6F8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Debug|x64.ActiveCfg = Debug|Any CPU + {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Debug|x64.Build.0 = Debug|Any CPU + {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Debug|x86.ActiveCfg = Debug|Any CPU + {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Debug|x86.Build.0 = Debug|Any CPU {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Release|Any CPU.ActiveCfg = Release|Any CPU {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Release|Any CPU.Build.0 = Release|Any CPU + {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Release|x64.ActiveCfg = Release|Any CPU + {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Release|x64.Build.0 = Release|Any CPU + {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Release|x86.ActiveCfg = Release|Any CPU + {40339D42-155E-4DD0-A5A7-2C465BBB0F8C}.Release|x86.Build.0 = Release|Any CPU {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Debug|x64.ActiveCfg = Debug|Any CPU + {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Debug|x64.Build.0 = Debug|Any CPU + {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Debug|x86.ActiveCfg = Debug|Any CPU + {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Debug|x86.Build.0 = Debug|Any CPU {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Release|Any CPU.ActiveCfg = Release|Any CPU {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Release|Any CPU.Build.0 = Release|Any CPU + {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Release|x64.ActiveCfg = Release|Any CPU + {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Release|x64.Build.0 = Release|Any CPU + {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Release|x86.ActiveCfg = Release|Any CPU + {336A7A86-F5CC-41FB-8179-4915B45C03FF}.Release|x86.Build.0 = Release|Any CPU {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Debug|x64.ActiveCfg = Debug|Any CPU + {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Debug|x64.Build.0 = Debug|Any CPU + {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Debug|x86.ActiveCfg = Debug|Any CPU + {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Debug|x86.Build.0 = Debug|Any CPU {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Release|Any CPU.ActiveCfg = Release|Any CPU {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Release|Any CPU.Build.0 = Release|Any CPU + {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Release|x64.ActiveCfg = Release|Any CPU + {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Release|x64.Build.0 = Release|Any CPU + {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Release|x86.ActiveCfg = Release|Any CPU + {0732E661-31EF-40EB-9FB9-C846C5337C1C}.Release|x86.Build.0 = Release|Any CPU {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Debug|x64.ActiveCfg = Debug|Any CPU + {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Debug|x64.Build.0 = Debug|Any CPU + {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Debug|x86.ActiveCfg = Debug|Any CPU + {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Debug|x86.Build.0 = Debug|Any CPU {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Release|Any CPU.ActiveCfg = Release|Any CPU {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Release|Any CPU.Build.0 = Release|Any CPU + {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Release|x64.ActiveCfg = Release|Any CPU + {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Release|x64.Build.0 = Release|Any CPU + {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Release|x86.ActiveCfg = Release|Any CPU + {0C54E13D-C84A-4CED-8AAA-F612B6E06E86}.Release|x86.Build.0 = Release|Any CPU {171E832D-2778-4042-8828-429BAB9338B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {171E832D-2778-4042-8828-429BAB9338B3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {171E832D-2778-4042-8828-429BAB9338B3}.Debug|x64.ActiveCfg = Debug|Any CPU + {171E832D-2778-4042-8828-429BAB9338B3}.Debug|x64.Build.0 = Debug|Any CPU + {171E832D-2778-4042-8828-429BAB9338B3}.Debug|x86.ActiveCfg = Debug|Any CPU + {171E832D-2778-4042-8828-429BAB9338B3}.Debug|x86.Build.0 = Debug|Any CPU {171E832D-2778-4042-8828-429BAB9338B3}.Release|Any CPU.ActiveCfg = Release|Any CPU {171E832D-2778-4042-8828-429BAB9338B3}.Release|Any CPU.Build.0 = Release|Any CPU + {171E832D-2778-4042-8828-429BAB9338B3}.Release|x64.ActiveCfg = Release|Any CPU + {171E832D-2778-4042-8828-429BAB9338B3}.Release|x64.Build.0 = Release|Any CPU + {171E832D-2778-4042-8828-429BAB9338B3}.Release|x86.ActiveCfg = Release|Any CPU + {171E832D-2778-4042-8828-429BAB9338B3}.Release|x86.Build.0 = Release|Any CPU {49F31B69-652C-4C00-BD98-0F990812C1AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {49F31B69-652C-4C00-BD98-0F990812C1AC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49F31B69-652C-4C00-BD98-0F990812C1AC}.Debug|x64.ActiveCfg = Debug|Any CPU + {49F31B69-652C-4C00-BD98-0F990812C1AC}.Debug|x64.Build.0 = Debug|Any CPU + {49F31B69-652C-4C00-BD98-0F990812C1AC}.Debug|x86.ActiveCfg = Debug|Any CPU + {49F31B69-652C-4C00-BD98-0F990812C1AC}.Debug|x86.Build.0 = Debug|Any CPU {49F31B69-652C-4C00-BD98-0F990812C1AC}.Release|Any CPU.ActiveCfg = Release|Any CPU {49F31B69-652C-4C00-BD98-0F990812C1AC}.Release|Any CPU.Build.0 = Release|Any CPU + {49F31B69-652C-4C00-BD98-0F990812C1AC}.Release|x64.ActiveCfg = Release|Any CPU + {49F31B69-652C-4C00-BD98-0F990812C1AC}.Release|x64.Build.0 = Release|Any CPU + {49F31B69-652C-4C00-BD98-0F990812C1AC}.Release|x86.ActiveCfg = Release|Any CPU + {49F31B69-652C-4C00-BD98-0F990812C1AC}.Release|x86.Build.0 = Release|Any CPU {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Debug|x64.ActiveCfg = Debug|Any CPU + {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Debug|x64.Build.0 = Debug|Any CPU + {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Debug|x86.ActiveCfg = Debug|Any CPU + {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Debug|x86.Build.0 = Debug|Any CPU {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Release|Any CPU.ActiveCfg = Release|Any CPU {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Release|Any CPU.Build.0 = Release|Any CPU - {66DDE2DC-035A-4E93-A8C9-D47F1F13B999}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {66DDE2DC-035A-4E93-A8C9-D47F1F13B999}.Debug|Any CPU.Build.0 = Debug|Any CPU - {66DDE2DC-035A-4E93-A8C9-D47F1F13B999}.Release|Any CPU.ActiveCfg = Release|Any CPU - {66DDE2DC-035A-4E93-A8C9-D47F1F13B999}.Release|Any CPU.Build.0 = Release|Any CPU + {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Release|x64.ActiveCfg = Release|Any CPU + {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Release|x64.Build.0 = Release|Any CPU + {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Release|x86.ActiveCfg = Release|Any CPU + {7210A54A-9E7D-42D2-9DC2-258F34F760E5}.Release|x86.Build.0 = Release|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Debug|x64.ActiveCfg = Debug|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Debug|x64.Build.0 = Debug|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Debug|x86.ActiveCfg = Debug|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Debug|x86.Build.0 = Debug|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Release|Any CPU.Build.0 = Release|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Release|x64.ActiveCfg = Release|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Release|x64.Build.0 = Release|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Release|x86.ActiveCfg = Release|Any CPU + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {40339D42-155E-4DD0-A5A7-2C465BBB0F8C} = {B2CD01CC-5936-4798-A97F-6B7D500D9A8F} @@ -70,5 +140,6 @@ Global {0C54E13D-C84A-4CED-8AAA-F612B6E06E86} = {B2CD01CC-5936-4798-A97F-6B7D500D9A8F} {171E832D-2778-4042-8828-429BAB9338B3} = {B2CD01CC-5936-4798-A97F-6B7D500D9A8F} {49F31B69-652C-4C00-BD98-0F990812C1AC} = {B2CD01CC-5936-4798-A97F-6B7D500D9A8F} + {2F5230C6-AEAE-44F0-941D-98A1162EA6F8} = {4506DA30-44FE-BA8D-4ED7-589DD5E986D6} EndGlobalSection EndGlobal diff --git a/src/DedicatedHsm/DedicatedHsm/Az.DedicatedHsm.psd1 b/src/DedicatedHsm/DedicatedHsm/Az.DedicatedHsm.psd1 index c6b86f8505fb..b15f99b9a0d4 100644 --- a/src/DedicatedHsm/DedicatedHsm/Az.DedicatedHsm.psd1 +++ b/src/DedicatedHsm/DedicatedHsm/Az.DedicatedHsm.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-04-21 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.1.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'DedicatedHsm.Autorest/bin/Az.DedicatedHsm.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'DedicatedHsm.Autorest\Az.DedicatedHsm.format.ps1xml' +FormatsToProcess = 'DedicatedHsm.Autorest/Az.DedicatedHsm.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('DedicatedHsm.Autorest/Az.DedicatedHsm.psm1') @@ -98,7 +98,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','DedicatedHsm' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'DedicatedHsm' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -123,7 +123,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/DedicatedHsm/DedicatedHsm/ChangeLog.md b/src/DedicatedHsm/DedicatedHsm/ChangeLog.md index a225bbbc8447..c2b9fa7359d2 100644 --- a/src/DedicatedHsm/DedicatedHsm/ChangeLog.md +++ b/src/DedicatedHsm/DedicatedHsm/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md). ## Version 0.3.2 * Upgraded nuget package to signed package. diff --git a/src/DedicatedHsm/DedicatedHsm/help/Az.DedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm/help/Az.DedicatedHsm.md index b23f98396aaa..c6ad1fcf2bb0 100644 --- a/src/DedicatedHsm/DedicatedHsm/help/Az.DedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm/help/Az.DedicatedHsm.md @@ -19,11 +19,11 @@ Gets a list of egress endpoints (network endpoints of all outbound dependencies) The operation returns properties of each egress endpoint. ### [New-AzDedicatedHsm](New-AzDedicatedHsm.md) -Create or Update a dedicated HSM in the specified subscription. +create a dedicated HSM in the specified subscription. ### [Remove-AzDedicatedHsm](Remove-AzDedicatedHsm.md) Deletes the specified Azure Dedicated HSM. ### [Update-AzDedicatedHsm](Update-AzDedicatedHsm.md) -Update a dedicated HSM in the specified subscription. +update a dedicated HSM in the specified subscription. diff --git a/src/DedicatedHsm/DedicatedHsm/help/Get-AzDedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm/help/Get-AzDedicatedHsm.md index fed4b8faae82..bd8db3b9d319 100644 --- a/src/DedicatedHsm/DedicatedHsm/help/Get-AzDedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm/help/Get-AzDedicatedHsm.md @@ -115,7 +115,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsmIdentity @@ -199,7 +198,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.IDedicatedHsm +### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsm ## NOTES diff --git a/src/DedicatedHsm/DedicatedHsm/help/Get-AzDedicatedHsmOutboundNetworkDependencyEndpoint.md b/src/DedicatedHsm/DedicatedHsm/help/Get-AzDedicatedHsmOutboundNetworkDependencyEndpoint.md index d3a7fd58459f..1b7560b0f43c 100644 --- a/src/DedicatedHsm/DedicatedHsm/help/Get-AzDedicatedHsmOutboundNetworkDependencyEndpoint.md +++ b/src/DedicatedHsm/DedicatedHsm/help/Get-AzDedicatedHsmOutboundNetworkDependencyEndpoint.md @@ -104,7 +104,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.IOutboundEnvironmentEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IOutboundEnvironmentEndpoint ## NOTES diff --git a/src/DedicatedHsm/DedicatedHsm/help/New-AzDedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm/help/New-AzDedicatedHsm.md index 53d17d6fb2a6..a8e090e06eb7 100644 --- a/src/DedicatedHsm/DedicatedHsm/help/New-AzDedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm/help/New-AzDedicatedHsm.md @@ -8,20 +8,35 @@ schema: 2.0.0 # New-AzDedicatedHsm ## SYNOPSIS -Create or Update a dedicated HSM in the specified subscription. +create a dedicated HSM in the specified subscription. ## SYNTAX +### CreateExpanded (Default) ``` New-AzDedicatedHsm -Name -ResourceGroupName [-SubscriptionId ] -Location [-ManagementNetworkInterface ] [-ManagementSubnetId ] - [-NetworkInterface ] [-Sku ] [-StampId ] [-SubnetId ] + [-NetworkInterface ] [-Sku ] [-StampId ] [-SubnetId ] [-Tag ] [-Zone ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzDedicatedHsm -Name -ResourceGroupName [-SubscriptionId ] -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzDedicatedHsm -Name -ResourceGroupName [-SubscriptionId ] -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION -Create or Update a dedicated HSM in the specified subscription. +create a dedicated HSM in the specified subscription. ## EXAMPLES @@ -74,12 +89,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location The supported Azure location where the dedicated HSM should be created. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -91,11 +136,10 @@ Accept wildcard characters: False ### -ManagementNetworkInterface Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. -To construct, see NOTES section for MANAGEMENTNETWORKINTERFACE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.INetworkInterface[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.INetworkInterface[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -110,7 +154,7 @@ The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroup ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -137,11 +181,10 @@ Accept wildcard characters: False ### -NetworkInterface Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM. -To construct, see NOTES section for NETWORKINTERFACE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.INetworkInterface[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.INetworkInterface[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -185,8 +228,8 @@ Accept wildcard characters: False SKU of the dedicated HSM ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Support.SkuName -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -201,7 +244,7 @@ This field will be used when RP does not support Availability zones. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -216,7 +259,7 @@ The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroup ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -247,7 +290,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -262,7 +305,7 @@ The Dedicated Hsm zones. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -310,7 +353,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.IDedicatedHsm +### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsm ## NOTES diff --git a/src/DedicatedHsm/DedicatedHsm/help/Remove-AzDedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm/help/Remove-AzDedicatedHsm.md index 497a099e2cce..fa7cb41ab083 100644 --- a/src/DedicatedHsm/DedicatedHsm/help/Remove-AzDedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm/help/Remove-AzDedicatedHsm.md @@ -80,7 +80,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsmIdentity diff --git a/src/DedicatedHsm/DedicatedHsm/help/Update-AzDedicatedHsm.md b/src/DedicatedHsm/DedicatedHsm/help/Update-AzDedicatedHsm.md index 74d688de6735..836c3addf19a 100644 --- a/src/DedicatedHsm/DedicatedHsm/help/Update-AzDedicatedHsm.md +++ b/src/DedicatedHsm/DedicatedHsm/help/Update-AzDedicatedHsm.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzDedicatedHsm ## SYNOPSIS -Update a dedicated HSM in the specified subscription. +update a dedicated HSM in the specified subscription. ## SYNTAX @@ -19,6 +19,20 @@ Update-AzDedicatedHsm -Name -ResourceGroupName [-SubscriptionI [] ``` +### UpdateViaJsonString +``` +Update-AzDedicatedHsm -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzDedicatedHsm -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzDedicatedHsm -InputObject [-Tag ] [-DefaultProfile ] @@ -26,7 +40,7 @@ Update-AzDedicatedHsm -InputObject [-Tag ] [- ``` ## DESCRIPTION -Update a dedicated HSM in the specified subscription. +update a dedicated HSM in the specified subscription. ## EXAMPLES @@ -92,7 +106,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsmIdentity @@ -106,12 +119,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Name of the dedicated HSM ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -141,7 +184,7 @@ The name of the Resource Group to which the server belongs. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -157,7 +200,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -172,7 +215,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -222,7 +265,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.Api20211130.IDedicatedHsm +### Microsoft.Azure.PowerShell.Cmdlets.DedicatedHsm.Models.IDedicatedHsm ## NOTES