exported/Get-CategoryValue.ps1
function Get-CategoryValue { [CmdletBinding(DefaultParameterSetName='CategoryValueNameValueEtc')] param( [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='SendAsync Pipeline Steps to be appended to the front of the pipeline')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='SendAsync Pipeline Steps to be appended to the front of the pipeline')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='SendAsync Pipeline Steps to be appended to the front of the pipeline')] [ValidateNotNull()] [Microsoft.Rest.ClientRuntime.SendAsyncStep[]] ${HttpPipelineAppend}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='SendAsync Pipeline Steps to be prepended to the front of the pipeline')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='SendAsync Pipeline Steps to be prepended to the front of the pipeline')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='SendAsync Pipeline Steps to be prepended to the front of the pipeline')] [ValidateNotNull()] [Microsoft.Rest.ClientRuntime.SendAsyncStep[]] ${HttpPipelinePrepend}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [string] ${Name}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='The URI for the proxy server to use')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The URI for the proxy server to use')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The URI for the proxy server to use')] [uri] ${Proxy}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='Credentials for a proxy server to use for the remote call')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='Credentials for a proxy server to use for the remote call')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='Credentials for a proxy server to use for the remote call')] [ValidateNotNull()] [pscredential] ${ProxyCredential}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='Use the default credentials for the proxy')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='Use the default credentials for the proxy')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='Use the default credentials for the proxy')] [switch] ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [string] ${Value}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='The Username for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Username for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The Username for authentication')] [string] ${Username}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='The Password for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Password for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The Password for authentication')] [securestring] ${Password}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='Skip the ssl validation')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='Skip the ssl validation')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='Skip the ssl validation')] [switch] ${SkipSSL}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='A PSCredental with username and password')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='A PSCredental with username and password')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='A PSCredental with username and password')] [ValidateNotNull()] [Nutanix.Powershell.Models.NutanixCredential] ${Credential}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='The Username for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Username for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The Username for authentication')] [string] ${Server}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='The Username for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Username for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The Username for authentication')] [string] ${Port}, [Parameter(ParameterSetName='CategoryValueNameValueEtc', HelpMessage='The Username for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Username for authentication')] [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The Username for authentication')] [string] ${Protocol}, [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', Mandatory=$true, ValueFromPipeline=$true, HelpMessage='All api calls that return a list will have this metadata block as input ')] [Nutanix.Powershell.Models.ICategoryListMetadata] ${GetEntitiesRequest}, [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The filter in FIQL syntax used for the results.')] [string] ${Filter}, [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The number of records to retrieve relative to the offset')] [int] ${Length}, [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='Offset from the start of the entity list')] [int] ${Offset}, [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The attribute to perform sort on')] [string] ${SortAttribute}, [Parameter(ParameterSetName='CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', HelpMessage='The sort order in which results are returned')] [string] ${SortOrder}) begin { switch ($PsCmdlet.ParameterSetName) { 'CategoryValueNameValueEtc' { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\Get-CategoryValue_CategoryValueNameValueEtc', [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters } $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } 'CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder' { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\Get-CategoryValue_CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrder', [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters } $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } 'CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc' { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\Get-CategoryValue_CategoryValuesNameFilterKindLengthOffsetSortAttributeSortOrderEtc', [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters } $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } default { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\Get-CategoryValue_CategoryValueNameValueEtc', [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\Get-CategoryValue_CategoryValueNameValueEtc .ForwardHelpCategory Cmdlet #> } |