Editing a Metric-based Autoscaling Configuration
To edit a metric-based autoscaling configuration, see the following steps.
Navigate to the Autoscaling configurations list page. If you need help finding the list page, see Listing Autoscaling Configurations.
Edit name and cooldown
- Select an autoscaling configuration.
- Select Edit. You can edit Name and Cooldown in seconds.
- Select Update to save changes.
Edit autoscaling policies
To edit autoscaling policies for this configuration:
- Select an autoscaling configuration.
- Select the Autoscaling polices tab.
- From the Actions menu (three dots) for the policy select Edit.
- Make your updates. Avoid entering confidential information.
See Creating a Metric-based Autoscaling Configuration for a list of fields.
- Select Update to save changes.
Use the
autoscaling configuration update
command and required parameters to edit an autoscaling configuration:oci autoscaling configuration update --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 edit an autoscaling configuration: