Add migration max downtime metafield for VMs

This commit is contained in:
Joshua Boniface 2024-01-10 16:30:52 -05:00
parent 1eeb3bd778
commit b1e06dbf54
1 changed files with 56 additions and 0 deletions

View File

@ -214,6 +214,10 @@
},
"VMMetadata": {
"properties": {
"migration_max_downtime": {
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"type": "integer"
},
"migration_method": {
"description": "The preferred migration method (live, shutdown, none)",
"type": "string"
@ -1209,6 +1213,10 @@
"description": "Internal provisioner template ID",
"type": "integer"
},
"migration_max_downtime": {
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"type": "integer"
},
"migration_method": {
"description": "The preferred migration method (live, shutdown, none)",
"type": "string"
@ -1417,6 +1425,10 @@
"description": "Whether the VM has been migrated, either \"no\" or \"from <last_node>\"",
"type": "string"
},
"migration_max_downtime": {
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"type": "integer"
},
"migration_method": {
"description": "The preferred migration method (live, shutdown, none)",
"type": "string"
@ -4522,6 +4534,13 @@
"name": "migration_method",
"required": false,
"type": "string"
},
{
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
}
],
"responses": {
@ -4652,6 +4671,13 @@
"name": "migration_method",
"required": false,
"type": "string"
},
{
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
}
],
"responses": {
@ -4729,6 +4755,12 @@
"in": "query",
"name": "migration_method",
"type": "string"
},
{
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"type": "integer"
}
],
"responses": {
@ -6597,6 +6629,14 @@
"required": false,
"type": "string"
},
{
"default": 300,
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
},
{
"description": "The user tag(s) of the VM",
"in": "query",
@ -6756,6 +6796,14 @@
"required": false,
"type": "string"
},
{
"default": 300,
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
},
{
"description": "The user tag(s) of the VM",
"in": "query",
@ -7114,6 +7162,14 @@
"name": "migration_method",
"required": false,
"type": "string"
},
{
"default": "none",
"description": "The maximum time in milliseconds that a VM can be down for during a live migration; busy VMs may require a larger max_downtime",
"in": "query",
"name": "migration_max_downtime",
"required": false,
"type": "integer"
}
],
"responses": {