CenturyLinkCloud / clc-java-sdk

Apache License 2.0
6 stars 4 forks source link

Add support of autoscale policy to modify command #173

Closed idrabenia closed 9 years ago

idrabenia commented 9 years ago

_As SDK user I want to have possibilities to modify autoscale policy against with other server settings by single API call_

Proposed syntax is

serverService
    .modify(
        ...
        .machine(new Machine()
            .cpu(4)
            .ram(16)
            .autoscalePolicy("Policy1")
        )
        ...
    );