J81.NSToolkit.Stats/Public/ns-functions-stats-protocol.ps1

function Invoke-NSGetProtocolhttpStats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for HTTP resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolhttp object(s).
    .PARAMETER Count
        If specified, the count of the protocolhttp object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttpStats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttpStats -GetAll
        Get all protocolhttp data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttpStats -name <string>
        Get protocolhttp object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttpStats -Filter @{ 'name'='<value>' }
        Get protocolhttp data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolhttpStats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolhttp/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolhttpStats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolhttp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolhttp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolhttp objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolhttp configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolhttp configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolhttpStats: Ended"
    }
}

function Invoke-NSGetProtocolhttp2Stats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for http2 resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolhttp2 object(s).
    .PARAMETER Count
        If specified, the count of the protocolhttp2 object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttp2Stats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttp2Stats -GetAll
        Get all protocolhttp2 data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttp2Stats -name <string>
        Get protocolhttp2 object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttp2Stats -Filter @{ 'name'='<value>' }
        Get protocolhttp2 data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolhttp2Stats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolhttp2/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolhttp2Stats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolhttp2 objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp2 -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolhttp2 objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp2 -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolhttp2 objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp2 -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolhttp2 configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolhttp2 configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp2 -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolhttp2Stats: Ended"
    }
}

function Invoke-NSGetProtocolhttp3Stats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for http3 resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolhttp3 object(s).
    .PARAMETER Count
        If specified, the count of the protocolhttp3 object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttp3Stats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttp3Stats -GetAll
        Get all protocolhttp3 data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttp3Stats -name <string>
        Get protocolhttp3 object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolhttp3Stats -Filter @{ 'name'='<value>' }
        Get protocolhttp3 data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolhttp3Stats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolhttp3/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolhttp3Stats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolhttp3 objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp3 -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolhttp3 objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp3 -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolhttp3 objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp3 -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolhttp3 configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolhttp3 configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolhttp3 -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolhttp3Stats: Ended"
    }
}

function Invoke-NSGetProtocolicmpStats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for icmp resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolicmp object(s).
    .PARAMETER Count
        If specified, the count of the protocolicmp object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolicmpStats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolicmpStats -GetAll
        Get all protocolicmp data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolicmpStats -name <string>
        Get protocolicmp object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolicmpStats -Filter @{ 'name'='<value>' }
        Get protocolicmp data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolicmpStats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolicmp/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolicmpStats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolicmp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolicmp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolicmp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolicmp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolicmp objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolicmp -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolicmp configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolicmp configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolicmp -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolicmpStats: Ended"
    }
}

function Invoke-NSGetProtocolicmpv6Stats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for icmpv6 resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolicmpv6 object(s).
    .PARAMETER Count
        If specified, the count of the protocolicmpv6 object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolicmpv6Stats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolicmpv6Stats -GetAll
        Get all protocolicmpv6 data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolicmpv6Stats -name <string>
        Get protocolicmpv6 object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolicmpv6Stats -Filter @{ 'name'='<value>' }
        Get protocolicmpv6 data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolicmpv6Stats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolicmpv6/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolicmpv6Stats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolicmpv6 objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolicmpv6 -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolicmpv6 objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolicmpv6 -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolicmpv6 objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolicmpv6 -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolicmpv6 configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolicmpv6 configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolicmpv6 -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolicmpv6Stats: Ended"
    }
}

function Invoke-NSGetProtocolipStats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for protocolip resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolip object(s).
    .PARAMETER Count
        If specified, the count of the protocolip object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolipStats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolipStats -GetAll
        Get all protocolip data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolipStats -name <string>
        Get protocolip object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolipStats -Filter @{ 'name'='<value>' }
        Get protocolip data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolipStats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolip/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolipStats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolip objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolip -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolip objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolip -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolip objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolip -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolip configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolip configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolip -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolipStats: Ended"
    }
}

function Invoke-NSGetProtocolipv6Stats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for ip v6 resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolipv6 object(s).
    .PARAMETER Count
        If specified, the count of the protocolipv6 object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolipv6Stats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolipv6Stats -GetAll
        Get all protocolipv6 data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolipv6Stats -name <string>
        Get protocolipv6 object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolipv6Stats -Filter @{ 'name'='<value>' }
        Get protocolipv6 data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolipv6Stats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolipv6/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolipv6Stats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolipv6 objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolipv6 -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolipv6 objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolipv6 -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolipv6 objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolipv6 -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolipv6 configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolipv6 configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolipv6 -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolipv6Stats: Ended"
    }
}

function Invoke-NSGetProtocolmptcpStats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for mptcp protocol resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolmptcp object(s).
    .PARAMETER Count
        If specified, the count of the protocolmptcp object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolmptcpStats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolmptcpStats -GetAll
        Get all protocolmptcp data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolmptcpStats -name <string>
        Get protocolmptcp object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolmptcpStats -Filter @{ 'name'='<value>' }
        Get protocolmptcp data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolmptcpStats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolmptcp/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolmptcpStats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolmptcp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolmptcp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolmptcp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolmptcp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolmptcp objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolmptcp -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolmptcp configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolmptcp configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolmptcp -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolmptcpStats: Ended"
    }
}

function Invoke-NSGetProtocolquicStats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for QUIC protocol resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolquic object(s).
    .PARAMETER Count
        If specified, the count of the protocolquic object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolquicStats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolquicStats -GetAll
        Get all protocolquic data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolquicStats -name <string>
        Get protocolquic object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolquicStats -Filter @{ 'name'='<value>' }
        Get protocolquic data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolquicStats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolquic/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolquicStats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolquic objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolquic -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolquic objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolquic -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolquic objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolquic -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolquic configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolquic configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolquic -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolquicStats: Ended"
    }
}

function Invoke-NSGetProtocolquicbridgeStats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for QUIC Bridge protocol resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocolquicbridge object(s).
    .PARAMETER Count
        If specified, the count of the protocolquicbridge object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolquicbridgeStats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolquicbridgeStats -GetAll
        Get all protocolquicbridge data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolquicbridgeStats -name <string>
        Get protocolquicbridge object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocolquicbridgeStats -Filter @{ 'name'='<value>' }
        Get protocolquicbridge data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocolquicbridgeStats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocolquicbridge/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocolquicbridgeStats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocolquicbridge objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolquicbridge -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocolquicbridge objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolquicbridge -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocolquicbridge objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolquicbridge -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocolquicbridge configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocolquicbridge configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocolquicbridge -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocolquicbridgeStats: Ended"
    }
}

function Invoke-NSGetProtocoltcpStats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for tcp protocol resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocoltcp object(s).
    .PARAMETER Count
        If specified, the count of the protocoltcp object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocoltcpStats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocoltcpStats -GetAll
        Get all protocoltcp data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocoltcpStats -name <string>
        Get protocoltcp object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocoltcpStats -Filter @{ 'name'='<value>' }
        Get protocoltcp data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocoltcpStats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocoltcp/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocoltcpStats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocoltcp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocoltcp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocoltcp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocoltcp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocoltcp objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocoltcp -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocoltcp configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocoltcp configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocoltcp -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocoltcpStats: Ended"
    }
}

function Invoke-NSGetProtocoludpStats {
    <#
    .SYNOPSIS
        Get Protocol statistics. stats object(s).
    .DESCRIPTION
        Statistics for UDP Protocol resource.
    .PARAMETER Clearstats
        Clear the statsistics / counters.
        Possible values = basic, full
    .PARAMETER GetAll
        Retrieve all protocoludp object(s).
    .PARAMETER Count
        If specified, the count of the protocoludp object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocoludpStats
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocoludpStats -GetAll
        Get all protocoludp data.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocoludpStats -name <string>
        Get protocoludp object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetProtocoludpStats -Filter @{ 'name'='<value>' }
        Get protocoludp data with a filter.
    .NOTES
        File Name : Invoke-NSGetProtocoludpStats
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/statistics/protocol/protocoludp/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('basic', 'full')]
        [string]$Clearstats,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetProtocoludpStats: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all protocoludp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocoludp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for protocoludp objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocoludp -NitroPath nitro/v1/stat -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving protocoludp objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('detail') ) { $arguments.Add('detail', $detail) } 
                if ( $PSBoundParameters.ContainsKey('fullvalues') ) { $arguments.Add('fullvalues', $fullvalues) } 
                if ( $PSBoundParameters.ContainsKey('ntimes') ) { $arguments.Add('ntimes', $ntimes) } 
                if ( $PSBoundParameters.ContainsKey('logfile') ) { $arguments.Add('logfile', $logfile) } 
                if ( $PSBoundParameters.ContainsKey('clearstats') ) { $arguments.Add('clearstats', $clearstats) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocoludp -NitroPath nitro/v1/stat -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving protocoludp configuration for property ''"

            } else {
                Write-Verbose "Retrieving protocoludp configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type protocoludp -NitroPath nitro/v1/stat -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetProtocoludpStats: Ended"
    }
}

# SIG # Begin signature block
# MIIkmgYJKoZIhvcNAQcCoIIkizCCJIcCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCB0L6icAhB91iy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