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

# Show Upstream

# usage

Usage: oredge upstream show [id] [OPTIONS]

OPTIONS:
    --id integer                       id.
    --global                           show a global upstream, no argument.
    --http                             show a http upstream, no argument.
    --tcp                              show a tcp upstream, no argument.
    --sni-proxy                        show a sni-proxy upstream, no argument.

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

# example

  1. show global upstream.
# ./oredge upstream show 14 --global
ID                : 14
NAME              : test
CREATOR           : 1
DISABLE SSL VERIFY: false
CREATE TIME       : 2021-05-18 05:20:12
MODIFY TIME       : 2021-05-18 06:52:59
  1. show http upstream.

# oredge upstream show 892-1729 --http
ID                : 1729
NAME              : testa
CREATOR           : 2
DISABLE SSL VERIFY: false
CREATE TIME       : 2021-07-15 06:49:38
MODIFY TIME       : 2021-07-15 06:49:38