Getting Profiles

This section describes how to get profiles.

Note

The Console function is not available for this task. It can be performed only with the CLI or API.

Using the CLI

Use the oci optimizer profile get command to get a specified profile.

oci optimizer profile get --profile-id <profile_ocid>

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

Using the API

Use the GetProfile operation to get a specified profile.