| { |
| "launchConfiguration": { |
| "args": { |
| "loadBalancers": [ |
| { |
| "port": 8080, |
| "loadBalancerId": 9099 |
| } |
| ], |
| "server": { |
| "name": "autoscale_server", |
| "imageRef": "0d589460-f177-4b0f-81c1-8ab8903ac7d8", |
| "flavorRef": "2", |
| "OS-DCF:diskConfig": "AUTO", |
| "metadata": { |
| "build_config": "core", |
| "meta_key_1": "meta_value_1", |
| "meta_key_2": "meta_value_2" |
| }, |
| "networks": [ |
| { |
| "uuid": "11111111-1111-1111-1111-111111111111" |
| }, |
| { |
| "uuid": "00000000-0000-0000-0000-000000000000" |
| } |
| ], |
| "personality": [ |
| { |
| "path": "/root/.csivh", |
| "contents": "VGhpcyBpcyBhIHRlc3QgZmlsZS4=" |
| } |
| ] |
| } |
| }, |
| "type": "launch_server" |
| }, |
| "groupConfiguration": { |
| "maxEntities": 10, |
| "cooldown": 360, |
| "name": "testscalinggroup198547", |
| "minEntities": 0, |
| "metadata": { |
| "gc_meta_key_2": "gc_meta_value_2", |
| "gc_meta_key_1": "gc_meta_value_1" |
| } |
| }, |
| "scalingPolicies": [ |
| { |
| "cooldown": 0, |
| "type": "webhook", |
| "name": "scale up by 1", |
| "change": 1 |
| } |
| ] |
| } |