query IpAddressPage(
    $type: IpAddressTypeEnum,
    $search: String,
    $page: Int,
    $itemsPerPage: Int,
    $orderBy: IpAddressListSort
) {
    server {
        firewall {
            isEnabled
        }
        ipAddresses(
            input: {
                pagination: { page: $page, itemsPerPage: $itemsPerPage },
                searchFilters: { type: $type, ipAddress: $search },
                orderBy: $orderBy
            }
        ) {
            nodes {
                id
                ipAddress
                publicIpAddress
                interface
                mask
                type
                isBlacklisted
                isMain
                isBroken
                isMissing
                subscriptionsCount
                resellersCount
                ftpOverSSL
            }
            pageInfo {
                total
            }
            sortInfo {
                sortColumn
                sortDirection
            }
            hasPublicIp
            canReloadPublic
        }
    }
    mode {
        isDemo
        isPowerUserPanel
        canManageResellers
    }
    serverInfo {
        isVirtuozzo
    }
}
