Estimated Reading Time: 1 minutes|Last Updated: 11/3/2021, 10:50:40 AM

# 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.
    --json                             print json format.
    --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
  1. list a http upstream list.
# bin/oredge upstream list --http 892
ID          NAME     CREATOR    DISABLE SSL VERIFY    CREATE TIME            MODIFY TIME        
892-1729    testa    2          true                  2021-07-15 06:49:38    2021-07-15 06:49:38