Adds vm-autoscaling namespace with commands relating to VM-Autoscaling API. For Group creation / put, --json-properties must be used.
Added functionality:
The user can find his current replica count if using a --depth of at least 2. This is done by retrieving the length of the entities.servers slice returned by the API.
% i vm-autoscaling group list --depth 2
GroupId DatacenterId Name MinReplicas Replicas MaxReplicas Location State
0200ab79-9d95-4559-9447-6b8d30984259 6c3b8940-311a-447e-9335-8f909fa83d55 AutoScaling-Group1 1 1 10 de/txl AVAILABLE
% i vm-autoscaling group list --depth 1
GroupId DatacenterId Name MinReplicas MaxReplicas Location State
0200ab79-9d95-4559-9447-6b8d30984259 6c3b8940-311a-447e-9335-8f909fa83d55 AutoScaling-Group1 1 10 de/txl AVAILABLE
vm-autoscaling server list will query CloudAPI to retrieve server information, as this isn't returned by the API
Adds
vm-autoscaling
namespace with commands relating to VM-Autoscaling API. For Group creation / put,--json-properties
must be used.Added functionality:
--depth
of at least 2. This is done by retrieving the length of theentities.servers
slice returned by the API.vm-autoscaling server list
will query CloudAPI to retrieve server information, as this isn't returned by the API