This topic introduces three tools for running VMware Tanzu Operations Manager (Ops Manager) operations programmatically and from the command line, rather than from the Ops Manager UI: the Ops Manager API, the
om command-line interface (CLI), and Platform Automation tasks.
Ops Manager includes three related tools that let you run Ops Manager operations programmatically and from the command line, rather than from the Ops Manager UI:
The Ops Manager API. For more information, see the Ops Manager API documentation.
om command-line interface (CLI). For more information about
om, see the
Platform Automation tasks. For more information, see the Platform Automation documentation.
These three tools control the Ops Manager VM at different levels of abstraction. Platform operators and tile developers use them as described below.
For more information about tile development, see the Ops Manager Tile Developer Guide.
The Ops Manager API offers the most granular control of the Ops Manager VM, The API enables users to do the following:
Automate component-level testing of Ops Manager product tiles
Manage Ops Manager user accounts
Develop and debug product tiles
Access product property values that are not exposed in a product tile GUI
Otherwise control the Ops Manager VM directly, programmatically or manually, bypassing the Ops Manager UI. For more information about the Ops Manager interface, see Using the Ops Manager interface
For information about getting started with the Ops Manager API, see Access the Ops Manager API in Using the Ops Manager API.
Your Ops Manager serves a local copy of the complete Ops Manager API documentation at
The Ops Manager CLI,
om, calls the Ops Manager API to do the following:
For information, including how to install
om and a usage example, see Using the Ops Manager CLI.
Platform Automation tasks call the
om CLI to do the following:
For a complete list of Platform Automation tasks, see Concourse Tasks in the Platform Automation documentation.
The following table lists some common operations using the Ops Manager UI, Ops Manager API,
om CLI, and Platform Automation tasks, as examples of how different Ops Manager interfaces relate to one another.
For complete lists of operations, consult the references in the sections above.
|UI Action||API Command||
||Platform Automation (Beta) Task|
|Manually configure the BOSH Director tile||Multiple commands; see Configure the BOSH Director in Using the Ops Manager API.||
|Click IMPORT A PRODUCT||
|Click the + symbol next to a product listing left of Installation Dashboard||
|Manually configure a product tile||Multiple commands; see Configure a Product in Using the Ops Manager API.||
|Click STEMCELL LIBRARY > IMPORT STEMCELL||
|Click Apply Changes||