CenturyLinkCloud / clc-java-sdk

Apache License 2.0
6 stars 4 forks source link

Add support of vertical scaling policy to create server command #171

Closed idrabenia closed 9 years ago

idrabenia commented 9 years ago

_As SDK user I want to have possibilities to provide vertical scaling policy at create server command_

Proposed syntax for this possibility is

.machine(new Machine()
    .cpuCount(1)
    .ram(3)
    .disk(new DiskConfig()
        .type(DiskType.RAW)
        .size(14)
    )
    .autoscalePolicy(refByName("Policy1"))
)