Creating Profiles

This section describes how to create 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 create command to create profiles.

oci optimizer profile create --compartment-id <compartment_ocid> --description <text> --levels-configuration <file://path/to/file>  --name <text>

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

Using the API

Use the CreateProfile operation to create profiles.