# List Upstream

# usage

Usage: oredge upstream list [OPTIONS]

OPTIONS:
    --page integer                     page, 1(default).
    --page-size integer                page size, 20(default).
    --global                           list a global upstream, no argument.
    --http integer                     list a http application upstream, http application id.
    --sni-proxy integer                list a sni-proxy application upstream, sni-proxy id.
    --tcp integer                      list a tcp application upstream, tcp id.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. list global upstream.
# oredge upstream list --global
ID    NAME        CREATOR    DISABLE SSL VERIFY    CREATE TIME            MODIFY TIME        
14    test        1          true                  2021-05-18 05:20:12    2021-05-18 06:52:59
18    test1       1          true                  2021-05-25 03:58:54    2021-05-25 03:58:54