Apache CloudStack v4.4.1 Root Admin API Reference
createAutoScaleVmProfile
Creates a profile that contains information about the virtual machine which will be provisioned automatically by autoscale feature.
Request parameters
| Parameter Name | Description | Required |
| serviceofferingid | the service offering of the auto deployed virtual machine | true |
| templateid | the template of the auto deployed virtual machine | true |
| zoneid | availability zone for the auto deployed virtual machine | true |
| autoscaleuserid | the ID of the user used to launch and destroy the VMs | false |
| counterparam | counterparam list. Example: counterparam[0].name=snmpcommunity&counterparam[0].value=public&counterparam[1].name=snmpport&counterparam[1].value=161 | false |
| destroyvmgraceperiod | the time allowed for existing connections to get closed before a vm is destroyed | false |
| fordisplay | an optional field, whether to the display the profile to the end user or not | false |
| otherdeployparams | parameters other than zoneId/serviceOfferringId/templateId of the auto deployed virtual machine | false |
Response Tags
| Response Name | Description |
| id | the autoscale vm profile ID |
| account | the account owning the instance group |
| autoscaleuserid | the ID of the user used to launch and destroy the VMs |
| destroyvmgraceperiod | the time allowed for existing connections to get closed before a vm is destroyed |
| domain | the domain name of the vm profile |
| domainid | the domain ID of the vm profile |
| fordisplay | is profile for display to the regular user |
| otherdeployparams | parameters other than zoneId/serviceOfferringId/templateId to be used while deploying a virtual machine |
| project | the project name of the vm profile |
| projectid | the project id vm profile |
| serviceofferingid | the service offering to be used while deploying a virtual machine |
| templateid | the template to be used while deploying a virtual machine |
| zoneid | the availability zone to be used while deploying a virtual machine |