VM Autoscaling Group Actions
This is a simple module that supports listing existing VM Autoscaling Group Actions
Example Syntax
name: List VM Autoscaling Group Actions
ionoscloudsdk.ionoscloud.vm_autoscaling_action_info:
vm_autoscaling_group: ''
register: vm_autoscaling_actions_response
Returned object
{
"result": [
{
"id": "4293fe77-1fc5-42e9-aff4-2ed8341c1b0e",
"type": "autoscaling-action",
"href": "https://api.ionos.com/autoscaling/groups/cd7407bc-54ff-4dcb-bf0e-6c2f7fa45c66/actions/4293fe77-1fc5-42e9-aff4-2ed8341c1b0e",
"metadata": {
"created_date": "2023-10-30T13:53:50.864025+00:00",
"etag": "gwd8DcnJt7zZJhhm+3Q3yDZ2u/kRCsheLOxHXYOTVbc=",
"last_modified_date": "2023-10-30T13:54:57.443808+00:00",
"state": "AVAILABLE"
},
"properties": {
"action_status": "SUCCESSFUL",
"action_type": "SCALE_OUT"
}
}
],
"failed": false,
"changed": false
}
For more examples please check out the tests here.
Available parameters:
vm_autoscaling_group str
False
The ID or name of an existing VM Autoscaling Group.
depth int
False
The depth used when retrieving the items. Default: 1
filters dict
False
Filter that can be used to list only objects which have a certain set of propeties. Filters should be a dict with a key containing keys and value pair in the following format: 'properties.name': 'server_name'
api_url str
False
The Ionos API base URL.
certificate_fingerprint str
False
The Ionos API certificate fingerprint.
username str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.
Last updated