custom/autogen-model-cmdlets/New-NmeAutoHealActionModel.ps1
|
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.8, generator: @autorest/powershell@4.0.752) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Create an in-memory object for AutoHealAction. .Description Create an in-memory object for AutoHealAction. .Outputs NmePowershell.Models.AutoHealAction #> function New-NmeAutoHealActionModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.AutoHealAction')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter()] [int] $ScriptedActionId, [Parameter(Mandatory)] [NmePowershell.PSArgumentCompleterAttribute("RestartVm", "ScriptedAction", "RemoveVm")] [string] $Type ) process { $Object = [NmePowershell.Models.AutoHealAction]::New() if ($PSBoundParameters.ContainsKey('ScriptedActionId')) { $Object.ScriptedActionId = $ScriptedActionId } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } return $Object } } |