Virtual Machine
Set maintenance window for the VM
Changed onpost/project/{project_id}/location/{location}/vm/{vm_reference}/set-maintenance-window
Request
- Base URLhttps://api.ubicloud.com
- URLhttps://api.ubicloud.com/project/{project_id}/location/{location}/vm/{vm_reference}/set-maintenance-window
- AuthHTTP bearer
Path parameters
project_idstring required
Example:pjkkmx0f2vke4h36nk9cm8v8q0
ID of the project
locationstring required
Example:eu-central-h1
The Ubicloud location/region
vm_referencestring required
Resource ID or name
Virtual machine ID or name
Request body
Response
A VM
Example response
{
"id": "vmhfy8gff8c67hasb0eez2k1pd",
"location": "eu-central-h1",
"name": "my-vm-name",
"firewalls": [
{
"firewall_rules": [
{
"id": "fraz0q3vbrpa7pkg7zbmah9csn"
}
],
"id": "fwfg7td83em22qfw9pq5xyfqb7"
}
]
}Changes
- info
endpoint added
- info