Modifying Host properties

Format

MethodPOST
URL

/tasks/create

Request contentsHostModify Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

HostModify Object

Schema

repeatStringReserved
retriesStringNumber of times this task will be retried in case of error
typeStringTask type identifier. In this case, "host_action"
host_idStringHost's unique identifier
descriptionStringUser defined field
host_addressStringIP address or hostname for Host management
host_vdi_addressStringIP address or hostname for VDI access. Can be empty
cpu_overcommitFloatCPU overcommit multiplicator
ram_overcommitFloatRAM 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
}