exported/New-SubnetObject.ps1
function New-SubnetObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string] ${AvailabilityZoneReferenceName}, [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string] ${AvailabilityZoneReferenceUuid}, [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string] ${ClusterReferenceName}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [string] ${ClusterReferenceUuid}, [Parameter(ParameterSetName='default', HelpMessage='A description for subnet.')] [string] ${Description}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='subnet Name.')] [string] ${Name}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='Subnet creation/modification spec.')] [Nutanix.Powershell.Models.ISubnetResources] ${Resources}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-SubnetObject', [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-SubnetObject .ForwardHelpCategory Cmdlet #> } |