Creates a new autoscaling policy Added in 7.11.0
Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
Path parameters
-
the name of the autoscaling policy
PUT /_autoscaling/policy/{name}
curl \
-X PUT http://api.example.com/_autoscaling/policy/{name} \
-H "Content-Type: application/json" \
-d '{"roles":["string"],"deciders":{"additionalProperty1":{},"additionalProperty2":{}}}'
Request examples
{
"roles": [
"string"
],
"deciders": {
"additionalProperty1": {},
"additionalProperty2": {}
}
}
Response examples (200)
{
"acknowledged": true
}