This is the command euscale-put-scaling-policy that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
euscale-put-scaling-policy - Create or update an auto-scaling group's scaling policy
SYNOPSIS
euscale-put-scaling-policy -g ASGROUP -a SCALE -t
{ChangeInCapacity,ExactCapacity,PercentChangeInCapacity} [--cooldown SECONDS] [-s PERCENT]
[--region USER@REGION | -U URL] [-I KEY_ID] [-S KEY] [--debug] [--debugger] [--version]
[-h] POLICY
DESCRIPTION
Create or update an auto-scaling group's scaling policy
positional arguments:
POLICY name of the policy to create or update (required)
optional arguments:
-g ASGROUP, --auto-scaling-group ASGROUP
name of the auto-scaling group the policy is associated with (required)
-a SCALE, --adjustment SCALE
amount to scale the group's capacity of the group. Use a negative value, as in
"--adjustment=-1", to decrease capacity. (required)
-t {ChangeInCapacity,ExactCapacity,PercentChangeInCapacity}, --type
{ChangeInCapacity,ExactCapacity,PercentChangeInCapacity}
whether the adjustment is the new desired size or an increment to the group's
current capacity. An increment can either be a fixed number or a percentage of
current capacity. (required)
--cooldown SECONDS
waiting period after successful auto-scaling activities during which later
auto-scaling activities will not execute
-s PERCENT, --min-adjustment-step PERCENT
for a PercentChangeInCapacity type policy, guarantee that this policy will change
the group's desired capacity by at least this much
--region USER@REGION
name of the region and/or user in config files to use to connect to the service
-U URL, --url URL
auto-scaling service endpoint URL
-I KEY_ID, --access-key-id KEY_ID
-S KEY, --secret-key KEY
--debug
show debugging output
--debugger
launch interactive debugger on error
--version
show the program's version and exit
-h, --help
show this help message and exit
Use euscale-put-scaling-policy online using onworks.net services