Modifying Host properties
Format
Method | POST |
---|---|
URL | /tasks/create |
Request contents | HostModify Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
HostModify Object
Schema
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 |
cpu_overcommit | Float | CPU overcommit multiplicator |
ram_overcommit | Float | RAM overcommit multiplicator |
JSON example
{ "type": "host_modify", "host_id": "flexdemo", "description": "Equipo de demostracion", "host_address": "10.111.1.244", "cpu_overcommit": 1.0, "ram_overcommit": 1.0 }