environment_scale
Scale one Service of an Environment by name, such as web to 3, within the Location's capacity limit.
Scale one Service of an Environment by name, such as web to 3, within the Location’s capacity limit. Returns the Activity; follow it with activity_wait.
| Access | Consequential change; requires confirmation |
| Same as | blossom environment:scale |
Arguments
| Argument | Type | Description |
|---|---|---|
yes |
boolean | true once the person confirms. |
id |
string | Environment id. Required. |
service |
string | Service name or id; optional when the Environment has one Service. |
desired_size |
integer | Number of Containers. Required. |
Example
{"id":"environment-100","desired_size":1}