private/Functions/Axis/Get-AxisRecordingStorage.ps1

#https://$($ip)/stw-cgi/recording.cgi?msubmenu=storage&action=set&Enable=True&OverWrite=True&AutoDeleteEnable=True&AutoDeleteDays=90

Function Get-AxisRecordingStorage {
    [cmdletBinding()]
    Param(
        [Parameter()]
        [hashtable]$Object
    )
    
    <#
    Object Definition:
    @{
        IP = [String(Mandatory)]
        Credential = [PSCredential(Mandatory)]
    }
    #>


    #Set basic Paramters for Invoke-AxisCommand
    $CamCmd = @{
        Arguments = @{
            IP = $Object.IP
            Menu = 'recording'
            SubMenu = 'storage'
            Action = 'view'
            Parameters = @()
        }
        Credential = $Object.Credential
    }

    return Invoke-AxisCommand @CamCmd
}