custom/autogen-model-cmdlets/New-NmeRunbookScriptedActionRunModel.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 RunbookScriptedActionRun. .Description Create an in-memory object for RunbookScriptedActionRun. .Outputs NmePowershell.Models.RunbookScriptedActionRun #> function New-NmeRunbookScriptedActionRunModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.RunbookScriptedActionRun')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter()] [int] $AdConfigId, [Parameter(Mandatory)] [int] $MinutesToWait, [Parameter(Mandatory, HelpMessage="Dictionary of <ScriptedActionParamBinding>.")] [NmePowershell.Models.IRunbookScriptedActionRunParamsBindings] $ParamsBindings, [Parameter(Mandatory)] [string] $SubscriptionId ) process { $Object = [NmePowershell.Models.RunbookScriptedActionRun]::New() if ($PSBoundParameters.ContainsKey('AdConfigId')) { $Object.AdConfigId = $AdConfigId } if ($PSBoundParameters.ContainsKey('MinutesToWait')) { $Object.MinutesToWait = $MinutesToWait } if ($PSBoundParameters.ContainsKey('ParamsBindings')) { $Object.ParamsBindings = $ParamsBindings } if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } return $Object } } |