exported/New-ClusterResourcesObject.ps1
function New-ClusterResourcesObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='Cluster Configuration.')] [Nutanix.Powershell.Models.IClusterConfigSpec] ${Config}, [Parameter(ParameterSetName='default', HelpMessage='Cluster network.')] [Nutanix.Powershell.Models.IClusterNetwork] ${Network}, [Parameter(ParameterSetName='default', HelpMessage='Cluster onging operations.')] [string[]] ${RuntimeStatusList}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-ClusterResourcesObject', [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters } $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } <# .ForwardHelpTargetName Nutanix.private\New-ClusterResourcesObject .ForwardHelpCategory Cmdlet #> } |