I am setting the IP address by sending patch request to /instances/ubuntu
{
"architecture": "x86_64",
"config": {
"image.architecture": "amd64",
"image.description": "Ubuntu hirsute amd64 (20210621_07:42)",
"image.os": "Ubuntu",
"image.release": "hirsute",
"image.serial": "20210621_07:42",
"image.type": "disk-kvm.img",
"image.variant": "default",
"limits.cpu": "1",
"limits.memory": "1GB",
"security.secureboot": "false",
"volatile.base_image": "35f9bd69d25246be391ec43fee156fb064e77e9e0045d73686f851e5800731c9",
"volatile.eth0.hwaddr": "00:16:3e:60:26:ee",
"volatile.last_state.power": "STOPPED",
"volatile.uuid": "f917733c-be29-4ae4-ae2a-0de6304bd259"
},
"devices": {
"eth0": {
"ipv4.address": "10.0.0.99",
"name": "eth0",
"nictype": "bridged",
"parent": "vnet0",
"type": "nic"
},
"root": {
"path": "/",
"pool": "default",
"size": "10GB",
"type": "disk"
}
},
"ephemeral": false,
"profiles": [],
"stateful": false,
"description": "",
"created_at": "2021-06-22T13:56:42.735287458+02:00",
"expanded_config": {
"image.architecture": "amd64",
"image.description": "Ubuntu hirsute amd64 (20210621_07:42)",
"image.os": "Ubuntu",
"image.release": "hirsute",
"image.serial": "20210621_07:42",
"image.type": "disk-kvm.img",
"image.variant": "default",
"limits.cpu": "1",
"limits.memory": "1GB",
"security.secureboot": "false",
"volatile.base_image": "35f9bd69d25246be391ec43fee156fb064e77e9e0045d73686f851e5800731c9",
"volatile.eth0.hwaddr": "00:16:3e:60:26:ee",
"volatile.last_state.power": "STOPPED",
"volatile.uuid": "f917733c-be29-4ae4-ae2a-0de6304bd259"
},
"expanded_devices": {
"eth0": {
"ipv4.address": "10.0.0.99",
"name": "eth0",
"nictype": "bridged",
"parent": "vnet0",
"type": "nic"
},
"root": {
"path": "/",
"pool": "default",
"size": "10GB",
"type": "disk"
}
},
"name": "ubuntu",
"status": "Stopped",
"status_code": 102,
"last_used_at": "2021-06-22T15:06:15.777953116+02:00",
"location": "none",
"type": "virtual-machine"
}