Listing Instance Configurations
Get a list of the Compute instance configurations in a Oracle Cloud Infrastructure compartment.
Open the navigation menu and select Compute. Under Compute, select Instance Configurations.
The Instance Configurations list page opens. All existing instance configurations in the selected compartment are displayed in a list table.
To view the resources in a different compartment, use the Compartment filter to switch compartments.
Note
You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.
Optionally, you can do the following with an instance from the list.
- Select an instance configuration to view the details page.
- Select the Actions menu on the instance configuration. From there you can view details, create an instance pool, or delete the instance configuration.
Use the instance list command and required parameters to list instances:
oci compute instance list --from-json <file://path/to/file.json>
<file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.
For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Use this API operation to list instances: