Download OpenAPI specification:Download
The VM Auto Scaling Service enables IONOS clients to horizontally scale the number of VM replicas based on configured rules. You can use VM Auto Scaling to ensure that you have a sufficient number of replicas to handle your application loads at all times.
For this purpose, create a VM Auto Scaling Group that contains the server replicas. The VM Auto Scaling Service ensures that the number of replicas in the group is always within the defined limits.
When scaling policies are set, VM Auto Scaling creates or deletes replicas according to the requirements of your applications. For each policy, specified 'scale-in' and 'scale-out' actions are performed when the corresponding thresholds are reached.
A VM Auto Scaling Group (ASG) manages a group of VMs by changing the number of replicas based on metrics configured by the customer.
Note the limits for the maximum number of groups, the maximum number of servers and the minimum delta between the 'scale-in' and 'scale-out' thresholds.
This process is limited to the contract owner, administrator and users with access rights to the data center hosting the VM Auto Scaling Group.
Lists all VM Auto Scaling Groups of your account.
depth | number Default: "0" With this parameter, you control the level of detail of the response objects:
|
orderBy | string Default: "createdDate" Use this parameter to specify by which the returned list should be sorted. Valid values are: |
{- "id": "string",
- "type": "groups",
- "items": [
- {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036",
- "type": "autoscaling-group",
- "metadata": {
- "createdBy": "user@mail.local",
- "createdByUserId": "919e4752-e700-40b1-9507-5ac545bb6355",
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedBy": "user@mail.local",
- "lastModifiedByUserId": "919e4752-e700-40b1-9507-5ac545bb6355",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenter": {
- "id": "09043280-aafc-49f7-a048-d61673f52024",
- "type": "datacenter",
}, - "location": "de/txl",
- "maxReplicaCount": 10,
- "minReplicaCount": 1,
- "name": "VM Auto Scaling Group 1",
- "policy": {
- "metric": "INSTANCE_CPU_UTILIZATION_AVERAGE",
- "range": "P1D",
- "scaleInAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m",
- "terminationPolicy": "OLDEST_SERVER_FIRST",
- "deleteVolumes": "true"
}, - "scaleInThreshold": 33,
- "scaleOutAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m"
}, - "scaleOutThreshold": 77,
- "unit": "PER_MINUTE"
}, - "replicaConfiguration": {
- "availabilityZone": "AUTO",
- "cores": 2,
- "cpuFamily": "INTEL_SKYLAKE",
- "nics": [
- {
- "lan": 1,
- "name": "LAN NIC 1",
- "dhcp": "true",
- "firewallActive": "true",
- "firewallType": "INGRESS",
- "flowLogs": [
- {
- "name": "flow-log",
- "action": "ACCEPTED",
- "direction": "EGRESS",
- "bucket": "bucketName/key"
}
], - "firewallRules": [
- {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 2,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
], - "targetGroup": {
- "targetGroupId": "id_example",
- "port": 8080,
- "weight": 15
}
}
], - "ram": "2048",
- "volumes": [
- {
- "image": "6e928bd0-3a8e-4821-a20a-54984b0c2d21",
- "imageAlias": "ubuntu:latest",
- "name": "Volume 1",
- "size": 30,
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU\nGPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3\nPbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XA\nt3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/En\nmZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx\nNrRFi9wrf+M7Q== user@domain.local"
], - "type": "SSD",
- "userData": "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
- "bus": "VIRTIO",
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO",
- "imagePassword": "passw0rd"
}
]
}
}, - "entities": {
- "actions": {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/actions",
- "type": "collection",
- "items": [
- {
- "id": "2ab638d4-b4b4-4a1a-9a33-553059364fc8",
- "type": "autoscaling-action",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "actionStatus": "SUCCESSFUL",
- "actionType": "SCALE_OUT"
}
}
]
}, - "servers": {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/servers",
- "type": "collection",
- "items": [
- {
- "id": "20fd2b30-be53-4253-9d8e-96af69e24d57",
- "type": "autoscaling-server",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenterServer": {
- "id": "84f3d7c9-9a12-4334-8add-dcacd3f867a5",
- "type": "server",
}, - "name": "Web server instance"
}
}
]
}
}
}
]
}
Creates a VM Auto Scaling Group.
Note that creating a group triggers the creation of two monitoring alarms for 'Scale-In' and 'Scale-Out' operations according to the 'Policy' settings.
required | object (GroupProperties) |
{- "properties": {
- "datacenter": {
- "id": "09043280-aafc-49f7-a048-d61673f52024"
}, - "maxReplicaCount": 10,
- "minReplicaCount": 1,
- "name": "VM Auto Scaling Group 1",
- "policy": {
- "metric": "INSTANCE_CPU_UTILIZATION_AVERAGE",
- "range": "P1D",
- "scaleInAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m",
- "terminationPolicy": "OLDEST_SERVER_FIRST",
- "deleteVolumes": "true"
}, - "scaleInThreshold": 33,
- "scaleOutAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m"
}, - "scaleOutThreshold": 77,
- "unit": "PER_MINUTE"
}, - "replicaConfiguration": {
- "availabilityZone": "AUTO",
- "cores": 2,
- "cpuFamily": "INTEL_SKYLAKE",
- "nics": [
- {
- "lan": 1,
- "name": "LAN NIC 1",
- "dhcp": "true",
- "firewallActive": "true",
- "firewallType": "INGRESS",
- "flowLogs": [
- {
- "name": "flow-log",
- "action": "ACCEPTED",
- "direction": "EGRESS",
- "bucket": "bucketName/key"
}
], - "firewallRules": [
- {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 2,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
], - "targetGroup": {
- "targetGroupId": "id_example",
- "port": 8080,
- "weight": 15
}
}
], - "ram": "2048",
- "volumes": [
- {
- "image": "6e928bd0-3a8e-4821-a20a-54984b0c2d21",
- "imageAlias": "ubuntu:latest",
- "name": "Volume 1",
- "size": 30,
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU\nGPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3\nPbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XA\nt3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/En\nmZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx\nNrRFi9wrf+M7Q== user@domain.local"
], - "type": "SSD",
- "userData": "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
- "bus": "VIRTIO",
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO",
- "imagePassword": "passw0rd"
}
]
}
}
}
{- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036",
- "type": "autoscaling-group",
- "metadata": {
- "createdBy": "user@mail.local",
- "createdByUserId": "919e4752-e700-40b1-9507-5ac545bb6355",
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedBy": "user@mail.local",
- "lastModifiedByUserId": "919e4752-e700-40b1-9507-5ac545bb6355",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenter": {
- "id": "09043280-aafc-49f7-a048-d61673f52024",
- "type": "datacenter",
}, - "location": "de/txl",
- "maxReplicaCount": 10,
- "minReplicaCount": 1,
- "name": "VM Auto Scaling Group 1",
- "policy": {
- "metric": "INSTANCE_CPU_UTILIZATION_AVERAGE",
- "range": "P1D",
- "scaleInAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m",
- "terminationPolicy": "OLDEST_SERVER_FIRST",
- "deleteVolumes": "true"
}, - "scaleInThreshold": 33,
- "scaleOutAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m"
}, - "scaleOutThreshold": 77,
- "unit": "PER_MINUTE"
}, - "replicaConfiguration": {
- "availabilityZone": "AUTO",
- "cores": 2,
- "cpuFamily": "INTEL_SKYLAKE",
- "nics": [
- {
- "lan": 1,
- "name": "LAN NIC 1",
- "dhcp": "true",
- "firewallActive": "true",
- "firewallType": "INGRESS",
- "flowLogs": [
- {
- "name": "flow-log",
- "action": "ACCEPTED",
- "direction": "EGRESS",
- "bucket": "bucketName/key"
}
], - "firewallRules": [
- {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 2,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
], - "targetGroup": {
- "targetGroupId": "id_example",
- "port": 8080,
- "weight": 15
}
}
], - "ram": "2048",
- "volumes": [
- {
- "image": "6e928bd0-3a8e-4821-a20a-54984b0c2d21",
- "imageAlias": "ubuntu:latest",
- "name": "Volume 1",
- "size": 30,
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU\nGPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3\nPbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XA\nt3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/En\nmZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx\nNrRFi9wrf+M7Q== user@domain.local"
], - "type": "SSD",
- "userData": "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
- "bus": "VIRTIO",
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO",
- "imagePassword": "passw0rd"
}
]
}
}, - "entities": {
- "actions": {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/actions",
- "type": "collection",
}, - "servers": {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/servers",
- "type": "collection",
}
}, - "startedActions": [
- {
- "id": "d8df1964-e923-4e63-af45-4c25d6687674",
- "type": "autoscaling-action",
}
]
}
Retrieves the VM Auto Scaling Group specified by its ID including the details.
groupId required | string |
depth | number Default: "0" With this parameter, you control the level of detail of the response objects:
|
{- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036",
- "type": "autoscaling-group",
- "metadata": {
- "createdBy": "user@mail.local",
- "createdByUserId": "919e4752-e700-40b1-9507-5ac545bb6355",
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedBy": "user@mail.local",
- "lastModifiedByUserId": "919e4752-e700-40b1-9507-5ac545bb6355",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenter": {
- "id": "09043280-aafc-49f7-a048-d61673f52024",
- "type": "datacenter",
}, - "location": "de/txl",
- "maxReplicaCount": 10,
- "minReplicaCount": 1,
- "name": "VM Auto Scaling Group 1",
- "policy": {
- "metric": "INSTANCE_CPU_UTILIZATION_AVERAGE",
- "range": "P1D",
- "scaleInAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m",
- "terminationPolicy": "OLDEST_SERVER_FIRST",
- "deleteVolumes": "true"
}, - "scaleInThreshold": 33,
- "scaleOutAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m"
}, - "scaleOutThreshold": 77,
- "unit": "PER_MINUTE"
}, - "replicaConfiguration": {
- "availabilityZone": "AUTO",
- "cores": 2,
- "cpuFamily": "INTEL_SKYLAKE",
- "nics": [
- {
- "lan": 1,
- "name": "LAN NIC 1",
- "dhcp": "true",
- "firewallActive": "true",
- "firewallType": "INGRESS",
- "flowLogs": [
- {
- "name": "flow-log",
- "action": "ACCEPTED",
- "direction": "EGRESS",
- "bucket": "bucketName/key"
}
], - "firewallRules": [
- {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 2,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
], - "targetGroup": {
- "targetGroupId": "id_example",
- "port": 8080,
- "weight": 15
}
}
], - "ram": "2048",
- "volumes": [
- {
- "image": "6e928bd0-3a8e-4821-a20a-54984b0c2d21",
- "imageAlias": "ubuntu:latest",
- "name": "Volume 1",
- "size": 30,
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU\nGPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3\nPbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XA\nt3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/En\nmZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx\nNrRFi9wrf+M7Q== user@domain.local"
], - "type": "SSD",
- "userData": "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
- "bus": "VIRTIO",
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO",
- "imagePassword": "passw0rd"
}
]
}
}, - "entities": {
- "actions": {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/actions",
- "type": "collection",
- "items": [
- {
- "id": "2ab638d4-b4b4-4a1a-9a33-553059364fc8",
- "type": "autoscaling-action",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "actionStatus": "SUCCESSFUL",
- "actionType": "SCALE_OUT"
}
}
]
}, - "servers": {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/servers",
- "type": "collection",
- "items": [
- {
- "id": "20fd2b30-be53-4253-9d8e-96af69e24d57",
- "type": "autoscaling-server",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenterServer": {
- "id": "84f3d7c9-9a12-4334-8add-dcacd3f867a5",
- "type": "server",
}, - "name": "Web server instance"
}
}
]
}
}
}
Updates the VM Auto Scaling Group specified by its ID. The IDs assigned by the system when the resource is created, such as 'properties.datacenter.id' and 'backupunitId', are immutable and cannot be updated.
groupId required | string <uuid> |
required | object |
{- "properties": {
- "datacenter": {
- "id": "09043280-aafc-49f7-a048-d61673f52024"
}, - "maxReplicaCount": 10,
- "minReplicaCount": 1,
- "name": "VM Auto Scaling Group 1",
- "policy": {
- "metric": "INSTANCE_CPU_UTILIZATION_AVERAGE",
- "range": "P1D",
- "scaleInAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m",
- "terminationPolicy": "OLDEST_SERVER_FIRST",
- "deleteVolumes": "true"
}, - "scaleInThreshold": 33,
- "scaleOutAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m"
}, - "scaleOutThreshold": 77,
- "unit": "PER_MINUTE"
}, - "replicaConfiguration": {
- "availabilityZone": "AUTO",
- "cores": 2,
- "cpuFamily": "INTEL_SKYLAKE",
- "nics": [
- {
- "lan": 1,
- "name": "LAN NIC 1",
- "dhcp": "true",
- "firewallActive": "true",
- "firewallType": "INGRESS",
- "flowLogs": [
- {
- "name": "flow-log",
- "action": "ACCEPTED",
- "direction": "EGRESS",
- "bucket": "bucketName/key"
}
], - "firewallRules": [
- {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 2,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
], - "targetGroup": {
- "targetGroupId": "id_example",
- "port": 8080,
- "weight": 15
}
}
], - "ram": "2048",
- "volumes": [
- {
- "image": "6e928bd0-3a8e-4821-a20a-54984b0c2d21",
- "imageAlias": "ubuntu:latest",
- "name": "Volume 1",
- "size": 30,
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU\nGPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3\nPbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XA\nt3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/En\nmZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx\nNrRFi9wrf+M7Q== user@domain.local"
], - "type": "SSD",
- "userData": "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
- "bus": "VIRTIO",
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO",
- "imagePassword": "passw0rd"
}
]
}
}
}
{- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036",
- "type": "autoscaling-group",
- "metadata": {
- "createdBy": "user@mail.local",
- "createdByUserId": "919e4752-e700-40b1-9507-5ac545bb6355",
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedBy": "user@mail.local",
- "lastModifiedByUserId": "919e4752-e700-40b1-9507-5ac545bb6355",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenter": {
- "id": "09043280-aafc-49f7-a048-d61673f52024",
- "type": "datacenter",
}, - "location": "de/txl",
- "maxReplicaCount": 10,
- "minReplicaCount": 1,
- "name": "VM Auto Scaling Group 1",
- "policy": {
- "metric": "INSTANCE_CPU_UTILIZATION_AVERAGE",
- "range": "P1D",
- "scaleInAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m",
- "terminationPolicy": "OLDEST_SERVER_FIRST",
- "deleteVolumes": "true"
}, - "scaleInThreshold": 33,
- "scaleOutAction": {
- "amount": 1,
- "amountType": "ABSOLUTE",
- "cooldownPeriod": "5m"
}, - "scaleOutThreshold": 77,
- "unit": "PER_MINUTE"
}, - "replicaConfiguration": {
- "availabilityZone": "AUTO",
- "cores": 2,
- "cpuFamily": "INTEL_SKYLAKE",
- "nics": [
- {
- "lan": 1,
- "name": "LAN NIC 1",
- "dhcp": "true",
- "firewallActive": "true",
- "firewallType": "INGRESS",
- "flowLogs": [
- {
- "name": "flow-log",
- "action": "ACCEPTED",
- "direction": "EGRESS",
- "bucket": "bucketName/key"
}
], - "firewallRules": [
- {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 2,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
], - "targetGroup": {
- "targetGroupId": "id_example",
- "port": 8080,
- "weight": 15
}
}
], - "ram": "2048",
- "volumes": [
- {
- "image": "6e928bd0-3a8e-4821-a20a-54984b0c2d21",
- "imageAlias": "ubuntu:latest",
- "name": "Volume 1",
- "size": 30,
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU\nGPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3\nPbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XA\nt3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/En\nmZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx\nNrRFi9wrf+M7Q== user@domain.local"
], - "type": "SSD",
- "userData": "ZWNobyAiSGVsbG8sIFdvcmxkIgo=",
- "bus": "VIRTIO",
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO",
- "imagePassword": "passw0rd"
}
]
}
}, - "entities": {
- "actions": {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/actions",
- "type": "collection",
- "items": [
- {
- "id": "2ab638d4-b4b4-4a1a-9a33-553059364fc8",
- "type": "autoscaling-action",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "actionStatus": "SUCCESSFUL",
- "actionType": "SCALE_OUT"
}
}
]
}, - "servers": {
- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/servers",
- "type": "collection",
- "items": [
- {
- "id": "20fd2b30-be53-4253-9d8e-96af69e24d57",
- "type": "autoscaling-server",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenterServer": {
- "id": "84f3d7c9-9a12-4334-8add-dcacd3f867a5",
- "type": "server",
}, - "name": "Web server instance"
}
}
]
}
}
}
Deletes the VM Auto Scaling Group specified by its ID.
Deleting the associated servers and disks is currently not implemented.
groupId required | string <uuid> |
{- "httpStatus": "401",
- "messages": [
- {
- "errorCode": "315",
- "message": "Unauthorized"
}
]
}
Retrieves the list of the last Auto Scaling actions or jobs performed by the VM Auto Scaling.The actions are specified by its ID. Only the last 10 actions are available
groupId required | string |
depth | number Default: "0" With this parameter, you control the level of detail of the response objects:
|
orderBy | string Default: "createdDate" Use this parameter to specify by which the returned list should be sorted. Valid values are: |
{- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/actions",
- "type": "collection",
- "items": [
- {
- "id": "2ab638d4-b4b4-4a1a-9a33-553059364fc8",
- "type": "autoscaling-action",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "actionStatus": "SUCCESSFUL",
- "actionType": "SCALE_OUT"
}
}
]
}
Retrieves the details of a scaling action specified by its ID. This operation returns metadata, properties, and the current status, for the specified scaling action
actionId required | string <uuid> |
groupId required | string |
depth | number Default: "0" With this parameter, you control the level of detail of the response objects:
|
{- "id": "2ab638d4-b4b4-4a1a-9a33-553059364fc8",
- "type": "autoscaling-action",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "actionStatus": "SUCCESSFUL",
- "actionType": "SCALE_OUT"
}
}
Retrieves all servers associated with the VM Auto Scaling Group specified by its ID.
Note that the server IDs of the VM Auto Scaling Groups are different from and do not match the VM server IDs in the data center.
groupId required | string |
depth | number Default: "0" With this parameter, you control the level of detail of the response objects:
|
orderBy | string Default: "createdDate" Use this parameter to specify by which the returned list should be sorted. Valid values are: |
{- "id": "1d67ca27-d4c0-419d-9a64-9ea42dfdd036/servers",
- "type": "collection",
- "items": [
- {
- "id": "20fd2b30-be53-4253-9d8e-96af69e24d57",
- "type": "autoscaling-server",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenterServer": {
- "id": "84f3d7c9-9a12-4334-8add-dcacd3f867a5",
- "type": "server",
}, - "name": "Web server instance"
}
}
]
}
Retrieves the properties of the server specified by its ID.
Note that the server IDs of the VM Auto Scaling Groups are different from and do not match the VM server IDs in the data center.
groupId required | string |
serverId required | string <uuid> |
depth | number Default: "0" With this parameter, you control the level of detail of the response objects:
|
{- "id": "20fd2b30-be53-4253-9d8e-96af69e24d57",
- "type": "autoscaling-server",
- "metadata": {
- "createdDate": "2021-06-21T08:46:01.249829Z",
- "etag": "string",
- "lastModifiedDate": "2021-07-26T09:30:39.562006Z",
- "state": "AVAILABLE"
}, - "properties": {
- "datacenterServer": {
- "id": "84f3d7c9-9a12-4334-8add-dcacd3f867a5",
- "type": "server",
}, - "name": "Web server instance"
}
}