Querying Supported Resource Actions

This section describes Query Cloud Advisor resource actions that are supported by the specified recommendation.

Note

There is no Console function for this task. It can be performed only with the CLI of API.

Using the CLI

Use the oci optimizer resource-action-summary filter-resource-actions command to query Cloud Advisor resource actions that are supported by the specified recommendation.

oci optimizer resource-action-summary filter-resource-actions --compartment-id <compartment_ocid> --recommendation-id <recommendation_ocid>

For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

Using the API

Use the FilterResourceActions operation to query Cloud Advisor resource actions that are supported by the specified recommendation.