custom/autogen-model-cmdlets/New-NmeAutoScaleUpdateModel.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 AutoScaleUpdate. .Description Create an in-memory object for AutoScaleUpdate. .Outputs NmePowershell.Models.AutoScaleUpdate #> function New-NmeAutoScaleUpdateModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.AutoScaleUpdate')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(Mandatory)] [bool] $IsEnabled ) process { $Object = [NmePowershell.Models.AutoScaleUpdate]::New() if ($PSBoundParameters.ContainsKey('IsEnabled')) { $Object.IsEnabled = $IsEnabled } return $Object } } |