Modifying Host properties
Format
Method | POST |
---|---|
URL | /tasks/create |
Request contents | HostModify Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
HostModify Object
Schema
repeat | String | Reserved |
---|---|---|
retries | String | Number of times this task will be retried in case of error |
type | String | Task type identifier. In this case, "host_modify" |
host_id | String | Host's unique identifier |
description | String | User defined field |
host_address | String | IP address or hostname for Host management |
host_vdi_address | String | IP address or hostname for VDI access. Can be empty |
cpu_overcommit | Float | CPU overcommit multiplicator |
ram_overcommit | Float | RAM overcommit multiplicator |
JSON example
{ "repeat": "0", "retries": "0", "type": "host_modify", "host_id": "flexdemo", "description": "Equipo de demostracion", "host_address": "10.111.1.244", "host_vdi_address": "", "cpu_overcommit": 1.0, "ram_overcommit": 1.0 }