show_proxy

Shows the details of a HTTP(S) proxy identified by the specified name. You can customize the details shown by using the -details option.

Syntax

emcli show_proxy 
   -name="<name>"
   [-details=<config | agents | both>]

[ ]  indicates that the parameter is optional.

Options

  • -name

    Name identifying the proxy.

  • -details

    Scope of the details to be shown. Valid values:

    • config - Proxy configuration only. (default)

    • agents - Management Agents associated with the proxy only.

    • both - Both proxy configuration and Management Agents associated with the proxy.

Examples

Example 1

The following command shows the configuration of the proxy identified by us-proxy-1.In this example, the "-details=config" option is implicit.

    emcli show_proxy
         -name="us-proxy-1"

Example 2

The following command shows a list of names of all Management Agents associated with the proxy identified by "us-proxy-1". Note that this list includes Management Agents which are associated with the proxy directly by their names as well as by their name patterns.

    emcli show_proxy
          -name="us-proxy-1"
          -details=agents