custom/autogen-model-cmdlets/New-NmeAutoScaleAdObjectModel.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 AutoScaleAdObject. .Description Create an in-memory object for AutoScaleAdObject. .Outputs NmePowershell.Models.AutoScaleAdObject #> function New-NmeAutoScaleAdObjectModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.AutoScaleAdObject')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(Mandatory)] [string] $ObjectId, [Parameter(Mandatory)] [NmePowershell.PSArgumentCompleterAttribute("User", "Group")] [string] $ObjectType ) process { $Object = [NmePowershell.Models.AutoScaleAdObject]::New() if ($PSBoundParameters.ContainsKey('ObjectId')) { $Object.ObjectId = $ObjectId } if ($PSBoundParameters.ContainsKey('ObjectType')) { $Object.ObjectType = $ObjectType } return $Object } } |