Modifying Host properties

Format

MethodPOST
URL

/tasks/create

Request contentsHostModify Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

HostModify Object

Schema

typeStringTask type identifier. In this case, "host_modify"
host_idStringHost's unique identifier
descriptionStringUser defined field
host_addressStringIP address or hostname for Host management
cpu_overcommitFloatCPU overcommit multiplicator
ram_overcommitFloatRAM 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
}