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