ionos-cloud / ionosctl

The IONOS Cloud CLI (ionosctl) gives the ability to manage IONOS Cloud infrastructure directly from Command Line.
Apache License 2.0
30 stars 6 forks source link

feat: add support for VM-Autoscaling API #398

Closed avirtopeanu-ionos closed 10 months ago

avirtopeanu-ionos commented 1 year ago

Adds vm-autoscaling namespace with commands relating to VM-Autoscaling API. For Group creation / put, --json-properties must be used.

Added functionality:

 % 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
sonarcloud[bot] commented 10 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
0.0% Coverage on New Code
19.2% Duplication on New Code

See analysis details on SonarCloud