Updating a Schedule-Based Autoscaling Policy
On Compute Cloud@Customer, you can update a autoscaling policy display name, either the target pool size or the lifecycle action, and the execution schedule. You can also enable or disable the policy.
-
In the Compute Cloud@Customer Console navigation menu, click Compute, then click Autoscaling Configurations.
- At the top of the page, select the compartment that contains the configuration for which you want to update a policy.
-
Click the name of the autoscaling configuration for which you want to update a policy.
- Under Resources, click Autoscaling Policies.
-
For the policy that you want to update, click the Actions menu (
) and then click Edit.
-
In the Update Policy dialog box, change the policy information.
-
Click Submit.
-
Use the oci autoscaling policy update command and required parameters to update an autoscaling policy in the specified autoscaling configuration.
oci autoscaling policy update --auto-scaling-configuration-id <autoscaling_config_OCID> --auto-scaling-policy-id <policy_OCID> --policy-type <policy_type> [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
See the AutoScalingPolicy Reference for API operations that define the criteria that trigger autoscaling actions and the actions to take.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.