Skip to content

Latest commit

 

History

History
110 lines (98 loc) · 5.6 KB

README.md

File metadata and controls

110 lines (98 loc) · 5.6 KB

back to Commands

om products

This authenticated command lists all products. Staged, available, and deployed are listed by default.

This command replaces the following commands:

  • available-products with products --available
  • staged-products with products --staged
  • deployed-products with products --deployed

Command Usage

Usage:
  om [OPTIONS] products [products-OPTIONS]

This authenticated command lists all products. Staged, available, and deployed
are listed by default.

Application Options:
      --ca-cert=               OpsManager CA certificate path or value
                               [$OM_CA_CERT]
  -c, --client-id=             Client ID for the Ops Manager VM (not required
                               for unauthenticated commands) [$OM_CLIENT_ID]
  -s, --client-secret=         Client Secret for the Ops Manager VM (not
                               required for unauthenticated commands)
                               [$OM_CLIENT_SECRET]
  -o, --connect-timeout=       timeout in seconds to make TCP connections
                               (default: 10) [$OM_CONNECT_TIMEOUT]
  -d, --decryption-passphrase= Passphrase to decrypt the installation if the
                               Ops Manager VM has been rebooted (optional for
                               most commands) [$OM_DECRYPTION_PASSPHRASE]
  -e, --env=                   env file with login credentials
  -p, --password=              admin password for the Ops Manager VM (not
                               required for unauthenticated commands)
                               [$OM_PASSWORD]
  -r, --request-timeout=       timeout in seconds for HTTP requests to Ops
                               Manager (default: 1800) [$OM_REQUEST_TIMEOUT]
  -k, --skip-ssl-validation    skip ssl certificate validation during http
                               requests [$OM_SKIP_SSL_VALIDATION]
  -t, --target=                location of the Ops Manager VM [$OM_TARGET]
      --trace                  prints HTTP requests and response payloads
                               [$OM_TRACE]
  -u, --username=              admin username for the Ops Manager VM (not
                               required for unauthenticated commands)
                               [$OM_USERNAME]
      --vars-env=              load vars from environment variables by
                               specifying a prefix (e.g.: 'MY' to load
                               MY_var=value) [$OM_VARS_ENV]
  -v, --version                prints the om release version

Help Options:
  -h, --help                   Show this help message

[products command options]
      -a, --available          Specify to include available products. Can be
                               used with other options.
      -s, --staged             Specify to include staged products. Can be used
                               with other options.
      -d, --deployed           Specify to deployed products. Can be used with
                               other options.
      -f, --format=            Format to print as (options: table,json)
                               (default: table)

Example output

$ om products
  +-----------------------------+-----------------+-----------------+-----------------+
  |            NAME             |    AVAILABLE    |     STAGED      |    DEPLOYED     |
  +-----------------------------+-----------------+-----------------+-----------------+
  | appMetrics                  | 2.0.6-dev.005   | 2.0.6-dev.005   | 2.0.6-dev.005   |
  | cf                          | 2.8.16          | 2.8.16          | 2.8.16          |
  | metric-store                | 1.4.4           | 1.4.4           | 1.4.4           |
  | p-bosh                      |                 | 2.8.2-build.203 | 2.8.2-build.203 |
  | p-event-alerts              | 1.2.9-build.1   | 1.2.9-build.1   | 1.2.9-build.1   |
  | p-healthwatch               | 1.8.3-build.3   | 1.8.3-build.3   | 1.8.2-build.1   |
  | p-healthwatch2              | 2.0.5-build.84  | 2.0.5-build.84  | 2.0.5-build.84  |
  | p-healthwatch2-pas-exporter | 2.0.5-build.84  | 2.0.5-build.84  | 2.0.5-build.84  |
  | p-isolation-segment         | 2.8.2           | 2.8.2           | 2.8.2           |
  | p-rabbitmq                  | 1.19.1-build.22 | 1.19.1-build.22 | 1.19.1-build.22 |
  | p-redis                     | 2.3.1-build.36  | 2.3.1-build.36  | 2.3.1-build.36  |
  | pivotal-mysql               | 2.8.0-build.111 | 2.8.0-build.111 | 2.8.0-build.111 |
  | pivotal-telemetry-om        | 1.0.1-build.2   | 1.0.1-build.2   | 1.0.1-build.2   |
  +-----------------------------+-----------------+-----------------+-----------------+
$ om products --deployed
  +-----------------------------+-----------------+
  |            NAME             |    DEPLOYED     |
  +-----------------------------+-----------------+
  | appMetrics                  | 2.0.6-dev.005   |
  | cf                          | 2.8.16          |
  | metric-store                | 1.4.4           |
  | p-bosh                      | 2.8.2-build.203 |
  | p-event-alerts              | 1.2.9-build.1   |
  | p-healthwatch               | 1.8.2-build.1   |
  | p-healthwatch2              | 2.0.5-build.84  |
  | p-healthwatch2-pas-exporter | 2.0.5-build.84  |
  | p-isolation-segment         | 2.8.2           |
  | p-rabbitmq                  | 1.19.1-build.22 |
  | p-redis                     | 2.3.1-build.36  |
  | pivotal-mysql               | 2.8.0-build.111 |
  | pivotal-telemetry-om        | 1.0.1-build.2   |
  +-----------------------------+-----------------+