exported/Get-CategoryKey.ps1

function Get-CategoryKey {
[CmdletBinding(DefaultParameterSetName='CategoryKeyNameEtc')]
param(
    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='SendAsync Pipeline Steps to be appended to the front of the pipeline')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='SendAsync Pipeline Steps to be appended to the front of the pipeline')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='SendAsync Pipeline Steps to be appended to the front of the pipeline')]
    [ValidateNotNull()]
    [Microsoft.Rest.ClientRuntime.SendAsyncStep[]]
    ${HttpPipelineAppend},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='SendAsync Pipeline Steps to be prepended to the front of the pipeline')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='SendAsync Pipeline Steps to be prepended to the front of the pipeline')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='SendAsync Pipeline Steps to be prepended to the front of the pipeline')]
    [ValidateNotNull()]
    [Microsoft.Rest.ClientRuntime.SendAsyncStep[]]
    ${HttpPipelinePrepend},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')]
    [string]
    ${Name},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='The URI for the proxy server to use')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The URI for the proxy server to use')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The URI for the proxy server to use')]
    [uri]
    ${Proxy},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='Credentials for a proxy server to use for the remote call')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='Credentials for a proxy server to use for the remote call')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='Credentials for a proxy server to use for the remote call')]
    [ValidateNotNull()]
    [pscredential]
    ${ProxyCredential},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='Use the default credentials for the proxy')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='Use the default credentials for the proxy')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='Use the default credentials for the proxy')]
    [switch]
    ${ProxyUseDefaultCredentials},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='The Username for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Username for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The Username for authentication')]
    [string]
    ${Username},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='The Password for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Password for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The Password for authentication')]
    [securestring]
    ${Password},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='Skip the ssl validation')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='Skip the ssl validation')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='Skip the ssl validation')]
    [switch]
    ${SkipSSL},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='A PSCredental with username and password')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='A PSCredental with username and password')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='A PSCredental with username and password')]
    [ValidateNotNull()]
    [Nutanix.Powershell.Models.NutanixCredential]
    ${Credential},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='The Username for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Username for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The Username for authentication')]
    [string]
    ${Server},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='The Username for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Username for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The Username for authentication')]
    [string]
    ${Port},

    [Parameter(ParameterSetName='CategoryKeyNameEtc', HelpMessage='The Username for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', HelpMessage='The Username for authentication')]
    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The Username for authentication')]
    [string]
    ${Protocol},

    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', 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='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The filter in FIQL syntax used for the results.')]
    [string]
    ${Filter},

    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The number of records to retrieve relative to the offset')]
    [int]
    ${Length},

    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='Offset from the start of the entity list')]
    [int]
    ${Offset},

    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The attribute to perform sort on')]
    [string]
    ${SortAttribute},

    [Parameter(ParameterSetName='CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', HelpMessage='The sort order in which results are returned')]
    [string]
    ${SortOrder})

begin
{
  switch ($PsCmdlet.ParameterSetName) { 

  'CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded' {

    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer))
        {
            $PSBoundParameters['OutBuffer'] = 1
        }

        $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\Get-CategoryKey_CategoryKeysFilterKindLengthOffsetSortAttributeSortOrderExpanded', [System.Management.Automation.CommandTypes]::Cmdlet)
        $scriptCmd = {& $wrappedCmd @PSBoundParameters }

        $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin)
        $steppablePipeline.Begin($PSCmdlet)
    } catch {
        throw
    }

}

  'CategoryKeyNameEtc' {

    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer))
        {
            $PSBoundParameters['OutBuffer'] = 1
        }

        $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\Get-CategoryKey_CategoryKeyNameEtc', [System.Management.Automation.CommandTypes]::Cmdlet)
        $scriptCmd = {& $wrappedCmd @PSBoundParameters }

        $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin)
        $steppablePipeline.Begin($PSCmdlet)
    } catch {
        throw
    }

}

  'CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder' {

    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer))
        {
            $PSBoundParameters['OutBuffer'] = 1
        }

        $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\Get-CategoryKey_CategoryKeysFilterKindLengthOffsetSortAttributeSortOrder', [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-CategoryKey_CategoryKeyNameEtc', [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-CategoryKey_CategoryKeyNameEtc
.ForwardHelpCategory Cmdlet

#>


}