Getting Categories
This section explains how to get categories.
Note
You can use the only the CLI or API to complete this task.
You can use the only the CLI or API to complete this task.
Using the CLI
Use the oci optimizer category get command to list categories.
oci optimizer category get --category-id <category_OCID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Using the API
Use the GetCategory operation to get category metadata.