]> git.proxmox.com Git - pve-docs.git/blobdiff - api-viewer/apidata.js
totp: fix copy/paste mistake
[pve-docs.git] / api-viewer / apidata.js
index 2b55291d7d22b0ff83a92dbb4eeda255699d2b0b..aff69c63cb6b6c005e02293935564632def050b2 100644 (file)
@@ -97,8 +97,8 @@ const apiSchema = [
                                  "typetext" : "<string>"
                               },
                               "digest" : {
-                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                 "maxLength" : 40,
+                                 "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 64,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
@@ -180,7 +180,7 @@ const apiSchema = [
                      "additionalProperties" : 0
                   },
                   "permissions" : {
-                     "description" : "Requires the VM.Audit permission on /vms/<vmid>.",
+                     "description" : "Will only return replication jobs for which the calling user has VM.Audit permission on /vms/<vmid>.",
                      "user" : "all"
                   },
                   "returns" : {
@@ -525,8 +525,8 @@ const apiSchema = [
                                        "typetext" : "<string>"
                                     },
                                     "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
@@ -741,691 +741,502 @@ const apiSchema = [
          },
          {
             "children" : [
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Return the version of the cluster join API available on this node.",
-                        "method" : "GET",
-                        "name" : "join_api_version",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
-                        "returns" : {
-                           "description" : "Cluster Join API version, currently 1",
-                           "minimum" : 0,
-                           "type" : "integer"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/config/apiversion",
-                  "text" : "apiversion"
-               },
                {
                   "children" : [
                      {
-                        "info" : {
-                           "DELETE" : {
-                              "allowtoken" : 1,
-                              "description" : "Removes a node from the cluster configuration.",
-                              "method" : "DELETE",
-                              "name" : "delnode",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                        "children" : [
+                           {
+                              "info" : {
+                                 "DELETE" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Remove sendmail endpoint",
+                                    "method" : "DELETE",
+                                    "name" : "delete_sendmail_endpoint",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "name" : {
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/mapping/notifications",
+                                          [
+                                             "Mapping.Modify"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
                                     }
-                                 }
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
-                              }
-                           },
-                           "POST" : {
-                              "allowtoken" : 1,
-                              "description" : "Adds a node to the cluster configuration. This call is for internal use.",
-                              "method" : "POST",
-                              "name" : "addnode",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "apiversion" : {
-                                       "description" : "The JOIN_API_VERSION of the new node.",
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
+                                 },
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Return a specific sendmail endpoint",
+                                    "method" : "GET",
+                                    "name" : "get_sendmail_endpoint",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "name" : {
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
                                     },
-                                    "force" : {
-                                       "description" : "Do not throw error if node already exists.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
+                                    "permissions" : {
+                                       "check" : [
+                                          "or",
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Modify"
+                                             ]
+                                          ],
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Audit"
+                                             ]
+                                          ]
+                                       ]
                                     },
-                                    "link[n]" : {
-                                       "description" : "Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)",
-                                       "format" : {
-                                          "address" : {
-                                             "default_key" : 1,
-                                             "description" : "Hostname (or IP) of this corosync link address.",
-                                             "format" : "address",
-                                             "format_description" : "IP",
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "properties" : {
+                                          "author" : {
+                                             "description" : "Author of the mail",
+                                             "optional" : 1,
                                              "type" : "string"
                                           },
-                                          "priority" : {
+                                          "comment" : {
+                                             "description" : "Comment",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "disable" : {
                                              "default" : 0,
-                                             "description" : "The priority for the link when knet is used in 'passive' mode (default). Lower value means higher priority. Only valid for cluster create, ignored on node add.",
-                                             "maximum" : 255,
-                                             "minimum" : 0,
+                                             "description" : "Disable this target",
                                              "optional" : 1,
-                                             "type" : "integer"
+                                             "type" : "boolean"
+                                          },
+                                          "from-address" : {
+                                             "description" : "`From` address for the mail",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "mailto" : {
+                                             "description" : "List of email recipients",
+                                             "items" : {
+                                                "format" : "email-or-username",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          },
+                                          "mailto-user" : {
+                                             "description" : "List of users",
+                                             "items" : {
+                                                "format" : "pve-userid",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          },
+                                          "name" : {
+                                             "description" : "The name of the endpoint.",
+                                             "format" : "pve-configid",
+                                             "type" : "string"
                                           }
                                        },
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "[address=]<IP> [,priority=<integer>]"
-                                    },
-                                    "new_node_ip" : {
-                                       "description" : "IP Address of node to add. Used as fallback if no links are given.",
-                                       "format" : "ip",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "nodeid" : {
-                                       "description" : "Node id for this node.",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (1 - N)"
-                                    },
-                                    "votes" : {
-                                       "description" : "Number of votes for this node",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
+                                       "type" : "object"
                                     }
-                                 }
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "properties" : {
-                                    "corosync_authkey" : {
-                                       "type" : "string"
+                                 },
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Update existing sendmail endpoint",
+                                    "method" : "PUT",
+                                    "name" : "update_sendmail_endpoint",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "author" : {
+                                             "description" : "Author of the mail",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "comment" : {
+                                             "description" : "Comment",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "delete" : {
+                                             "description" : "A list of settings you want to delete.",
+                                             "items" : {
+                                                "format" : "pve-configid",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array",
+                                             "typetext" : "<array>"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "disable" : {
+                                             "default" : 0,
+                                             "description" : "Disable this target",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "from-address" : {
+                                             "description" : "`From` address for the mail",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "mailto" : {
+                                             "description" : "List of email recipients",
+                                             "items" : {
+                                                "format" : "email-or-username",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array",
+                                             "typetext" : "<array>"
+                                          },
+                                          "mailto-user" : {
+                                             "description" : "List of users",
+                                             "items" : {
+                                                "format" : "pve-userid",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array",
+                                             "typetext" : "<array>"
+                                          },
+                                          "name" : {
+                                             "description" : "The name of the endpoint.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
                                     },
-                                    "corosync_conf" : {
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/mapping/notifications",
+                                          [
+                                             "Mapping.Modify"
+                                          ]
+                                       ]
                                     },
-                                    "warnings" : {
-                                       "items" : {
-                                          "type" : "string"
-                                       },
-                                       "type" : "array"
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
                                     }
-                                 },
-                                 "type" : "object"
-                              }
-                           }
-                        },
-                        "leaf" : 1,
-                        "path" : "/cluster/config/nodes/{node}",
-                        "text" : "{node}"
-                     }
-                  ],
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Corosync node list.",
-                        "method" : "GET",
-                        "name" : "nodes",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
-                        "returns" : {
-                           "items" : {
-                              "properties" : {
-                                 "node" : {
-                                    "type" : "string"
                                  }
                               },
-                              "type" : "object"
-                           },
-                           "links" : [
-                              {
-                                 "href" : "{node}",
-                                 "rel" : "child"
-                              }
-                           ],
-                           "type" : "array"
-                        }
-                     }
-                  },
-                  "leaf" : 0,
-                  "path" : "/cluster/config/nodes",
-                  "text" : "nodes"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Get information needed to join this cluster over the connected node.",
-                        "method" : "GET",
-                        "name" : "join_info",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "node" : {
-                                 "default" : "current connected node",
-                                 "description" : "The node for which the joinee gets the nodeinfo. ",
-                                 "format" : "pve-node",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              }
+                              "leaf" : 1,
+                              "path" : "/cluster/notifications/endpoints/sendmail/{name}",
+                              "text" : "{name}"
                            }
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
-                        "returns" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "config_digest" : {
-                                 "type" : "string"
+                        ],
+                        "info" : {
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Returns a list of all sendmail endpoints",
+                              "method" : "GET",
+                              "name" : "get_sendmail_endpoints",
+                              "parameters" : {
+                                 "additionalProperties" : 0
                               },
-                              "nodelist" : {
+                              "permissions" : {
+                                 "check" : [
+                                    "or",
+                                    [
+                                       "perm",
+                                       "/mapping/notifications",
+                                       [
+                                          "Mapping.Modify"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/mapping/notifications",
+                                       [
+                                          "Mapping.Audit"
+                                       ]
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
                                  "items" : {
-                                    "additionalProperties" : 1,
                                     "properties" : {
-                                       "name" : {
-                                          "description" : "The cluster node name.",
-                                          "format" : "pve-node",
+                                       "author" : {
+                                          "description" : "Author of the mail",
+                                          "optional" : 1,
                                           "type" : "string"
                                        },
-                                       "nodeid" : {
-                                          "description" : "Node id for this node.",
-                                          "minimum" : 1,
+                                       "comment" : {
+                                          "description" : "Comment",
                                           "optional" : 1,
-                                          "type" : "integer"
-                                       },
-                                       "pve_addr" : {
-                                          "format" : "ip",
                                           "type" : "string"
                                        },
-                                       "pve_fp" : {
-                                          "description" : "Certificate SHA 256 fingerprint.",
-                                          "pattern" : "([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}",
+                                       "disable" : {
+                                          "default" : 0,
+                                          "description" : "Disable this target",
+                                          "optional" : 1,
+                                          "type" : "boolean"
+                                       },
+                                       "from-address" : {
+                                          "description" : "`From` address for the mail",
+                                          "optional" : 1,
                                           "type" : "string"
                                        },
-                                       "quorum_votes" : {
-                                          "minimum" : 0,
-                                          "type" : "integer"
+                                       "mailto" : {
+                                          "description" : "List of email recipients",
+                                          "items" : {
+                                             "format" : "email-or-username",
+                                             "type" : "string"
+                                          },
+                                          "optional" : 1,
+                                          "type" : "array"
                                        },
-                                       "ring0_addr" : {
-                                          "description" : "Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)",
-                                          "format" : {
-                                             "address" : {
-                                                "default_key" : 1,
-                                                "description" : "Hostname (or IP) of this corosync link address.",
-                                                "format" : "address",
-                                                "format_description" : "IP",
-                                                "type" : "string"
-                                             },
-                                             "priority" : {
-                                                "default" : 0,
-                                                "description" : "The priority for the link when knet is used in 'passive' mode (default). Lower value means higher priority. Only valid for cluster create, ignored on node add.",
-                                                "maximum" : 255,
-                                                "minimum" : 0,
-                                                "optional" : 1,
-                                                "type" : "integer"
-                                             }
+                                       "mailto-user" : {
+                                          "description" : "List of users",
+                                          "items" : {
+                                             "format" : "pve-userid",
+                                             "type" : "string"
                                           },
                                           "optional" : 1,
+                                          "type" : "array"
+                                       },
+                                       "name" : {
+                                          "description" : "The name of the endpoint.",
+                                          "format" : "pve-configid",
+                                          "type" : "string"
+                                       },
+                                       "origin" : {
+                                          "description" : "Show if this entry was created by a user or was built-in",
+                                          "enum" : [
+                                             "user-created",
+                                             "builtin",
+                                             "modified-builtin"
+                                          ],
                                           "type" : "string"
                                        }
                                     },
                                     "type" : "object"
                                  },
+                                 "links" : [
+                                    {
+                                       "href" : "{name}",
+                                       "rel" : "child"
+                                    }
+                                 ],
                                  "type" : "array"
-                              },
-                              "preferred_node" : {
-                                 "description" : "The cluster node name.",
-                                 "format" : "pve-node",
-                                 "type" : "string"
-                              },
-                              "totem" : {
-                                 "type" : "object"
                               }
                            },
-                           "type" : "object"
-                        }
-                     },
-                     "POST" : {
-                        "allowtoken" : 1,
-                        "description" : "Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links).",
-                        "method" : "POST",
-                        "name" : "join",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "fingerprint" : {
-                                 "description" : "Certificate SHA 256 fingerprint.",
-                                 "pattern" : "([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}",
-                                 "type" : "string"
-                              },
-                              "force" : {
-                                 "description" : "Do not throw error if node already exists.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "hostname" : {
-                                 "description" : "Hostname (or IP) of an existing cluster member.",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "link[n]" : {
-                                 "description" : "Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)",
-                                 "format" : {
-                                    "address" : {
-                                       "default_key" : 1,
-                                       "description" : "Hostname (or IP) of this corosync link address.",
-                                       "format" : "address",
-                                       "format_description" : "IP",
-                                       "type" : "string"
+                           "POST" : {
+                              "allowtoken" : 1,
+                              "description" : "Create a new sendmail endpoint",
+                              "method" : "POST",
+                              "name" : "create_sendmail_endpoint",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "author" : {
+                                       "description" : "Author of the mail",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "priority" : {
-                                       "default" : 0,
-                                       "description" : "The priority for the link when knet is used in 'passive' mode (default). Lower value means higher priority. Only valid for cluster create, ignored on node add.",
-                                       "maximum" : 255,
-                                       "minimum" : 0,
+                                    "comment" : {
+                                       "description" : "Comment",
                                        "optional" : 1,
-                                       "type" : "integer"
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "disable" : {
+                                       "default" : 0,
+                                       "description" : "Disable this target",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "from-address" : {
+                                       "description" : "`From` address for the mail",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "mailto" : {
+                                       "description" : "List of email recipients",
+                                       "items" : {
+                                          "format" : "email-or-username",
+                                          "type" : "string"
+                                       },
+                                       "optional" : 1,
+                                       "type" : "array",
+                                       "typetext" : "<array>"
+                                    },
+                                    "mailto-user" : {
+                                       "description" : "List of users",
+                                       "items" : {
+                                          "format" : "pve-userid",
+                                          "type" : "string"
+                                       },
+                                       "optional" : 1,
+                                       "type" : "array",
+                                       "typetext" : "<array>"
+                                    },
+                                    "name" : {
+                                       "description" : "The name of the endpoint.",
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[address=]<IP> [,priority=<integer>]"
-                              },
-                              "nodeid" : {
-                                 "description" : "Node id for this node.",
-                                 "minimum" : 1,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
+                                 }
                               },
-                              "password" : {
-                                 "description" : "Superuser (root) password of peer node.",
-                                 "maxLength" : 128,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/mapping/notifications",
+                                    [
+                                       "Mapping.Modify"
+                                    ]
+                                 ]
                               },
-                              "votes" : {
-                                 "description" : "Number of votes for this node",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
                               }
                            }
                         },
-                        "protected" : 1,
-                        "returns" : {
-                           "type" : "string"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/config/join",
-                  "text" : "join"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Get corosync totem protocol settings.",
-                        "method" : "GET",
-                        "name" : "totem",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
-                        "returns" : {
-                           "type" : "object"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/config/totem",
-                  "text" : "totem"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Get QDevice status",
-                        "method" : "GET",
-                        "name" : "status",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
-                        "protected" : 1,
-                        "returns" : {
-                           "type" : "object"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/config/qdevice",
-                  "text" : "qdevice"
-               }
-            ],
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "Directory index.",
-                  "method" : "GET",
-                  "name" : "index",
-                  "parameters" : {
-                     "additionalProperties" : 0
-                  },
-                  "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/",
-                        [
-                           "Sys.Audit"
-                        ]
-                     ]
-                  },
-                  "returns" : {
-                     "items" : {
-                        "properties" : {},
-                        "type" : "object"
+                        "leaf" : 0,
+                        "path" : "/cluster/notifications/endpoints/sendmail",
+                        "text" : "sendmail"
                      },
-                     "links" : [
-                        {
-                           "href" : "{name}",
-                           "rel" : "child"
-                        }
-                     ],
-                     "type" : "array"
-                  }
-               },
-               "POST" : {
-                  "allowtoken" : 1,
-                  "description" : "Generate new cluster configuration. If no links given, default to local IP address as link0.",
-                  "method" : "POST",
-                  "name" : "create",
-                  "parameters" : {
-                     "additionalProperties" : 0,
-                     "properties" : {
-                        "clustername" : {
-                           "description" : "The name of the cluster.",
-                           "format" : "pve-node",
-                           "maxLength" : 15,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "link[n]" : {
-                           "description" : "Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)",
-                           "format" : {
-                              "address" : {
-                                 "default_key" : 1,
-                                 "description" : "Hostname (or IP) of this corosync link address.",
-                                 "format" : "address",
-                                 "format_description" : "IP",
-                                 "type" : "string"
-                              },
-                              "priority" : {
-                                 "default" : 0,
-                                 "description" : "The priority for the link when knet is used in 'passive' mode (default). Lower value means higher priority. Only valid for cluster create, ignored on node add.",
-                                 "maximum" : 255,
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer"
-                              }
-                           },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[address=]<IP> [,priority=<integer>]"
-                        },
-                        "nodeid" : {
-                           "description" : "Node id for this node.",
-                           "minimum" : 1,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (1 - N)"
-                        },
-                        "votes" : {
-                           "description" : "Number of votes for this node.",
-                           "minimum" : 1,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (1 - N)"
-                        }
-                     }
-                  },
-                  "protected" : 1,
-                  "returns" : {
-                     "type" : "string"
-                  }
-               }
-            },
-            "leaf" : 0,
-            "path" : "/cluster/config",
-            "text" : "config"
-         },
-         {
-            "children" : [
-               {
-                  "children" : [
                      {
                         "children" : [
                            {
                               "info" : {
                                  "DELETE" : {
                                     "allowtoken" : 1,
-                                    "description" : "Delete rule.",
+                                    "description" : "Remove gotify endpoint",
                                     "method" : "DELETE",
-                                    "name" : "delete_rule",
+                                    "name" : "delete_gotify_endpoint",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
+                                          "name" : {
+                                             "format" : "pve-configid",
                                              "type" : "string",
                                              "typetext" : "<string>"
-                                          },
-                                          "group" : {
-                                             "description" : "Security Group name.",
-                                             "maxLength" : 18,
-                                             "minLength" : 2,
-                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                             "type" : "string"
-                                          },
-                                          "pos" : {
-                                             "description" : "Update rule at position <pos>.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
                                           }
                                        }
                                     },
                                     "permissions" : {
                                        "check" : [
                                           "perm",
-                                          "/",
+                                          "/mapping/notifications",
                                           [
-                                             "Sys.Modify"
+                                             "Mapping.Modify"
                                           ]
                                        ]
                                     },
                                     "protected" : 1,
-                                    "proxyto" : null,
                                     "returns" : {
                                        "type" : "null"
                                     }
                                  },
                                  "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Get single rule data.",
+                                    "description" : "Return a specific gotify endpoint",
                                     "method" : "GET",
-                                    "name" : "get_rule",
+                                    "name" : "get_gotify_endpoint",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "group" : {
-                                             "description" : "Security Group name.",
-                                             "maxLength" : 18,
-                                             "minLength" : 2,
-                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                             "type" : "string"
-                                          },
-                                          "pos" : {
-                                             "description" : "Update rule at position <pos>.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
+                                          "name" : {
+                                             "description" : "Name of the endpoint.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           }
                                        }
                                     },
                                     "permissions" : {
                                        "check" : [
-                                          "perm",
-                                          "/",
+                                          "or",
                                           [
-                                             "Sys.Audit"
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Modify"
+                                             ]
+                                          ],
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Audit"
+                                             ]
                                           ]
                                        ]
                                     },
-                                    "proxyto" : null,
+                                    "protected" : 1,
                                     "returns" : {
                                        "properties" : {
-                                          "action" : {
-                                             "type" : "string"
-                                          },
                                           "comment" : {
+                                             "description" : "Comment",
                                              "optional" : 1,
                                              "type" : "string"
                                           },
-                                          "dest" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "dport" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "enable" : {
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "icmp-type" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "iface" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ipversion" : {
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "log" : {
-                                             "description" : "Log level for firewall rule",
-                                             "enum" : [
-                                                "emerg",
-                                                "alert",
-                                                "crit",
-                                                "err",
-                                                "warning",
-                                                "notice",
-                                                "info",
-                                                "debug",
-                                                "nolog"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "macro" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "pos" : {
-                                             "type" : "integer"
-                                          },
-                                          "proto" : {
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
                                              "optional" : 1,
                                              "type" : "string"
                                           },
-                                          "source" : {
+                                          "disable" : {
+                                             "default" : 0,
+                                             "description" : "Disable this target",
                                              "optional" : 1,
-                                             "type" : "string"
+                                             "type" : "boolean"
                                           },
-                                          "sport" : {
-                                             "optional" : 1,
+                                          "name" : {
+                                             "description" : "The name of the endpoint.",
+                                             "format" : "pve-configid",
                                              "type" : "string"
                                           },
-                                          "type" : {
+                                          "server" : {
+                                             "description" : "Server URL",
                                              "type" : "string"
                                           }
                                        },
@@ -1434,248 +1245,602 @@ const apiSchema = [
                                  },
                                  "PUT" : {
                                     "allowtoken" : 1,
-                                    "description" : "Modify rule data.",
+                                    "description" : "Update existing gotify endpoint",
                                     "method" : "PUT",
-                                    "name" : "update_rule",
+                                    "name" : "update_gotify_endpoint",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "action" : {
-                                             "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
-                                             "maxLength" : 20,
-                                             "minLength" : 2,
-                                             "optional" : 1,
-                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                             "type" : "string"
-                                          },
                                           "comment" : {
-                                             "description" : "Descriptive comment.",
+                                             "description" : "Comment",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
                                           "delete" : {
                                              "description" : "A list of settings you want to delete.",
-                                             "format" : "pve-configid-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "dest" : {
-                                             "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                             "format" : "pve-fw-addr-spec",
-                                             "maxLength" : 512,
+                                             "items" : {
+                                                "format" : "pve-configid",
+                                                "type" : "string"
+                                             },
                                              "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                             "type" : "array",
+                                             "typetext" : "<array>"
                                           },
                                           "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "dport" : {
-                                             "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                             "format" : "pve-fw-dport-spec",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "enable" : {
-                                             "description" : "Flag to enable/disable a rule.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "group" : {
-                                             "description" : "Security Group name.",
-                                             "maxLength" : 18,
-                                             "minLength" : 2,
-                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                             "type" : "string"
-                                          },
-                                          "icmp-type" : {
-                                             "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
-                                             "format" : "pve-fw-icmp-type-spec",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "iface" : {
-                                             "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
-                                             "format" : "pve-iface",
-                                             "maxLength" : 20,
-                                             "minLength" : 2,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "log" : {
-                                             "description" : "Log level for firewall rule.",
-                                             "enum" : [
-                                                "emerg",
-                                                "alert",
-                                                "crit",
-                                                "err",
-                                                "warning",
-                                                "notice",
-                                                "info",
-                                                "debug",
-                                                "nolog"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "macro" : {
-                                             "description" : "Use predefined standard macro.",
-                                             "maxLength" : 128,
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "moveto" : {
-                                             "description" : "Move rule to new position <moveto>. Other arguments are ignored.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "pos" : {
-                                             "description" : "Update rule at position <pos>.",
-                                             "minimum" : 0,
+                                          "disable" : {
+                                             "default" : 0,
+                                             "description" : "Disable this target",
                                              "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           },
-                                          "proto" : {
-                                             "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
-                                             "format" : "pve-fw-protocol-spec",
-                                             "optional" : 1,
+                                          "name" : {
+                                             "description" : "The name of the endpoint.",
+                                             "format" : "pve-configid",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "source" : {
-                                             "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                             "format" : "pve-fw-addr-spec",
-                                             "maxLength" : 512,
+                                          "server" : {
+                                             "description" : "Server URL",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "sport" : {
-                                             "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                             "format" : "pve-fw-sport-spec",
+                                          "token" : {
+                                             "description" : "Secret token",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
-                                          },
-                                          "type" : {
-                                             "description" : "Rule type.",
-                                             "enum" : [
-                                                "in",
-                                                "out",
-                                                "group"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
                                           }
                                        }
                                     },
                                     "permissions" : {
                                        "check" : [
                                           "perm",
-                                          "/",
+                                          "/mapping/notifications",
                                           [
-                                             "Sys.Modify"
+                                             "Mapping.Modify"
                                           ]
                                        ]
                                     },
                                     "protected" : 1,
-                                    "proxyto" : null,
                                     "returns" : {
                                        "type" : "null"
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/cluster/firewall/groups/{group}/{pos}",
-                              "text" : "{pos}"
+                              "path" : "/cluster/notifications/endpoints/gotify/{name}",
+                              "text" : "{name}"
                            }
                         ],
                         "info" : {
-                           "DELETE" : {
+                           "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Delete security group.",
-                              "method" : "DELETE",
-                              "name" : "delete_security_group",
+                              "description" : "Returns a list of all gotify endpoints",
+                              "method" : "GET",
+                              "name" : "get_gotify_endpoints",
                               "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "group" : {
-                                       "description" : "Security Group name.",
-                                       "maxLength" : 18,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
-                                    }
-                                 }
+                                 "additionalProperties" : 0
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/",
+                                    "/mapping/notifications",
                                     [
-                                       "Sys.Modify"
+                                       "Mapping.Audit"
                                     ]
                                  ]
                               },
                               "protected" : 1,
                               "returns" : {
-                                 "type" : "null"
-                              }
-                           },
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "List rules.",
-                              "method" : "GET",
-                              "name" : "get_rules",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "group" : {
-                                       "description" : "Security Group name.",
-                                       "maxLength" : 18,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
+                                 "items" : {
+                                    "properties" : {
+                                       "comment" : {
+                                          "description" : "Comment",
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "disable" : {
+                                          "default" : 0,
+                                          "description" : "Disable this target",
+                                          "optional" : 1,
+                                          "type" : "boolean"
+                                       },
+                                       "name" : {
+                                          "description" : "The name of the endpoint.",
+                                          "format" : "pve-configid",
+                                          "type" : "string"
+                                       },
+                                       "origin" : {
+                                          "description" : "Show if this entry was created by a user or was built-in",
+                                          "enum" : [
+                                             "user-created",
+                                             "builtin",
+                                             "modified-builtin"
+                                          ],
+                                          "type" : "string"
+                                       },
+                                       "server" : {
+                                          "description" : "Server URL",
+                                          "type" : "string"
+                                       }
+                                    },
+                                    "type" : "object"
+                                 },
+                                 "links" : [
+                                    {
+                                       "href" : "{name}",
+                                       "rel" : "child"
+                                    }
+                                 ],
+                                 "type" : "array"
+                              }
+                           },
+                           "POST" : {
+                              "allowtoken" : 1,
+                              "description" : "Create a new gotify endpoint",
+                              "method" : "POST",
+                              "name" : "create_gotify_endpoint",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "comment" : {
+                                       "description" : "Comment",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "disable" : {
+                                       "default" : 0,
+                                       "description" : "Disable this target",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "name" : {
+                                       "description" : "The name of the endpoint.",
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "server" : {
+                                       "description" : "Server URL",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "token" : {
+                                       "description" : "Secret token",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
                                  }
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/",
+                                    "/mapping/notifications",
                                     [
-                                       "Sys.Audit"
+                                       "Mapping.Modify"
                                     ]
                                  ]
                               },
-                              "proxyto" : null,
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 0,
+                        "path" : "/cluster/notifications/endpoints/gotify",
+                        "text" : "gotify"
+                     },
+                     {
+                        "children" : [
+                           {
+                              "info" : {
+                                 "DELETE" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Remove smtp endpoint",
+                                    "method" : "DELETE",
+                                    "name" : "delete_smtp_endpoint",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "name" : {
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/mapping/notifications",
+                                          [
+                                             "Mapping.Modify"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 },
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Return a specific smtp endpoint",
+                                    "method" : "GET",
+                                    "name" : "get_smtp_endpoint",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "name" : {
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "or",
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Modify"
+                                             ]
+                                          ],
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Audit"
+                                             ]
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "properties" : {
+                                          "author" : {
+                                             "description" : "Author of the mail. Defaults to 'Proxmox VE'.",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "comment" : {
+                                             "description" : "Comment",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "disable" : {
+                                             "default" : 0,
+                                             "description" : "Disable this target",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "from-address" : {
+                                             "description" : "`From` address for the mail",
+                                             "type" : "string"
+                                          },
+                                          "mailto" : {
+                                             "description" : "List of email recipients",
+                                             "items" : {
+                                                "format" : "email-or-username",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          },
+                                          "mailto-user" : {
+                                             "description" : "List of users",
+                                             "items" : {
+                                                "format" : "pve-userid",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          },
+                                          "mode" : {
+                                             "default" : "tls",
+                                             "description" : "Determine which encryption method shall be used for the connection.",
+                                             "enum" : [
+                                                "insecure",
+                                                "starttls",
+                                                "tls"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "name" : {
+                                             "description" : "The name of the endpoint.",
+                                             "format" : "pve-configid",
+                                             "type" : "string"
+                                          },
+                                          "port" : {
+                                             "description" : "The port to be used. Defaults to 465 for TLS based connections, 587 for STARTTLS based connections and port 25 for insecure plain-text connections.",
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "server" : {
+                                             "description" : "The address of the SMTP server.",
+                                             "type" : "string"
+                                          },
+                                          "username" : {
+                                             "description" : "Username for SMTP authentication",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Update existing smtp endpoint",
+                                    "method" : "PUT",
+                                    "name" : "update_smtp_endpoint",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "author" : {
+                                             "description" : "Author of the mail. Defaults to 'Proxmox VE'.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "comment" : {
+                                             "description" : "Comment",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "delete" : {
+                                             "description" : "A list of settings you want to delete.",
+                                             "items" : {
+                                                "format" : "pve-configid",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array",
+                                             "typetext" : "<array>"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "disable" : {
+                                             "default" : 0,
+                                             "description" : "Disable this target",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "from-address" : {
+                                             "description" : "`From` address for the mail",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "mailto" : {
+                                             "description" : "List of email recipients",
+                                             "items" : {
+                                                "format" : "email-or-username",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array",
+                                             "typetext" : "<array>"
+                                          },
+                                          "mailto-user" : {
+                                             "description" : "List of users",
+                                             "items" : {
+                                                "format" : "pve-userid",
+                                                "type" : "string"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array",
+                                             "typetext" : "<array>"
+                                          },
+                                          "mode" : {
+                                             "default" : "tls",
+                                             "description" : "Determine which encryption method shall be used for the connection.",
+                                             "enum" : [
+                                                "insecure",
+                                                "starttls",
+                                                "tls"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "name" : {
+                                             "description" : "The name of the endpoint.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "password" : {
+                                             "description" : "Password for SMTP authentication",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "port" : {
+                                             "description" : "The port to be used. Defaults to 465 for TLS based connections, 587 for STARTTLS based connections and port 25 for insecure plain-text connections.",
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer>"
+                                          },
+                                          "server" : {
+                                             "description" : "The address of the SMTP server.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "username" : {
+                                             "description" : "Username for SMTP authentication",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "or",
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Modify"
+                                             ]
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/cluster/notifications/endpoints/smtp/{name}",
+                              "text" : "{name}"
+                           }
+                        ],
+                        "info" : {
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Returns a list of all smtp endpoints",
+                              "method" : "GET",
+                              "name" : "get_smtp_endpoints",
+                              "parameters" : {
+                                 "additionalProperties" : 0
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "or",
+                                    [
+                                       "perm",
+                                       "/mapping/notifications",
+                                       [
+                                          "Mapping.Modify"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/mapping/notifications",
+                                       [
+                                          "Mapping.Audit"
+                                       ]
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
                               "returns" : {
                                  "items" : {
                                     "properties" : {
-                                       "pos" : {
+                                       "author" : {
+                                          "description" : "Author of the mail. Defaults to 'Proxmox VE'.",
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "comment" : {
+                                          "description" : "Comment",
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "disable" : {
+                                          "default" : 0,
+                                          "description" : "Disable this target",
+                                          "optional" : 1,
+                                          "type" : "boolean"
+                                       },
+                                       "from-address" : {
+                                          "description" : "`From` address for the mail",
+                                          "type" : "string"
+                                       },
+                                       "mailto" : {
+                                          "description" : "List of email recipients",
+                                          "items" : {
+                                             "format" : "email-or-username",
+                                             "type" : "string"
+                                          },
+                                          "optional" : 1,
+                                          "type" : "array"
+                                       },
+                                       "mailto-user" : {
+                                          "description" : "List of users",
+                                          "items" : {
+                                             "format" : "pve-userid",
+                                             "type" : "string"
+                                          },
+                                          "optional" : 1,
+                                          "type" : "array"
+                                       },
+                                       "mode" : {
+                                          "default" : "tls",
+                                          "description" : "Determine which encryption method shall be used for the connection.",
+                                          "enum" : [
+                                             "insecure",
+                                             "starttls",
+                                             "tls"
+                                          ],
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "name" : {
+                                          "description" : "The name of the endpoint.",
+                                          "format" : "pve-configid",
+                                          "type" : "string"
+                                       },
+                                       "origin" : {
+                                          "description" : "Show if this entry was created by a user or was built-in",
+                                          "enum" : [
+                                             "user-created",
+                                             "builtin",
+                                             "modified-builtin"
+                                          ],
+                                          "type" : "string"
+                                       },
+                                       "port" : {
+                                          "description" : "The port to be used. Defaults to 465 for TLS based connections, 587 for STARTTLS based connections and port 25 for insecure plain-text connections.",
+                                          "optional" : 1,
                                           "type" : "integer"
+                                       },
+                                       "server" : {
+                                          "description" : "The address of the SMTP server.",
+                                          "type" : "string"
+                                       },
+                                       "username" : {
+                                          "description" : "Username for SMTP authentication",
+                                          "optional" : 1,
+                                          "type" : "string"
                                        }
                                     },
                                     "type" : "object"
                                  },
                                  "links" : [
                                     {
-                                       "href" : "{pos}",
+                                       "href" : "{name}",
                                        "rel" : "child"
                                     }
                                  ],
@@ -1684,169 +1849,127 @@ const apiSchema = [
                            },
                            "POST" : {
                               "allowtoken" : 1,
-                              "description" : "Create new rule.",
+                              "description" : "Create a new smtp endpoint",
                               "method" : "POST",
-                              "name" : "create_rule",
+                              "name" : "create_smtp_endpoint",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "action" : {
-                                       "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
-                                       "maxLength" : 20,
-                                       "minLength" : 2,
-                                       "optional" : 0,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
-                                    },
-                                    "comment" : {
-                                       "description" : "Descriptive comment.",
+                                    "author" : {
+                                       "description" : "Author of the mail. Defaults to 'Proxmox VE'.",
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "dest" : {
-                                       "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                       "format" : "pve-fw-addr-spec",
-                                       "maxLength" : 512,
+                                    "comment" : {
+                                       "description" : "Comment",
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
+                                    "disable" : {
+                                       "default" : 0,
+                                       "description" : "Disable this target",
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "dport" : {
-                                       "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                       "format" : "pve-fw-dport-spec",
-                                       "optional" : 1,
+                                    "from-address" : {
+                                       "description" : "`From` address for the mail",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "enable" : {
-                                       "description" : "Flag to enable/disable a rule.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
-                                    },
-                                    "group" : {
-                                       "description" : "Security Group name.",
-                                       "maxLength" : 18,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
-                                    },
-                                    "icmp-type" : {
-                                       "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
-                                       "format" : "pve-fw-icmp-type-spec",
+                                    "mailto" : {
+                                       "description" : "List of email recipients",
+                                       "items" : {
+                                          "format" : "email-or-username",
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "array",
+                                       "typetext" : "<array>"
                                     },
-                                    "iface" : {
-                                       "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
-                                       "format" : "pve-iface",
-                                       "maxLength" : 20,
-                                       "minLength" : 2,
+                                    "mailto-user" : {
+                                       "description" : "List of users",
+                                       "items" : {
+                                          "format" : "pve-userid",
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "array",
+                                       "typetext" : "<array>"
                                     },
-                                    "log" : {
-                                       "description" : "Log level for firewall rule.",
+                                    "mode" : {
+                                       "default" : "tls",
+                                       "description" : "Determine which encryption method shall be used for the connection.",
                                        "enum" : [
-                                          "emerg",
-                                          "alert",
-                                          "crit",
-                                          "err",
-                                          "warning",
-                                          "notice",
-                                          "info",
-                                          "debug",
-                                          "nolog"
+                                          "insecure",
+                                          "starttls",
+                                          "tls"
                                        ],
                                        "optional" : 1,
                                        "type" : "string"
                                     },
-                                    "macro" : {
-                                       "description" : "Use predefined standard macro.",
-                                       "maxLength" : 128,
-                                       "optional" : 1,
+                                    "name" : {
+                                       "description" : "The name of the endpoint.",
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "pos" : {
-                                       "description" : "Update rule at position <pos>.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
-                                    },
-                                    "proto" : {
-                                       "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
-                                       "format" : "pve-fw-protocol-spec",
+                                    "password" : {
+                                       "description" : "Password for SMTP authentication",
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "source" : {
-                                       "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                       "format" : "pve-fw-addr-spec",
-                                       "maxLength" : 512,
+                                    "port" : {
+                                       "description" : "The port to be used. Defaults to 465 for TLS based connections, 587 for STARTTLS based connections and port 25 for insecure plain-text connections.",
                                        "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
+                                    },
+                                    "server" : {
+                                       "description" : "The address of the SMTP server.",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "sport" : {
-                                       "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                       "format" : "pve-fw-sport-spec",
+                                    "username" : {
+                                       "description" : "Username for SMTP authentication",
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
-                                    },
-                                    "type" : {
-                                       "description" : "Rule type.",
-                                       "enum" : [
-                                          "in",
-                                          "out",
-                                          "group"
-                                       ],
-                                       "optional" : 0,
-                                       "type" : "string"
                                     }
                                  }
                               },
                               "permissions" : {
                                  "check" : [
-                                    "perm",
-                                    "/",
+                                    "or",
                                     [
-                                       "Sys.Modify"
+                                       "perm",
+                                       "/mapping/notifications",
+                                       [
+                                          "Mapping.Modify"
+                                       ]
                                     ]
                                  ]
                               },
                               "protected" : 1,
-                              "proxyto" : null,
                               "returns" : {
                                  "type" : "null"
                               }
                            }
                         },
                         "leaf" : 0,
-                        "path" : "/cluster/firewall/groups/{group}",
-                        "text" : "{group}"
+                        "path" : "/cluster/notifications/endpoints/smtp",
+                        "text" : "smtp"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "List security groups.",
+                        "description" : "Index for all available endpoint types.",
                         "method" : "GET",
-                        "name" : "list_security_groups",
+                        "name" : "endpoints_index",
                         "parameters" : {
                            "additionalProperties" : 0
                         },
@@ -1855,91 +1978,176 @@ const apiSchema = [
                         },
                         "returns" : {
                            "items" : {
-                              "properties" : {
-                                 "comment" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "digest" : {
-                                    "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                    "maxLength" : 40,
-                                    "optional" : 0,
-                                    "type" : "string"
-                                 },
-                                 "group" : {
-                                    "description" : "Security Group name.",
-                                    "maxLength" : 18,
-                                    "minLength" : 2,
-                                    "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                    "type" : "string"
-                                 }
-                              },
+                              "properties" : {},
                               "type" : "object"
                            },
                            "links" : [
                               {
-                                 "href" : "{group}",
+                                 "href" : "{name}",
                                  "rel" : "child"
                               }
                            ],
                            "type" : "array"
                         }
-                     },
-                     "POST" : {
-                        "allowtoken" : 1,
-                        "description" : "Create new security group.",
-                        "method" : "POST",
-                        "name" : "create_security_group",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "comment" : {
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "digest" : {
-                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                 "maxLength" : 40,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "group" : {
-                                 "description" : "Security Group name.",
-                                 "maxLength" : 18,
-                                 "minLength" : 2,
-                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                 "type" : "string"
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/notifications/endpoints",
+                  "text" : "endpoints"
+               },
+               {
+                  "children" : [
+                     {
+                        "children" : [
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Send a test notification to a provided target.",
+                                    "method" : "POST",
+                                    "name" : "test_target",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "name" : {
+                                             "description" : "Name of the target.",
+                                             "format" : "pve-configid",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "or",
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Modify"
+                                             ]
+                                          ],
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Audit"
+                                             ]
+                                          ],
+                                          [
+                                             "perm",
+                                             "/mapping/notifications",
+                                             [
+                                                "Mapping.Use"
+                                             ]
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 }
                               },
-                              "rename" : {
-                                 "description" : "Rename/update an existing security group. You can set 'rename' to the same value as 'name' to update the 'comment' of an existing group.",
-                                 "maxLength" : 18,
-                                 "minLength" : 2,
-                                 "optional" : 1,
-                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                 "type" : "string"
-                              }
+                              "leaf" : 1,
+                              "path" : "/cluster/notifications/targets/{name}/test",
+                              "text" : "test"
                            }
+                        ],
+                        "leaf" : 0,
+                        "path" : "/cluster/notifications/targets/{name}",
+                        "text" : "{name}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Returns a list of all entities that can be used as notification targets.",
+                        "method" : "GET",
+                        "name" : "get_all_targets",
+                        "parameters" : {
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
                            "check" : [
-                              "perm",
-                              "/",
+                              "or",
                               [
-                                 "Sys.Modify"
+                                 "perm",
+                                 "/mapping/notifications",
+                                 [
+                                    "Mapping.Modify"
+                                 ]
+                              ],
+                              [
+                                 "perm",
+                                 "/mapping/notifications",
+                                 [
+                                    "Mapping.Audit"
+                                 ]
+                              ],
+                              [
+                                 "perm",
+                                 "/mapping/notifications",
+                                 [
+                                    "Mapping.Use"
+                                 ]
                               ]
                            ]
                         },
                         "protected" : 1,
                         "returns" : {
-                           "type" : "null"
+                           "items" : {
+                              "properties" : {
+                                 "comment" : {
+                                    "description" : "Comment",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "disable" : {
+                                    "default" : 0,
+                                    "description" : "Show if this target is disabled",
+                                    "optional" : 1,
+                                    "type" : "boolean"
+                                 },
+                                 "name" : {
+                                    "description" : "Name of the target.",
+                                    "format" : "pve-configid",
+                                    "type" : "string"
+                                 },
+                                 "origin" : {
+                                    "description" : "Show if this entry was created by a user or was built-in",
+                                    "enum" : [
+                                       "user-created",
+                                       "builtin",
+                                       "modified-builtin"
+                                    ],
+                                    "type" : "string"
+                                 },
+                                 "type" : {
+                                    "description" : "Type of the target.",
+                                    "enum" : [
+                                       "sendmail",
+                                       "gotify",
+                                       "smtp"
+                                    ],
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{name}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
                         }
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/cluster/firewall/groups",
-                  "text" : "groups"
+                  "path" : "/cluster/notifications/targets",
+                  "text" : "targets"
                },
                {
                   "children" : [
@@ -1947,140 +2155,139 @@ const apiSchema = [
                         "info" : {
                            "DELETE" : {
                               "allowtoken" : 1,
-                              "description" : "Delete rule.",
+                              "description" : "Remove matcher",
                               "method" : "DELETE",
-                              "name" : "delete_rule",
+                              "name" : "delete_matcher",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
-                                       "optional" : 1,
+                                    "name" : {
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
-                                    },
-                                    "pos" : {
-                                       "description" : "Update rule at position <pos>.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
                                     }
                                  }
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/",
+                                    "/mapping/notifications",
                                     [
-                                       "Sys.Modify"
+                                       "Mapping.Modify"
                                     ]
                                  ]
                               },
                               "protected" : 1,
-                              "proxyto" : null,
                               "returns" : {
                                  "type" : "null"
                               }
                            },
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Get single rule data.",
+                              "description" : "Return a specific matcher",
                               "method" : "GET",
-                              "name" : "get_rule",
+                              "name" : "get_matcher",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "pos" : {
-                                       "description" : "Update rule at position <pos>.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
+                                    "name" : {
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
                                  }
                               },
                               "permissions" : {
                                  "check" : [
-                                    "perm",
-                                    "/",
+                                    "or",
                                     [
-                                       "Sys.Audit"
+                                       "perm",
+                                       "/mapping/notifications",
+                                       [
+                                          "Mapping.Modify"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/mapping/notifications",
+                                       [
+                                          "Mapping.Audit"
+                                       ]
                                     ]
                                  ]
                               },
-                              "proxyto" : null,
+                              "protected" : 1,
                               "returns" : {
                                  "properties" : {
-                                    "action" : {
-                                       "type" : "string"
-                                    },
                                     "comment" : {
+                                       "description" : "Comment",
                                        "optional" : 1,
                                        "type" : "string"
                                     },
-                                    "dest" : {
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
                                        "type" : "string"
                                     },
-                                    "dport" : {
+                                    "disable" : {
+                                       "default" : 0,
+                                       "description" : "Disable this matcher",
                                        "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "boolean"
                                     },
-                                    "enable" : {
+                                    "invert-match" : {
+                                       "description" : "Invert match of the whole matcher",
                                        "optional" : 1,
-                                       "type" : "integer"
+                                       "type" : "boolean"
                                     },
-                                    "icmp-type" : {
+                                    "match-calendar" : {
+                                       "description" : "Match notification timestamp",
+                                       "items" : {
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "array"
                                     },
-                                    "iface" : {
+                                    "match-field" : {
+                                       "description" : "Metadata fields to match (regex or exact match). Must be in the form (regex|exact):<field>=<value>",
+                                       "items" : {
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "array"
                                     },
-                                    "ipversion" : {
+                                    "match-severity" : {
+                                       "description" : "Notification severities to match",
+                                       "items" : {
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "integer"
+                                       "type" : "array"
                                     },
-                                    "log" : {
-                                       "description" : "Log level for firewall rule",
+                                    "mode" : {
+                                       "default" : "all",
+                                       "description" : "Choose between 'all' and 'any' for when multiple properties are specified",
                                        "enum" : [
-                                          "emerg",
-                                          "alert",
-                                          "crit",
-                                          "err",
-                                          "warning",
-                                          "notice",
-                                          "info",
-                                          "debug",
-                                          "nolog"
+                                          "all",
+                                          "any"
                                        ],
                                        "optional" : 1,
                                        "type" : "string"
                                     },
-                                    "macro" : {
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "pos" : {
-                                       "type" : "integer"
-                                    },
-                                    "proto" : {
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "source" : {
-                                       "optional" : 1,
+                                    "name" : {
+                                       "description" : "Name of the matcher.",
+                                       "format" : "pve-configid",
                                        "type" : "string"
                                     },
-                                    "sport" : {
+                                    "target" : {
+                                       "description" : "Targets to notify on match",
+                                       "items" : {
+                                          "format" : "pve-configid",
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "type" : {
-                                       "type" : "string"
+                                       "type" : "array"
                                     }
                                  },
                                  "type" : "object"
@@ -2088,201 +2295,241 @@ const apiSchema = [
                            },
                            "PUT" : {
                               "allowtoken" : 1,
-                              "description" : "Modify rule data.",
+                              "description" : "Update existing matcher",
                               "method" : "PUT",
-                              "name" : "update_rule",
+                              "name" : "update_matcher",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "action" : {
-                                       "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
-                                       "maxLength" : 20,
-                                       "minLength" : 2,
-                                       "optional" : 1,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
-                                    },
                                     "comment" : {
-                                       "description" : "Descriptive comment.",
+                                       "description" : "Comment",
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
                                     "delete" : {
                                        "description" : "A list of settings you want to delete.",
-                                       "format" : "pve-configid-list",
+                                       "items" : {
+                                          "format" : "pve-configid",
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "array",
+                                       "typetext" : "<array>"
                                     },
-                                    "dest" : {
-                                       "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                       "format" : "pve-fw-addr-spec",
-                                       "maxLength" : 512,
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
+                                    "disable" : {
+                                       "default" : 0,
+                                       "description" : "Disable this matcher",
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "dport" : {
-                                       "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                       "format" : "pve-fw-dport-spec",
+                                    "invert-match" : {
+                                       "description" : "Invert match of the whole matcher",
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "enable" : {
-                                       "description" : "Flag to enable/disable a rule.",
-                                       "minimum" : 0,
+                                    "match-calendar" : {
+                                       "description" : "Match notification timestamp",
+                                       "items" : {
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
+                                       "type" : "array",
+                                       "typetext" : "<array>"
                                     },
-                                    "icmp-type" : {
-                                       "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
-                                       "format" : "pve-fw-icmp-type-spec",
+                                    "match-field" : {
+                                       "description" : "Metadata fields to match (regex or exact match). Must be in the form (regex|exact):<field>=<value>",
+                                       "items" : {
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "array",
+                                       "typetext" : "<array>"
                                     },
-                                    "iface" : {
-                                       "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
-                                       "format" : "pve-iface",
-                                       "maxLength" : 20,
-                                       "minLength" : 2,
+                                    "match-severity" : {
+                                       "description" : "Notification severities to match",
+                                       "items" : {
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "array",
+                                       "typetext" : "<array>"
                                     },
-                                    "log" : {
-                                       "description" : "Log level for firewall rule.",
+                                    "mode" : {
+                                       "default" : "all",
+                                       "description" : "Choose between 'all' and 'any' for when multiple properties are specified",
                                        "enum" : [
-                                          "emerg",
-                                          "alert",
-                                          "crit",
-                                          "err",
-                                          "warning",
-                                          "notice",
-                                          "info",
-                                          "debug",
-                                          "nolog"
+                                          "all",
+                                          "any"
                                        ],
                                        "optional" : 1,
                                        "type" : "string"
                                     },
-                                    "macro" : {
-                                       "description" : "Use predefined standard macro.",
-                                       "maxLength" : 128,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "moveto" : {
-                                       "description" : "Move rule to new position <moveto>. Other arguments are ignored.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
-                                    },
-                                    "pos" : {
-                                       "description" : "Update rule at position <pos>.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
-                                    },
-                                    "proto" : {
-                                       "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
-                                       "format" : "pve-fw-protocol-spec",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "source" : {
-                                       "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                       "format" : "pve-fw-addr-spec",
-                                       "maxLength" : 512,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "sport" : {
-                                       "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                       "format" : "pve-fw-sport-spec",
-                                       "optional" : 1,
+                                    "name" : {
+                                       "description" : "Name of the matcher.",
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "type" : {
-                                       "description" : "Rule type.",
-                                       "enum" : [
-                                          "in",
-                                          "out",
-                                          "group"
-                                       ],
+                                    "target" : {
+                                       "description" : "Targets to notify on match",
+                                       "items" : {
+                                          "format" : "pve-configid",
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "array",
+                                       "typetext" : "<array>"
                                     }
                                  }
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/",
+                                    "/mapping/notifications",
                                     [
-                                       "Sys.Modify"
+                                       "Mapping.Modify"
                                     ]
                                  ]
                               },
                               "protected" : 1,
-                              "proxyto" : null,
                               "returns" : {
                                  "type" : "null"
                               }
                            }
                         },
                         "leaf" : 1,
-                        "path" : "/cluster/firewall/rules/{pos}",
-                        "text" : "{pos}"
+                        "path" : "/cluster/notifications/matchers/{name}",
+                        "text" : "{name}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "List rules.",
+                        "description" : "Returns a list of all matchers",
                         "method" : "GET",
-                        "name" : "get_rules",
+                        "name" : "get_matchers",
                         "parameters" : {
                            "additionalProperties" : 0
                         },
                         "permissions" : {
                            "check" : [
-                              "perm",
-                              "/",
+                              "or",
                               [
-                                 "Sys.Audit"
+                                 "perm",
+                                 "/mapping/notifications",
+                                 [
+                                    "Mapping.Modify"
+                                 ]
+                              ],
+                              [
+                                 "perm",
+                                 "/mapping/notifications",
+                                 [
+                                    "Mapping.Audit"
+                                 ]
+                              ],
+                              [
+                                 "perm",
+                                 "/mapping/notifications",
+                                 [
+                                    "Mapping.Use"
+                                 ]
                               ]
                            ]
                         },
-                        "proxyto" : null,
+                        "protected" : 1,
                         "returns" : {
                            "items" : {
                               "properties" : {
-                                 "pos" : {
-                                    "type" : "integer"
+                                 "comment" : {
+                                    "description" : "Comment",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "disable" : {
+                                    "default" : 0,
+                                    "description" : "Disable this matcher",
+                                    "optional" : 1,
+                                    "type" : "boolean"
+                                 },
+                                 "invert-match" : {
+                                    "description" : "Invert match of the whole matcher",
+                                    "optional" : 1,
+                                    "type" : "boolean"
+                                 },
+                                 "match-calendar" : {
+                                    "description" : "Match notification timestamp",
+                                    "items" : {
+                                       "type" : "string"
+                                    },
+                                    "optional" : 1,
+                                    "type" : "array"
+                                 },
+                                 "match-field" : {
+                                    "description" : "Metadata fields to match (regex or exact match). Must be in the form (regex|exact):<field>=<value>",
+                                    "items" : {
+                                       "type" : "string"
+                                    },
+                                    "optional" : 1,
+                                    "type" : "array"
+                                 },
+                                 "match-severity" : {
+                                    "description" : "Notification severities to match",
+                                    "items" : {
+                                       "type" : "string"
+                                    },
+                                    "optional" : 1,
+                                    "type" : "array"
+                                 },
+                                 "mode" : {
+                                    "default" : "all",
+                                    "description" : "Choose between 'all' and 'any' for when multiple properties are specified",
+                                    "enum" : [
+                                       "all",
+                                       "any"
+                                    ],
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "name" : {
+                                    "description" : "Name of the matcher.",
+                                    "format" : "pve-configid",
+                                    "type" : "string"
+                                 },
+                                 "origin" : {
+                                    "description" : "Show if this entry was created by a user or was built-in",
+                                    "enum" : [
+                                       "user-created",
+                                       "builtin",
+                                       "modified-builtin"
+                                    ],
+                                    "type" : "string"
+                                 },
+                                 "target" : {
+                                    "description" : "Targets to notify on match",
+                                    "items" : {
+                                       "format" : "pve-configid",
+                                       "type" : "string"
+                                    },
+                                    "optional" : 1,
+                                    "type" : "array"
                                  }
                               },
                               "type" : "object"
                            },
                            "links" : [
                               {
-                                 "href" : "{pos}",
+                                 "href" : "{name}",
                                  "rel" : "child"
                               }
                            ],
@@ -2291,457 +2538,297 @@ const apiSchema = [
                      },
                      "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Create new rule.",
+                        "description" : "Create a new matcher",
                         "method" : "POST",
-                        "name" : "create_rule",
+                        "name" : "create_matcher",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "action" : {
-                                 "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
-                                 "maxLength" : 20,
-                                 "minLength" : 2,
-                                 "optional" : 0,
-                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                 "type" : "string"
-                              },
                               "comment" : {
-                                 "description" : "Descriptive comment.",
+                                 "description" : "Comment",
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "dest" : {
-                                 "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                 "format" : "pve-fw-addr-spec",
-                                 "maxLength" : 512,
+                              "disable" : {
+                                 "default" : 0,
+                                 "description" : "Disable this matcher",
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               },
-                              "digest" : {
-                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                 "maxLength" : 40,
+                              "invert-match" : {
+                                 "description" : "Invert match of the whole matcher",
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               },
-                              "dport" : {
-                                 "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                 "format" : "pve-fw-dport-spec",
+                              "match-calendar" : {
+                                 "description" : "Match notification timestamp",
+                                 "items" : {
+                                    "type" : "string"
+                                 },
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "type" : "array",
+                                 "typetext" : "<array>"
                               },
-                              "enable" : {
-                                 "description" : "Flag to enable/disable a rule.",
-                                 "minimum" : 0,
+                              "match-field" : {
+                                 "description" : "Metadata fields to match (regex or exact match). Must be in the form (regex|exact):<field>=<value>",
+                                 "items" : {
+                                    "type" : "string"
+                                 },
                                  "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
+                                 "type" : "array",
+                                 "typetext" : "<array>"
                               },
-                              "icmp-type" : {
-                                 "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
-                                 "format" : "pve-fw-icmp-type-spec",
+                              "match-severity" : {
+                                 "description" : "Notification severities to match",
+                                 "items" : {
+                                    "type" : "string"
+                                 },
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "type" : "array",
+                                 "typetext" : "<array>"
                               },
-                              "iface" : {
-                                 "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
-                                 "format" : "pve-iface",
-                                 "maxLength" : 20,
-                                 "minLength" : 2,
+                              "mode" : {
+                                 "default" : "all",
+                                 "description" : "Choose between 'all' and 'any' for when multiple properties are specified",
+                                 "enum" : [
+                                    "all",
+                                    "any"
+                                 ],
                                  "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "name" : {
+                                 "description" : "Name of the matcher.",
+                                 "format" : "pve-configid",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "log" : {
-                                 "description" : "Log level for firewall rule.",
-                                 "enum" : [
-                                    "emerg",
-                                    "alert",
-                                    "crit",
-                                    "err",
-                                    "warning",
-                                    "notice",
-                                    "info",
-                                    "debug",
-                                    "nolog"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "macro" : {
-                                 "description" : "Use predefined standard macro.",
-                                 "maxLength" : 128,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "pos" : {
-                                 "description" : "Update rule at position <pos>.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "proto" : {
-                                 "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
-                                 "format" : "pve-fw-protocol-spec",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "source" : {
-                                 "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                 "format" : "pve-fw-addr-spec",
-                                 "maxLength" : 512,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "sport" : {
-                                 "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                 "format" : "pve-fw-sport-spec",
+                              "target" : {
+                                 "description" : "Targets to notify on match",
+                                 "items" : {
+                                    "format" : "pve-configid",
+                                    "type" : "string"
+                                 },
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "type" : {
-                                 "description" : "Rule type.",
-                                 "enum" : [
-                                    "in",
-                                    "out",
-                                    "group"
-                                 ],
-                                 "optional" : 0,
-                                 "type" : "string"
+                                 "type" : "array",
+                                 "typetext" : "<array>"
                               }
                            }
                         },
                         "permissions" : {
                            "check" : [
                               "perm",
-                              "/",
+                              "/mapping/notifications",
                               [
-                                 "Sys.Modify"
+                                 "Mapping.Modify"
                               ]
                            ]
                         },
                         "protected" : 1,
-                        "proxyto" : null,
                         "returns" : {
                            "type" : "null"
                         }
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/cluster/firewall/rules",
-                  "text" : "rules"
+                  "path" : "/cluster/notifications/matchers",
+                  "text" : "matchers"
+               }
+            ],
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Index for notification-related API endpoints.",
+                  "method" : "GET",
+                  "name" : "index",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "user" : "all"
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {},
+                        "type" : "object"
+                     },
+                     "links" : [
+                        {
+                           "href" : "{name}",
+                           "rel" : "child"
+                        }
+                     ],
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/cluster/notifications",
+            "text" : "notifications"
+         },
+         {
+            "children" : [
+               {
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Return the version of the cluster join API available on this node.",
+                        "method" : "GET",
+                        "name" : "join_api_version",
+                        "parameters" : {
+                           "additionalProperties" : 0
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
+                        },
+                        "returns" : {
+                           "description" : "Cluster Join API version, currently 1",
+                           "minimum" : 0,
+                           "type" : "integer"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/config/apiversion",
+                  "text" : "apiversion"
                },
                {
                   "children" : [
                      {
-                        "children" : [
-                           {
-                              "info" : {
-                                 "DELETE" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Remove IP or Network from IPSet.",
-                                    "method" : "DELETE",
-                                    "name" : "remove_ip",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cidr" : {
-                                             "description" : "Network/IP specification in CIDR format.",
-                                             "format" : "IPorCIDRorAlias",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "name" : {
-                                             "description" : "IP set name.",
-                                             "maxLength" : 64,
-                                             "minLength" : 2,
-                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/",
-                                          [
-                                             "Sys.Modify"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 },
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Read IP or Network settings from IPSet.",
-                                    "method" : "GET",
-                                    "name" : "read_ip",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cidr" : {
-                                             "description" : "Network/IP specification in CIDR format.",
-                                             "format" : "IPorCIDRorAlias",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "name" : {
-                                             "description" : "IP set name.",
-                                             "maxLength" : 64,
-                                             "minLength" : 2,
-                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/",
-                                          [
-                                             "Sys.Audit"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "type" : "object"
-                                    }
-                                 },
-                                 "PUT" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Update IP or Network settings",
-                                    "method" : "PUT",
-                                    "name" : "update_ip",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cidr" : {
-                                             "description" : "Network/IP specification in CIDR format.",
-                                             "format" : "IPorCIDRorAlias",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "comment" : {
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "name" : {
-                                             "description" : "IP set name.",
-                                             "maxLength" : 64,
-                                             "minLength" : 2,
-                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                             "type" : "string"
-                                          },
-                                          "nomatch" : {
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/",
-                                          [
-                                             "Sys.Modify"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/cluster/firewall/ipset/{name}/{cidr}",
-                              "text" : "{cidr}"
-                           }
-                        ],
                         "info" : {
                            "DELETE" : {
                               "allowtoken" : 1,
-                              "description" : "Delete IPSet",
+                              "description" : "Removes a node from the cluster configuration.",
                               "method" : "DELETE",
-                              "name" : "delete_ipset",
+                              "name" : "delnode",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "force" : {
-                                       "description" : "Delete all members of the IPSet, if there are any.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "name" : {
-                                       "description" : "IP set name.",
-                                       "maxLength" : 64,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
                                  }
                               },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Modify"
-                                    ]
-                                 ]
-                              },
                               "protected" : 1,
                               "returns" : {
                                  "type" : "null"
                               }
                            },
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "List IPSet content",
-                              "method" : "GET",
-                              "name" : "get_ipset",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "name" : {
-                                       "description" : "IP set name.",
-                                       "maxLength" : 64,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit"
-                                    ]
-                                 ]
-                              },
-                              "returns" : {
-                                 "items" : {
-                                    "properties" : {
-                                       "cidr" : {
-                                          "type" : "string"
-                                       },
-                                       "comment" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "digest" : {
-                                          "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                          "maxLength" : 40,
-                                          "optional" : 0,
-                                          "type" : "string"
-                                       },
-                                       "nomatch" : {
-                                          "optional" : 1,
-                                          "type" : "boolean"
-                                       }
-                                    },
-                                    "type" : "object"
-                                 },
-                                 "links" : [
-                                    {
-                                       "href" : "{cidr}",
-                                       "rel" : "child"
-                                    }
-                                 ],
-                                 "type" : "array"
-                              }
-                           },
                            "POST" : {
                               "allowtoken" : 1,
-                              "description" : "Add IP or Network to IPSet.",
+                              "description" : "Adds a node to the cluster configuration. This call is for internal use.",
                               "method" : "POST",
-                              "name" : "create_ip",
+                              "name" : "addnode",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "cidr" : {
-                                       "description" : "Network/IP specification in CIDR format.",
-                                       "format" : "IPorCIDRorAlias",
+                                    "apiversion" : {
+                                       "description" : "The JOIN_API_VERSION of the new node.",
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
+                                    },
+                                    "force" : {
+                                       "description" : "Do not throw error if node already exists.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "link[n]" : {
+                                       "description" : "Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)",
+                                       "format" : {
+                                          "address" : {
+                                             "default_key" : 1,
+                                             "description" : "Hostname (or IP) of this corosync link address.",
+                                             "format" : "address",
+                                             "format_description" : "IP",
+                                             "type" : "string"
+                                          },
+                                          "priority" : {
+                                             "default" : 0,
+                                             "description" : "The priority for the link when knet is used in 'passive' mode (default). Lower value means higher priority. Only valid for cluster create, ignored on node add.",
+                                             "maximum" : 255,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          }
+                                       },
+                                       "optional" : 1,
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "[address=]<IP> [,priority=<integer>]"
                                     },
-                                    "comment" : {
+                                    "new_node_ip" : {
+                                       "description" : "IP Address of node to add. Used as fallback if no links are given.",
+                                       "format" : "ip",
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "name" : {
-                                       "description" : "IP set name.",
-                                       "maxLength" : 64,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "nomatch" : {
+                                    "nodeid" : {
+                                       "description" : "Node id for this node.",
+                                       "minimum" : 1,
                                        "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (1 - N)"
+                                    },
+                                    "votes" : {
+                                       "description" : "Number of votes for this node",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
                                     }
                                  }
                               },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Modify"
-                                    ]
-                                 ]
-                              },
                               "protected" : 1,
                               "returns" : {
-                                 "type" : "null"
+                                 "properties" : {
+                                    "corosync_authkey" : {
+                                       "type" : "string"
+                                    },
+                                    "corosync_conf" : {
+                                       "type" : "string"
+                                    },
+                                    "warnings" : {
+                                       "items" : {
+                                          "type" : "string"
+                                       },
+                                       "type" : "array"
+                                    }
+                                 },
+                                 "type" : "object"
                               }
                            }
                         },
-                        "leaf" : 0,
-                        "path" : "/cluster/firewall/ipset/{name}",
-                        "text" : "{name}"
+                        "leaf" : 1,
+                        "path" : "/cluster/config/nodes/{node}",
+                        "text" : "{node}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "List IPSets",
+                        "description" : "Corosync node list.",
                         "method" : "GET",
-                        "name" : "ipset_index",
+                        "name" : "nodes",
                         "parameters" : {
                            "additionalProperties" : 0
                         },
@@ -2757,21 +2844,7 @@ const apiSchema = [
                         "returns" : {
                            "items" : {
                               "properties" : {
-                                 "comment" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "digest" : {
-                                    "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                    "maxLength" : 40,
-                                    "optional" : 0,
-                                    "type" : "string"
-                                 },
-                                 "name" : {
-                                    "description" : "IP set name.",
-                                    "maxLength" : 64,
-                                    "minLength" : 2,
-                                    "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                 "node" : {
                                     "type" : "string"
                                  }
                               },
@@ -2779,47 +2852,35 @@ const apiSchema = [
                            },
                            "links" : [
                               {
-                                 "href" : "{name}",
+                                 "href" : "{node}",
                                  "rel" : "child"
                               }
                            ],
                            "type" : "array"
                         }
-                     },
-                     "POST" : {
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/config/nodes",
+                  "text" : "nodes"
+               },
+               {
+                  "info" : {
+                     "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Create new IPSet",
-                        "method" : "POST",
-                        "name" : "create_ipset",
+                        "description" : "Get information needed to join this cluster over the connected node.",
+                        "method" : "GET",
+                        "name" : "join_info",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "comment" : {
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "digest" : {
-                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                 "maxLength" : 40,
+                              "node" : {
+                                 "default" : "current connected node",
+                                 "description" : "The node for which the joinee gets the nodeinfo. ",
+                                 "format" : "pve-node",
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
-                              },
-                              "name" : {
-                                 "description" : "IP set name.",
-                                 "maxLength" : 64,
-                                 "minLength" : 2,
-                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                 "type" : "string"
-                              },
-                              "rename" : {
-                                 "description" : "Rename an existing IPSet. You can set 'rename' to the same value as 'name' to update the 'comment' of an existing IPSet.",
-                                 "maxLength" : 64,
-                                 "minLength" : 2,
-                                 "optional" : 1,
-                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                 "type" : "string"
                               }
                            }
                         },
@@ -2828,258 +2889,169 @@ const apiSchema = [
                               "perm",
                               "/",
                               [
-                                 "Sys.Modify"
+                                 "Sys.Audit"
                               ]
                            ]
                         },
-                        "protected" : 1,
                         "returns" : {
-                           "type" : "null"
-                        }
-                     }
-                  },
-                  "leaf" : 0,
-                  "path" : "/cluster/firewall/ipset",
-                  "text" : "ipset"
-               },
-               {
-                  "children" : [
-                     {
-                        "info" : {
-                           "DELETE" : {
-                              "allowtoken" : 1,
-                              "description" : "Remove IP or Network alias.",
-                              "method" : "DELETE",
-                              "name" : "remove_alias",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "name" : {
-                                       "description" : "Alias name.",
-                                       "maxLength" : 64,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Modify"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
-                              }
-                           },
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Read alias.",
-                              "method" : "GET",
-                              "name" : "read_alias",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "name" : {
-                                       "description" : "Alias name.",
-                                       "maxLength" : 64,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit"
-                                    ]
-                                 ]
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "config_digest" : {
+                                 "type" : "string"
                               },
-                              "returns" : {
-                                 "type" : "object"
-                              }
-                           },
-                           "PUT" : {
-                              "allowtoken" : 1,
-                              "description" : "Update IP or Network alias.",
-                              "method" : "PUT",
-                              "name" : "update_alias",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "cidr" : {
-                                       "description" : "Network/IP specification in CIDR format.",
-                                       "format" : "IPorCIDR",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "comment" : {
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "name" : {
-                                       "description" : "Alias name.",
-                                       "maxLength" : 64,
-                                       "minLength" : 2,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
+                              "nodelist" : {
+                                 "items" : {
+                                    "additionalProperties" : 1,
+                                    "properties" : {
+                                       "name" : {
+                                          "description" : "The cluster node name.",
+                                          "format" : "pve-node",
+                                          "type" : "string"
+                                       },
+                                       "nodeid" : {
+                                          "description" : "Node id for this node.",
+                                          "minimum" : 1,
+                                          "optional" : 1,
+                                          "type" : "integer"
+                                       },
+                                       "pve_addr" : {
+                                          "format" : "ip",
+                                          "type" : "string"
+                                       },
+                                       "pve_fp" : {
+                                          "description" : "Certificate SHA 256 fingerprint.",
+                                          "pattern" : "([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}",
+                                          "type" : "string"
+                                       },
+                                       "quorum_votes" : {
+                                          "minimum" : 0,
+                                          "type" : "integer"
+                                       },
+                                       "ring0_addr" : {
+                                          "description" : "Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)",
+                                          "format" : {
+                                             "address" : {
+                                                "default_key" : 1,
+                                                "description" : "Hostname (or IP) of this corosync link address.",
+                                                "format" : "address",
+                                                "format_description" : "IP",
+                                                "type" : "string"
+                                             },
+                                             "priority" : {
+                                                "default" : 0,
+                                                "description" : "The priority for the link when knet is used in 'passive' mode (default). Lower value means higher priority. Only valid for cluster create, ignored on node add.",
+                                                "maximum" : 255,
+                                                "minimum" : 0,
+                                                "optional" : 1,
+                                                "type" : "integer"
+                                             }
+                                          },
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       }
                                     },
-                                    "rename" : {
-                                       "description" : "Rename an existing alias.",
-                                       "maxLength" : 64,
-                                       "minLength" : 2,
-                                       "optional" : 1,
-                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                       "type" : "string"
-                                    }
-                                 }
+                                    "type" : "object"
+                                 },
+                                 "type" : "array"
                               },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Modify"
-                                    ]
-                                 ]
+                              "preferred_node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string"
                               },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
+                              "totem" : {
+                                 "type" : "object"
                               }
-                           }
-                        },
-                        "leaf" : 1,
-                        "path" : "/cluster/firewall/aliases/{name}",
-                        "text" : "{name}"
-                     }
-                  ],
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "List aliases",
-                        "method" : "GET",
-                        "name" : "get_aliases",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
-                        "returns" : {
-                           "items" : {
-                              "properties" : {
-                                 "cidr" : {
-                                    "type" : "string"
-                                 },
-                                 "comment" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "digest" : {
-                                    "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                    "maxLength" : 40,
-                                    "optional" : 0,
-                                    "type" : "string"
-                                 },
-                                 "name" : {
-                                    "type" : "string"
-                                 }
-                              },
-                              "type" : "object"
                            },
-                           "links" : [
-                              {
-                                 "href" : "{name}",
-                                 "rel" : "child"
-                              }
-                           ],
-                           "type" : "array"
+                           "type" : "object"
                         }
                      },
                      "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Create IP or Network Alias.",
+                        "description" : "Joins this node into an existing cluster. If no links are given, default to IP resolved by node's hostname on single link (fallback fails for clusters with multiple links).",
                         "method" : "POST",
-                        "name" : "create_alias",
+                        "name" : "join",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "cidr" : {
-                                 "description" : "Network/IP specification in CIDR format.",
-                                 "format" : "IPorCIDR",
+                              "fingerprint" : {
+                                 "description" : "Certificate SHA 256 fingerprint.",
+                                 "pattern" : "([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}",
+                                 "type" : "string"
+                              },
+                              "force" : {
+                                 "description" : "Do not throw error if node already exists.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "hostname" : {
+                                 "description" : "Hostname (or IP) of an existing cluster member.",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "comment" : {
+                              "link[n]" : {
+                                 "description" : "Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)",
+                                 "format" : {
+                                    "address" : {
+                                       "default_key" : 1,
+                                       "description" : "Hostname (or IP) of this corosync link address.",
+                                       "format" : "address",
+                                       "format_description" : "IP",
+                                       "type" : "string"
+                                    },
+                                    "priority" : {
+                                       "default" : 0,
+                                       "description" : "The priority for the link when knet is used in 'passive' mode (default). Lower value means higher priority. Only valid for cluster create, ignored on node add.",
+                                       "maximum" : 255,
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[address=]<IP> [,priority=<integer>]"
+                              },
+                              "nodeid" : {
+                                 "description" : "Node id for this node.",
+                                 "minimum" : 1,
                                  "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - N)"
+                              },
+                              "password" : {
+                                 "description" : "Superuser (root) password of peer node.",
+                                 "maxLength" : 128,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "name" : {
-                                 "description" : "Alias name.",
-                                 "maxLength" : 64,
-                                 "minLength" : 2,
-                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                 "type" : "string"
+                              "votes" : {
+                                 "description" : "Number of votes for this node",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
                               }
                            }
                         },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Modify"
-                              ]
-                           ]
-                        },
                         "protected" : 1,
                         "returns" : {
-                           "type" : "null"
+                           "type" : "string"
                         }
                      }
                   },
-                  "leaf" : 0,
-                  "path" : "/cluster/firewall/aliases",
-                  "text" : "aliases"
+                  "leaf" : 1,
+                  "path" : "/cluster/config/join",
+                  "text" : "join"
                },
                {
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Get Firewall options.",
+                        "description" : "Get corosync totem protocol settings.",
                         "method" : "GET",
-                        "name" : "get_options",
+                        "name" : "totem",
                         "parameters" : {
                            "additionalProperties" : 0
                         },
@@ -3093,272 +3065,42 @@ const apiSchema = [
                            ]
                         },
                         "returns" : {
-                           "properties" : {
-                              "ebtables" : {
-                                 "default" : 1,
-                                 "description" : "Enable ebtables rules cluster wide.",
-                                 "optional" : 1,
-                                 "type" : "boolean"
-                              },
-                              "enable" : {
-                                 "description" : "Enable or disable the firewall cluster wide.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer"
-                              },
-                              "log_ratelimit" : {
-                                 "description" : "Log ratelimiting settings",
-                                 "format" : {
-                                    "burst" : {
-                                       "default" : 5,
-                                       "description" : "Initial burst of packages which will always get logged before the rate is applied",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "enable" : {
-                                       "default" : "1",
-                                       "default_key" : 1,
-                                       "description" : "Enable or disable log rate limiting",
-                                       "type" : "boolean"
-                                    },
-                                    "rate" : {
-                                       "default" : "1/second",
-                                       "description" : "Frequency with which the burst bucket gets refilled",
-                                       "format_description" : "rate",
-                                       "optional" : 1,
-                                       "pattern" : "[1-9][0-9]*\\/(second|minute|hour|day)",
-                                       "type" : "string"
-                                    }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "policy_in" : {
-                                 "description" : "Input policy.",
-                                 "enum" : [
-                                    "ACCEPT",
-                                    "REJECT",
-                                    "DROP"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "policy_out" : {
-                                 "description" : "Output policy.",
-                                 "enum" : [
-                                    "ACCEPT",
-                                    "REJECT",
-                                    "DROP"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           },
                            "type" : "object"
                         }
-                     },
-                     "PUT" : {
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/config/totem",
+                  "text" : "totem"
+               },
+               {
+                  "info" : {
+                     "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Set Firewall options.",
-                        "method" : "PUT",
-                        "name" : "set_options",
+                        "description" : "Get QDevice status",
+                        "method" : "GET",
+                        "name" : "status",
                         "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "delete" : {
-                                 "description" : "A list of settings you want to delete.",
-                                 "format" : "pve-configid-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "digest" : {
-                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                 "maxLength" : 40,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "ebtables" : {
-                                 "default" : 1,
-                                 "description" : "Enable ebtables rules cluster wide.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "enable" : {
-                                 "description" : "Enable or disable the firewall cluster wide.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "log_ratelimit" : {
-                                 "description" : "Log ratelimiting settings",
-                                 "format" : {
-                                    "burst" : {
-                                       "default" : 5,
-                                       "description" : "Initial burst of packages which will always get logged before the rate is applied",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "enable" : {
-                                       "default" : "1",
-                                       "default_key" : 1,
-                                       "description" : "Enable or disable log rate limiting",
-                                       "type" : "boolean"
-                                    },
-                                    "rate" : {
-                                       "default" : "1/second",
-                                       "description" : "Frequency with which the burst bucket gets refilled",
-                                       "format_description" : "rate",
-                                       "optional" : 1,
-                                       "pattern" : "[1-9][0-9]*\\/(second|minute|hour|day)",
-                                       "type" : "string"
-                                    }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[enable=]<1|0> [,burst=<integer>] [,rate=<rate>]"
-                              },
-                              "policy_in" : {
-                                 "description" : "Input policy.",
-                                 "enum" : [
-                                    "ACCEPT",
-                                    "REJECT",
-                                    "DROP"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "policy_out" : {
-                                 "description" : "Output policy.",
-                                 "enum" : [
-                                    "ACCEPT",
-                                    "REJECT",
-                                    "DROP"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           }
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
                            "check" : [
                               "perm",
                               "/",
                               [
-                                 "Sys.Modify"
+                                 "Sys.Audit"
                               ]
                            ]
                         },
                         "protected" : 1,
                         "returns" : {
-                           "type" : "null"
+                           "type" : "object"
                         }
                      }
                   },
                   "leaf" : 1,
-                  "path" : "/cluster/firewall/options",
-                  "text" : "options"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "List available macros",
-                        "method" : "GET",
-                        "name" : "get_macros",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "user" : "all"
-                        },
-                        "returns" : {
-                           "items" : {
-                              "properties" : {
-                                 "descr" : {
-                                    "description" : "More verbose description (if available).",
-                                    "type" : "string"
-                                 },
-                                 "macro" : {
-                                    "description" : "Macro name.",
-                                    "type" : "string"
-                                 }
-                              },
-                              "type" : "object"
-                           },
-                           "type" : "array"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/firewall/macros",
-                  "text" : "macros"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Lists possible IPSet/Alias reference which are allowed in source/dest properties.",
-                        "method" : "GET",
-                        "name" : "refs",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "type" : {
-                                 "description" : "Only list references of specified type.",
-                                 "enum" : [
-                                    "alias",
-                                    "ipset"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           }
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
-                        "returns" : {
-                           "items" : {
-                              "properties" : {
-                                 "comment" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "name" : {
-                                    "type" : "string"
-                                 },
-                                 "ref" : {
-                                    "type" : "string"
-                                 },
-                                 "type" : {
-                                    "enum" : [
-                                       "alias",
-                                       "ipset"
-                                    ],
-                                    "type" : "string"
-                                 }
-                              },
-                              "type" : "object"
-                           },
-                           "type" : "array"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/firewall/refs",
-                  "text" : "refs"
+                  "path" : "/cluster/config/qdevice",
+                  "text" : "qdevice"
                }
             ],
             "info" : {
@@ -3371,7 +3113,13 @@ const apiSchema = [
                      "additionalProperties" : 0
                   },
                   "permissions" : {
-                     "user" : "all"
+                     "check" : [
+                        "perm",
+                        "/",
+                        [
+                           "Sys.Audit"
+                        ]
+                     ]
                   },
                   "returns" : {
                      "items" : {
@@ -3386,31 +3134,422 @@ const apiSchema = [
                      ],
                      "type" : "array"
                   }
+               },
+               "POST" : {
+                  "allowtoken" : 1,
+                  "description" : "Generate new cluster configuration. If no links given, default to local IP address as link0.",
+                  "method" : "POST",
+                  "name" : "create",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "clustername" : {
+                           "description" : "The name of the cluster.",
+                           "format" : "pve-node",
+                           "maxLength" : 15,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "link[n]" : {
+                           "description" : "Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)",
+                           "format" : {
+                              "address" : {
+                                 "default_key" : 1,
+                                 "description" : "Hostname (or IP) of this corosync link address.",
+                                 "format" : "address",
+                                 "format_description" : "IP",
+                                 "type" : "string"
+                              },
+                              "priority" : {
+                                 "default" : 0,
+                                 "description" : "The priority for the link when knet is used in 'passive' mode (default). Lower value means higher priority. Only valid for cluster create, ignored on node add.",
+                                 "maximum" : 255,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[address=]<IP> [,priority=<integer>]"
+                        },
+                        "nodeid" : {
+                           "description" : "Node id for this node.",
+                           "minimum" : 1,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (1 - N)"
+                        },
+                        "votes" : {
+                           "description" : "Number of votes for this node.",
+                           "minimum" : 1,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (1 - N)"
+                        }
+                     }
+                  },
+                  "protected" : 1,
+                  "returns" : {
+                     "type" : "string"
+                  }
                }
             },
             "leaf" : 0,
-            "path" : "/cluster/firewall",
-            "text" : "firewall"
+            "path" : "/cluster/config",
+            "text" : "config"
          },
          {
             "children" : [
                {
                   "children" : [
                      {
+                        "children" : [
+                           {
+                              "info" : {
+                                 "DELETE" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Delete rule.",
+                                    "method" : "DELETE",
+                                    "name" : "delete_rule",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "group" : {
+                                             "description" : "Security Group name.",
+                                             "maxLength" : 18,
+                                             "minLength" : 2,
+                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                             "type" : "string"
+                                          },
+                                          "pos" : {
+                                             "description" : "Update rule at position <pos>.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Modify"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : null,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 },
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Get single rule data.",
+                                    "method" : "GET",
+                                    "name" : "get_rule",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "group" : {
+                                             "description" : "Security Group name.",
+                                             "maxLength" : 18,
+                                             "minLength" : 2,
+                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                             "type" : "string"
+                                          },
+                                          "pos" : {
+                                             "description" : "Update rule at position <pos>.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Audit"
+                                          ]
+                                       ]
+                                    },
+                                    "proxyto" : null,
+                                    "returns" : {
+                                       "properties" : {
+                                          "action" : {
+                                             "type" : "string"
+                                          },
+                                          "comment" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "dest" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "dport" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "enable" : {
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "icmp-type" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "iface" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ipversion" : {
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "log" : {
+                                             "description" : "Log level for firewall rule",
+                                             "enum" : [
+                                                "emerg",
+                                                "alert",
+                                                "crit",
+                                                "err",
+                                                "warning",
+                                                "notice",
+                                                "info",
+                                                "debug",
+                                                "nolog"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "macro" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "pos" : {
+                                             "type" : "integer"
+                                          },
+                                          "proto" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "source" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "sport" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "type" : {
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Modify rule data.",
+                                    "method" : "PUT",
+                                    "name" : "update_rule",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "action" : {
+                                             "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
+                                             "maxLength" : 20,
+                                             "minLength" : 2,
+                                             "optional" : 1,
+                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                             "type" : "string"
+                                          },
+                                          "comment" : {
+                                             "description" : "Descriptive comment.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "delete" : {
+                                             "description" : "A list of settings you want to delete.",
+                                             "format" : "pve-configid-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "dest" : {
+                                             "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                             "format" : "pve-fw-addr-spec",
+                                             "maxLength" : 512,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "dport" : {
+                                             "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                             "format" : "pve-fw-dport-spec",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "enable" : {
+                                             "description" : "Flag to enable/disable a rule.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "group" : {
+                                             "description" : "Security Group name.",
+                                             "maxLength" : 18,
+                                             "minLength" : 2,
+                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                             "type" : "string"
+                                          },
+                                          "icmp-type" : {
+                                             "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
+                                             "format" : "pve-fw-icmp-type-spec",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "iface" : {
+                                             "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
+                                             "format" : "pve-iface",
+                                             "maxLength" : 20,
+                                             "minLength" : 2,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "log" : {
+                                             "description" : "Log level for firewall rule.",
+                                             "enum" : [
+                                                "emerg",
+                                                "alert",
+                                                "crit",
+                                                "err",
+                                                "warning",
+                                                "notice",
+                                                "info",
+                                                "debug",
+                                                "nolog"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "macro" : {
+                                             "description" : "Use predefined standard macro.",
+                                             "maxLength" : 128,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "moveto" : {
+                                             "description" : "Move rule to new position <moveto>. Other arguments are ignored.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "pos" : {
+                                             "description" : "Update rule at position <pos>.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "proto" : {
+                                             "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
+                                             "format" : "pve-fw-protocol-spec",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "source" : {
+                                             "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                             "format" : "pve-fw-addr-spec",
+                                             "maxLength" : 512,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "sport" : {
+                                             "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                             "format" : "pve-fw-sport-spec",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "type" : {
+                                             "description" : "Rule type.",
+                                             "enum" : [
+                                                "in",
+                                                "out",
+                                                "group"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Modify"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : null,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/cluster/firewall/groups/{group}/{pos}",
+                              "text" : "{pos}"
+                           }
+                        ],
                         "info" : {
-                           "GET" : {
+                           "DELETE" : {
                               "allowtoken" : 1,
-                              "description" : "Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views.",
-                              "method" : "GET",
-                              "name" : "get_volume_backup_included",
+                              "description" : "Delete security group.",
+                              "method" : "DELETE",
+                              "name" : "delete_security_group",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "id" : {
-                                       "description" : "The job ID.",
-                                       "maxLength" : 50,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                    "group" : {
+                                       "description" : "Security Group name.",
+                                       "maxLength" : 18,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
                                     }
                                  }
                               },
@@ -3419,120 +3558,297 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Audit"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
                               "protected" : 1,
                               "returns" : {
-                                 "description" : "Root node of the tree object. Children represent guests, grandchildren represent volumes of that guest.",
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "List rules.",
+                              "method" : "GET",
+                              "name" : "get_rules",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
                                  "properties" : {
-                                    "children" : {
-                                       "items" : {
-                                          "properties" : {
-                                             "children" : {
-                                                "description" : "The volumes of the guest with the information if they will be included in backups.",
-                                                "items" : {
-                                                   "properties" : {
-                                                      "id" : {
-                                                         "description" : "Configuration key of the volume.",
-                                                         "type" : "string"
-                                                      },
-                                                      "included" : {
-                                                         "description" : "Whether the volume is included in the backup or not.",
-                                                         "type" : "boolean"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "Name of the volume.",
-                                                         "type" : "string"
-                                                      },
-                                                      "reason" : {
-                                                         "description" : "The reason why the volume is included (or excluded).",
-                                                         "type" : "string"
-                                                      }
-                                                   },
-                                                   "type" : "object"
-                                                },
-                                                "optional" : 1,
-                                                "type" : "array"
-                                             },
-                                             "id" : {
-                                                "description" : "VMID of the guest.",
-                                                "type" : "integer"
-                                             },
-                                             "name" : {
-                                                "description" : "Name of the guest",
-                                                "optional" : 1,
-                                                "type" : "string"
-                                             },
-                                             "type" : {
-                                                "description" : "Type of the guest, VM, CT or unknown for removed but not purged guests.",
-                                                "enum" : [
-                                                   "qemu",
-                                                   "lxc",
-                                                   "unknown"
-                                                ],
-                                                "type" : "string"
-                                             }
-                                          },
-                                          "type" : "object"
-                                       },
-                                       "type" : "array"
+                                    "group" : {
+                                       "description" : "Security Group name.",
+                                       "maxLength" : 18,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
                                     }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Audit"
+                                    ]
+                                 ]
+                              },
+                              "proxyto" : null,
+                              "returns" : {
+                                 "items" : {
+                                    "properties" : {
+                                       "pos" : {
+                                          "type" : "integer"
+                                       }
+                                    },
+                                    "type" : "object"
                                  },
-                                 "type" : "object"
+                                 "links" : [
+                                    {
+                                       "href" : "{pos}",
+                                       "rel" : "child"
+                                    }
+                                 ],
+                                 "type" : "array"
+                              }
+                           },
+                           "POST" : {
+                              "allowtoken" : 1,
+                              "description" : "Create new rule.",
+                              "method" : "POST",
+                              "name" : "create_rule",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "action" : {
+                                       "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
+                                       "maxLength" : 20,
+                                       "minLength" : 2,
+                                       "optional" : 0,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
+                                    },
+                                    "comment" : {
+                                       "description" : "Descriptive comment.",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "dest" : {
+                                       "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                       "format" : "pve-fw-addr-spec",
+                                       "maxLength" : 512,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "dport" : {
+                                       "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                       "format" : "pve-fw-dport-spec",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "enable" : {
+                                       "description" : "Flag to enable/disable a rule.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    },
+                                    "group" : {
+                                       "description" : "Security Group name.",
+                                       "maxLength" : 18,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
+                                    },
+                                    "icmp-type" : {
+                                       "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
+                                       "format" : "pve-fw-icmp-type-spec",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "iface" : {
+                                       "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
+                                       "format" : "pve-iface",
+                                       "maxLength" : 20,
+                                       "minLength" : 2,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "log" : {
+                                       "description" : "Log level for firewall rule.",
+                                       "enum" : [
+                                          "emerg",
+                                          "alert",
+                                          "crit",
+                                          "err",
+                                          "warning",
+                                          "notice",
+                                          "info",
+                                          "debug",
+                                          "nolog"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "macro" : {
+                                       "description" : "Use predefined standard macro.",
+                                       "maxLength" : 128,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "pos" : {
+                                       "description" : "Update rule at position <pos>.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    },
+                                    "proto" : {
+                                       "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
+                                       "format" : "pve-fw-protocol-spec",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "source" : {
+                                       "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                       "format" : "pve-fw-addr-spec",
+                                       "maxLength" : 512,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "sport" : {
+                                       "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                       "format" : "pve-fw-sport-spec",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "type" : {
+                                       "description" : "Rule type.",
+                                       "enum" : [
+                                          "in",
+                                          "out",
+                                          "group"
+                                       ],
+                                       "optional" : 0,
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Modify"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : null,
+                              "returns" : {
+                                 "type" : "null"
                               }
                            }
                         },
-                        "leaf" : 1,
-                        "path" : "/cluster/backup/{id}/included_volumes",
-                        "text" : "included_volumes"
+                        "leaf" : 0,
+                        "path" : "/cluster/firewall/groups/{group}",
+                        "text" : "{group}"
                      }
                   ],
                   "info" : {
-                     "DELETE" : {
+                     "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Delete vzdump backup job definition.",
-                        "method" : "DELETE",
-                        "name" : "delete_job",
+                        "description" : "List security groups.",
+                        "method" : "GET",
+                        "name" : "list_security_groups",
                         "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "id" : {
-                                 "description" : "The job ID.",
-                                 "maxLength" : 50,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              }
-                           }
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Modify"
-                              ]
-                           ]
+                           "user" : "all"
                         },
-                        "protected" : 1,
                         "returns" : {
-                           "type" : "null"
+                           "items" : {
+                              "properties" : {
+                                 "comment" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "digest" : {
+                                    "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                    "maxLength" : 64,
+                                    "optional" : 0,
+                                    "type" : "string"
+                                 },
+                                 "group" : {
+                                    "description" : "Security Group name.",
+                                    "maxLength" : 18,
+                                    "minLength" : 2,
+                                    "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{group}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
                         }
                      },
-                     "GET" : {
+                     "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Read vzdump backup job definition.",
-                        "method" : "GET",
-                        "name" : "read_job",
+                        "description" : "Create new security group.",
+                        "method" : "POST",
+                        "name" : "create_security_group",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "id" : {
-                                 "description" : "The job ID.",
-                                 "maxLength" : 50,
+                              "comment" : {
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "digest" : {
+                                 "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 64,
+                                 "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
+                              },
+                              "group" : {
+                                 "description" : "Security Group name.",
+                                 "maxLength" : 18,
+                                 "minLength" : 2,
+                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                 "type" : "string"
+                              },
+                              "rename" : {
+                                 "description" : "Rename/update an existing security group. You can set 'rename' to the same value as 'name' to update the 'comment' of an existing group.",
+                                 "maxLength" : 18,
+                                 "minLength" : 2,
+                                 "optional" : 1,
+                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                 "type" : "string"
                               }
                            }
                         },
@@ -3541,297 +3857,496 @@ const apiSchema = [
                               "perm",
                               "/",
                               [
-                                 "Sys.Audit"
+                                 "Sys.Modify"
                               ]
                            ]
                         },
+                        "protected" : 1,
                         "returns" : {
-                           "type" : "object"
+                           "type" : "null"
                         }
-                     },
-                     "PUT" : {
-                        "allowtoken" : 1,
-                        "description" : "Update vzdump backup job definition.",
-                        "method" : "PUT",
-                        "name" : "update_job",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "all" : {
-                                 "default" : 0,
-                                 "description" : "Backup all known guest systems on this host.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "bwlimit" : {
-                                 "default" : 0,
-                                 "description" : "Limit I/O bandwidth (KBytes per second).",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "comment" : {
-                                 "description" : "Description for the Job.",
-                                 "maxLength" : 512,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "compress" : {
-                                 "default" : "0",
-                                 "description" : "Compress dump file.",
-                                 "enum" : [
-                                    "0",
-                                    "1",
-                                    "gzip",
-                                    "lzo",
-                                    "zstd"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "delete" : {
-                                 "description" : "A list of settings you want to delete.",
-                                 "format" : "pve-configid-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "dow" : {
-                                 "description" : "Day of week selection.",
-                                 "format" : "pve-day-of-week-list",
-                                 "optional" : 1,
-                                 "requires" : "starttime",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "dumpdir" : {
-                                 "description" : "Store resulting files to specified directory.",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "enabled" : {
-                                 "default" : "1",
-                                 "description" : "Enable or disable the job.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "exclude" : {
-                                 "description" : "Exclude specified guest systems (assumes --all)",
-                                 "format" : "pve-vmid-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/firewall/groups",
+                  "text" : "groups"
+               },
+               {
+                  "children" : [
+                     {
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete rule.",
+                              "method" : "DELETE",
+                              "name" : "delete_rule",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "pos" : {
+                                       "description" : "Update rule at position <pos>.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    }
+                                 }
                               },
-                              "exclude-path" : {
-                                 "description" : "Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root,  other paths match relative to each subdirectory.",
-                                 "format" : "string-alist",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Modify"
+                                    ]
+                                 ]
                               },
-                              "id" : {
-                                 "description" : "The job ID.",
-                                 "maxLength" : 50,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                              "protected" : 1,
+                              "proxyto" : null,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Get single rule data.",
+                              "method" : "GET",
+                              "name" : "get_rule",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "pos" : {
+                                       "description" : "Update rule at position <pos>.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    }
+                                 }
                               },
-                              "ionice" : {
-                                 "default" : 7,
-                                 "description" : "Set CFQ ionice priority.",
-                                 "maximum" : 8,
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - 8)"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Audit"
+                                    ]
+                                 ]
                               },
-                              "lockwait" : {
-                                 "default" : 180,
-                                 "description" : "Maximal time to wait for the global lock (minutes).",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
+                              "proxyto" : null,
+                              "returns" : {
+                                 "properties" : {
+                                    "action" : {
+                                       "type" : "string"
+                                    },
+                                    "comment" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "dest" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "dport" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "enable" : {
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "icmp-type" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "iface" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "ipversion" : {
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "log" : {
+                                       "description" : "Log level for firewall rule",
+                                       "enum" : [
+                                          "emerg",
+                                          "alert",
+                                          "crit",
+                                          "err",
+                                          "warning",
+                                          "notice",
+                                          "info",
+                                          "debug",
+                                          "nolog"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "macro" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "pos" : {
+                                       "type" : "integer"
+                                    },
+                                    "proto" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "source" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "sport" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "type" : {
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "type" : "object"
+                              }
+                           },
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Modify rule data.",
+                              "method" : "PUT",
+                              "name" : "update_rule",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "action" : {
+                                       "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
+                                       "maxLength" : 20,
+                                       "minLength" : 2,
+                                       "optional" : 1,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
+                                    },
+                                    "comment" : {
+                                       "description" : "Descriptive comment.",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "dest" : {
+                                       "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                       "format" : "pve-fw-addr-spec",
+                                       "maxLength" : 512,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "dport" : {
+                                       "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                       "format" : "pve-fw-dport-spec",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "enable" : {
+                                       "description" : "Flag to enable/disable a rule.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    },
+                                    "icmp-type" : {
+                                       "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
+                                       "format" : "pve-fw-icmp-type-spec",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "iface" : {
+                                       "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
+                                       "format" : "pve-iface",
+                                       "maxLength" : 20,
+                                       "minLength" : 2,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "log" : {
+                                       "description" : "Log level for firewall rule.",
+                                       "enum" : [
+                                          "emerg",
+                                          "alert",
+                                          "crit",
+                                          "err",
+                                          "warning",
+                                          "notice",
+                                          "info",
+                                          "debug",
+                                          "nolog"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "macro" : {
+                                       "description" : "Use predefined standard macro.",
+                                       "maxLength" : 128,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "moveto" : {
+                                       "description" : "Move rule to new position <moveto>. Other arguments are ignored.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    },
+                                    "pos" : {
+                                       "description" : "Update rule at position <pos>.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    },
+                                    "proto" : {
+                                       "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
+                                       "format" : "pve-fw-protocol-spec",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "source" : {
+                                       "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                       "format" : "pve-fw-addr-spec",
+                                       "maxLength" : 512,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "sport" : {
+                                       "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                       "format" : "pve-fw-sport-spec",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "type" : {
+                                       "description" : "Rule type.",
+                                       "enum" : [
+                                          "in",
+                                          "out",
+                                          "group"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 }
                               },
-                              "mailnotification" : {
-                                 "default" : "always",
-                                 "description" : "Specify when to send an email",
-                                 "enum" : [
-                                    "always",
-                                    "failure"
-                                 ],
-                                 "optional" : 1,
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Modify"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : null,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/cluster/firewall/rules/{pos}",
+                        "text" : "{pos}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "List rules.",
+                        "method" : "GET",
+                        "name" : "get_rules",
+                        "parameters" : {
+                           "additionalProperties" : 0
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
+                        },
+                        "proxyto" : null,
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "pos" : {
+                                    "type" : "integer"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{pos}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create new rule.",
+                        "method" : "POST",
+                        "name" : "create_rule",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "action" : {
+                                 "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
+                                 "maxLength" : 20,
+                                 "minLength" : 2,
+                                 "optional" : 0,
+                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
                                  "type" : "string"
                               },
-                              "mailto" : {
-                                 "description" : "Comma-separated list of email addresses or users that should receive email notifications.",
-                                 "format" : "email-or-username-list",
+                              "comment" : {
+                                 "description" : "Descriptive comment.",
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "maxfiles" : {
-                                 "description" : "Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system.",
-                                 "minimum" : 1,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
-                              },
-                              "mode" : {
-                                 "default" : "snapshot",
-                                 "description" : "Backup mode.",
-                                 "enum" : [
-                                    "snapshot",
-                                    "suspend",
-                                    "stop"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "node" : {
-                                 "description" : "Only run if executed on this node.",
-                                 "format" : "pve-node",
+                              "dest" : {
+                                 "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                 "format" : "pve-fw-addr-spec",
+                                 "maxLength" : 512,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "notes-template" : {
-                                 "description" : "Template string for generating notes for the backup(s). It can contain variables which will be replaced by their values. Currently supported are {{cluster}}, {{guestname}}, {{node}}, and {{vmid}}, but more might be added in the future. Needs to be a single line, newline and backslash need to be escaped as '\\n' and '\\\\' respectively.",
-                                 "maxLength" : 1024,
+                              "digest" : {
+                                 "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 64,
                                  "optional" : 1,
-                                 "requires" : "storage",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "performance" : {
-                                 "description" : "Other performance-related settings.",
-                                 "format" : "backup-performance",
+                              "dport" : {
+                                 "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                 "format" : "pve-fw-dport-spec",
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "[max-workers=<integer>]"
+                                 "typetext" : "<string>"
                               },
-                              "pigz" : {
-                                 "default" : 0,
-                                 "description" : "Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.",
+                              "enable" : {
+                                 "description" : "Flag to enable/disable a rule.",
+                                 "minimum" : 0,
                                  "optional" : 1,
                                  "type" : "integer",
-                                 "typetext" : "<integer>"
+                                 "typetext" : "<integer> (0 - N)"
                               },
-                              "pool" : {
-                                 "description" : "Backup all known guest systems included in the specified pool.",
+                              "icmp-type" : {
+                                 "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
+                                 "format" : "pve-fw-icmp-type-spec",
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "protected" : {
-                                 "description" : "If true, mark backup(s) as protected.",
-                                 "optional" : 1,
-                                 "requires" : "storage",
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "prune-backups" : {
-                                 "default" : "keep-all=1",
-                                 "description" : "Use these retention options instead of those from the storage configuration.",
-                                 "format" : "prune-backups",
+                              "iface" : {
+                                 "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
+                                 "format" : "pve-iface",
+                                 "maxLength" : 20,
+                                 "minLength" : 2,
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]"
-                              },
-                              "quiet" : {
-                                 "default" : 0,
-                                 "description" : "Be quiet.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "remove" : {
-                                 "default" : 1,
-                                 "description" : "Prune older backups according to 'prune-backups'.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "typetext" : "<string>"
                               },
-                              "repeat-missed" : {
-                                 "default" : 0,
-                                 "description" : "If true, the job will be run as soon as possible if it was missed while the scheduler was not running.",
+                              "log" : {
+                                 "description" : "Log level for firewall rule.",
+                                 "enum" : [
+                                    "emerg",
+                                    "alert",
+                                    "crit",
+                                    "err",
+                                    "warning",
+                                    "notice",
+                                    "info",
+                                    "debug",
+                                    "nolog"
+                                 ],
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string"
                               },
-                              "schedule" : {
-                                 "description" : "Backup schedule. The format is a subset of `systemd` calendar events.",
-                                 "format" : "pve-calendar-event",
+                              "macro" : {
+                                 "description" : "Use predefined standard macro.",
                                  "maxLength" : 128,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "script" : {
-                                 "description" : "Use specified hook script.",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "starttime" : {
-                                 "description" : "Job Start time.",
-                                 "optional" : 1,
-                                 "pattern" : "\\d{1,2}:\\d{1,2}",
-                                 "type" : "string",
-                                 "typetext" : "HH:MM"
-                              },
-                              "stdexcludes" : {
-                                 "default" : 1,
-                                 "description" : "Exclude temporary files and logs.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "stop" : {
-                                 "default" : 0,
-                                 "description" : "Stop running backup jobs on this host.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "stopwait" : {
-                                 "default" : 10,
-                                 "description" : "Maximal time to wait until a guest system is stopped (minutes).",
+                              "pos" : {
+                                 "description" : "Update rule at position <pos>.",
                                  "minimum" : 0,
                                  "optional" : 1,
                                  "type" : "integer",
                                  "typetext" : "<integer> (0 - N)"
                               },
-                              "storage" : {
-                                 "description" : "Store resulting file to this storage.",
-                                 "format" : "pve-storage-id",
+                              "proto" : {
+                                 "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
+                                 "format" : "pve-fw-protocol-spec",
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "tmpdir" : {
-                                 "description" : "Store temporary files to specified directory.",
+                              "source" : {
+                                 "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                 "format" : "pve-fw-addr-spec",
+                                 "maxLength" : 512,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "vmid" : {
-                                 "description" : "The ID of the guest system you want to backup.",
-                                 "format" : "pve-vmid-list",
+                              "sport" : {
+                                 "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                 "format" : "pve-fw-sport-spec",
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "zstd" : {
-                                 "default" : 1,
-                                 "description" : "Zstd threads. N=0 uses half of the available cores, N>0 uses N as thread count.",
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
+                              "type" : {
+                                 "description" : "Rule type.",
+                                 "enum" : [
+                                    "in",
+                                    "out",
+                                    "group"
+                                 ],
+                                 "optional" : 0,
+                                 "type" : "string"
                               }
                            }
                         },
@@ -3842,475 +4357,52 @@ const apiSchema = [
                               [
                                  "Sys.Modify"
                               ]
-                           ],
-                           "description" : "The 'tmpdir', 'dumpdir' and 'script' parameters are additionally restricted to the 'root@pam' user."
+                           ]
                         },
                         "protected" : 1,
+                        "proxyto" : null,
                         "returns" : {
                            "type" : "null"
                         }
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/cluster/backup/{id}",
-                  "text" : "{id}"
-               }
-            ],
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "List vzdump backup schedule.",
-                  "method" : "GET",
-                  "name" : "index",
-                  "parameters" : {
-                     "additionalProperties" : 0
-                  },
-                  "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/",
-                        [
-                           "Sys.Audit"
-                        ]
-                     ]
-                  },
-                  "returns" : {
-                     "items" : {
-                        "properties" : {
-                           "id" : {
-                              "description" : "The job ID.",
-                              "maxLength" : 50,
-                              "type" : "string"
-                           }
-                        },
-                        "type" : "object"
-                     },
-                     "links" : [
-                        {
-                           "href" : "{id}",
-                           "rel" : "child"
-                        }
-                     ],
-                     "type" : "array"
-                  }
+                  "path" : "/cluster/firewall/rules",
+                  "text" : "rules"
                },
-               "POST" : {
-                  "allowtoken" : 1,
-                  "description" : "Create new vzdump backup job.",
-                  "method" : "POST",
-                  "name" : "create_job",
-                  "parameters" : {
-                     "additionalProperties" : 0,
-                     "properties" : {
-                        "all" : {
-                           "default" : 0,
-                           "description" : "Backup all known guest systems on this host.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
-                        },
-                        "bwlimit" : {
-                           "default" : 0,
-                           "description" : "Limit I/O bandwidth (KBytes per second).",
-                           "minimum" : 0,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (0 - N)"
-                        },
-                        "comment" : {
-                           "description" : "Description for the Job.",
-                           "maxLength" : 512,
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "compress" : {
-                           "default" : "0",
-                           "description" : "Compress dump file.",
-                           "enum" : [
-                              "0",
-                              "1",
-                              "gzip",
-                              "lzo",
-                              "zstd"
-                           ],
-                           "optional" : 1,
-                           "type" : "string"
-                        },
-                        "dow" : {
-                           "default" : "mon,tue,wed,thu,fri,sat,sun",
-                           "description" : "Day of week selection.",
-                           "format" : "pve-day-of-week-list",
-                           "optional" : 1,
-                           "requires" : "starttime",
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "dumpdir" : {
-                           "description" : "Store resulting files to specified directory.",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "enabled" : {
-                           "default" : "1",
-                           "description" : "Enable or disable the job.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
-                        },
-                        "exclude" : {
-                           "description" : "Exclude specified guest systems (assumes --all)",
-                           "format" : "pve-vmid-list",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "exclude-path" : {
-                           "description" : "Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root,  other paths match relative to each subdirectory.",
-                           "format" : "string-alist",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "id" : {
-                           "description" : "Job ID (will be autogenerated).",
-                           "format" : "pve-configid",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "ionice" : {
-                           "default" : 7,
-                           "description" : "Set CFQ ionice priority.",
-                           "maximum" : 8,
-                           "minimum" : 0,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (0 - 8)"
-                        },
-                        "lockwait" : {
-                           "default" : 180,
-                           "description" : "Maximal time to wait for the global lock (minutes).",
-                           "minimum" : 0,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (0 - N)"
-                        },
-                        "mailnotification" : {
-                           "default" : "always",
-                           "description" : "Specify when to send an email",
-                           "enum" : [
-                              "always",
-                              "failure"
-                           ],
-                           "optional" : 1,
-                           "type" : "string"
-                        },
-                        "mailto" : {
-                           "description" : "Comma-separated list of email addresses or users that should receive email notifications.",
-                           "format" : "email-or-username-list",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "maxfiles" : {
-                           "description" : "Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system.",
-                           "minimum" : 1,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (1 - N)"
-                        },
-                        "mode" : {
-                           "default" : "snapshot",
-                           "description" : "Backup mode.",
-                           "enum" : [
-                              "snapshot",
-                              "suspend",
-                              "stop"
-                           ],
-                           "optional" : 1,
-                           "type" : "string"
-                        },
-                        "node" : {
-                           "description" : "Only run if executed on this node.",
-                           "format" : "pve-node",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "notes-template" : {
-                           "description" : "Template string for generating notes for the backup(s). It can contain variables which will be replaced by their values. Currently supported are {{cluster}}, {{guestname}}, {{node}}, and {{vmid}}, but more might be added in the future. Needs to be a single line, newline and backslash need to be escaped as '\\n' and '\\\\' respectively.",
-                           "maxLength" : 1024,
-                           "optional" : 1,
-                           "requires" : "storage",
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "performance" : {
-                           "description" : "Other performance-related settings.",
-                           "format" : "backup-performance",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[max-workers=<integer>]"
-                        },
-                        "pigz" : {
-                           "default" : 0,
-                           "description" : "Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.",
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer>"
-                        },
-                        "pool" : {
-                           "description" : "Backup all known guest systems included in the specified pool.",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "protected" : {
-                           "description" : "If true, mark backup(s) as protected.",
-                           "optional" : 1,
-                           "requires" : "storage",
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
-                        },
-                        "prune-backups" : {
-                           "default" : "keep-all=1",
-                           "description" : "Use these retention options instead of those from the storage configuration.",
-                           "format" : "prune-backups",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]"
-                        },
-                        "quiet" : {
-                           "default" : 0,
-                           "description" : "Be quiet.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
-                        },
-                        "remove" : {
-                           "default" : 1,
-                           "description" : "Prune older backups according to 'prune-backups'.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
-                        },
-                        "repeat-missed" : {
-                           "default" : 0,
-                           "description" : "If true, the job will be run as soon as possible if it was missed while the scheduler was not running.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
-                        },
-                        "schedule" : {
-                           "description" : "Backup schedule. The format is a subset of `systemd` calendar events.",
-                           "format" : "pve-calendar-event",
-                           "maxLength" : 128,
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "script" : {
-                           "description" : "Use specified hook script.",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "starttime" : {
-                           "description" : "Job Start time.",
-                           "optional" : 1,
-                           "pattern" : "\\d{1,2}:\\d{1,2}",
-                           "type" : "string",
-                           "typetext" : "HH:MM"
-                        },
-                        "stdexcludes" : {
-                           "default" : 1,
-                           "description" : "Exclude temporary files and logs.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
-                        },
-                        "stop" : {
-                           "default" : 0,
-                           "description" : "Stop running backup jobs on this host.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
-                        },
-                        "stopwait" : {
-                           "default" : 10,
-                           "description" : "Maximal time to wait until a guest system is stopped (minutes).",
-                           "minimum" : 0,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (0 - N)"
-                        },
-                        "storage" : {
-                           "description" : "Store resulting file to this storage.",
-                           "format" : "pve-storage-id",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "tmpdir" : {
-                           "description" : "Store temporary files to specified directory.",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "vmid" : {
-                           "description" : "The ID of the guest system you want to backup.",
-                           "format" : "pve-vmid-list",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "zstd" : {
-                           "default" : 1,
-                           "description" : "Zstd threads. N=0 uses half of the available cores, N>0 uses N as thread count.",
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer>"
-                        }
-                     }
-                  },
-                  "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/",
-                        [
-                           "Sys.Modify"
-                        ]
-                     ],
-                     "description" : "The 'tmpdir', 'dumpdir' and 'script' parameters are additionally restricted to the 'root@pam' user."
-                  },
-                  "protected" : 1,
-                  "returns" : {
-                     "type" : "null"
-                  }
-               }
-            },
-            "leaf" : 0,
-            "path" : "/cluster/backup",
-            "text" : "backup"
-         },
-         {
-            "children" : [
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Shows all guests which are not covered by any backup job.",
-                        "method" : "GET",
-                        "name" : "get_guests_not_in_backup",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
-                        "protected" : 1,
-                        "returns" : {
-                           "description" : "Contains the guest objects.",
-                           "items" : {
-                              "properties" : {
-                                 "name" : {
-                                    "description" : "Name of the guest",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "type" : {
-                                    "description" : "Type of the guest.",
-                                    "enum" : [
-                                       "qemu",
-                                       "lxc"
-                                    ],
-                                    "type" : "string"
-                                 },
-                                 "vmid" : {
-                                    "description" : "VMID of the guest.",
-                                    "type" : "integer"
-                                 }
-                              },
-                              "type" : "object"
-                           },
-                           "type" : "array"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/backup-info/not-backed-up",
-                  "text" : "not-backed-up"
-               }
-            ],
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "Index for backup info related endpoints",
-                  "method" : "GET",
-                  "name" : "index",
-                  "parameters" : {
-                     "additionalProperties" : 0
-                  },
-                  "returns" : {
-                     "description" : "Directory index.",
-                     "items" : {
-                        "properties" : {
-                           "subdir" : {
-                              "description" : "API sub-directory endpoint",
-                              "type" : "string"
-                           }
-                        },
-                        "type" : "object"
-                     },
-                     "links" : [
-                        {
-                           "href" : "{subdir}",
-                           "rel" : "child"
-                        }
-                     ],
-                     "type" : "array"
-                  }
-               }
-            },
-            "leaf" : 0,
-            "path" : "/cluster/backup-info",
-            "text" : "backup-info"
-         },
-         {
-            "children" : [
                {
                   "children" : [
                      {
                         "children" : [
                            {
                               "info" : {
-                                 "POST" : {
+                                 "DELETE" : {
                                     "allowtoken" : 1,
-                                    "description" : "Request resource migration (online) to another node.",
-                                    "method" : "POST",
-                                    "name" : "migrate",
+                                    "description" : "Remove IP or Network from IPSet.",
+                                    "method" : "DELETE",
+                                    "name" : "remove_ip",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "node" : {
-                                             "description" : "Target node.",
-                                             "format" : "pve-node",
+                                          "cidr" : {
+                                             "description" : "Network/IP specification in CIDR format.",
+                                             "format" : "IPorCIDRorAlias",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "sid" : {
-                                             "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
-                                             "format" : "pve-ha-resource-or-vm-id",
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
+                                             "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "<type>:<name>"
+                                             "typetext" : "<string>"
+                                          },
+                                          "name" : {
+                                             "description" : "IP set name.",
+                                             "maxLength" : 64,
+                                             "minLength" : 2,
+                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                             "type" : "string"
                                           }
                                        }
                                     },
@@ -4319,7 +4411,7 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Console"
+                                             "Sys.Modify"
                                           ]
                                        ]
                                     },
@@ -4327,33 +4419,27 @@ const apiSchema = [
                                     "returns" : {
                                        "type" : "null"
                                     }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/cluster/ha/resources/{sid}/migrate",
-                              "text" : "migrate"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
+                                 },
+                                 "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node.",
-                                    "method" : "POST",
-                                    "name" : "relocate",
+                                    "description" : "Read IP or Network settings from IPSet.",
+                                    "method" : "GET",
+                                    "name" : "read_ip",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "node" : {
-                                             "description" : "Target node.",
-                                             "format" : "pve-node",
+                                          "cidr" : {
+                                             "description" : "Network/IP specification in CIDR format.",
+                                             "format" : "IPorCIDRorAlias",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "sid" : {
-                                             "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
-                                             "format" : "pve-ha-resource-or-vm-id",
-                                             "type" : "string",
-                                             "typetext" : "<type>:<name>"
+                                          "name" : {
+                                             "description" : "IP set name.",
+                                             "maxLength" : 64,
+                                             "minLength" : 2,
+                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                             "type" : "string"
                                           }
                                        }
                                     },
@@ -4362,65 +4448,96 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Console"
+                                             "Sys.Audit"
                                           ]
                                        ]
                                     },
                                     "protected" : 1,
                                     "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/cluster/ha/resources/{sid}/relocate",
-                              "text" : "relocate"
-                           }
-                        ],
-                        "info" : {
-                           "DELETE" : {
-                              "allowtoken" : 1,
-                              "description" : "Delete resource configuration.",
-                              "method" : "DELETE",
-                              "name" : "delete",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "sid" : {
-                                       "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
-                                       "format" : "pve-ha-resource-or-vm-id",
-                                       "type" : "string",
-                                       "typetext" : "<type>:<name>"
+                                       "type" : "object"
                                     }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Console"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
-                              }
-                           },
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Read resource configuration.",
-                              "method" : "GET",
-                              "name" : "read",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "sid" : {
-                                       "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
-                                       "format" : "pve-ha-resource-or-vm-id",
-                                       "type" : "string",
-                                       "typetext" : "<type>:<name>"
+                                 },
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Update IP or Network settings",
+                                    "method" : "PUT",
+                                    "name" : "update_ip",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "cidr" : {
+                                             "description" : "Network/IP specification in CIDR format.",
+                                             "format" : "IPorCIDRorAlias",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "comment" : {
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "name" : {
+                                             "description" : "IP set name.",
+                                             "maxLength" : 64,
+                                             "minLength" : 2,
+                                             "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                             "type" : "string"
+                                          },
+                                          "nomatch" : {
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Modify"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/cluster/firewall/ipset/{name}/{cidr}",
+                              "text" : "{cidr}"
+                           }
+                        ],
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete IPSet",
+                              "method" : "DELETE",
+                              "name" : "delete_ipset",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "force" : {
+                                       "description" : "Delete all members of the IPSet, if there are any.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "name" : {
+                                       "description" : "IP set name.",
+                                       "maxLength" : 64,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
                                     }
                                  }
                               },
@@ -4429,145 +4546,112 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Audit"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
+                              "protected" : 1,
                               "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "List IPSet content",
+                              "method" : "GET",
+                              "name" : "get_ipset",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
                                  "properties" : {
-                                    "comment" : {
-                                       "description" : "Description.",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "digest" : {
-                                       "description" : "Can be used to prevent concurrent modifications.",
-                                       "type" : "string"
-                                    },
-                                    "group" : {
-                                       "description" : "The HA group identifier.",
-                                       "format" : "pve-configid",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "max_relocate" : {
-                                       "description" : "Maximal number of service relocate tries when a service failes to start.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "max_restart" : {
-                                       "description" : "Maximal number of tries to restart the service on a node after its start failed.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "sid" : {
-                                       "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
-                                       "format" : "pve-ha-resource-or-vm-id",
-                                       "type" : "string",
-                                       "typetext" : "<type>:<name>"
-                                    },
-                                    "state" : {
-                                       "description" : "Requested resource state.",
-                                       "enum" : [
-                                          "started",
-                                          "stopped",
-                                          "enabled",
-                                          "disabled",
-                                          "ignored"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "type" : {
-                                       "description" : "The type of the resources.",
+                                    "name" : {
+                                       "description" : "IP set name.",
+                                       "maxLength" : 64,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
                                        "type" : "string"
                                     }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Audit"
+                                    ]
+                                 ]
+                              },
+                              "returns" : {
+                                 "items" : {
+                                    "properties" : {
+                                       "cidr" : {
+                                          "type" : "string"
+                                       },
+                                       "comment" : {
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "digest" : {
+                                          "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                          "maxLength" : 64,
+                                          "optional" : 0,
+                                          "type" : "string"
+                                       },
+                                       "nomatch" : {
+                                          "optional" : 1,
+                                          "type" : "boolean"
+                                       }
+                                    },
+                                    "type" : "object"
                                  },
-                                 "type" : "object"
+                                 "links" : [
+                                    {
+                                       "href" : "{cidr}",
+                                       "rel" : "child"
+                                    }
+                                 ],
+                                 "type" : "array"
                               }
                            },
-                           "PUT" : {
+                           "POST" : {
                               "allowtoken" : 1,
-                              "description" : "Update resource configuration.",
-                              "method" : "PUT",
-                              "name" : "update",
+                              "description" : "Add IP or Network to IPSet.",
+                              "method" : "POST",
+                              "name" : "create_ip",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "comment" : {
-                                       "description" : "Description.",
-                                       "maxLength" : 4096,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "delete" : {
-                                       "description" : "A list of settings you want to delete.",
-                                       "format" : "pve-configid-list",
-                                       "maxLength" : 4096,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
-                                       "optional" : 1,
+                                    "cidr" : {
+                                       "description" : "Network/IP specification in CIDR format.",
+                                       "format" : "IPorCIDRorAlias",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "group" : {
-                                       "description" : "The HA group identifier.",
-                                       "format" : "pve-configid",
+                                    "comment" : {
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "max_relocate" : {
-                                       "default" : 1,
-                                       "description" : "Maximal number of service relocate tries when a service failes to start.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
-                                    },
-                                    "max_restart" : {
-                                       "default" : 1,
-                                       "description" : "Maximal number of tries to restart the service on a node after its start failed.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
-                                    },
-                                    "sid" : {
-                                       "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
-                                       "format" : "pve-ha-resource-or-vm-id",
-                                       "type" : "string",
-                                       "typetext" : "<type>:<name>"
+                                    "name" : {
+                                       "description" : "IP set name.",
+                                       "maxLength" : 64,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
                                     },
-                                    "state" : {
-                                       "default" : "started",
-                                       "description" : "Requested resource state.",
-                                       "enum" : [
-                                          "started",
-                                          "stopped",
-                                          "enabled",
-                                          "disabled",
-                                          "ignored"
-                                       ],
+                                    "nomatch" : {
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "verbose_description" : "Requested resource state. The CRM reads this state and acts accordingly.\nPlease note that `enabled` is just an alias for `started`.\n\n`started`;;\n\nThe CRM tries to start the resource. Service state is\nset to `started` after successful start. On node failures, or when start\nfails, it tries to recover the resource.  If everything fails, service\nstate it set to `error`.\n\n`stopped`;;\n\nThe CRM tries to keep the resource in `stopped` state, but it\nstill tries to relocate the resources on node failures.\n\n`disabled`;;\n\nThe CRM tries to put the resource in `stopped` state, but does not try\nto relocate the resources on node failures. The main purpose of this\nstate is error recovery, because it is the only way to move a resource out\nof the `error` state.\n\n`ignored`;;\n\nThe resource gets removed from the manager status and so the CRM and the LRM do\nnot touch the resource anymore. All {pve} API calls affecting this resource\nwill be executed, directly bypassing the HA stack. CRM commands will be thrown\naway while there source is in this state. The resource will not get relocated\non node failures.\n\n"
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     }
-                                 },
-                                 "type" : "object"
+                                 }
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Console"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
@@ -4578,29 +4662,18 @@ const apiSchema = [
                            }
                         },
                         "leaf" : 0,
-                        "path" : "/cluster/ha/resources/{sid}",
-                        "text" : "{sid}"
+                        "path" : "/cluster/firewall/ipset/{name}",
+                        "text" : "{name}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "List HA resources.",
+                        "description" : "List IPSets",
                         "method" : "GET",
-                        "name" : "index",
+                        "name" : "ipset_index",
                         "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "type" : {
-                                 "description" : "Only list resources of specific type",
-                                 "enum" : [
-                                    "ct",
-                                    "vm"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           }
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
                            "check" : [
@@ -4614,7 +4687,21 @@ const apiSchema = [
                         "returns" : {
                            "items" : {
                               "properties" : {
-                                 "sid" : {
+                                 "comment" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "digest" : {
+                                    "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                    "maxLength" : 64,
+                                    "optional" : 0,
+                                    "type" : "string"
+                                 },
+                                 "name" : {
+                                    "description" : "IP set name.",
+                                    "maxLength" : 64,
+                                    "minLength" : 2,
+                                    "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
                                     "type" : "string"
                                  }
                               },
@@ -4622,7 +4709,7 @@ const apiSchema = [
                            },
                            "links" : [
                               {
-                                 "href" : "{sid}",
+                                 "href" : "{name}",
                                  "rel" : "child"
                               }
                            ],
@@ -4631,80 +4718,47 @@ const apiSchema = [
                      },
                      "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Create a new HA resource.",
+                        "description" : "Create new IPSet",
                         "method" : "POST",
-                        "name" : "create",
+                        "name" : "create_ipset",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
                               "comment" : {
-                                 "description" : "Description.",
-                                 "maxLength" : 4096,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "group" : {
-                                 "description" : "The HA group identifier.",
-                                 "format" : "pve-configid",
+                              "digest" : {
+                                 "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 64,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "max_relocate" : {
-                                 "default" : 1,
-                                 "description" : "Maximal number of service relocate tries when a service failes to start.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "max_restart" : {
-                                 "default" : 1,
-                                 "description" : "Maximal number of tries to restart the service on a node after its start failed.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "sid" : {
-                                 "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
-                                 "format" : "pve-ha-resource-or-vm-id",
-                                 "type" : "string",
-                                 "typetext" : "<type>:<name>"
-                              },
-                              "state" : {
-                                 "default" : "started",
-                                 "description" : "Requested resource state.",
-                                 "enum" : [
-                                    "started",
-                                    "stopped",
-                                    "enabled",
-                                    "disabled",
-                                    "ignored"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "verbose_description" : "Requested resource state. The CRM reads this state and acts accordingly.\nPlease note that `enabled` is just an alias for `started`.\n\n`started`;;\n\nThe CRM tries to start the resource. Service state is\nset to `started` after successful start. On node failures, or when start\nfails, it tries to recover the resource.  If everything fails, service\nstate it set to `error`.\n\n`stopped`;;\n\nThe CRM tries to keep the resource in `stopped` state, but it\nstill tries to relocate the resources on node failures.\n\n`disabled`;;\n\nThe CRM tries to put the resource in `stopped` state, but does not try\nto relocate the resources on node failures. The main purpose of this\nstate is error recovery, because it is the only way to move a resource out\nof the `error` state.\n\n`ignored`;;\n\nThe resource gets removed from the manager status and so the CRM and the LRM do\nnot touch the resource anymore. All {pve} API calls affecting this resource\nwill be executed, directly bypassing the HA stack. CRM commands will be thrown\naway while there source is in this state. The resource will not get relocated\non node failures.\n\n"
+                              "name" : {
+                                 "description" : "IP set name.",
+                                 "maxLength" : 64,
+                                 "minLength" : 2,
+                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                 "type" : "string"
                               },
-                              "type" : {
-                                 "description" : "Resource type.",
-                                 "enum" : [
-                                    "ct",
-                                    "vm"
-                                 ],
+                              "rename" : {
+                                 "description" : "Rename an existing IPSet. You can set 'rename' to the same value as 'name' to update the 'comment' of an existing IPSet.",
+                                 "maxLength" : 64,
+                                 "minLength" : 2,
                                  "optional" : 1,
+                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
                                  "type" : "string"
                               }
-                           },
-                           "type" : "object"
+                           }
                         },
                         "permissions" : {
                            "check" : [
                               "perm",
                               "/",
                               [
-                                 "Sys.Console"
+                                 "Sys.Modify"
                               ]
                            ]
                         },
@@ -4715,8 +4769,8 @@ const apiSchema = [
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/cluster/ha/resources",
-                  "text" : "resources"
+                  "path" : "/cluster/firewall/ipset",
+                  "text" : "ipset"
                },
                {
                   "children" : [
@@ -4724,17 +4778,25 @@ const apiSchema = [
                         "info" : {
                            "DELETE" : {
                               "allowtoken" : 1,
-                              "description" : "Delete ha group configuration.",
+                              "description" : "Remove IP or Network alias.",
                               "method" : "DELETE",
-                              "name" : "delete",
+                              "name" : "remove_alias",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "group" : {
-                                       "description" : "The HA group identifier.",
-                                       "format" : "pve-configid",
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
+                                    },
+                                    "name" : {
+                                       "description" : "Alias name.",
+                                       "maxLength" : 64,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
                                     }
                                  }
                               },
@@ -4743,7 +4805,7 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Console"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
@@ -4754,17 +4816,18 @@ const apiSchema = [
                            },
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Read ha group configuration.",
+                              "description" : "Read alias.",
                               "method" : "GET",
-                              "name" : "read",
+                              "name" : "read_alias",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "group" : {
-                                       "description" : "The HA group identifier.",
-                                       "format" : "pve-configid",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                    "name" : {
+                                       "description" : "Alias name.",
+                                       "maxLength" : 64,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
                                     }
                                  }
                               },
@@ -4777,76 +4840,59 @@ const apiSchema = [
                                     ]
                                  ]
                               },
-                              "returns" : {}
+                              "returns" : {
+                                 "type" : "object"
+                              }
                            },
                            "PUT" : {
                               "allowtoken" : 1,
-                              "description" : "Update ha group configuration.",
+                              "description" : "Update IP or Network alias.",
                               "method" : "PUT",
-                              "name" : "update",
+                              "name" : "update_alias",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "comment" : {
-                                       "description" : "Description.",
-                                       "maxLength" : 4096,
-                                       "optional" : 1,
+                                    "cidr" : {
+                                       "description" : "Network/IP specification in CIDR format.",
+                                       "format" : "IPorCIDR",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "delete" : {
-                                       "description" : "A list of settings you want to delete.",
-                                       "format" : "pve-configid-list",
-                                       "maxLength" : 4096,
+                                    "comment" : {
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
                                     "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "group" : {
-                                       "description" : "The HA group identifier.",
-                                       "format" : "pve-configid",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "nodes" : {
-                                       "description" : "List of cluster node names with optional priority.",
-                                       "format" : "pve-ha-group-node-list",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<node>[:<pri>]{,<node>[:<pri>]}*",
-                                       "verbose_description" : "List of cluster node members, where a priority can be given to each node. A resource bound to a group will run on the available nodes with the highest priority. If there are more nodes in the highest priority class, the services will get distributed to those nodes. The priorities have a relative meaning only."
-                                    },
-                                    "nofailback" : {
-                                       "default" : 0,
-                                       "description" : "The CRM tries to run services on the node with the highest priority. If a node with higher priority comes online, the CRM migrates the service to that node. Enabling nofailback prevents that behavior.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
+                                    "name" : {
+                                       "description" : "Alias name.",
+                                       "maxLength" : 64,
+                                       "minLength" : 2,
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
                                     },
-                                    "restricted" : {
-                                       "default" : 0,
-                                       "description" : "Resources bound to restricted groups may only run on nodes defined by the group.",
+                                    "rename" : {
+                                       "description" : "Rename an existing alias.",
+                                       "maxLength" : 64,
+                                       "minLength" : 2,
                                        "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>",
-                                       "verbose_description" : "Resources bound to restricted groups may only run on nodes defined by the group. The resource will be placed in the stopped state if no group node member is online. Resources on unrestricted groups may run on any cluster node if all group members are offline, but they will migrate back as soon as a group member comes online. One can implement a 'preferred node' behavior using an unrestricted group with only one member."
+                                       "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                       "type" : "string"
                                     }
-                                 },
-                                 "type" : "object"
+                                 }
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Console"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
@@ -4857,16 +4903,16 @@ const apiSchema = [
                            }
                         },
                         "leaf" : 1,
-                        "path" : "/cluster/ha/groups/{group}",
-                        "text" : "{group}"
+                        "path" : "/cluster/firewall/aliases/{name}",
+                        "text" : "{name}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Get HA groups.",
+                        "description" : "List aliases",
                         "method" : "GET",
-                        "name" : "index",
+                        "name" : "get_aliases",
                         "parameters" : {
                            "additionalProperties" : 0
                         },
@@ -4882,7 +4928,20 @@ const apiSchema = [
                         "returns" : {
                            "items" : {
                               "properties" : {
-                                 "group" : {
+                                 "cidr" : {
+                                    "type" : "string"
+                                 },
+                                 "comment" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "digest" : {
+                                    "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                    "maxLength" : 64,
+                                    "optional" : 0,
+                                    "type" : "string"
+                                 },
+                                 "name" : {
                                     "type" : "string"
                                  }
                               },
@@ -4890,7 +4949,7 @@ const apiSchema = [
                            },
                            "links" : [
                               {
-                                 "href" : "{group}",
+                                 "href" : "{name}",
                                  "rel" : "child"
                               }
                            ],
@@ -4899,65 +4958,229 @@ const apiSchema = [
                      },
                      "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Create a new HA group.",
+                        "description" : "Create IP or Network Alias.",
                         "method" : "POST",
-                        "name" : "create",
+                        "name" : "create_alias",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
+                              "cidr" : {
+                                 "description" : "Network/IP specification in CIDR format.",
+                                 "format" : "IPorCIDR",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
                               "comment" : {
-                                 "description" : "Description.",
-                                 "maxLength" : 4096,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "group" : {
-                                 "description" : "The HA group identifier.",
-                                 "format" : "pve-configid",
+                              "name" : {
+                                 "description" : "Alias name.",
+                                 "maxLength" : 64,
+                                 "minLength" : 2,
+                                 "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Modify"
+                              ]
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/firewall/aliases",
+                  "text" : "aliases"
+               },
+               {
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Get Firewall options.",
+                        "method" : "GET",
+                        "name" : "get_options",
+                        "parameters" : {
+                           "additionalProperties" : 0
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
+                        },
+                        "returns" : {
+                           "properties" : {
+                              "ebtables" : {
+                                 "default" : 1,
+                                 "description" : "Enable ebtables rules cluster wide.",
+                                 "optional" : 1,
+                                 "type" : "boolean"
+                              },
+                              "enable" : {
+                                 "description" : "Enable or disable the firewall cluster wide.",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer"
+                              },
+                              "log_ratelimit" : {
+                                 "description" : "Log ratelimiting settings",
+                                 "format" : {
+                                    "burst" : {
+                                       "default" : 5,
+                                       "description" : "Initial burst of packages which will always get logged before the rate is applied",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "enable" : {
+                                       "default" : "1",
+                                       "default_key" : 1,
+                                       "description" : "Enable or disable log rate limiting",
+                                       "type" : "boolean"
+                                    },
+                                    "rate" : {
+                                       "default" : "1/second",
+                                       "description" : "Frequency with which the burst bucket gets refilled",
+                                       "format_description" : "rate",
+                                       "optional" : 1,
+                                       "pattern" : "[1-9][0-9]*\\/(second|minute|hour|day)",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "policy_in" : {
+                                 "description" : "Input policy.",
+                                 "enum" : [
+                                    "ACCEPT",
+                                    "REJECT",
+                                    "DROP"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "policy_out" : {
+                                 "description" : "Output policy.",
+                                 "enum" : [
+                                    "ACCEPT",
+                                    "REJECT",
+                                    "DROP"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           },
+                           "type" : "object"
+                        }
+                     },
+                     "PUT" : {
+                        "allowtoken" : 1,
+                        "description" : "Set Firewall options.",
+                        "method" : "PUT",
+                        "name" : "set_options",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "delete" : {
+                                 "description" : "A list of settings you want to delete.",
+                                 "format" : "pve-configid-list",
+                                 "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "nodes" : {
-                                 "description" : "List of cluster node names with optional priority.",
-                                 "format" : "pve-ha-group-node-list",
-                                 "optional" : 0,
+                              "digest" : {
+                                 "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 64,
+                                 "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "<node>[:<pri>]{,<node>[:<pri>]}*",
-                                 "verbose_description" : "List of cluster node members, where a priority can be given to each node. A resource bound to a group will run on the available nodes with the highest priority. If there are more nodes in the highest priority class, the services will get distributed to those nodes. The priorities have a relative meaning only."
+                                 "typetext" : "<string>"
                               },
-                              "nofailback" : {
-                                 "default" : 0,
-                                 "description" : "The CRM tries to run services on the node with the highest priority. If a node with higher priority comes online, the CRM migrates the service to that node. Enabling nofailback prevents that behavior.",
+                              "ebtables" : {
+                                 "default" : 1,
+                                 "description" : "Enable ebtables rules cluster wide.",
                                  "optional" : 1,
                                  "type" : "boolean",
                                  "typetext" : "<boolean>"
                               },
-                              "restricted" : {
-                                 "default" : 0,
-                                 "description" : "Resources bound to restricted groups may only run on nodes defined by the group.",
+                              "enable" : {
+                                 "description" : "Enable or disable the firewall cluster wide.",
+                                 "minimum" : 0,
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>",
-                                 "verbose_description" : "Resources bound to restricted groups may only run on nodes defined by the group. The resource will be placed in the stopped state if no group node member is online. Resources on unrestricted groups may run on any cluster node if all group members are offline, but they will migrate back as soon as a group member comes online. One can implement a 'preferred node' behavior using an unrestricted group with only one member."
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
                               },
-                              "type" : {
-                                 "description" : "Group type.",
+                              "log_ratelimit" : {
+                                 "description" : "Log ratelimiting settings",
+                                 "format" : {
+                                    "burst" : {
+                                       "default" : 5,
+                                       "description" : "Initial burst of packages which will always get logged before the rate is applied",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "enable" : {
+                                       "default" : "1",
+                                       "default_key" : 1,
+                                       "description" : "Enable or disable log rate limiting",
+                                       "type" : "boolean"
+                                    },
+                                    "rate" : {
+                                       "default" : "1/second",
+                                       "description" : "Frequency with which the burst bucket gets refilled",
+                                       "format_description" : "rate",
+                                       "optional" : 1,
+                                       "pattern" : "[1-9][0-9]*\\/(second|minute|hour|day)",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[enable=]<1|0> [,burst=<integer>] [,rate=<rate>]"
+                              },
+                              "policy_in" : {
+                                 "description" : "Input policy.",
                                  "enum" : [
-                                    "group"
+                                    "ACCEPT",
+                                    "REJECT",
+                                    "DROP"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "policy_out" : {
+                                 "description" : "Output policy.",
+                                 "enum" : [
+                                    "ACCEPT",
+                                    "REJECT",
+                                    "DROP"
                                  ],
                                  "optional" : 1,
                                  "type" : "string"
                               }
-                           },
-                           "type" : "object"
+                           }
                         },
                         "permissions" : {
                            "check" : [
                               "perm",
                               "/",
                               [
-                                 "Sys.Console"
+                                 "Sys.Modify"
                               ]
                            ]
                         },
@@ -4967,75 +5190,17 @@ const apiSchema = [
                         }
                      }
                   },
-                  "leaf" : 0,
-                  "path" : "/cluster/ha/groups",
-                  "text" : "groups"
+                  "leaf" : 1,
+                  "path" : "/cluster/firewall/options",
+                  "text" : "options"
                },
                {
-                  "children" : [
-                     {
-                        "info" : {
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Get HA manger status.",
-                              "method" : "GET",
-                              "name" : "status",
-                              "parameters" : {
-                                 "additionalProperties" : 0
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit"
-                                    ]
-                                 ]
-                              },
-                              "returns" : {
-                                 "type" : "array"
-                              }
-                           }
-                        },
-                        "leaf" : 1,
-                        "path" : "/cluster/ha/status/current",
-                        "text" : "current"
-                     },
-                     {
-                        "info" : {
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Get full HA manger status, including LRM status.",
-                              "method" : "GET",
-                              "name" : "manager_status",
-                              "parameters" : {
-                                 "additionalProperties" : 0
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit"
-                                    ]
-                                 ]
-                              },
-                              "returns" : {
-                                 "type" : "object"
-                              }
-                           }
-                        },
-                        "leaf" : 1,
-                        "path" : "/cluster/ha/status/manager_status",
-                        "text" : "manager_status"
-                     }
-                  ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Directory index.",
+                        "description" : "List available macros",
                         "method" : "GET",
-                        "name" : "index",
+                        "name" : "get_macros",
                         "parameters" : {
                            "additionalProperties" : 0
                         },
@@ -5044,22 +5209,89 @@ const apiSchema = [
                         },
                         "returns" : {
                            "items" : {
-                              "properties" : {},
+                              "properties" : {
+                                 "descr" : {
+                                    "description" : "More verbose description (if available).",
+                                    "type" : "string"
+                                 },
+                                 "macro" : {
+                                    "description" : "Macro name.",
+                                    "type" : "string"
+                                 }
+                              },
                               "type" : "object"
                            },
-                           "links" : [
-                              {
-                                 "href" : "{name}",
-                                 "rel" : "child"
+                           "type" : "array"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/firewall/macros",
+                  "text" : "macros"
+               },
+               {
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Lists possible IPSet/Alias reference which are allowed in source/dest properties.",
+                        "method" : "GET",
+                        "name" : "refs",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "type" : {
+                                 "description" : "Only list references of specified type.",
+                                 "enum" : [
+                                    "alias",
+                                    "ipset"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
                               }
-                           ],
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
+                        },
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "comment" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "name" : {
+                                    "type" : "string"
+                                 },
+                                 "ref" : {
+                                    "type" : "string"
+                                 },
+                                 "scope" : {
+                                    "type" : "string"
+                                 },
+                                 "type" : {
+                                    "enum" : [
+                                       "alias",
+                                       "ipset"
+                                    ],
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
                            "type" : "array"
                         }
                      }
                   },
-                  "leaf" : 0,
-                  "path" : "/cluster/ha/status",
-                  "text" : "status"
+                  "leaf" : 1,
+                  "path" : "/cluster/firewall/refs",
+                  "text" : "refs"
                }
             ],
             "info" : {
@@ -5072,26 +5304,16 @@ const apiSchema = [
                      "additionalProperties" : 0
                   },
                   "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/",
-                        [
-                           "Sys.Audit"
-                        ]
-                     ]
+                     "user" : "all"
                   },
                   "returns" : {
                      "items" : {
-                        "properties" : {
-                           "id" : {
-                              "type" : "string"
-                           }
-                        },
+                        "properties" : {},
                         "type" : "object"
                      },
                      "links" : [
                         {
-                           "href" : "{id}",
+                           "href" : "{name}",
                            "rel" : "child"
                         }
                      ],
@@ -5100,8 +5322,8 @@ const apiSchema = [
                }
             },
             "leaf" : 0,
-            "path" : "/cluster/ha",
-            "text" : "ha"
+            "path" : "/cluster/firewall",
+            "text" : "firewall"
          },
          {
             "children" : [
@@ -5109,47 +5331,17 @@ const apiSchema = [
                   "children" : [
                      {
                         "info" : {
-                           "DELETE" : {
-                              "allowtoken" : 1,
-                              "description" : "Delete ACME plugin configuration.",
-                              "method" : "DELETE",
-                              "name" : "delete_plugin",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "id" : {
-                                       "description" : "Unique identifier for ACME plugin instance.",
-                                       "format" : "pve-configid",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Modify"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
-                              }
-                           },
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Get ACME plugin configuration.",
+                              "description" : "Returns included guests and the backup status of their disks. Optimized to be used in ExtJS tree views.",
                               "method" : "GET",
-                              "name" : "get_plugin_config",
+                              "name" : "get_volume_backup_included",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
                                     "id" : {
-                                       "description" : "Unique identifier for ACME plugin instance.",
-                                       "format" : "pve-configid",
+                                       "description" : "The job ID.",
+                                       "maxLength" : 50,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     }
@@ -5160,256 +5352,90 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Modify"
+                                       "Sys.Audit"
                                     ]
                                  ]
                               },
                               "protected" : 1,
                               "returns" : {
+                                 "description" : "Root node of the tree object. Children represent guests, grandchildren represent volumes of that guest.",
+                                 "properties" : {
+                                    "children" : {
+                                       "items" : {
+                                          "properties" : {
+                                             "children" : {
+                                                "description" : "The volumes of the guest with the information if they will be included in backups.",
+                                                "items" : {
+                                                   "properties" : {
+                                                      "id" : {
+                                                         "description" : "Configuration key of the volume.",
+                                                         "type" : "string"
+                                                      },
+                                                      "included" : {
+                                                         "description" : "Whether the volume is included in the backup or not.",
+                                                         "type" : "boolean"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "Name of the volume.",
+                                                         "type" : "string"
+                                                      },
+                                                      "reason" : {
+                                                         "description" : "The reason why the volume is included (or excluded).",
+                                                         "type" : "string"
+                                                      }
+                                                   },
+                                                   "type" : "object"
+                                                },
+                                                "optional" : 1,
+                                                "type" : "array"
+                                             },
+                                             "id" : {
+                                                "description" : "VMID of the guest.",
+                                                "type" : "integer"
+                                             },
+                                             "name" : {
+                                                "description" : "Name of the guest",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "type" : {
+                                                "description" : "Type of the guest, VM, CT or unknown for removed but not purged guests.",
+                                                "enum" : [
+                                                   "qemu",
+                                                   "lxc",
+                                                   "unknown"
+                                                ],
+                                                "type" : "string"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "type" : "array"
+                                    }
+                                 },
                                  "type" : "object"
                               }
-                           },
-                           "PUT" : {
-                              "allowtoken" : 1,
-                              "description" : "Update ACME plugin configuration.",
-                              "method" : "PUT",
-                              "name" : "update_plugin",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "api" : {
-                                       "description" : "API plugin name",
-                                       "enum" : [
-                                          "1984hosting",
-                                          "acmedns",
-                                          "acmeproxy",
-                                          "active24",
-                                          "ad",
-                                          "ali",
-                                          "anx",
-                                          "arvan",
-                                          "aurora",
-                                          "autodns",
-                                          "aws",
-                                          "azion",
-                                          "azure",
-                                          "bunny",
-                                          "cf",
-                                          "clouddns",
-                                          "cloudns",
-                                          "cn",
-                                          "conoha",
-                                          "constellix",
-                                          "cpanel",
-                                          "curanet",
-                                          "cyon",
-                                          "da",
-                                          "ddnss",
-                                          "desec",
-                                          "df",
-                                          "dgon",
-                                          "dnshome",
-                                          "dnsimple",
-                                          "dnsservices",
-                                          "do",
-                                          "doapi",
-                                          "domeneshop",
-                                          "dp",
-                                          "dpi",
-                                          "dreamhost",
-                                          "duckdns",
-                                          "durabledns",
-                                          "dyn",
-                                          "dynu",
-                                          "dynv6",
-                                          "easydns",
-                                          "edgedns",
-                                          "euserv",
-                                          "exoscale",
-                                          "fornex",
-                                          "freedns",
-                                          "gandi_livedns",
-                                          "gcloud",
-                                          "gd",
-                                          "geoscaling",
-                                          "he",
-                                          "hetzner",
-                                          "hexonet",
-                                          "hostingde",
-                                          "huaweicloud",
-                                          "infoblox",
-                                          "infomaniak",
-                                          "internetbs",
-                                          "inwx",
-                                          "ionos",
-                                          "ispconfig",
-                                          "jd",
-                                          "joker",
-                                          "kappernet",
-                                          "kas",
-                                          "kinghost",
-                                          "knot",
-                                          "la",
-                                          "leaseweb",
-                                          "lexicon",
-                                          "linode",
-                                          "linode_v4",
-                                          "loopia",
-                                          "lua",
-                                          "maradns",
-                                          "me",
-                                          "miab",
-                                          "misaka",
-                                          "myapi",
-                                          "mydevil",
-                                          "mydnsjp",
-                                          "mythic_beasts",
-                                          "namecheap",
-                                          "namecom",
-                                          "namesilo",
-                                          "nederhost",
-                                          "neodigit",
-                                          "netcup",
-                                          "netlify",
-                                          "nic",
-                                          "njalla",
-                                          "nm",
-                                          "nsd",
-                                          "nsone",
-                                          "nsupdate",
-                                          "nw",
-                                          "oci",
-                                          "one",
-                                          "online",
-                                          "openprovider",
-                                          "openstack",
-                                          "opnsense",
-                                          "ovh",
-                                          "pdns",
-                                          "pleskxml",
-                                          "pointhq",
-                                          "porkbun",
-                                          "rackcorp",
-                                          "rackspace",
-                                          "rage4",
-                                          "rcode0",
-                                          "regru",
-                                          "scaleway",
-                                          "schlundtech",
-                                          "selectel",
-                                          "selfhost",
-                                          "servercow",
-                                          "simply",
-                                          "tele3",
-                                          "transip",
-                                          "udr",
-                                          "ultra",
-                                          "unoeuro",
-                                          "variomedia",
-                                          "veesp",
-                                          "vercel",
-                                          "vscale",
-                                          "vultr",
-                                          "websupport",
-                                          "world4you",
-                                          "yandex",
-                                          "yc",
-                                          "zilore",
-                                          "zone",
-                                          "zonomi"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "data" : {
-                                       "description" : "DNS plugin data. (base64 encoded)",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "delete" : {
-                                       "description" : "A list of settings you want to delete.",
-                                       "format" : "pve-configid-list",
-                                       "maxLength" : 4096,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "disable" : {
-                                       "description" : "Flag to disable the config.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "id" : {
-                                       "description" : "ACME Plugin ID name",
-                                       "format" : "pve-configid",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "nodes" : {
-                                       "description" : "List of cluster node names.",
-                                       "format" : "pve-node-list",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "validation-delay" : {
-                                       "default" : 30,
-                                       "description" : "Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records.",
-                                       "maximum" : 172800,
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - 172800)"
-                                    }
-                                 },
-                                 "type" : "object"
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Modify"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
-                              }
                            }
                         },
                         "leaf" : 1,
-                        "path" : "/cluster/acme/plugins/{id}",
-                        "text" : "{id}"
+                        "path" : "/cluster/backup/{id}/included_volumes",
+                        "text" : "included_volumes"
                      }
                   ],
                   "info" : {
-                     "GET" : {
+                     "DELETE" : {
                         "allowtoken" : 1,
-                        "description" : "ACME plugin index.",
-                        "method" : "GET",
-                        "name" : "index",
+                        "description" : "Delete vzdump backup job definition.",
+                        "method" : "DELETE",
+                        "name" : "delete_job",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "type" : {
-                                 "description" : "Only list ACME plugins of a specific type",
-                                 "enum" : [
-                                    "dns",
-                                    "standalone"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
+                              "id" : {
+                                 "description" : "The job ID.",
+                                 "maxLength" : 50,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               }
                            }
                         },
@@ -5424,898 +5450,988 @@ const apiSchema = [
                         },
                         "protected" : 1,
                         "returns" : {
-                           "items" : {
-                              "properties" : {
-                                 "plugin" : {
-                                    "description" : "Unique identifier for ACME plugin instance.",
-                                    "format" : "pve-configid",
-                                    "type" : "string"
-                                 }
-                              },
-                              "type" : "object"
-                           },
-                           "links" : [
-                              {
-                                 "href" : "{plugin}",
-                                 "rel" : "child"
+                           "type" : "null"
+                        }
+                     },
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Read vzdump backup job definition.",
+                        "method" : "GET",
+                        "name" : "read_job",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "id" : {
+                                 "description" : "The job ID.",
+                                 "maxLength" : 50,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               }
-                           ],
-                           "type" : "array"
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
+                        },
+                        "returns" : {
+                           "type" : "object"
                         }
                      },
-                     "POST" : {
+                     "PUT" : {
                         "allowtoken" : 1,
-                        "description" : "Add ACME plugin configuration.",
-                        "method" : "POST",
-                        "name" : "add_plugin",
+                        "description" : "Update vzdump backup job definition.",
+                        "method" : "PUT",
+                        "name" : "update_job",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "api" : {
-                                 "description" : "API plugin name",
+                              "all" : {
+                                 "default" : 0,
+                                 "description" : "Backup all known guest systems on this host.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "bwlimit" : {
+                                 "default" : 0,
+                                 "description" : "Limit I/O bandwidth (in KiB/s).",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
+                              },
+                              "comment" : {
+                                 "description" : "Description for the Job.",
+                                 "maxLength" : 512,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "compress" : {
+                                 "default" : "0",
+                                 "description" : "Compress dump file.",
                                  "enum" : [
-                                    "1984hosting",
-                                    "acmedns",
-                                    "acmeproxy",
-                                    "active24",
-                                    "ad",
-                                    "ali",
-                                    "anx",
-                                    "arvan",
-                                    "aurora",
-                                    "autodns",
-                                    "aws",
-                                    "azion",
-                                    "azure",
-                                    "bunny",
-                                    "cf",
-                                    "clouddns",
-                                    "cloudns",
-                                    "cn",
-                                    "conoha",
-                                    "constellix",
-                                    "cpanel",
-                                    "curanet",
-                                    "cyon",
-                                    "da",
-                                    "ddnss",
-                                    "desec",
-                                    "df",
-                                    "dgon",
-                                    "dnshome",
-                                    "dnsimple",
-                                    "dnsservices",
-                                    "do",
-                                    "doapi",
-                                    "domeneshop",
-                                    "dp",
-                                    "dpi",
-                                    "dreamhost",
-                                    "duckdns",
-                                    "durabledns",
-                                    "dyn",
-                                    "dynu",
-                                    "dynv6",
-                                    "easydns",
-                                    "edgedns",
-                                    "euserv",
-                                    "exoscale",
-                                    "fornex",
-                                    "freedns",
-                                    "gandi_livedns",
-                                    "gcloud",
-                                    "gd",
-                                    "geoscaling",
-                                    "he",
-                                    "hetzner",
-                                    "hexonet",
-                                    "hostingde",
-                                    "huaweicloud",
-                                    "infoblox",
-                                    "infomaniak",
-                                    "internetbs",
-                                    "inwx",
-                                    "ionos",
-                                    "ispconfig",
-                                    "jd",
-                                    "joker",
-                                    "kappernet",
-                                    "kas",
-                                    "kinghost",
-                                    "knot",
-                                    "la",
-                                    "leaseweb",
-                                    "lexicon",
-                                    "linode",
-                                    "linode_v4",
-                                    "loopia",
-                                    "lua",
-                                    "maradns",
-                                    "me",
-                                    "miab",
-                                    "misaka",
-                                    "myapi",
-                                    "mydevil",
-                                    "mydnsjp",
-                                    "mythic_beasts",
-                                    "namecheap",
-                                    "namecom",
-                                    "namesilo",
-                                    "nederhost",
-                                    "neodigit",
-                                    "netcup",
-                                    "netlify",
-                                    "nic",
-                                    "njalla",
-                                    "nm",
-                                    "nsd",
-                                    "nsone",
-                                    "nsupdate",
-                                    "nw",
-                                    "oci",
-                                    "one",
-                                    "online",
-                                    "openprovider",
-                                    "openstack",
-                                    "opnsense",
-                                    "ovh",
-                                    "pdns",
-                                    "pleskxml",
-                                    "pointhq",
-                                    "porkbun",
-                                    "rackcorp",
-                                    "rackspace",
-                                    "rage4",
-                                    "rcode0",
-                                    "regru",
-                                    "scaleway",
-                                    "schlundtech",
-                                    "selectel",
-                                    "selfhost",
-                                    "servercow",
-                                    "simply",
-                                    "tele3",
-                                    "transip",
-                                    "udr",
-                                    "ultra",
-                                    "unoeuro",
-                                    "variomedia",
-                                    "veesp",
-                                    "vercel",
-                                    "vscale",
-                                    "vultr",
-                                    "websupport",
-                                    "world4you",
-                                    "yandex",
-                                    "yc",
-                                    "zilore",
-                                    "zone",
-                                    "zonomi"
+                                    "0",
+                                    "1",
+                                    "gzip",
+                                    "lzo",
+                                    "zstd"
                                  ],
                                  "optional" : 1,
                                  "type" : "string"
                               },
-                              "data" : {
-                                 "description" : "DNS plugin data. (base64 encoded)",
+                              "delete" : {
+                                 "description" : "A list of settings you want to delete.",
+                                 "format" : "pve-configid-list",
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "disable" : {
-                                 "description" : "Flag to disable the config.",
+                              "dow" : {
+                                 "description" : "Day of week selection.",
+                                 "format" : "pve-day-of-week-list",
+                                 "optional" : 1,
+                                 "requires" : "starttime",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "dumpdir" : {
+                                 "description" : "Store resulting files to specified directory.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "enabled" : {
+                                 "default" : "1",
+                                 "description" : "Enable or disable the job.",
                                  "optional" : 1,
                                  "type" : "boolean",
                                  "typetext" : "<boolean>"
                               },
-                              "id" : {
-                                 "description" : "ACME Plugin ID name",
-                                 "format" : "pve-configid",
+                              "exclude" : {
+                                 "description" : "Exclude specified guest systems (assumes --all)",
+                                 "format" : "pve-vmid-list",
+                                 "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "nodes" : {
-                                 "description" : "List of cluster node names.",
-                                 "format" : "pve-node-list",
+                              "exclude-path" : {
+                                 "description" : "Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory.",
+                                 "items" : {
+                                    "type" : "string"
+                                 },
+                                 "optional" : 1,
+                                 "type" : "array",
+                                 "typetext" : "<array>"
+                              },
+                              "fleecing" : {
+                                 "description" : "Options for backup fleecing (VM only).",
+                                 "format" : "backup-fleecing",
                                  "optional" : 1,
                                  "type" : "string",
+                                 "typetext" : "[[enabled=]<1|0>] [,storage=<storage ID>]"
+                              },
+                              "id" : {
+                                 "description" : "The job ID.",
+                                 "maxLength" : 50,
+                                 "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "type" : {
-                                 "description" : "ACME challenge type.",
+                              "ionice" : {
+                                 "default" : 7,
+                                 "description" : "Set IO priority when using the BFQ scheduler. For snapshot and suspend mode backups of VMs, this only affects the compressor. A value of 8 means the idle priority is used, otherwise the best-effort priority is used with the specified value.",
+                                 "maximum" : 8,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - 8)"
+                              },
+                              "lockwait" : {
+                                 "default" : 180,
+                                 "description" : "Maximal time to wait for the global lock (minutes).",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
+                              },
+                              "mailnotification" : {
+                                 "default" : "always",
+                                 "description" : "Deprecated: use notification targets/matchers instead. Specify when to send a notification mail",
                                  "enum" : [
-                                    "dns",
-                                    "standalone"
+                                    "always",
+                                    "failure"
                                  ],
+                                 "optional" : 1,
                                  "type" : "string"
                               },
-                              "validation-delay" : {
-                                 "default" : 30,
-                                 "description" : "Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records.",
-                                 "maximum" : 172800,
-                                 "minimum" : 0,
+                              "mailto" : {
+                                 "description" : "Deprecated: Use notification targets/matchers instead. Comma-separated list of email addresses or users that should receive email notifications.",
+                                 "format" : "email-or-username-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "maxfiles" : {
+                                 "description" : "Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system.",
+                                 "minimum" : 1,
                                  "optional" : 1,
                                  "type" : "integer",
-                                 "typetext" : "<integer> (0 - 172800)"
-                              }
-                           },
-                           "type" : "object"
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Modify"
-                              ]
-                           ]
-                        },
-                        "protected" : 1,
-                        "returns" : {
-                           "type" : "null"
-                        }
-                     }
-                  },
-                  "leaf" : 0,
-                  "path" : "/cluster/acme/plugins",
-                  "text" : "plugins"
-               },
-               {
-                  "children" : [
-                     {
-                        "info" : {
-                           "DELETE" : {
-                              "allowtoken" : 1,
-                              "description" : "Deactivate existing ACME account at CA.",
-                              "method" : "DELETE",
-                              "name" : "deactivate_account",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "name" : {
-                                       "default" : "default",
-                                       "description" : "ACME account config file name.",
-                                       "format" : "pve-configid",
-                                       "format_description" : "name",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<name>"
-                                    }
-                                 }
+                                 "typetext" : "<integer> (1 - N)"
                               },
-                              "protected" : 1,
-                              "returns" : {
+                              "mode" : {
+                                 "default" : "snapshot",
+                                 "description" : "Backup mode.",
+                                 "enum" : [
+                                    "snapshot",
+                                    "suspend",
+                                    "stop"
+                                 ],
+                                 "optional" : 1,
                                  "type" : "string"
-                              }
-                           },
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Return existing ACME account information.",
-                              "method" : "GET",
-                              "name" : "get_account",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "name" : {
-                                       "default" : "default",
-                                       "description" : "ACME account config file name.",
-                                       "format" : "pve-configid",
-                                       "format_description" : "name",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<name>"
-                                    }
-                                 }
                               },
-                              "protected" : 1,
-                              "returns" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "account" : {
-                                       "optional" : 1,
-                                       "renderer" : "yaml",
-                                       "type" : "object"
-                                    },
-                                    "directory" : {
-                                       "description" : "URL of ACME CA directory endpoint.",
-                                       "optional" : 1,
-                                       "pattern" : "^https?://.*",
-                                       "type" : "string"
-                                    },
-                                    "location" : {
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "tos" : {
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    }
-                                 },
-                                 "type" : "object"
-                              }
-                           },
-                           "PUT" : {
-                              "allowtoken" : 1,
-                              "description" : "Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh.",
-                              "method" : "PUT",
-                              "name" : "update_account",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "contact" : {
-                                       "description" : "Contact email addresses.",
-                                       "format" : "email-list",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "name" : {
-                                       "default" : "default",
-                                       "description" : "ACME account config file name.",
-                                       "format" : "pve-configid",
-                                       "format_description" : "name",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<name>"
-                                    }
-                                 }
+                              "node" : {
+                                 "description" : "Only run if executed on this node.",
+                                 "format" : "pve-node",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "string"
-                              }
-                           }
-                        },
-                        "leaf" : 1,
-                        "path" : "/cluster/acme/account/{name}",
-                        "text" : "{name}"
-                     }
-                  ],
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "ACMEAccount index.",
-                        "method" : "GET",
-                        "name" : "account_index",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "user" : "all"
-                        },
-                        "protected" : 1,
-                        "returns" : {
-                           "items" : {
-                              "properties" : {},
-                              "type" : "object"
-                           },
-                           "links" : [
-                              {
-                                 "href" : "{name}",
-                                 "rel" : "child"
-                              }
-                           ],
-                           "type" : "array"
-                        }
-                     },
-                     "POST" : {
-                        "allowtoken" : 1,
-                        "description" : "Register a new ACME account with CA.",
-                        "method" : "POST",
-                        "name" : "register_account",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "contact" : {
-                                 "description" : "Contact email addresses.",
-                                 "format" : "email-list",
+                              "notes-template" : {
+                                 "description" : "Template string for generating notes for the backup(s). It can contain variables which will be replaced by their values. Currently supported are {{cluster}}, {{guestname}}, {{node}}, and {{vmid}}, but more might be added in the future. Needs to be a single line, newline and backslash need to be escaped as '\\n' and '\\\\' respectively.",
+                                 "maxLength" : 1024,
+                                 "optional" : 1,
+                                 "requires" : "storage",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "directory" : {
-                                 "default" : "https://acme-v02.api.letsencrypt.org/directory",
-                                 "description" : "URL of ACME CA directory endpoint.",
+                              "notification-mode" : {
+                                 "default" : "auto",
+                                 "description" : "Determine which notification system to use. If set to 'legacy-sendmail', vzdump will consider the mailto/mailnotification parameters and send emails to the specified address(es) via the 'sendmail' command. If set to 'notification-system', a notification will be sent via PVE's notification system, and the mailto and mailnotification will be ignored. If set to 'auto' (default setting), an email will be sent if mailto is set, and the notification system will be used if not.",
+                                 "enum" : [
+                                    "auto",
+                                    "legacy-sendmail",
+                                    "notification-system"
+                                 ],
                                  "optional" : 1,
-                                 "pattern" : "^https?://.*",
                                  "type" : "string"
                               },
-                              "name" : {
-                                 "default" : "default",
-                                 "description" : "ACME account config file name.",
+                              "notification-policy" : {
+                                 "default" : "always",
+                                 "description" : "Deprecated: Do not use",
+                                 "enum" : [
+                                    "always",
+                                    "failure",
+                                    "never"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "notification-target" : {
+                                 "description" : "Deprecated: Do not use",
                                  "format" : "pve-configid",
-                                 "format_description" : "name",
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "<name>"
+                                 "typetext" : "<string>"
                               },
-                              "tos_url" : {
-                                 "description" : "URL of CA TermsOfService - setting this indicates agreement.",
+                              "performance" : {
+                                 "description" : "Other performance-related settings.",
+                                 "format" : "backup-performance",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[max-workers=<integer>] [,pbs-entries-max=<integer>]"
+                              },
+                              "pigz" : {
+                                 "default" : 0,
+                                 "description" : "Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "pool" : {
+                                 "description" : "Backup all known guest systems included in the specified pool.",
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
-                              }
-                           }
-                        },
-                        "protected" : 1,
-                        "returns" : {
-                           "type" : "string"
-                        }
-                     }
-                  },
-                  "leaf" : 0,
-                  "path" : "/cluster/acme/account",
-                  "text" : "account"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Retrieve ACME TermsOfService URL from CA.",
-                        "method" : "GET",
-                        "name" : "get_tos",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "directory" : {
-                                 "default" : "https://acme-v02.api.letsencrypt.org/directory",
-                                 "description" : "URL of ACME CA directory endpoint.",
+                              },
+                              "protected" : {
+                                 "description" : "If true, mark backup(s) as protected.",
                                  "optional" : 1,
-                                 "pattern" : "^https?://.*",
-                                 "type" : "string"
+                                 "requires" : "storage",
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "prune-backups" : {
+                                 "default" : "keep-all=1",
+                                 "description" : "Use these retention options instead of those from the storage configuration.",
+                                 "format" : "prune-backups",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]"
+                              },
+                              "quiet" : {
+                                 "default" : 0,
+                                 "description" : "Be quiet.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "remove" : {
+                                 "default" : 1,
+                                 "description" : "Prune older backups according to 'prune-backups'.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "repeat-missed" : {
+                                 "default" : 0,
+                                 "description" : "If true, the job will be run as soon as possible if it was missed while the scheduler was not running.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "schedule" : {
+                                 "description" : "Backup schedule. The format is a subset of `systemd` calendar events.",
+                                 "format" : "pve-calendar-event",
+                                 "maxLength" : 128,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "script" : {
+                                 "description" : "Use specified hook script.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "starttime" : {
+                                 "description" : "Job Start time.",
+                                 "optional" : 1,
+                                 "pattern" : "\\d{1,2}:\\d{1,2}",
+                                 "type" : "string",
+                                 "typetext" : "HH:MM"
+                              },
+                              "stdexcludes" : {
+                                 "default" : 1,
+                                 "description" : "Exclude temporary files and logs.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "stop" : {
+                                 "default" : 0,
+                                 "description" : "Stop running backup jobs on this host.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "stopwait" : {
+                                 "default" : 10,
+                                 "description" : "Maximal time to wait until a guest system is stopped (minutes).",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
+                              },
+                              "storage" : {
+                                 "description" : "Store resulting file to this storage.",
+                                 "format" : "pve-storage-id",
+                                 "format_description" : "storage ID",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<storage ID>"
+                              },
+                              "tmpdir" : {
+                                 "description" : "Store temporary files to specified directory.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "vmid" : {
+                                 "description" : "The ID of the guest system you want to backup.",
+                                 "format" : "pve-vmid-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "zstd" : {
+                                 "default" : 1,
+                                 "description" : "Zstd threads. N=0 uses half of the available cores, if N is set to a value bigger than 0, N is used as thread count.",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
                               }
                            }
                         },
                         "permissions" : {
-                           "user" : "all"
-                        },
-                        "returns" : {
-                           "description" : "ACME TermsOfService URL.",
-                           "optional" : 1,
-                           "type" : "string"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/acme/tos",
-                  "text" : "tos"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Get named known ACME directory endpoints.",
-                        "method" : "GET",
-                        "name" : "get_directories",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "user" : "all"
-                        },
-                        "returns" : {
-                           "items" : {
-                              "additionalProperties" : 0,
-                              "properties" : {
-                                 "name" : {
-                                    "type" : "string"
-                                 },
-                                 "url" : {
-                                    "description" : "URL of ACME CA directory endpoint.",
-                                    "pattern" : "^https?://.*",
-                                    "type" : "string"
-                                 }
-                              },
-                              "type" : "object"
-                           },
-                           "type" : "array"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/acme/directories",
-                  "text" : "directories"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Get schema of ACME challenge types.",
-                        "method" : "GET",
-                        "name" : "challengeschema",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "user" : "all"
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Modify"
+                              ]
+                           ],
+                           "description" : "The 'tmpdir', 'dumpdir' and 'script' parameters are additionally restricted to the 'root@pam' user."
                         },
+                        "protected" : 1,
                         "returns" : {
-                           "items" : {
-                              "additionalProperties" : 0,
-                              "properties" : {
-                                 "id" : {
-                                    "type" : "string"
-                                 },
-                                 "name" : {
-                                    "description" : "Human readable name, falls back to id",
-                                    "type" : "string"
-                                 },
-                                 "schema" : {
-                                    "type" : "object"
-                                 },
-                                 "type" : {
-                                    "type" : "string"
-                                 }
-                              },
-                              "type" : "object"
-                           },
-                           "type" : "array"
+                           "type" : "null"
                         }
                      }
                   },
-                  "leaf" : 1,
-                  "path" : "/cluster/acme/challenge-schema",
-                  "text" : "challenge-schema"
+                  "leaf" : 0,
+                  "path" : "/cluster/backup/{id}",
+                  "text" : "{id}"
                }
             ],
             "info" : {
                "GET" : {
                   "allowtoken" : 1,
-                  "description" : "ACMEAccount index.",
+                  "description" : "List vzdump backup schedule.",
                   "method" : "GET",
                   "name" : "index",
                   "parameters" : {
                      "additionalProperties" : 0
                   },
                   "permissions" : {
-                     "user" : "all"
+                     "check" : [
+                        "perm",
+                        "/",
+                        [
+                           "Sys.Audit"
+                        ]
+                     ]
                   },
                   "returns" : {
                      "items" : {
-                        "properties" : {},
+                        "properties" : {
+                           "id" : {
+                              "description" : "The job ID.",
+                              "maxLength" : 50,
+                              "type" : "string"
+                           }
+                        },
                         "type" : "object"
                      },
                      "links" : [
                         {
-                           "href" : "{name}",
+                           "href" : "{id}",
                            "rel" : "child"
                         }
                      ],
                      "type" : "array"
                   }
-               }
-            },
-            "leaf" : 0,
-            "path" : "/cluster/acme",
-            "text" : "acme"
-         },
-         {
-            "children" : [
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Get ceph metadata.",
-                        "method" : "GET",
-                        "name" : "metadata",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "scope" : {
-                                 "default" : "all",
-                                 "enum" : [
-                                    "all",
-                                    "versions"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           }
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit",
-                                 "Datastore.Audit"
-                              ],
-                              "any",
-                              1
+               },
+               "POST" : {
+                  "allowtoken" : 1,
+                  "description" : "Create new vzdump backup job.",
+                  "method" : "POST",
+                  "name" : "create_job",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "all" : {
+                           "default" : 0,
+                           "description" : "Backup all known guest systems on this host.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "bwlimit" : {
+                           "default" : 0,
+                           "description" : "Limit I/O bandwidth (in KiB/s).",
+                           "minimum" : 0,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (0 - N)"
+                        },
+                        "comment" : {
+                           "description" : "Description for the Job.",
+                           "maxLength" : 512,
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "compress" : {
+                           "default" : "0",
+                           "description" : "Compress dump file.",
+                           "enum" : [
+                              "0",
+                              "1",
+                              "gzip",
+                              "lzo",
+                              "zstd"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "dow" : {
+                           "default" : "mon,tue,wed,thu,fri,sat,sun",
+                           "description" : "Day of week selection.",
+                           "format" : "pve-day-of-week-list",
+                           "optional" : 1,
+                           "requires" : "starttime",
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "dumpdir" : {
+                           "description" : "Store resulting files to specified directory.",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "enabled" : {
+                           "default" : "1",
+                           "description" : "Enable or disable the job.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "exclude" : {
+                           "description" : "Exclude specified guest systems (assumes --all)",
+                           "format" : "pve-vmid-list",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "exclude-path" : {
+                           "description" : "Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory.",
+                           "items" : {
+                              "type" : "string"
+                           },
+                           "optional" : 1,
+                           "type" : "array",
+                           "typetext" : "<array>"
+                        },
+                        "fleecing" : {
+                           "description" : "Options for backup fleecing (VM only).",
+                           "format" : "backup-fleecing",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[[enabled=]<1|0>] [,storage=<storage ID>]"
+                        },
+                        "id" : {
+                           "description" : "Job ID (will be autogenerated).",
+                           "format" : "pve-configid",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "ionice" : {
+                           "default" : 7,
+                           "description" : "Set IO priority when using the BFQ scheduler. For snapshot and suspend mode backups of VMs, this only affects the compressor. A value of 8 means the idle priority is used, otherwise the best-effort priority is used with the specified value.",
+                           "maximum" : 8,
+                           "minimum" : 0,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (0 - 8)"
+                        },
+                        "lockwait" : {
+                           "default" : 180,
+                           "description" : "Maximal time to wait for the global lock (minutes).",
+                           "minimum" : 0,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (0 - N)"
+                        },
+                        "mailnotification" : {
+                           "default" : "always",
+                           "description" : "Deprecated: use notification targets/matchers instead. Specify when to send a notification mail",
+                           "enum" : [
+                              "always",
+                              "failure"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "mailto" : {
+                           "description" : "Deprecated: Use notification targets/matchers instead. Comma-separated list of email addresses or users that should receive email notifications.",
+                           "format" : "email-or-username-list",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "maxfiles" : {
+                           "description" : "Deprecated: use 'prune-backups' instead. Maximal number of backup files per guest system.",
+                           "minimum" : 1,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (1 - N)"
+                        },
+                        "mode" : {
+                           "default" : "snapshot",
+                           "description" : "Backup mode.",
+                           "enum" : [
+                              "snapshot",
+                              "suspend",
+                              "stop"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "node" : {
+                           "description" : "Only run if executed on this node.",
+                           "format" : "pve-node",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "notes-template" : {
+                           "description" : "Template string for generating notes for the backup(s). It can contain variables which will be replaced by their values. Currently supported are {{cluster}}, {{guestname}}, {{node}}, and {{vmid}}, but more might be added in the future. Needs to be a single line, newline and backslash need to be escaped as '\\n' and '\\\\' respectively.",
+                           "maxLength" : 1024,
+                           "optional" : 1,
+                           "requires" : "storage",
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "notification-mode" : {
+                           "default" : "auto",
+                           "description" : "Determine which notification system to use. If set to 'legacy-sendmail', vzdump will consider the mailto/mailnotification parameters and send emails to the specified address(es) via the 'sendmail' command. If set to 'notification-system', a notification will be sent via PVE's notification system, and the mailto and mailnotification will be ignored. If set to 'auto' (default setting), an email will be sent if mailto is set, and the notification system will be used if not.",
+                           "enum" : [
+                              "auto",
+                              "legacy-sendmail",
+                              "notification-system"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "notification-policy" : {
+                           "default" : "always",
+                           "description" : "Deprecated: Do not use",
+                           "enum" : [
+                              "always",
+                              "failure",
+                              "never"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "notification-target" : {
+                           "description" : "Deprecated: Do not use",
+                           "format" : "pve-configid",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "performance" : {
+                           "description" : "Other performance-related settings.",
+                           "format" : "backup-performance",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[max-workers=<integer>] [,pbs-entries-max=<integer>]"
+                        },
+                        "pigz" : {
+                           "default" : 0,
+                           "description" : "Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.",
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer>"
+                        },
+                        "pool" : {
+                           "description" : "Backup all known guest systems included in the specified pool.",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "protected" : {
+                           "description" : "If true, mark backup(s) as protected.",
+                           "optional" : 1,
+                           "requires" : "storage",
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "prune-backups" : {
+                           "default" : "keep-all=1",
+                           "description" : "Use these retention options instead of those from the storage configuration.",
+                           "format" : "prune-backups",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]"
+                        },
+                        "quiet" : {
+                           "default" : 0,
+                           "description" : "Be quiet.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "remove" : {
+                           "default" : 1,
+                           "description" : "Prune older backups according to 'prune-backups'.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "repeat-missed" : {
+                           "default" : 0,
+                           "description" : "If true, the job will be run as soon as possible if it was missed while the scheduler was not running.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "schedule" : {
+                           "description" : "Backup schedule. The format is a subset of `systemd` calendar events.",
+                           "format" : "pve-calendar-event",
+                           "maxLength" : 128,
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "script" : {
+                           "description" : "Use specified hook script.",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "starttime" : {
+                           "description" : "Job Start time.",
+                           "optional" : 1,
+                           "pattern" : "\\d{1,2}:\\d{1,2}",
+                           "type" : "string",
+                           "typetext" : "HH:MM"
+                        },
+                        "stdexcludes" : {
+                           "default" : 1,
+                           "description" : "Exclude temporary files and logs.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "stop" : {
+                           "default" : 0,
+                           "description" : "Stop running backup jobs on this host.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "stopwait" : {
+                           "default" : 10,
+                           "description" : "Maximal time to wait until a guest system is stopped (minutes).",
+                           "minimum" : 0,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (0 - N)"
+                        },
+                        "storage" : {
+                           "description" : "Store resulting file to this storage.",
+                           "format" : "pve-storage-id",
+                           "format_description" : "storage ID",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<storage ID>"
+                        },
+                        "tmpdir" : {
+                           "description" : "Store temporary files to specified directory.",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "vmid" : {
+                           "description" : "The ID of the guest system you want to backup.",
+                           "format" : "pve-vmid-list",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "zstd" : {
+                           "default" : 1,
+                           "description" : "Zstd threads. N=0 uses half of the available cores, if N is set to a value bigger than 0, N is used as thread count.",
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer>"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "perm",
+                        "/",
+                        [
+                           "Sys.Modify"
+                        ]
+                     ],
+                     "description" : "The 'tmpdir', 'dumpdir' and 'script' parameters are additionally restricted to the 'root@pam' user."
+                  },
+                  "protected" : 1,
+                  "returns" : {
+                     "type" : "null"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/cluster/backup",
+            "text" : "backup"
+         },
+         {
+            "children" : [
+               {
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Shows all guests which are not covered by any backup job.",
+                        "method" : "GET",
+                        "name" : "get_guests_not_in_backup",
+                        "parameters" : {
+                           "additionalProperties" : 0
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
                            ]
                         },
                         "protected" : 1,
                         "returns" : {
-                           "description" : "Items for each type of service containing objects for each instance.",
-                           "properties" : {
-                              "mds" : {
-                                 "description" : "Metadata servers configured in the cluster and their properties.",
-                                 "properties" : {
-                                    "{id}" : {
-                                       "description" : "Useful properties are listed, but not the full list.",
+                           "description" : "Contains the guest objects.",
+                           "items" : {
+                              "properties" : {
+                                 "name" : {
+                                    "description" : "Name of the guest",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "type" : {
+                                    "description" : "Type of the guest.",
+                                    "enum" : [
+                                       "qemu",
+                                       "lxc"
+                                    ],
+                                    "type" : "string"
+                                 },
+                                 "vmid" : {
+                                    "description" : "VMID of the guest.",
+                                    "type" : "integer"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "type" : "array"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/backup-info/not-backed-up",
+                  "text" : "not-backed-up"
+               }
+            ],
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Index for backup info related endpoints",
+                  "method" : "GET",
+                  "name" : "index",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "returns" : {
+                     "description" : "Directory index.",
+                     "items" : {
+                        "properties" : {
+                           "subdir" : {
+                              "description" : "API sub-directory endpoint",
+                              "type" : "string"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "links" : [
+                        {
+                           "href" : "{subdir}",
+                           "rel" : "child"
+                        }
+                     ],
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/cluster/backup-info",
+            "text" : "backup-info"
+         },
+         {
+            "children" : [
+               {
+                  "children" : [
+                     {
+                        "children" : [
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Request resource migration (online) to another node.",
+                                    "method" : "POST",
+                                    "name" : "migrate",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
                                        "properties" : {
-                                          "addr" : {
-                                             "description" : "Bind addresses and ports.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_release" : {
-                                             "description" : "Ceph release codename currently used.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_version" : {
-                                             "description" : "Version info currently used by the service.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_version_short" : {
-                                             "description" : "Short version (numerical) info currently used by the service.",
-                                             "type" : "string"
-                                          },
-                                          "hostname" : {
-                                             "description" : "Hostname on which the service is running.",
-                                             "type" : "string"
-                                          },
-                                          "mem_swap_kb" : {
-                                             "description" : "Memory of the service currently in swap.",
-                                             "type" : "integer"
-                                          },
-                                          "mem_total_kb" : {
-                                             "description" : "Memory consumption of the service.",
-                                             "type" : "integer"
+                                          "node" : {
+                                             "description" : "Target node.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "name" : {
-                                             "description" : "Name of the service instance.",
-                                             "type" : "string"
+                                          "sid" : {
+                                             "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
+                                             "format" : "pve-ha-resource-or-vm-id",
+                                             "type" : "string",
+                                             "typetext" : "<type>:<name>"
                                           }
-                                       },
-                                       "type" : "object"
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Console"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
                                     }
-                                 },
-                                 "type" : "object"
+                                 }
                               },
-                              "mgr" : {
-                                 "description" : "Managers configured in the cluster and their properties.",
-                                 "properties" : {
-                                    "{id}" : {
-                                       "description" : "Useful properties are listed, but not the full list.",
+                              "leaf" : 1,
+                              "path" : "/cluster/ha/resources/{sid}/migrate",
+                              "text" : "migrate"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node.",
+                                    "method" : "POST",
+                                    "name" : "relocate",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
                                        "properties" : {
-                                          "addr" : {
-                                             "description" : "Bind address",
-                                             "type" : "string"
-                                          },
-                                          "ceph_release" : {
-                                             "description" : "Ceph release codename currently used.",
-                                             "type" : "string"
+                                          "node" : {
+                                             "description" : "Target node.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "ceph_version" : {
-                                             "description" : "Version info currently used by the service.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_version_short" : {
-                                             "description" : "Short version (numerical) info currently used by the service.",
-                                             "type" : "string"
-                                          },
-                                          "hostname" : {
-                                             "description" : "Hostname on which the service is running.",
-                                             "type" : "string"
-                                          },
-                                          "mem_swap_kb" : {
-                                             "description" : "Memory of the service currently in swap.",
-                                             "type" : "integer"
-                                          },
-                                          "mem_total_kb" : {
-                                             "description" : "Memory consumption of the service.",
-                                             "type" : "integer"
-                                          },
-                                          "name" : {
-                                             "description" : "Name of the service instance.",
-                                             "type" : "string"
+                                          "sid" : {
+                                             "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
+                                             "format" : "pve-ha-resource-or-vm-id",
+                                             "type" : "string",
+                                             "typetext" : "<type>:<name>"
                                           }
-                                       },
-                                       "type" : "object"
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Console"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
                                     }
-                                 },
-                                 "type" : "object"
+                                 }
                               },
-                              "mon" : {
-                                 "description" : "Monitors configured in the cluster and their properties.",
+                              "leaf" : 1,
+                              "path" : "/cluster/ha/resources/{sid}/relocate",
+                              "text" : "relocate"
+                           }
+                        ],
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete resource configuration.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
                                  "properties" : {
-                                    "{id}" : {
-                                       "description" : "Useful properties are listed, but not the full list.",
-                                       "properties" : {
-                                          "addrs" : {
-                                             "description" : "Bind addresses and ports.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_release" : {
-                                             "description" : "Ceph release codename currently used.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_version" : {
-                                             "description" : "Version info currently used by the service.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_version_short" : {
-                                             "description" : "Short version (numerical) info currently used by the service.",
-                                             "type" : "string"
-                                          },
-                                          "hostname" : {
-                                             "description" : "Hostname on which the service is running.",
-                                             "type" : "string"
-                                          },
-                                          "mem_swap_kb" : {
-                                             "description" : "Memory of the service currently in swap.",
-                                             "type" : "integer"
-                                          },
-                                          "mem_total_kb" : {
-                                             "description" : "Memory consumption of the service.",
-                                             "type" : "integer"
-                                          },
-                                          "name" : {
-                                             "description" : "Name of the service instance.",
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
+                                    "sid" : {
+                                       "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
+                                       "format" : "pve-ha-resource-or-vm-id",
+                                       "type" : "string",
+                                       "typetext" : "<type>:<name>"
                                     }
-                                 },
-                                 "type" : "object"
+                                 }
                               },
-                              "node" : {
-                                 "description" : "Ceph version installed on the nodes.",
-                                 "properties" : {
-                                    "{node}" : {
-                                       "properties" : {
-                                          "buildcommit" : {
-                                             "description" : "GIT commit used for the build.",
-                                             "type" : "string"
-                                          },
-                                          "version" : {
-                                             "description" : "Version info.",
-                                             "properties" : {
-                                                "parts" : {
-                                                   "description" : "major, minor & patch",
-                                                   "type" : "array"
-                                                },
-                                                "str" : {
-                                                   "description" : "Version as single string.",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 },
-                                 "type" : "object"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Console"
+                                    ]
+                                 ]
                               },
-                              "osd" : {
-                                 "description" : "OSDs configured in the cluster and their properties.",
-                                 "properties" : {
-                                    "{id}" : {
-                                       "description" : "Useful properties are listed, but not the full list.",
-                                       "properties" : {
-                                          "back_addr" : {
-                                             "description" : "Bind addresses and ports for backend inter OSD traffic.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_release" : {
-                                             "description" : "Ceph release codename currently used.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_version" : {
-                                             "description" : "Version info currently used by the service.",
-                                             "type" : "string"
-                                          },
-                                          "ceph_version_short" : {
-                                             "description" : "Short version (numerical) info currently used by the service.",
-                                             "type" : "string"
-                                          },
-                                          "device_id" : {
-                                             "description" : "Devices used by the OSD.",
-                                             "type" : "string"
-                                          },
-                                          "front_addr" : {
-                                             "description" : "Bind addresses and ports for frontend traffic to OSDs.",
-                                             "type" : "string"
-                                          },
-                                          "hostname" : {
-                                             "description" : "Hostname on which the service is running.",
-                                             "type" : "string"
-                                          },
-                                          "id" : {
-                                             "description" : "OSD ID.",
-                                             "type" : "integer"
-                                          },
-                                          "mem_swap_kb" : {
-                                             "description" : "Memory of the service currently in swap.",
-                                             "type" : "integer"
-                                          },
-                                          "mem_total_kb" : {
-                                             "description" : "Memory consumption of the service.",
-                                             "type" : "integer"
-                                          },
-                                          "osd_data" : {
-                                             "description" : "Path to the OSD data directory.",
-                                             "type" : "string"
-                                          },
-                                          "osd_objectstore" : {
-                                             "description" : "OSD objectstore type.",
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 },
-                                 "type" : "array"
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
                               }
                            },
-                           "type" : "object"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/ceph/metadata",
-                  "text" : "metadata"
-               },
-               {
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Get ceph status.",
-                        "method" : "GET",
-                        "name" : "status",
-                        "parameters" : {
-                           "additionalProperties" : 0
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/",
-                              [
-                                 "Sys.Audit",
-                                 "Datastore.Audit"
-                              ],
-                              "any",
-                              1
-                           ]
-                        },
-                        "protected" : 1,
-                        "returns" : {
-                           "type" : "object"
-                        }
-                     }
-                  },
-                  "leaf" : 1,
-                  "path" : "/cluster/ceph/status",
-                  "text" : "status"
-               },
-               {
-                  "children" : [
-                     {
-                        "info" : {
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Get the status of a specific ceph flag.",
+                              "description" : "Read resource configuration.",
                               "method" : "GET",
-                              "name" : "get_flag",
+                              "name" : "read",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "flag" : {
-                                       "description" : "The name of the flag name to get.",
-                                       "enum" : [
-                                          "nobackfill",
-                                          "nodeep-scrub",
-                                          "nodown",
-                                          "noin",
-                                          "noout",
-                                          "norebalance",
-                                          "norecover",
-                                          "noscrub",
-                                          "notieragent",
-                                          "noup",
-                                          "pause"
-                                       ],
-                                       "type" : "string"
+                                    "sid" : {
+                                       "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
+                                       "format" : "pve-ha-resource-or-vm-id",
+                                       "type" : "string",
+                                       "typetext" : "<type>:<name>"
                                     }
                                  }
                               },
@@ -6328,49 +6444,141 @@ const apiSchema = [
                                     ]
                                  ]
                               },
-                              "protected" : 1,
                               "returns" : {
-                                 "type" : "boolean"
+                                 "properties" : {
+                                    "comment" : {
+                                       "description" : "Description.",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "digest" : {
+                                       "description" : "Can be used to prevent concurrent modifications.",
+                                       "type" : "string"
+                                    },
+                                    "group" : {
+                                       "description" : "The HA group identifier.",
+                                       "format" : "pve-configid",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "max_relocate" : {
+                                       "description" : "Maximal number of service relocate tries when a service failes to start.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "max_restart" : {
+                                       "description" : "Maximal number of tries to restart the service on a node after its start failed.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "sid" : {
+                                       "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
+                                       "format" : "pve-ha-resource-or-vm-id",
+                                       "type" : "string",
+                                       "typetext" : "<type>:<name>"
+                                    },
+                                    "state" : {
+                                       "description" : "Requested resource state.",
+                                       "enum" : [
+                                          "started",
+                                          "stopped",
+                                          "enabled",
+                                          "disabled",
+                                          "ignored"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "type" : {
+                                       "description" : "The type of the resources.",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "type" : "object"
                               }
                            },
                            "PUT" : {
                               "allowtoken" : 1,
-                              "description" : "Set or clear (unset) a specific ceph flag",
+                              "description" : "Update resource configuration.",
                               "method" : "PUT",
-                              "name" : "update_flag",
+                              "name" : "update",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "flag" : {
-                                       "description" : "The ceph flag to update",
+                                    "comment" : {
+                                       "description" : "Description.",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "group" : {
+                                       "description" : "The HA group identifier.",
+                                       "format" : "pve-configid",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "max_relocate" : {
+                                       "default" : 1,
+                                       "description" : "Maximal number of service relocate tries when a service failes to start.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    },
+                                    "max_restart" : {
+                                       "default" : 1,
+                                       "description" : "Maximal number of tries to restart the service on a node after its start failed.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    },
+                                    "sid" : {
+                                       "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
+                                       "format" : "pve-ha-resource-or-vm-id",
+                                       "type" : "string",
+                                       "typetext" : "<type>:<name>"
+                                    },
+                                    "state" : {
+                                       "default" : "started",
+                                       "description" : "Requested resource state.",
                                        "enum" : [
-                                          "nobackfill",
-                                          "nodeep-scrub",
-                                          "nodown",
-                                          "noin",
-                                          "noout",
-                                          "norebalance",
-                                          "norecover",
-                                          "noscrub",
-                                          "notieragent",
-                                          "noup",
-                                          "pause"
+                                          "started",
+                                          "stopped",
+                                          "enabled",
+                                          "disabled",
+                                          "ignored"
                                        ],
-                                       "type" : "string"
-                                    },
-                                    "value" : {
-                                       "description" : "The new value of the flag",
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "verbose_description" : "Requested resource state. The CRM reads this state and acts accordingly.\nPlease note that `enabled` is just an alias for `started`.\n\n`started`;;\n\nThe CRM tries to start the resource. Service state is\nset to `started` after successful start. On node failures, or when start\nfails, it tries to recover the resource.  If everything fails, service\nstate it set to `error`.\n\n`stopped`;;\n\nThe CRM tries to keep the resource in `stopped` state, but it\nstill tries to relocate the resources on node failures.\n\n`disabled`;;\n\nThe CRM tries to put the resource in `stopped` state, but does not try\nto relocate the resources on node failures. The main purpose of this\nstate is error recovery, because it is the only way to move a resource out\nof the `error` state.\n\n`ignored`;;\n\nThe resource gets removed from the manager status and so the CRM and the LRM do\nnot touch the resource anymore. All {pve} API calls affecting this resource\nwill be executed, directly bypassing the HA stack. CRM commands will be thrown\naway while there source is in this state. The resource will not get relocated\non node failures.\n\n"
                                     }
-                                 }
+                                 },
+                                 "type" : "object"
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Modify"
+                                       "Sys.Console"
                                     ]
                                  ]
                               },
@@ -6380,19 +6588,30 @@ const apiSchema = [
                               }
                            }
                         },
-                        "leaf" : 1,
-                        "path" : "/cluster/ceph/flags/{flag}",
-                        "text" : "{flag}"
+                        "leaf" : 0,
+                        "path" : "/cluster/ha/resources/{sid}",
+                        "text" : "{sid}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "get the status of all ceph flags",
+                        "description" : "List HA resources.",
                         "method" : "GET",
-                        "name" : "get_all_flags",
+                        "name" : "index",
                         "parameters" : {
-                           "additionalProperties" : 0
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "type" : {
+                                 "description" : "Only list resources of specific type",
+                                 "enum" : [
+                                    "ct",
+                                    "vm"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           }
                         },
                         "permissions" : {
                            "check" : [
@@ -6403,256 +6622,545 @@ const apiSchema = [
                               ]
                            ]
                         },
-                        "protected" : 1,
                         "returns" : {
                            "items" : {
-                              "additionalProperties" : 1,
                               "properties" : {
-                                 "description" : {
-                                    "description" : "Flag description.",
-                                    "type" : "string"
-                                 },
-                                 "name" : {
-                                    "description" : "Flag name.",
-                                    "enum" : [
-                                       "nobackfill",
-                                       "nodeep-scrub",
-                                       "nodown",
-                                       "noin",
-                                       "noout",
-                                       "norebalance",
-                                       "norecover",
-                                       "noscrub",
-                                       "notieragent",
-                                       "noup",
-                                       "pause"
-                                    ],
+                                 "sid" : {
                                     "type" : "string"
-                                 },
-                                 "value" : {
-                                    "description" : "Flag value.",
-                                    "type" : "boolean"
                                  }
                               },
                               "type" : "object"
                            },
                            "links" : [
                               {
-                                 "href" : "{name}",
+                                 "href" : "{sid}",
                                  "rel" : "child"
                               }
                            ],
                            "type" : "array"
                         }
                      },
-                     "PUT" : {
+                     "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Set/Unset multiple ceph flags at once.",
-                        "method" : "PUT",
-                        "name" : "set_flags",
+                        "description" : "Create a new HA resource.",
+                        "method" : "POST",
+                        "name" : "create",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "nobackfill" : {
-                                 "description" : "Backfilling of PGs is suspended.",
+                              "comment" : {
+                                 "description" : "Description.",
+                                 "maxLength" : 4096,
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
-                              "nodeep-scrub" : {
-                                 "description" : "Deep Scrubbing is disabled.",
+                              "group" : {
+                                 "description" : "The HA group identifier.",
+                                 "format" : "pve-configid",
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
-                              "nodown" : {
-                                 "description" : "OSD failure reports are being ignored, such that the monitors will not mark OSDs down.",
+                              "max_relocate" : {
+                                 "default" : 1,
+                                 "description" : "Maximal number of service relocate tries when a service failes to start.",
+                                 "minimum" : 0,
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
                               },
-                              "noin" : {
-                                 "description" : "OSDs that were previously marked out will not be marked back in when they start.",
+                              "max_restart" : {
+                                 "default" : 1,
+                                 "description" : "Maximal number of tries to restart the service on a node after its start failed.",
+                                 "minimum" : 0,
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
                               },
-                              "noout" : {
-                                 "description" : "OSDs will not automatically be marked out after the configured interval.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                              "sid" : {
+                                 "description" : "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).",
+                                 "format" : "pve-ha-resource-or-vm-id",
+                                 "type" : "string",
+                                 "typetext" : "<type>:<name>"
                               },
-                              "norebalance" : {
-                                 "description" : "Rebalancing of PGs is suspended.",
+                              "state" : {
+                                 "default" : "started",
+                                 "description" : "Requested resource state.",
+                                 "enum" : [
+                                    "started",
+                                    "stopped",
+                                    "enabled",
+                                    "disabled",
+                                    "ignored"
+                                 ],
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string",
+                                 "verbose_description" : "Requested resource state. The CRM reads this state and acts accordingly.\nPlease note that `enabled` is just an alias for `started`.\n\n`started`;;\n\nThe CRM tries to start the resource. Service state is\nset to `started` after successful start. On node failures, or when start\nfails, it tries to recover the resource.  If everything fails, service\nstate it set to `error`.\n\n`stopped`;;\n\nThe CRM tries to keep the resource in `stopped` state, but it\nstill tries to relocate the resources on node failures.\n\n`disabled`;;\n\nThe CRM tries to put the resource in `stopped` state, but does not try\nto relocate the resources on node failures. The main purpose of this\nstate is error recovery, because it is the only way to move a resource out\nof the `error` state.\n\n`ignored`;;\n\nThe resource gets removed from the manager status and so the CRM and the LRM do\nnot touch the resource anymore. All {pve} API calls affecting this resource\nwill be executed, directly bypassing the HA stack. CRM commands will be thrown\naway while there source is in this state. The resource will not get relocated\non node failures.\n\n"
                               },
-                              "norecover" : {
-                                 "description" : "Recovery of PGs is suspended.",
+                              "type" : {
+                                 "description" : "Resource type.",
+                                 "enum" : [
+                                    "ct",
+                                    "vm"
+                                 ],
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string"
+                              }
+                           },
+                           "type" : "object"
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Console"
+                              ]
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/ha/resources",
+                  "text" : "resources"
+               },
+               {
+                  "children" : [
+                     {
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete ha group configuration.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "group" : {
+                                       "description" : "The HA group identifier.",
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
                               },
-                              "noscrub" : {
-                                 "description" : "Scrubbing is disabled.",
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Console"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Read ha group configuration.",
+                              "method" : "GET",
+                              "name" : "read",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "group" : {
+                                       "description" : "The HA group identifier.",
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Audit"
+                                    ]
+                                 ]
+                              },
+                              "returns" : {}
+                           },
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update ha group configuration.",
+                              "method" : "PUT",
+                              "name" : "update",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "comment" : {
+                                       "description" : "Description.",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "group" : {
+                                       "description" : "The HA group identifier.",
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "nodes" : {
+                                       "description" : "List of cluster node names with optional priority.",
+                                       "format" : "pve-ha-group-node-list",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<node>[:<pri>]{,<node>[:<pri>]}*",
+                                       "verbose_description" : "List of cluster node members, where a priority can be given to each node. A resource bound to a group will run on the available nodes with the highest priority. If there are more nodes in the highest priority class, the services will get distributed to those nodes. The priorities have a relative meaning only."
+                                    },
+                                    "nofailback" : {
+                                       "default" : 0,
+                                       "description" : "The CRM tries to run services on the node with the highest priority. If a node with higher priority comes online, the CRM migrates the service to that node. Enabling nofailback prevents that behavior.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "restricted" : {
+                                       "default" : 0,
+                                       "description" : "Resources bound to restricted groups may only run on nodes defined by the group.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>",
+                                       "verbose_description" : "Resources bound to restricted groups may only run on nodes defined by the group. The resource will be placed in the stopped state if no group node member is online. Resources on unrestricted groups may run on any cluster node if all group members are offline, but they will migrate back as soon as a group member comes online. One can implement a 'preferred node' behavior using an unrestricted group with only one member."
+                                    }
+                                 },
+                                 "type" : "object"
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Console"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/cluster/ha/groups/{group}",
+                        "text" : "{group}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Get HA groups.",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
+                        },
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "group" : {
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{group}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create a new HA group.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "comment" : {
+                                 "description" : "Description.",
+                                 "maxLength" : 4096,
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
-                              "notieragent" : {
-                                 "description" : "Cache tiering activity is suspended.",
+                              "group" : {
+                                 "description" : "The HA group identifier.",
+                                 "format" : "pve-configid",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "nodes" : {
+                                 "description" : "List of cluster node names with optional priority.",
+                                 "format" : "pve-ha-group-node-list",
+                                 "optional" : 0,
+                                 "type" : "string",
+                                 "typetext" : "<node>[:<pri>]{,<node>[:<pri>]}*",
+                                 "verbose_description" : "List of cluster node members, where a priority can be given to each node. A resource bound to a group will run on the available nodes with the highest priority. If there are more nodes in the highest priority class, the services will get distributed to those nodes. The priorities have a relative meaning only."
+                              },
+                              "nofailback" : {
+                                 "default" : 0,
+                                 "description" : "The CRM tries to run services on the node with the highest priority. If a node with higher priority comes online, the CRM migrates the service to that node. Enabling nofailback prevents that behavior.",
                                  "optional" : 1,
                                  "type" : "boolean",
                                  "typetext" : "<boolean>"
                               },
-                              "noup" : {
-                                 "description" : "OSDs are not allowed to start.",
+                              "restricted" : {
+                                 "default" : 0,
+                                 "description" : "Resources bound to restricted groups may only run on nodes defined by the group.",
                                  "optional" : 1,
                                  "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "typetext" : "<boolean>",
+                                 "verbose_description" : "Resources bound to restricted groups may only run on nodes defined by the group. The resource will be placed in the stopped state if no group node member is online. Resources on unrestricted groups may run on any cluster node if all group members are offline, but they will migrate back as soon as a group member comes online. One can implement a 'preferred node' behavior using an unrestricted group with only one member."
                               },
-                              "pause" : {
-                                 "description" : "Pauses read and writes.",
+                              "type" : {
+                                 "description" : "Group type.",
+                                 "enum" : [
+                                    "group"
+                                 ],
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string"
                               }
-                           }
+                           },
+                           "type" : "object"
                         },
                         "permissions" : {
                            "check" : [
                               "perm",
                               "/",
                               [
-                                 "Sys.Modify"
+                                 "Sys.Console"
                               ]
                            ]
                         },
                         "protected" : 1,
                         "returns" : {
-                           "type" : "string"
+                           "type" : "null"
                         }
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/cluster/ceph/flags",
-                  "text" : "flags"
-               }
-            ],
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "Cluster ceph index.",
-                  "method" : "GET",
-                  "name" : "cephindex",
-                  "parameters" : {
-                     "additionalProperties" : 0
-                  },
-                  "permissions" : {
-                     "user" : "all"
-                  },
-                  "returns" : {
-                     "items" : {
-                        "properties" : {},
-                        "type" : "object"
-                     },
-                     "links" : [
-                        {
-                           "href" : "{name}",
-                           "rel" : "child"
-                        }
-                     ],
-                     "type" : "array"
-                  }
-               }
-            },
-            "leaf" : 0,
-            "path" : "/cluster/ceph",
-            "text" : "ceph"
-         },
-         {
-            "children" : [
+                  "path" : "/cluster/ha/groups",
+                  "text" : "groups"
+               },
                {
+                  "children" : [
+                     {
+                        "info" : {
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Get HA manger status.",
+                              "method" : "GET",
+                              "name" : "status",
+                              "parameters" : {
+                                 "additionalProperties" : 0
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Audit"
+                                    ]
+                                 ]
+                              },
+                              "returns" : {
+                                 "items" : {
+                                    "properties" : {
+                                       "crm_state" : {
+                                          "description" : "For type 'service'. Service state as seen by the CRM.",
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "id" : {
+                                          "description" : "Status entry ID (quorum, master, lrm:<node>, service:<sid>).",
+                                          "type" : "string"
+                                       },
+                                       "max_relocate" : {
+                                          "description" : "For type 'service'.",
+                                          "optional" : 1,
+                                          "type" : "integer"
+                                       },
+                                       "max_restart" : {
+                                          "description" : "For type 'service'.",
+                                          "optional" : 1,
+                                          "type" : "integer"
+                                       },
+                                       "node" : {
+                                          "description" : "Node associated to status entry.",
+                                          "type" : "string"
+                                       },
+                                       "quorate" : {
+                                          "description" : "For type 'quorum'. Whether the cluster is quorate or not.",
+                                          "optional" : 1,
+                                          "type" : "boolean"
+                                       },
+                                       "request_state" : {
+                                          "description" : "For type 'service'. Requested service state.",
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "sid" : {
+                                          "description" : "For type 'service'. Service ID.",
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "state" : {
+                                          "description" : "For type 'service'. Verbose service state.",
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "status" : {
+                                          "description" : "Status of the entry (value depends on type).",
+                                          "type" : "string"
+                                       },
+                                       "timestamp" : {
+                                          "description" : "For type 'lrm','master'. Timestamp of the status information.",
+                                          "optional" : 1,
+                                          "type" : "integer"
+                                       },
+                                       "type" : {
+                                          "description" : "Type of status entry.",
+                                          "enum" : [
+                                             "quorum",
+                                             "master",
+                                             "lrm",
+                                             "service"
+                                          ]
+                                       }
+                                    },
+                                    "type" : "object"
+                                 },
+                                 "type" : "array"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/cluster/ha/status/current",
+                        "text" : "current"
+                     },
+                     {
+                        "info" : {
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Get full HA manger status, including LRM status.",
+                              "method" : "GET",
+                              "name" : "manager_status",
+                              "parameters" : {
+                                 "additionalProperties" : 0
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Audit"
+                                    ]
+                                 ]
+                              },
+                              "returns" : {
+                                 "type" : "object"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/cluster/ha/status/manager_status",
+                        "text" : "manager_status"
+                     }
+                  ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Returns a list of future schedule runtimes.",
+                        "description" : "Directory index.",
                         "method" : "GET",
-                        "name" : "schedule-analyze",
+                        "name" : "index",
                         "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "iterations" : {
-                                 "default" : 10,
-                                 "description" : "Number of event-iteration to simulate and return.",
-                                 "maximum" : 100,
-                                 "minimum" : 1,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - 100)"
-                              },
-                              "schedule" : {
-                                 "description" : "Job schedule. The format is a subset of `systemd` calendar events.",
-                                 "format" : "pve-calendar-event",
-                                 "maxLength" : 128,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "starttime" : {
-                                 "description" : "UNIX timestamp to start the calculation from. Defaults to the current time.",
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
-                              }
-                           }
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
                            "user" : "all"
                         },
                         "returns" : {
-                           "description" : "An array of the next <iterations> events since <starttime>.",
                            "items" : {
-                              "properties" : {
-                                 "timestamp" : {
-                                    "description" : "UNIX timestamp for the run.",
-                                    "type" : "integer"
-                                 },
-                                 "utc" : {
-                                    "description" : "UTC timestamp for the run.",
-                                    "type" : "string"
-                                 }
-                              },
+                              "properties" : {},
                               "type" : "object"
                            },
+                           "links" : [
+                              {
+                                 "href" : "{name}",
+                                 "rel" : "child"
+                              }
+                           ],
                            "type" : "array"
                         }
                      }
                   },
-                  "leaf" : 1,
-                  "path" : "/cluster/jobs/schedule-analyze",
-                  "text" : "schedule-analyze"
+                  "leaf" : 0,
+                  "path" : "/cluster/ha/status",
+                  "text" : "status"
                }
             ],
             "info" : {
                "GET" : {
                   "allowtoken" : 1,
-                  "description" : "Index for jobs related endpoints.",
+                  "description" : "Directory index.",
                   "method" : "GET",
                   "name" : "index",
                   "parameters" : {
                      "additionalProperties" : 0
                   },
                   "permissions" : {
-                     "user" : "all"
+                     "check" : [
+                        "perm",
+                        "/",
+                        [
+                           "Sys.Audit"
+                        ]
+                     ]
                   },
                   "returns" : {
-                     "description" : "Directory index.",
                      "items" : {
                         "properties" : {
-                           "subdir" : {
-                              "description" : "API sub-directory endpoint",
+                           "id" : {
                               "type" : "string"
                            }
                         },
@@ -6660,7 +7168,7 @@ const apiSchema = [
                      },
                      "links" : [
                         {
-                           "href" : "{subdir}",
+                           "href" : "{id}",
                            "rel" : "child"
                         }
                      ],
@@ -6669,308 +7177,26 @@ const apiSchema = [
                }
             },
             "leaf" : 0,
-            "path" : "/cluster/jobs",
-            "text" : "jobs"
+            "path" : "/cluster/ha",
+            "text" : "ha"
          },
          {
             "children" : [
                {
                   "children" : [
                      {
-                        "children" : [
-                           {
-                              "children" : [
-                                 {
-                                    "info" : {
-                                       "DELETE" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Delete sdn subnet object configuration.",
-                                          "method" : "DELETE",
-                                          "name" : "delete",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "subnet" : {
-                                                   "description" : "The SDN subnet object identifier.",
-                                                   "format" : "pve-sdn-subnet-id",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vnet" : {
-                                                   "description" : "The SDN vnet object identifier.",
-                                                   "format" : "pve-sdn-vnet-id",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/sdn/vnets/{vnet}/subnets",
-                                                [
-                                                   "SDN.Allocate"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       },
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Read sdn subnet configuration.",
-                                          "method" : "GET",
-                                          "name" : "read",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "pending" : {
-                                                   "description" : "Display pending config.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "running" : {
-                                                   "description" : "Display running config.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "subnet" : {
-                                                   "description" : "The SDN subnet object identifier.",
-                                                   "format" : "pve-sdn-subnet-id",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vnet" : {
-                                                   "description" : "The SDN vnet object identifier.",
-                                                   "format" : "pve-sdn-vnet-id",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/sdn/vnets/{vnet}/subnets/{subnet}",
-                                                [
-                                                   "SDN.Allocate"
-                                                ]
-                                             ]
-                                          },
-                                          "returns" : {
-                                             "type" : "object"
-                                          }
-                                       },
-                                       "PUT" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Update sdn subnet object configuration.",
-                                          "method" : "PUT",
-                                          "name" : "update",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "delete" : {
-                                                   "description" : "A list of settings you want to delete.",
-                                                   "format" : "pve-configid-list",
-                                                   "maxLength" : 4096,
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "digest" : {
-                                                   "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                   "maxLength" : 40,
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "dnszoneprefix" : {
-                                                   "description" : "dns domain zone prefix  ex: 'adm' -> <hostname>.adm.mydomain.com",
-                                                   "format" : "dns-name",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "gateway" : {
-                                                   "description" : "Subnet Gateway: Will be assign on vnet for layer3 zones",
-                                                   "format" : "ip",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "snat" : {
-                                                   "description" : "enable masquerade for this subnet if pve-firewall",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "subnet" : {
-                                                   "description" : "The SDN subnet object identifier.",
-                                                   "format" : "pve-sdn-subnet-id",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vnet" : {
-                                                   "description" : "associated vnet",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/sdn/vnets/{vnet}/subnets",
-                                                [
-                                                   "SDN.Allocate"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/cluster/sdn/vnets/{vnet}/subnets/{subnet}",
-                                    "text" : "{subnet}"
-                                 }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "SDN subnets index.",
-                                    "method" : "GET",
-                                    "name" : "index",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "pending" : {
-                                             "description" : "Display pending config.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "running" : {
-                                             "description" : "Display running config.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "vnet" : {
-                                             "description" : "The SDN vnet object identifier.",
-                                             "format" : "pve-sdn-vnet-id",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/subnets/<subnet>'",
-                                       "user" : "all"
-                                    },
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {},
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{subnet}",
-                                             "rel" : "child"
-                                          }
-                                       ],
-                                       "type" : "array"
-                                    }
-                                 },
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Create a new sdn subnet object.",
-                                    "method" : "POST",
-                                    "name" : "create",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "dnszoneprefix" : {
-                                             "description" : "dns domain zone prefix  ex: 'adm' -> <hostname>.adm.mydomain.com",
-                                             "format" : "dns-name",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "gateway" : {
-                                             "description" : "Subnet Gateway: Will be assign on vnet for layer3 zones",
-                                             "format" : "ip",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "snat" : {
-                                             "description" : "enable masquerade for this subnet if pve-firewall",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "subnet" : {
-                                             "description" : "The SDN subnet object identifier.",
-                                             "format" : "pve-sdn-subnet-id",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "type" : {
-                                             "enum" : [
-                                                "subnet"
-                                             ],
-                                             "type" : "string"
-                                          },
-                                          "vnet" : {
-                                             "description" : "associated vnet",
-                                             "optional" : 0,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/sdn/vnets/{vnet}/subnets",
-                                          [
-                                             "SDN.Allocate"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 0,
-                              "path" : "/cluster/sdn/vnets/{vnet}/subnets",
-                              "text" : "subnets"
-                           }
-                        ],
                         "info" : {
                            "DELETE" : {
                               "allowtoken" : 1,
-                              "description" : "Delete sdn vnet object configuration.",
+                              "description" : "Delete ACME plugin configuration.",
                               "method" : "DELETE",
-                              "name" : "delete",
+                              "name" : "delete_plugin",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "vnet" : {
-                                       "description" : "The SDN vnet object identifier.",
-                                       "format" : "pve-sdn-vnet-id",
+                                    "id" : {
+                                       "description" : "Unique identifier for ACME plugin instance.",
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     }
@@ -6979,9 +7205,9 @@ const apiSchema = [
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/sdn/vnets",
+                                    "/",
                                     [
-                                       "SDN.Allocate"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
@@ -6992,27 +7218,15 @@ const apiSchema = [
                            },
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Read sdn vnet configuration.",
+                              "description" : "Get ACME plugin configuration.",
                               "method" : "GET",
-                              "name" : "read",
+                              "name" : "get_plugin_config",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "pending" : {
-                                       "description" : "Display pending config.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "running" : {
-                                       "description" : "Display running config.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "vnet" : {
-                                       "description" : "The SDN vnet object identifier.",
-                                       "format" : "pve-sdn-vnet-id",
+                                    "id" : {
+                                       "description" : "Unique identifier for ACME plugin instance.",
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     }
@@ -7021,31 +7235,183 @@ const apiSchema = [
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/sdn/vnets/{vnet}",
+                                    "/",
                                     [
-                                       "SDN.Allocate"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
+                              "protected" : 1,
                               "returns" : {
                                  "type" : "object"
                               }
                            },
                            "PUT" : {
                               "allowtoken" : 1,
-                              "description" : "Update sdn vnet object configuration.",
+                              "description" : "Update ACME plugin configuration.",
                               "method" : "PUT",
-                              "name" : "update",
+                              "name" : "update_plugin",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "alias" : {
-                                       "description" : "alias name of the vnet",
-                                       "maxLength" : 256,
+                                    "api" : {
+                                       "description" : "API plugin name",
+                                       "enum" : [
+                                          "1984hosting",
+                                          "acmedns",
+                                          "acmeproxy",
+                                          "active24",
+                                          "ad",
+                                          "ali",
+                                          "anx",
+                                          "artfiles",
+                                          "arvan",
+                                          "aurora",
+                                          "autodns",
+                                          "aws",
+                                          "azion",
+                                          "azure",
+                                          "bookmyname",
+                                          "bunny",
+                                          "cf",
+                                          "clouddns",
+                                          "cloudns",
+                                          "cn",
+                                          "conoha",
+                                          "constellix",
+                                          "cpanel",
+                                          "curanet",
+                                          "cyon",
+                                          "da",
+                                          "ddnss",
+                                          "desec",
+                                          "df",
+                                          "dgon",
+                                          "dnsexit",
+                                          "dnshome",
+                                          "dnsimple",
+                                          "dnsservices",
+                                          "do",
+                                          "doapi",
+                                          "domeneshop",
+                                          "dp",
+                                          "dpi",
+                                          "dreamhost",
+                                          "duckdns",
+                                          "durabledns",
+                                          "dyn",
+                                          "dynu",
+                                          "dynv6",
+                                          "easydns",
+                                          "edgedns",
+                                          "euserv",
+                                          "exoscale",
+                                          "fornex",
+                                          "freedns",
+                                          "gandi_livedns",
+                                          "gcloud",
+                                          "gcore",
+                                          "gd",
+                                          "geoscaling",
+                                          "googledomains",
+                                          "he",
+                                          "hetzner",
+                                          "hexonet",
+                                          "hostingde",
+                                          "huaweicloud",
+                                          "infoblox",
+                                          "infomaniak",
+                                          "internetbs",
+                                          "inwx",
+                                          "ionos",
+                                          "ipv64",
+                                          "ispconfig",
+                                          "jd",
+                                          "joker",
+                                          "kappernet",
+                                          "kas",
+                                          "kinghost",
+                                          "knot",
+                                          "la",
+                                          "leaseweb",
+                                          "lexicon",
+                                          "linode",
+                                          "linode_v4",
+                                          "loopia",
+                                          "lua",
+                                          "maradns",
+                                          "me",
+                                          "miab",
+                                          "misaka",
+                                          "myapi",
+                                          "mydevil",
+                                          "mydnsjp",
+                                          "mythic_beasts",
+                                          "namecheap",
+                                          "namecom",
+                                          "namesilo",
+                                          "nanelo",
+                                          "nederhost",
+                                          "neodigit",
+                                          "netcup",
+                                          "netlify",
+                                          "nic",
+                                          "njalla",
+                                          "nm",
+                                          "nsd",
+                                          "nsone",
+                                          "nsupdate",
+                                          "nw",
+                                          "oci",
+                                          "one",
+                                          "online",
+                                          "openprovider",
+                                          "openstack",
+                                          "opnsense",
+                                          "ovh",
+                                          "pdns",
+                                          "pleskxml",
+                                          "pointhq",
+                                          "porkbun",
+                                          "rackcorp",
+                                          "rackspace",
+                                          "rage4",
+                                          "rcode0",
+                                          "regru",
+                                          "scaleway",
+                                          "schlundtech",
+                                          "selectel",
+                                          "selfhost",
+                                          "servercow",
+                                          "simply",
+                                          "tele3",
+                                          "tencent",
+                                          "transip",
+                                          "udr",
+                                          "ultra",
+                                          "unoeuro",
+                                          "variomedia",
+                                          "veesp",
+                                          "vercel",
+                                          "vscale",
+                                          "vultr",
+                                          "websupport",
+                                          "world4you",
+                                          "yandex",
+                                          "yc",
+                                          "zilore",
+                                          "zone",
+                                          "zonomi"
+                                       ],
                                        "optional" : 1,
-                                       "pattern" : "(?^i:[\\(\\)-_.\\w\\d\\s]{0,256})",
                                        "type" : "string"
                                     },
+                                    "data" : {
+                                       "description" : "DNS plugin data. (base64 encoded)",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
                                     "delete" : {
                                        "description" : "A list of settings you want to delete.",
                                        "format" : "pve-configid-list",
@@ -7055,35 +7421,39 @@ const apiSchema = [
                                        "typetext" : "<string>"
                                     },
                                     "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "tag" : {
-                                       "description" : "vlan or vxlan id",
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
-                                    },
-                                    "vlanaware" : {
-                                       "description" : "Allow vm VLANs to pass through this vnet.",
+                                    "disable" : {
+                                       "description" : "Flag to disable the config.",
                                        "optional" : 1,
                                        "type" : "boolean",
                                        "typetext" : "<boolean>"
                                     },
-                                    "vnet" : {
-                                       "description" : "The SDN vnet object identifier.",
-                                       "format" : "pve-sdn-vnet-id",
+                                    "id" : {
+                                       "description" : "ACME Plugin ID name",
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "zone" : {
-                                       "description" : "zone id",
+                                    "nodes" : {
+                                       "description" : "List of cluster node names.",
+                                       "format" : "pve-node-list",
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
+                                    },
+                                    "validation-delay" : {
+                                       "default" : 30,
+                                       "description" : "Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records.",
+                                       "maximum" : 172800,
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - 172800)"
                                     }
                                  },
                                  "type" : "object"
@@ -7091,9 +7461,9 @@ const apiSchema = [
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/sdn/vnets",
+                                    "/",
                                     [
-                                       "SDN.Allocate"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
@@ -7103,46 +7473,55 @@ const apiSchema = [
                               }
                            }
                         },
-                        "leaf" : 0,
-                        "path" : "/cluster/sdn/vnets/{vnet}",
-                        "text" : "{vnet}"
+                        "leaf" : 1,
+                        "path" : "/cluster/acme/plugins/{id}",
+                        "text" : "{id}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "SDN vnets index.",
+                        "description" : "ACME plugin index.",
                         "method" : "GET",
                         "name" : "index",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "pending" : {
-                                 "description" : "Display pending config.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "running" : {
-                                 "description" : "Display running config.",
+                              "type" : {
+                                 "description" : "Only list ACME plugins of a specific type",
+                                 "enum" : [
+                                    "dns",
+                                    "standalone"
+                                 ],
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string"
                               }
                            }
                         },
                         "permissions" : {
-                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/vnets/<vnet>'",
-                           "user" : "all"
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Modify"
+                              ]
+                           ]
                         },
+                        "protected" : 1,
                         "returns" : {
                            "items" : {
-                              "properties" : {},
+                              "properties" : {
+                                 "plugin" : {
+                                    "description" : "Unique identifier for ACME plugin instance.",
+                                    "format" : "pve-configid",
+                                    "type" : "string"
+                                 }
+                              },
                               "type" : "object"
                            },
                            "links" : [
                               {
-                                 "href" : "{vnet}",
+                                 "href" : "{plugin}",
                                  "rel" : "child"
                               }
                            ],
@@ -7151,50 +7530,205 @@ const apiSchema = [
                      },
                      "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Create a new sdn vnet object.",
+                        "description" : "Add ACME plugin configuration.",
                         "method" : "POST",
-                        "name" : "create",
+                        "name" : "add_plugin",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "alias" : {
-                                 "description" : "alias name of the vnet",
-                                 "maxLength" : 256,
-                                 "optional" : 1,
-                                 "pattern" : "(?^i:[\\(\\)-_.\\w\\d\\s]{0,256})",
-                                 "type" : "string"
-                              },
-                              "tag" : {
-                                 "description" : "vlan or vxlan id",
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
-                              },
-                              "type" : {
-                                 "description" : "Type",
+                              "api" : {
+                                 "description" : "API plugin name",
                                  "enum" : [
-                                    "vnet"
+                                    "1984hosting",
+                                    "acmedns",
+                                    "acmeproxy",
+                                    "active24",
+                                    "ad",
+                                    "ali",
+                                    "anx",
+                                    "artfiles",
+                                    "arvan",
+                                    "aurora",
+                                    "autodns",
+                                    "aws",
+                                    "azion",
+                                    "azure",
+                                    "bookmyname",
+                                    "bunny",
+                                    "cf",
+                                    "clouddns",
+                                    "cloudns",
+                                    "cn",
+                                    "conoha",
+                                    "constellix",
+                                    "cpanel",
+                                    "curanet",
+                                    "cyon",
+                                    "da",
+                                    "ddnss",
+                                    "desec",
+                                    "df",
+                                    "dgon",
+                                    "dnsexit",
+                                    "dnshome",
+                                    "dnsimple",
+                                    "dnsservices",
+                                    "do",
+                                    "doapi",
+                                    "domeneshop",
+                                    "dp",
+                                    "dpi",
+                                    "dreamhost",
+                                    "duckdns",
+                                    "durabledns",
+                                    "dyn",
+                                    "dynu",
+                                    "dynv6",
+                                    "easydns",
+                                    "edgedns",
+                                    "euserv",
+                                    "exoscale",
+                                    "fornex",
+                                    "freedns",
+                                    "gandi_livedns",
+                                    "gcloud",
+                                    "gcore",
+                                    "gd",
+                                    "geoscaling",
+                                    "googledomains",
+                                    "he",
+                                    "hetzner",
+                                    "hexonet",
+                                    "hostingde",
+                                    "huaweicloud",
+                                    "infoblox",
+                                    "infomaniak",
+                                    "internetbs",
+                                    "inwx",
+                                    "ionos",
+                                    "ipv64",
+                                    "ispconfig",
+                                    "jd",
+                                    "joker",
+                                    "kappernet",
+                                    "kas",
+                                    "kinghost",
+                                    "knot",
+                                    "la",
+                                    "leaseweb",
+                                    "lexicon",
+                                    "linode",
+                                    "linode_v4",
+                                    "loopia",
+                                    "lua",
+                                    "maradns",
+                                    "me",
+                                    "miab",
+                                    "misaka",
+                                    "myapi",
+                                    "mydevil",
+                                    "mydnsjp",
+                                    "mythic_beasts",
+                                    "namecheap",
+                                    "namecom",
+                                    "namesilo",
+                                    "nanelo",
+                                    "nederhost",
+                                    "neodigit",
+                                    "netcup",
+                                    "netlify",
+                                    "nic",
+                                    "njalla",
+                                    "nm",
+                                    "nsd",
+                                    "nsone",
+                                    "nsupdate",
+                                    "nw",
+                                    "oci",
+                                    "one",
+                                    "online",
+                                    "openprovider",
+                                    "openstack",
+                                    "opnsense",
+                                    "ovh",
+                                    "pdns",
+                                    "pleskxml",
+                                    "pointhq",
+                                    "porkbun",
+                                    "rackcorp",
+                                    "rackspace",
+                                    "rage4",
+                                    "rcode0",
+                                    "regru",
+                                    "scaleway",
+                                    "schlundtech",
+                                    "selectel",
+                                    "selfhost",
+                                    "servercow",
+                                    "simply",
+                                    "tele3",
+                                    "tencent",
+                                    "transip",
+                                    "udr",
+                                    "ultra",
+                                    "unoeuro",
+                                    "variomedia",
+                                    "veesp",
+                                    "vercel",
+                                    "vscale",
+                                    "vultr",
+                                    "websupport",
+                                    "world4you",
+                                    "yandex",
+                                    "yc",
+                                    "zilore",
+                                    "zone",
+                                    "zonomi"
                                  ],
                                  "optional" : 1,
                                  "type" : "string"
                               },
-                              "vlanaware" : {
-                                 "description" : "Allow vm VLANs to pass through this vnet.",
+                              "data" : {
+                                 "description" : "DNS plugin data. (base64 encoded)",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "disable" : {
+                                 "description" : "Flag to disable the config.",
                                  "optional" : 1,
                                  "type" : "boolean",
                                  "typetext" : "<boolean>"
                               },
-                              "vnet" : {
-                                 "description" : "The SDN vnet object identifier.",
-                                 "format" : "pve-sdn-vnet-id",
+                              "id" : {
+                                 "description" : "ACME Plugin ID name",
+                                 "format" : "pve-configid",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "zone" : {
-                                 "description" : "zone id",
-                                 "optional" : 0,
+                              "nodes" : {
+                                 "description" : "List of cluster node names.",
+                                 "format" : "pve-node-list",
+                                 "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
+                              },
+                              "type" : {
+                                 "description" : "ACME challenge type.",
+                                 "enum" : [
+                                    "dns",
+                                    "standalone"
+                                 ],
+                                 "type" : "string"
+                              },
+                              "validation-delay" : {
+                                 "default" : 30,
+                                 "description" : "Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records.",
+                                 "maximum" : 172800,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - 172800)"
                               }
                            },
                            "type" : "object"
@@ -7202,9 +7736,9 @@ const apiSchema = [
                         "permissions" : {
                            "check" : [
                               "perm",
-                              "/sdn/vnets",
+                              "/",
                               [
-                                 "SDN.Allocate"
+                                 "Sys.Modify"
                               ]
                            ]
                         },
@@ -7215,8 +7749,8 @@ const apiSchema = [
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/cluster/sdn/vnets",
-                  "text" : "vnets"
+                  "path" : "/cluster/acme/plugins",
+                  "text" : "plugins"
                },
                {
                   "children" : [
@@ -7224,349 +7758,132 @@ const apiSchema = [
                         "info" : {
                            "DELETE" : {
                               "allowtoken" : 1,
-                              "description" : "Delete sdn zone object configuration.",
+                              "description" : "Deactivate existing ACME account at CA.",
                               "method" : "DELETE",
-                              "name" : "delete",
+                              "name" : "deactivate_account",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "zone" : {
-                                       "description" : "The SDN zone object identifier.",
-                                       "format" : "pve-sdn-zone-id",
+                                    "name" : {
+                                       "default" : "default",
+                                       "description" : "ACME account config file name.",
+                                       "format" : "pve-configid",
+                                       "format_description" : "name",
+                                       "optional" : 1,
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<name>"
                                     }
                                  }
                               },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/sdn/zones",
-                                    [
-                                       "SDN.Allocate"
-                                    ]
-                                 ]
-                              },
                               "protected" : 1,
                               "returns" : {
-                                 "type" : "null"
+                                 "type" : "string"
                               }
                            },
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Read sdn zone configuration.",
+                              "description" : "Return existing ACME account information.",
                               "method" : "GET",
-                              "name" : "read",
+                              "name" : "get_account",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "pending" : {
-                                       "description" : "Display pending config.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "running" : {
-                                       "description" : "Display running config.",
+                                    "name" : {
+                                       "default" : "default",
+                                       "description" : "ACME account config file name.",
+                                       "format" : "pve-configid",
+                                       "format_description" : "name",
                                        "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "zone" : {
-                                       "description" : "The SDN zone object identifier.",
-                                       "format" : "pve-sdn-zone-id",
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<name>"
                                     }
                                  }
                               },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/sdn/zones/{zone}",
-                                    [
-                                       "SDN.Allocate"
-                                    ]
-                                 ]
-                              },
+                              "protected" : 1,
                               "returns" : {
-                                 "type" : "object"
-                              }
-                           },
-                           "PUT" : {
-                              "allowtoken" : 1,
-                              "description" : "Update sdn zone object configuration.",
-                              "method" : "PUT",
-                              "name" : "update",
-                              "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "advertise-subnets" : {
-                                       "description" : "Advertise evpn subnets if you have silent hosts",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "bridge" : {
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "bridge-disable-mac-learning" : {
-                                       "description" : "Disable auto mac learning.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "controller" : {
-                                       "description" : "Frr router name",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "delete" : {
-                                       "description" : "A list of settings you want to delete.",
-                                       "format" : "pve-configid-list",
-                                       "maxLength" : 4096,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "disable-arp-nd-suppression" : {
-                                       "description" : "Disable ipv4 arp && ipv6 neighbour discovery suppression",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "dns" : {
-                                       "description" : "dns api server",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "dnszone" : {
-                                       "description" : "dns domain zone  ex: mydomain.com",
-                                       "format" : "dns-name",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "dp-id" : {
-                                       "description" : "Faucet dataplane id",
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
-                                    },
-                                    "exitnodes" : {
-                                       "description" : "List of cluster node names.",
-                                       "format" : "pve-node-list",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "exitnodes-local-routing" : {
-                                       "description" : "Allow exitnodes to connect to evpn guests",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "exitnodes-primary" : {
-                                       "description" : "Force traffic to this exitnode first.",
-                                       "format" : "pve-node",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "ipam" : {
-                                       "description" : "use a specific ipam",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "mac" : {
-                                       "description" : "Anycast logical router mac address",
-                                       "format" : "mac-addr",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "mtu" : {
-                                       "description" : "MTU",
+                                    "account" : {
                                        "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
+                                       "renderer" : "yaml",
+                                       "type" : "object"
                                     },
-                                    "nodes" : {
-                                       "description" : "List of cluster node names.",
-                                       "format" : "pve-node-list",
+                                    "directory" : {
+                                       "description" : "URL of ACME CA directory endpoint.",
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "pattern" : "^https?://.*",
+                                       "type" : "string"
                                     },
-                                    "peers" : {
-                                       "description" : "peers address list.",
-                                       "format" : "ip-list",
+                                    "location" : {
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "string"
                                     },
-                                    "reversedns" : {
-                                       "description" : "reverse dns api server",
+                                    "tos" : {
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "rt-import" : {
-                                       "description" : "Route-Target import",
-                                       "format" : "pve-sdn-bgp-rt-list",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "type" : "object"
+                              }
+                           },
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh.",
+                              "method" : "PUT",
+                              "name" : "update_account",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "contact" : {
+                                       "description" : "Contact email addresses.",
+                                       "format" : "email-list",
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "tag" : {
-                                       "description" : "Service-VLAN Tag",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - N)"
-                                    },
-                                    "vlan-protocol" : {
-                                       "default" : "802.1q",
-                                       "enum" : [
-                                          "802.1q",
-                                          "802.1ad"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "vrf-vxlan" : {
-                                       "description" : "l3vni.",
+                                    "name" : {
+                                       "default" : "default",
+                                       "description" : "ACME account config file name.",
+                                       "format" : "pve-configid",
+                                       "format_description" : "name",
                                        "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
-                                    },
-                                    "zone" : {
-                                       "description" : "The SDN zone object identifier.",
-                                       "format" : "pve-sdn-zone-id",
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<name>"
                                     }
-                                 },
-                                 "type" : "object"
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/sdn/zones",
-                                    [
-                                       "SDN.Allocate"
-                                    ]
-                                 ]
+                                 }
                               },
                               "protected" : 1,
                               "returns" : {
-                                 "type" : "null"
+                                 "type" : "string"
                               }
                            }
                         },
                         "leaf" : 1,
-                        "path" : "/cluster/sdn/zones/{zone}",
-                        "text" : "{zone}"
+                        "path" : "/cluster/acme/account/{name}",
+                        "text" : "{name}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "SDN zones index.",
+                        "description" : "ACMEAccount index.",
                         "method" : "GET",
-                        "name" : "index",
+                        "name" : "account_index",
                         "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "pending" : {
-                                 "description" : "Display pending config.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "running" : {
-                                 "description" : "Display running config.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "type" : {
-                                 "description" : "Only list SDN zones of specific type",
-                                 "enum" : [
-                                    "evpn",
-                                    "faucet",
-                                    "qinq",
-                                    "simple",
-                                    "vlan",
-                                    "vxlan"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           }
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
-                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/zones/<zone>'",
                            "user" : "all"
                         },
+                        "protected" : 1,
                         "returns" : {
                            "items" : {
-                              "properties" : {
-                                 "dns" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "dnszone" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "ipam" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "mtu" : {
-                                    "optional" : 1,
-                                    "type" : "integer"
-                                 },
-                                 "nodes" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "pending" : {
-                                    "optional" : 1
-                                 },
-                                 "reversedns" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "state" : {
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "type" : {
-                                    "type" : "string"
-                                 },
-                                 "zone" : {
-                                    "type" : "string"
-                                 }
-                              },
+                              "properties" : {},
                               "type" : "object"
                            },
                            "links" : [
                               {
-                                 "href" : "{zone}",
+                                 "href" : "{name}",
                                  "rel" : "child"
                               }
                            ],
@@ -7575,767 +7892,872 @@ const apiSchema = [
                      },
                      "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Create a new sdn zone object.",
+                        "description" : "Register a new ACME account with CA.",
                         "method" : "POST",
-                        "name" : "create",
+                        "name" : "register_account",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "advertise-subnets" : {
-                                 "description" : "Advertise evpn subnets if you have silent hosts",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "bridge" : {
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "bridge-disable-mac-learning" : {
-                                 "description" : "Disable auto mac learning.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "controller" : {
-                                 "description" : "Frr router name",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "disable-arp-nd-suppression" : {
-                                 "description" : "Disable ipv4 arp && ipv6 neighbour discovery suppression",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "dns" : {
-                                 "description" : "dns api server",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "dnszone" : {
-                                 "description" : "dns domain zone  ex: mydomain.com",
-                                 "format" : "dns-name",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "dp-id" : {
-                                 "description" : "Faucet dataplane id",
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
-                              },
-                              "exitnodes" : {
-                                 "description" : "List of cluster node names.",
-                                 "format" : "pve-node-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "exitnodes-local-routing" : {
-                                 "description" : "Allow exitnodes to connect to evpn guests",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "exitnodes-primary" : {
-                                 "description" : "Force traffic to this exitnode first.",
-                                 "format" : "pve-node",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "ipam" : {
-                                 "description" : "use a specific ipam",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "mac" : {
-                                 "description" : "Anycast logical router mac address",
-                                 "format" : "mac-addr",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "mtu" : {
-                                 "description" : "MTU",
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
-                              },
-                              "nodes" : {
-                                 "description" : "List of cluster node names.",
-                                 "format" : "pve-node-list",
-                                 "optional" : 1,
+                              "contact" : {
+                                 "description" : "Contact email addresses.",
+                                 "format" : "email-list",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "peers" : {
-                                 "description" : "peers address list.",
-                                 "format" : "ip-list",
+                              "directory" : {
+                                 "default" : "https://acme-v02.api.letsencrypt.org/directory",
+                                 "description" : "URL of ACME CA directory endpoint.",
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "pattern" : "^https?://.*",
+                                 "type" : "string"
                               },
-                              "reversedns" : {
-                                 "description" : "reverse dns api server",
+                              "eab-hmac-key" : {
+                                 "description" : "HMAC key for External Account Binding.",
                                  "optional" : 1,
+                                 "requires" : "eab-kid",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "rt-import" : {
-                                 "description" : "Route-Target import",
-                                 "format" : "pve-sdn-bgp-rt-list",
+                              "eab-kid" : {
+                                 "description" : "Key Identifier for External Account Binding.",
                                  "optional" : 1,
+                                 "requires" : "eab-hmac-key",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "tag" : {
-                                 "description" : "Service-VLAN Tag",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "type" : {
-                                 "description" : "Plugin type.",
-                                 "enum" : [
-                                    "evpn",
-                                    "faucet",
-                                    "qinq",
-                                    "simple",
-                                    "vlan",
-                                    "vxlan"
-                                 ],
+                              "name" : {
+                                 "default" : "default",
+                                 "description" : "ACME account config file name.",
                                  "format" : "pve-configid",
-                                 "type" : "string"
-                              },
-                              "vlan-protocol" : {
-                                 "default" : "802.1q",
-                                 "enum" : [
-                                    "802.1q",
-                                    "802.1ad"
-                                 ],
+                                 "format_description" : "name",
                                  "optional" : 1,
-                                 "type" : "string"
+                                 "type" : "string",
+                                 "typetext" : "<name>"
                               },
-                              "vrf-vxlan" : {
-                                 "description" : "l3vni.",
+                              "tos_url" : {
+                                 "description" : "URL of CA TermsOfService - setting this indicates agreement.",
                                  "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
-                              },
-                              "zone" : {
-                                 "description" : "The SDN zone object identifier.",
-                                 "format" : "pve-sdn-zone-id",
                                  "type" : "string",
                                  "typetext" : "<string>"
                               }
-                           },
-                           "type" : "object"
-                        },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/sdn/zones",
-                              [
-                                 "SDN.Allocate"
-                              ]
-                           ]
+                           }
                         },
                         "protected" : 1,
                         "returns" : {
-                           "type" : "null"
+                           "type" : "string"
                         }
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/cluster/sdn/zones",
-                  "text" : "zones"
+                  "path" : "/cluster/acme/account",
+                  "text" : "account"
                },
                {
-                  "children" : [
-                     {
-                        "info" : {
-                           "DELETE" : {
-                              "allowtoken" : 1,
-                              "description" : "Delete sdn controller object configuration.",
-                              "method" : "DELETE",
-                              "name" : "delete",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "controller" : {
-                                       "description" : "The SDN controller object identifier.",
-                                       "format" : "pve-sdn-controller-id",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/sdn/controllers",
-                                    [
-                                       "SDN.Allocate"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
-                              }
-                           },
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Read sdn controller configuration.",
-                              "method" : "GET",
-                              "name" : "read",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "controller" : {
-                                       "description" : "The SDN controller object identifier.",
-                                       "format" : "pve-sdn-controller-id",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "pending" : {
-                                       "description" : "Display pending config.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "running" : {
-                                       "description" : "Display running config.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/sdn/controllers/{controller}",
-                                    [
-                                       "SDN.Allocate"
-                                    ]
-                                 ]
-                              },
-                              "returns" : {
-                                 "type" : "object"
-                              }
-                           },
-                           "PUT" : {
-                              "allowtoken" : 1,
-                              "description" : "Update sdn controller object configuration.",
-                              "method" : "PUT",
-                              "name" : "update",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "asn" : {
-                                       "description" : "autonomous system number",
-                                       "maximum" : 4294967296,
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (0 - 4294967296)"
-                                    },
-                                    "bgp-multipath-as-path-relax" : {
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "controller" : {
-                                       "description" : "The SDN controller object identifier.",
-                                       "format" : "pve-sdn-controller-id",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "delete" : {
-                                       "description" : "A list of settings you want to delete.",
-                                       "format" : "pve-configid-list",
-                                       "maxLength" : 4096,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "ebgp" : {
-                                       "description" : "Enable ebgp. (remote-as external)",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "ebgp-multihop" : {
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
-                                    },
-                                    "loopback" : {
-                                       "description" : "source loopback interface.",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "peers" : {
-                                       "description" : "peers address list.",
-                                       "format" : "ip-list",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 },
-                                 "type" : "object"
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/sdn/controllers",
-                                    [
-                                       "SDN.Allocate"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Retrieve ACME TermsOfService URL from CA. Deprecated, please use /cluster/acme/meta.",
+                        "method" : "GET",
+                        "name" : "get_tos",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "directory" : {
+                                 "default" : "https://acme-v02.api.letsencrypt.org/directory",
+                                 "description" : "URL of ACME CA directory endpoint.",
+                                 "optional" : 1,
+                                 "pattern" : "^https?://.*",
+                                 "type" : "string"
                               }
                            }
                         },
-                        "leaf" : 1,
-                        "path" : "/cluster/sdn/controllers/{controller}",
-                        "text" : "{controller}"
+                        "permissions" : {
+                           "user" : "all"
+                        },
+                        "returns" : {
+                           "description" : "ACME TermsOfService URL.",
+                           "optional" : 1,
+                           "type" : "string"
+                        }
                      }
-                  ],
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/acme/tos",
+                  "text" : "tos"
+               },
+               {
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "SDN controllers index.",
+                        "description" : "Retrieve ACME Directory Meta Information",
                         "method" : "GET",
-                        "name" : "index",
+                        "name" : "get_meta",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "pending" : {
-                                 "description" : "Display pending config.",
+                              "directory" : {
+                                 "default" : "https://acme-v02.api.letsencrypt.org/directory",
+                                 "description" : "URL of ACME CA directory endpoint.",
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "pattern" : "^https?://.*",
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/nodes/{node}",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
+                        },
+                        "returns" : {
+                           "additionalProperties" : 1,
+                           "properties" : {
+                              "caaIdentities" : {
+                                 "description" : "Hostnames referring to the ACME servers.",
+                                 "items" : {
+                                    "type" : "string"
+                                 },
+                                 "optional" : 1,
+                                 "type" : "array"
                               },
-                              "running" : {
-                                 "description" : "Display running config.",
+                              "externalAccountRequired" : {
+                                 "description" : "EAB Required",
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "boolean"
                               },
-                              "type" : {
-                                 "description" : "Only list sdn controllers of specific type",
-                                 "enum" : [
-                                    "bgp",
-                                    "evpn",
-                                    "faucet"
-                                 ],
+                              "termsOfService" : {
+                                 "description" : "ACME TermsOfService URL.",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "website" : {
+                                 "description" : "URL to more information about the ACME server.",
                                  "optional" : 1,
                                  "type" : "string"
                               }
-                           }
+                           },
+                           "type" : "object"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/acme/meta",
+                  "text" : "meta"
+               },
+               {
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Get named known ACME directory endpoints.",
+                        "method" : "GET",
+                        "name" : "get_directories",
+                        "parameters" : {
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
-                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/controllers/<controller>'",
                            "user" : "all"
                         },
                         "returns" : {
                            "items" : {
+                              "additionalProperties" : 0,
                               "properties" : {
-                                 "controller" : {
-                                    "type" : "string"
-                                 },
-                                 "pending" : {
-                                    "optional" : 1
-                                 },
-                                 "state" : {
-                                    "optional" : 1,
+                                 "name" : {
                                     "type" : "string"
                                  },
-                                 "type" : {
+                                 "url" : {
+                                    "description" : "URL of ACME CA directory endpoint.",
+                                    "pattern" : "^https?://.*",
                                     "type" : "string"
                                  }
                               },
                               "type" : "object"
                            },
-                           "links" : [
-                              {
-                                 "href" : "{controller}",
-                                 "rel" : "child"
-                              }
-                           ],
                            "type" : "array"
                         }
-                     },
-                     "POST" : {
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/acme/directories",
+                  "text" : "directories"
+               },
+               {
+                  "info" : {
+                     "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Create a new sdn controller object.",
-                        "method" : "POST",
-                        "name" : "create",
+                        "description" : "Get schema of ACME challenge types.",
+                        "method" : "GET",
+                        "name" : "challengeschema",
+                        "parameters" : {
+                           "additionalProperties" : 0
+                        },
+                        "permissions" : {
+                           "user" : "all"
+                        },
+                        "returns" : {
+                           "items" : {
+                              "additionalProperties" : 0,
+                              "properties" : {
+                                 "id" : {
+                                    "type" : "string"
+                                 },
+                                 "name" : {
+                                    "description" : "Human readable name, falls back to id",
+                                    "type" : "string"
+                                 },
+                                 "schema" : {
+                                    "type" : "object"
+                                 },
+                                 "type" : {
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "type" : "array"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/acme/challenge-schema",
+                  "text" : "challenge-schema"
+               }
+            ],
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "ACMEAccount index.",
+                  "method" : "GET",
+                  "name" : "index",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "user" : "all"
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {},
+                        "type" : "object"
+                     },
+                     "links" : [
+                        {
+                           "href" : "{name}",
+                           "rel" : "child"
+                        }
+                     ],
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/cluster/acme",
+            "text" : "acme"
+         },
+         {
+            "children" : [
+               {
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Get ceph metadata.",
+                        "method" : "GET",
+                        "name" : "metadata",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "asn" : {
-                                 "description" : "autonomous system number",
-                                 "maximum" : 4294967296,
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - 4294967296)"
-                              },
-                              "bgp-multipath-as-path-relax" : {
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "controller" : {
-                                 "description" : "The SDN controller object identifier.",
-                                 "format" : "pve-sdn-controller-id",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "ebgp" : {
-                                 "description" : "Enable ebgp. (remote-as external)",
+                              "scope" : {
+                                 "default" : "all",
+                                 "enum" : [
+                                    "all",
+                                    "versions"
+                                 ],
                                  "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit",
+                                 "Datastore.Audit"
+                              ],
+                              "any",
+                              1
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "description" : "Items for each type of service containing objects for each instance.",
+                           "properties" : {
+                              "mds" : {
+                                 "description" : "Metadata servers configured in the cluster and their properties.",
+                                 "properties" : {
+                                    "{id}" : {
+                                       "description" : "Useful properties are listed, but not the full list.",
+                                       "properties" : {
+                                          "addr" : {
+                                             "description" : "Bind addresses and ports.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_release" : {
+                                             "description" : "Ceph release codename currently used.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_version" : {
+                                             "description" : "Version info currently used by the service.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_version_short" : {
+                                             "description" : "Short version (numerical) info currently used by the service.",
+                                             "type" : "string"
+                                          },
+                                          "hostname" : {
+                                             "description" : "Hostname on which the service is running.",
+                                             "type" : "string"
+                                          },
+                                          "mem_swap_kb" : {
+                                             "description" : "Memory of the service currently in swap.",
+                                             "type" : "integer"
+                                          },
+                                          "mem_total_kb" : {
+                                             "description" : "Memory consumption of the service.",
+                                             "type" : "integer"
+                                          },
+                                          "name" : {
+                                             "description" : "Name of the service instance.",
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "type" : "object"
                               },
-                              "ebgp-multihop" : {
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
+                              "mgr" : {
+                                 "description" : "Managers configured in the cluster and their properties.",
+                                 "properties" : {
+                                    "{id}" : {
+                                       "description" : "Useful properties are listed, but not the full list.",
+                                       "properties" : {
+                                          "addr" : {
+                                             "description" : "Bind address",
+                                             "type" : "string"
+                                          },
+                                          "ceph_release" : {
+                                             "description" : "Ceph release codename currently used.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_version" : {
+                                             "description" : "Version info currently used by the service.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_version_short" : {
+                                             "description" : "Short version (numerical) info currently used by the service.",
+                                             "type" : "string"
+                                          },
+                                          "hostname" : {
+                                             "description" : "Hostname on which the service is running.",
+                                             "type" : "string"
+                                          },
+                                          "mem_swap_kb" : {
+                                             "description" : "Memory of the service currently in swap.",
+                                             "type" : "integer"
+                                          },
+                                          "mem_total_kb" : {
+                                             "description" : "Memory consumption of the service.",
+                                             "type" : "integer"
+                                          },
+                                          "name" : {
+                                             "description" : "Name of the service instance.",
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "type" : "object"
                               },
-                              "loopback" : {
-                                 "description" : "source loopback interface.",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                              "mon" : {
+                                 "description" : "Monitors configured in the cluster and their properties.",
+                                 "properties" : {
+                                    "{id}" : {
+                                       "description" : "Useful properties are listed, but not the full list.",
+                                       "properties" : {
+                                          "addrs" : {
+                                             "description" : "Bind addresses and ports.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_release" : {
+                                             "description" : "Ceph release codename currently used.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_version" : {
+                                             "description" : "Version info currently used by the service.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_version_short" : {
+                                             "description" : "Short version (numerical) info currently used by the service.",
+                                             "type" : "string"
+                                          },
+                                          "hostname" : {
+                                             "description" : "Hostname on which the service is running.",
+                                             "type" : "string"
+                                          },
+                                          "mem_swap_kb" : {
+                                             "description" : "Memory of the service currently in swap.",
+                                             "type" : "integer"
+                                          },
+                                          "mem_total_kb" : {
+                                             "description" : "Memory consumption of the service.",
+                                             "type" : "integer"
+                                          },
+                                          "name" : {
+                                             "description" : "Name of the service instance.",
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "type" : "object"
                               },
                               "node" : {
-                                 "description" : "The cluster node name.",
-                                 "format" : "pve-node",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "peers" : {
-                                 "description" : "peers address list.",
-                                 "format" : "ip-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "description" : "Ceph version installed on the nodes.",
+                                 "properties" : {
+                                    "{node}" : {
+                                       "properties" : {
+                                          "buildcommit" : {
+                                             "description" : "GIT commit used for the build.",
+                                             "type" : "string"
+                                          },
+                                          "version" : {
+                                             "description" : "Version info.",
+                                             "properties" : {
+                                                "parts" : {
+                                                   "description" : "major, minor & patch",
+                                                   "type" : "array"
+                                                },
+                                                "str" : {
+                                                   "description" : "Version as single string.",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "type" : "object"
                               },
-                              "type" : {
-                                 "description" : "Plugin type.",
-                                 "enum" : [
-                                    "bgp",
-                                    "evpn",
-                                    "faucet"
-                                 ],
-                                 "format" : "pve-configid",
-                                 "type" : "string"
+                              "osd" : {
+                                 "description" : "OSDs configured in the cluster and their properties.",
+                                 "properties" : {
+                                    "{id}" : {
+                                       "description" : "Useful properties are listed, but not the full list.",
+                                       "properties" : {
+                                          "back_addr" : {
+                                             "description" : "Bind addresses and ports for backend inter OSD traffic.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_release" : {
+                                             "description" : "Ceph release codename currently used.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_version" : {
+                                             "description" : "Version info currently used by the service.",
+                                             "type" : "string"
+                                          },
+                                          "ceph_version_short" : {
+                                             "description" : "Short version (numerical) info currently used by the service.",
+                                             "type" : "string"
+                                          },
+                                          "device_id" : {
+                                             "description" : "Devices used by the OSD.",
+                                             "type" : "string"
+                                          },
+                                          "front_addr" : {
+                                             "description" : "Bind addresses and ports for frontend traffic to OSDs.",
+                                             "type" : "string"
+                                          },
+                                          "hostname" : {
+                                             "description" : "Hostname on which the service is running.",
+                                             "type" : "string"
+                                          },
+                                          "id" : {
+                                             "description" : "OSD ID.",
+                                             "type" : "integer"
+                                          },
+                                          "mem_swap_kb" : {
+                                             "description" : "Memory of the service currently in swap.",
+                                             "type" : "integer"
+                                          },
+                                          "mem_total_kb" : {
+                                             "description" : "Memory consumption of the service.",
+                                             "type" : "integer"
+                                          },
+                                          "osd_data" : {
+                                             "description" : "Path to the OSD data directory.",
+                                             "type" : "string"
+                                          },
+                                          "osd_objectstore" : {
+                                             "description" : "OSD objectstore type.",
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "type" : "array"
                               }
                            },
                            "type" : "object"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/cluster/ceph/metadata",
+                  "text" : "metadata"
+               },
+               {
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Get ceph status.",
+                        "method" : "GET",
+                        "name" : "status",
+                        "parameters" : {
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
                            "check" : [
                               "perm",
-                              "/sdn/controllers",
+                              "/",
                               [
-                                 "SDN.Allocate"
-                              ]
+                                 "Sys.Audit",
+                                 "Datastore.Audit"
+                              ],
+                              "any",
+                              1
                            ]
                         },
                         "protected" : 1,
                         "returns" : {
-                           "type" : "null"
+                           "type" : "object"
                         }
                      }
                   },
-                  "leaf" : 0,
-                  "path" : "/cluster/sdn/controllers",
-                  "text" : "controllers"
+                  "leaf" : 1,
+                  "path" : "/cluster/ceph/status",
+                  "text" : "status"
                },
                {
                   "children" : [
                      {
                         "info" : {
-                           "DELETE" : {
+                           "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Delete sdn ipam object configuration.",
-                              "method" : "DELETE",
-                              "name" : "delete",
+                              "description" : "Get the status of a specific ceph flag.",
+                              "method" : "GET",
+                              "name" : "get_flag",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "ipam" : {
-                                       "description" : "The SDN ipam object identifier.",
-                                       "format" : "pve-sdn-ipam-id",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                    "flag" : {
+                                       "description" : "The name of the flag name to get.",
+                                       "enum" : [
+                                          "nobackfill",
+                                          "nodeep-scrub",
+                                          "nodown",
+                                          "noin",
+                                          "noout",
+                                          "norebalance",
+                                          "norecover",
+                                          "noscrub",
+                                          "notieragent",
+                                          "noup",
+                                          "pause"
+                                       ],
+                                       "type" : "string"
                                     }
                                  }
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/sdn/ipams",
+                                    "/",
                                     [
-                                       "SDN.Allocate"
+                                       "Sys.Audit"
                                     ]
                                  ]
                               },
                               "protected" : 1,
                               "returns" : {
-                                 "type" : "null"
+                                 "type" : "boolean"
                               }
                            },
-                           "GET" : {
+                           "PUT" : {
                               "allowtoken" : 1,
-                              "description" : "Read sdn ipam configuration.",
-                              "method" : "GET",
-                              "name" : "read",
+                              "description" : "Set or clear (unset) a specific ceph flag",
+                              "method" : "PUT",
+                              "name" : "update_flag",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "ipam" : {
-                                       "description" : "The SDN ipam object identifier.",
-                                       "format" : "pve-sdn-ipam-id",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                    "flag" : {
+                                       "description" : "The ceph flag to update",
+                                       "enum" : [
+                                          "nobackfill",
+                                          "nodeep-scrub",
+                                          "nodown",
+                                          "noin",
+                                          "noout",
+                                          "norebalance",
+                                          "norecover",
+                                          "noscrub",
+                                          "notieragent",
+                                          "noup",
+                                          "pause"
+                                       ],
+                                       "type" : "string"
+                                    },
+                                    "value" : {
+                                       "description" : "The new value of the flag",
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     }
                                  }
                               },
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/sdn/ipams/{ipam}",
+                                    "/",
                                     [
-                                       "SDN.Allocate"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
+                              "protected" : 1,
                               "returns" : {
-                                 "type" : "object"
-                              }
-                           },
-                           "PUT" : {
-                              "allowtoken" : 1,
-                              "description" : "Update sdn ipam object configuration.",
-                              "method" : "PUT",
-                              "name" : "update",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "delete" : {
-                                       "description" : "A list of settings you want to delete.",
-                                       "format" : "pve-configid-list",
-                                       "maxLength" : 4096,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "ipam" : {
-                                       "description" : "The SDN ipam object identifier.",
-                                       "format" : "pve-sdn-ipam-id",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "section" : {
-                                       "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
-                                    },
-                                    "token" : {
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "url" : {
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 },
-                                 "type" : "object"
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/sdn/ipams",
-                                    [
-                                       "SDN.Allocate"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "returns" : {
-                                 "type" : "null"
+                                 "type" : "null"
                               }
                            }
                         },
                         "leaf" : 1,
-                        "path" : "/cluster/sdn/ipams/{ipam}",
-                        "text" : "{ipam}"
+                        "path" : "/cluster/ceph/flags/{flag}",
+                        "text" : "{flag}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "SDN ipams index.",
+                        "description" : "get the status of all ceph flags",
                         "method" : "GET",
-                        "name" : "index",
+                        "name" : "get_all_flags",
                         "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "type" : {
-                                 "description" : "Only list sdn ipams of specific type",
-                                 "enum" : [
-                                    "netbox",
-                                    "phpipam",
-                                    "pve"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           }
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
-                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/ipams/<ipam>'",
-                           "user" : "all"
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
                         },
+                        "protected" : 1,
                         "returns" : {
                            "items" : {
+                              "additionalProperties" : 1,
                               "properties" : {
-                                 "ipam" : {
+                                 "description" : {
+                                    "description" : "Flag description.",
                                     "type" : "string"
                                  },
-                                 "type" : {
+                                 "name" : {
+                                    "description" : "Flag name.",
+                                    "enum" : [
+                                       "nobackfill",
+                                       "nodeep-scrub",
+                                       "nodown",
+                                       "noin",
+                                       "noout",
+                                       "norebalance",
+                                       "norecover",
+                                       "noscrub",
+                                       "notieragent",
+                                       "noup",
+                                       "pause"
+                                    ],
                                     "type" : "string"
+                                 },
+                                 "value" : {
+                                    "description" : "Flag value.",
+                                    "type" : "boolean"
                                  }
                               },
                               "type" : "object"
                            },
                            "links" : [
                               {
-                                 "href" : "{ipam}",
+                                 "href" : "{name}",
                                  "rel" : "child"
                               }
                            ],
                            "type" : "array"
                         }
                      },
-                     "POST" : {
+                     "PUT" : {
                         "allowtoken" : 1,
-                        "description" : "Create a new sdn ipam object.",
-                        "method" : "POST",
-                        "name" : "create",
+                        "description" : "Set/Unset multiple ceph flags at once.",
+                        "method" : "PUT",
+                        "name" : "set_flags",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "ipam" : {
-                                 "description" : "The SDN ipam object identifier.",
-                                 "format" : "pve-sdn-ipam-id",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                              "nobackfill" : {
+                                 "description" : "Backfilling of PGs is suspended.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               },
-                              "section" : {
+                              "nodeep-scrub" : {
+                                 "description" : "Deep Scrubbing is disabled.",
                                  "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               },
-                              "token" : {
+                              "nodown" : {
+                                 "description" : "OSD failure reports are being ignored, such that the monitors will not mark OSDs down.",
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               },
-                              "type" : {
-                                 "description" : "Plugin type.",
-                                 "enum" : [
-                                    "netbox",
-                                    "phpipam",
-                                    "pve"
-                                 ],
-                                 "format" : "pve-configid",
-                                 "type" : "string"
+                              "noin" : {
+                                 "description" : "OSDs that were previously marked out will not be marked back in when they start.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               },
-                              "url" : {
+                              "noout" : {
+                                 "description" : "OSDs will not automatically be marked out after the configured interval.",
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "norebalance" : {
+                                 "description" : "Rebalancing of PGs is suspended.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "norecover" : {
+                                 "description" : "Recovery of PGs is suspended.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "noscrub" : {
+                                 "description" : "Scrubbing is disabled.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "notieragent" : {
+                                 "description" : "Cache tiering activity is suspended.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "noup" : {
+                                 "description" : "OSDs are not allowed to start.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "pause" : {
+                                 "description" : "Pauses read and writes.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               }
-                           },
-                           "type" : "object"
+                           }
                         },
                         "permissions" : {
                            "check" : [
                               "perm",
-                              "/sdn/ipams",
+                              "/",
                               [
-                                 "SDN.Allocate"
+                                 "Sys.Modify"
                               ]
                            ]
                         },
                         "protected" : 1,
                         "returns" : {
-                           "type" : "null"
+                           "type" : "string"
                         }
                      }
                   },
                   "leaf" : 0,
-                  "path" : "/cluster/sdn/ipams",
-                  "text" : "ipams"
-               },
+                  "path" : "/cluster/ceph/flags",
+                  "text" : "flags"
+               }
+            ],
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Cluster ceph index.",
+                  "method" : "GET",
+                  "name" : "cephindex",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "user" : "all"
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {},
+                        "type" : "object"
+                     },
+                     "links" : [
+                        {
+                           "href" : "{name}",
+                           "rel" : "child"
+                        }
+                     ],
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/cluster/ceph",
+            "text" : "ceph"
+         },
+         {
+            "children" : [
                {
                   "children" : [
                      {
                         "info" : {
                            "DELETE" : {
                               "allowtoken" : 1,
-                              "description" : "Delete sdn dns object configuration.",
+                              "description" : "Delete realm-sync job definition.",
                               "method" : "DELETE",
-                              "name" : "delete",
+                              "name" : "delete_job",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "dns" : {
-                                       "description" : "The SDN dns object identifier.",
-                                       "format" : "pve-sdn-dns-id",
+                                    "id" : {
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     }
@@ -8344,9 +8766,9 @@ const apiSchema = [
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/sdn/dns",
+                                    "/",
                                     [
-                                       "SDN.Allocate"
+                                       "Sys.Modify"
                                     ]
                                  ]
                               },
@@ -8357,15 +8779,14 @@ const apiSchema = [
                            },
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Read sdn dns configuration.",
+                              "description" : "Read realm-sync job definition.",
                               "method" : "GET",
-                              "name" : "read",
+                              "name" : "read_job",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "dns" : {
-                                       "description" : "The SDN dns object identifier.",
-                                       "format" : "pve-sdn-dns-id",
+                                    "id" : {
+                                       "format" : "pve-configid",
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     }
@@ -8374,9 +8795,9 @@ const apiSchema = [
                               "permissions" : {
                                  "check" : [
                                     "perm",
-                                    "/sdn/dns/{dns}",
+                                    "/",
                                     [
-                                       "SDN.Allocate"
+                                       "Sys.Audit"
                                     ]
                                  ]
                               },
@@ -8384,66 +8805,194 @@ const apiSchema = [
                                  "type" : "object"
                               }
                            },
-                           "PUT" : {
+                           "POST" : {
                               "allowtoken" : 1,
-                              "description" : "Update sdn dns object configuration.",
-                              "method" : "PUT",
-                              "name" : "update",
+                              "description" : "Create new realm-sync job.",
+                              "method" : "POST",
+                              "name" : "create_job",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
-                                    "delete" : {
-                                       "description" : "A list of settings you want to delete.",
-                                       "format" : "pve-configid-list",
-                                       "maxLength" : 4096,
+                                    "comment" : {
+                                       "description" : "Description for the Job.",
+                                       "maxLength" : 512,
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
+                                    "enable-new" : {
+                                       "default" : "1",
+                                       "description" : "Enable newly synced users immediately.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "enabled" : {
+                                       "default" : 1,
+                                       "description" : "Determines if the job is enabled.",
                                        "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "id" : {
+                                       "description" : "The ID of the job.",
+                                       "format" : "pve-configid",
+                                       "maxLength" : 64,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "dns" : {
-                                       "description" : "The SDN dns object identifier.",
-                                       "format" : "pve-sdn-dns-id",
+                                    "realm" : {
+                                       "description" : "Authentication domain ID",
+                                       "format" : "pve-realm",
+                                       "maxLength" : 32,
+                                       "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "key" : {
+                                    "remove-vanished" : {
+                                       "default" : "none",
+                                       "description" : "A semicolon-seperated list of things to remove when they or the user vanishes during a sync. The following values are possible: 'entry' removes the user/group when not returned from the sync. 'properties' removes the set properties on existing user/group that do not appear in the source (even custom ones). 'acl' removes acls when the user/group is not returned from the sync. Instead of a list it also can be 'none' (the default).",
                                        "optional" : 1,
+                                       "pattern" : "(?:(?:(?:acl|properties|entry);)*(?:acl|properties|entry))|none",
+                                       "type" : "string",
+                                       "typetext" : "([acl];[properties];[entry])|none"
+                                    },
+                                    "schedule" : {
+                                       "description" : "Backup schedule. The format is a subset of `systemd` calendar events.",
+                                       "format" : "pve-calendar-event",
+                                       "maxLength" : 128,
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
-                                    "reversemaskv6" : {
+                                    "scope" : {
+                                       "description" : "Select what to sync.",
+                                       "enum" : [
+                                          "users",
+                                          "groups",
+                                          "both"
+                                       ],
                                        "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "type" : "object"
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "and",
+                                    [
+                                       "perm",
+                                       "/access/realm/{realm}",
+                                       [
+                                          "Realm.AllocateUser"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/access/groups",
+                                       [
+                                          "User.Modify"
+                                       ]
+                                    ]
+                                 ],
+                                 "description" : "'Realm.AllocateUser' on '/access/realm/<realm>' and 'User.Modify' permissions to '/access/groups/'."
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update realm-sync job definition.",
+                              "method" : "PUT",
+                              "name" : "update_job",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "comment" : {
+                                       "description" : "Description for the Job.",
+                                       "maxLength" : 512,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "ttl" : {
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
                                        "optional" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer>"
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "url" : {
+                                    "enable-new" : {
+                                       "default" : "1",
+                                       "description" : "Enable newly synced users immediately.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "enabled" : {
+                                       "default" : 1,
+                                       "description" : "Determines if the job is enabled.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "id" : {
+                                       "description" : "The ID of the job.",
+                                       "format" : "pve-configid",
+                                       "maxLength" : 64,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "remove-vanished" : {
+                                       "default" : "none",
+                                       "description" : "A semicolon-seperated list of things to remove when they or the user vanishes during a sync. The following values are possible: 'entry' removes the user/group when not returned from the sync. 'properties' removes the set properties on existing user/group that do not appear in the source (even custom ones). 'acl' removes acls when the user/group is not returned from the sync. Instead of a list it also can be 'none' (the default).",
                                        "optional" : 1,
+                                       "pattern" : "(?:(?:(?:acl|properties|entry);)*(?:acl|properties|entry))|none",
+                                       "type" : "string",
+                                       "typetext" : "([acl];[properties];[entry])|none"
+                                    },
+                                    "schedule" : {
+                                       "description" : "Backup schedule. The format is a subset of `systemd` calendar events.",
+                                       "format" : "pve-calendar-event",
+                                       "maxLength" : 128,
                                        "type" : "string",
                                        "typetext" : "<string>"
+                                    },
+                                    "scope" : {
+                                       "description" : "Select what to sync.",
+                                       "enum" : [
+                                          "users",
+                                          "groups",
+                                          "both"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
                                     }
                                  },
                                  "type" : "object"
                               },
                               "permissions" : {
                                  "check" : [
-                                    "perm",
-                                    "/sdn/dns",
+                                    "and",
                                     [
-                                       "SDN.Allocate"
+                                       "perm",
+                                       "/access/realm/{realm}",
+                                       [
+                                          "Realm.AllocateUser"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/access/groups",
+                                       [
+                                          "User.Modify"
+                                       ]
                                     ]
-                                 ]
+                                 ],
+                                 "description" : "'Realm.AllocateUser' on '/access/realm/<realm>' and 'User.Modify' permissions to '/access/groups/'."
                               },
                               "protected" : 1,
                               "returns" : {
@@ -8452,40 +9001,80 @@ const apiSchema = [
                            }
                         },
                         "leaf" : 1,
-                        "path" : "/cluster/sdn/dns/{dns}",
-                        "text" : "{dns}"
+                        "path" : "/cluster/jobs/realm-sync/{id}",
+                        "text" : "{id}"
                      }
                   ],
                   "info" : {
                      "GET" : {
                         "allowtoken" : 1,
-                        "description" : "SDN dns index.",
+                        "description" : "List configured realm-sync-jobs.",
                         "method" : "GET",
-                        "name" : "index",
+                        "name" : "syncjob_index",
                         "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "type" : {
-                                 "description" : "Only list sdn dns of specific type",
-                                 "enum" : [
-                                    "powerdns"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           }
+                           "additionalProperties" : 0
                         },
                         "permissions" : {
-                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/dns/<dns>'",
-                           "user" : "all"
+                           "check" : [
+                              "perm",
+                              "/",
+                              [
+                                 "Sys.Audit"
+                              ]
+                           ]
                         },
                         "returns" : {
                            "items" : {
                               "properties" : {
-                                 "dns" : {
+                                 "comment" : {
+                                    "description" : "A comment for the job.",
+                                    "optional" : 1,
                                     "type" : "string"
                                  },
-                                 "type" : {
+                                 "enabled" : {
+                                    "description" : "If the job is enabled or not.",
+                                    "type" : "boolean"
+                                 },
+                                 "id" : {
+                                    "description" : "The ID of the entry.",
+                                    "type" : "string"
+                                 },
+                                 "last-run" : {
+                                    "description" : "Last execution time of the job in seconds since the beginning of the UNIX epoch",
+                                    "optional" : 1,
+                                    "type" : "integer"
+                                 },
+                                 "next-run" : {
+                                    "description" : "Next planned execution time of the job in seconds since the beginning of the UNIX epoch.",
+                                    "optional" : 1,
+                                    "type" : "integer"
+                                 },
+                                 "realm" : {
+                                    "description" : "Authentication domain ID",
+                                    "format" : "pve-realm",
+                                    "maxLength" : 32,
+                                    "type" : "string"
+                                 },
+                                 "remove-vanished" : {
+                                    "default" : "none",
+                                    "description" : "A semicolon-seperated list of things to remove when they or the user vanishes during a sync. The following values are possible: 'entry' removes the user/group when not returned from the sync. 'properties' removes the set properties on existing user/group that do not appear in the source (even custom ones). 'acl' removes acls when the user/group is not returned from the sync. Instead of a list it also can be 'none' (the default).",
+                                    "optional" : "1",
+                                    "pattern" : "(?:(?:(?:acl|properties|entry);)*(?:acl|properties|entry))|none",
+                                    "type" : "string",
+                                    "typetext" : "([acl];[properties];[entry])|none"
+                                 },
+                                 "schedule" : {
+                                    "description" : "The configured sync schedule.",
+                                    "type" : "string"
+                                 },
+                                 "scope" : {
+                                    "description" : "Select what to sync.",
+                                    "enum" : [
+                                       "users",
+                                       "groups",
+                                       "both"
+                                    ],
+                                    "optional" : "1",
                                     "type" : "string"
                                  }
                               },
@@ -8493,105 +9082,97 @@ const apiSchema = [
                            },
                            "links" : [
                               {
-                                 "href" : "{dns}",
+                                 "href" : "{id}",
                                  "rel" : "child"
                               }
                            ],
                            "type" : "array"
                         }
-                     },
-                     "POST" : {
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/jobs/realm-sync",
+                  "text" : "realm-sync"
+               },
+               {
+                  "info" : {
+                     "GET" : {
                         "allowtoken" : 1,
-                        "description" : "Create a new sdn dns object.",
-                        "method" : "POST",
-                        "name" : "create",
+                        "description" : "Returns a list of future schedule runtimes.",
+                        "method" : "GET",
+                        "name" : "schedule-analyze",
                         "parameters" : {
                            "additionalProperties" : 0,
                            "properties" : {
-                              "dns" : {
-                                 "description" : "The SDN dns object identifier.",
-                                 "format" : "pve-sdn-dns-id",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                              "iterations" : {
+                                 "default" : 10,
+                                 "description" : "Number of event-iteration to simulate and return.",
+                                 "maximum" : 100,
+                                 "minimum" : 1,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - 100)"
                               },
-                              "key" : {
-                                 "optional" : 0,
+                              "schedule" : {
+                                 "description" : "Job schedule. The format is a subset of `systemd` calendar events.",
+                                 "format" : "pve-calendar-event",
+                                 "maxLength" : 128,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "reversemaskv6" : {
+                              "starttime" : {
+                                 "description" : "UNIX timestamp to start the calculation from. Defaults to the current time.",
                                  "optional" : 1,
                                  "type" : "integer",
                                  "typetext" : "<integer>"
-                              },
-                              "reversev6mask" : {
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
-                              },
-                              "ttl" : {
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer>"
-                              },
-                              "type" : {
-                                 "description" : "Plugin type.",
-                                 "enum" : [
-                                    "powerdns"
-                                 ],
-                                 "format" : "pve-configid",
-                                 "type" : "string"
-                              },
-                              "url" : {
-                                 "optional" : 0,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
                               }
-                           },
-                           "type" : "object"
+                           }
                         },
                         "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/sdn/dns",
-                              [
-                                 "SDN.Allocate"
-                              ]
-                           ]
+                           "user" : "all"
                         },
-                        "protected" : 1,
                         "returns" : {
-                           "type" : "null"
+                           "description" : "An array of the next <iterations> events since <starttime>.",
+                           "items" : {
+                              "properties" : {
+                                 "timestamp" : {
+                                    "description" : "UNIX timestamp for the run.",
+                                    "type" : "integer"
+                                 },
+                                 "utc" : {
+                                    "description" : "UTC timestamp for the run.",
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "type" : "array"
                         }
                      }
                   },
-                  "leaf" : 0,
-                  "path" : "/cluster/sdn/dns",
-                  "text" : "dns"
+                  "leaf" : 1,
+                  "path" : "/cluster/jobs/schedule-analyze",
+                  "text" : "schedule-analyze"
                }
             ],
             "info" : {
                "GET" : {
                   "allowtoken" : 1,
-                  "description" : "Directory index.",
+                  "description" : "Index for jobs related endpoints.",
                   "method" : "GET",
                   "name" : "index",
                   "parameters" : {
                      "additionalProperties" : 0
                   },
                   "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/",
-                        [
-                           "SDN.Audit"
-                        ]
-                     ]
+                     "user" : "all"
                   },
                   "returns" : {
+                     "description" : "Directory index.",
                      "items" : {
                         "properties" : {
-                           "id" : {
+                           "subdir" : {
+                              "description" : "API sub-directory endpoint",
                               "type" : "string"
                            }
                         },
@@ -8599,888 +9180,721 @@ const apiSchema = [
                      },
                      "links" : [
                         {
-                           "href" : "{id}",
+                           "href" : "{subdir}",
                            "rel" : "child"
                         }
                      ],
                      "type" : "array"
                   }
-               },
-               "PUT" : {
-                  "allowtoken" : 1,
-                  "description" : "Apply sdn controller changes && reload.",
-                  "method" : "PUT",
-                  "name" : "reload",
-                  "parameters" : {
-                     "additionalProperties" : 0
-                  },
-                  "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/sdn",
-                        [
-                           "SDN.Allocate"
-                        ]
-                     ]
-                  },
-                  "protected" : 1,
-                  "returns" : {
-                     "type" : "string"
-                  }
                }
             },
             "leaf" : 0,
-            "path" : "/cluster/sdn",
-            "text" : "sdn"
-         },
-         {
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "Read cluster log",
-                  "method" : "GET",
-                  "name" : "log",
-                  "parameters" : {
-                     "additionalProperties" : 0,
-                     "properties" : {
-                        "max" : {
-                           "description" : "Maximum number of entries.",
-                           "minimum" : 1,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (1 - N)"
-                        }
-                     }
-                  },
-                  "permissions" : {
-                     "user" : "all"
-                  },
-                  "returns" : {
-                     "items" : {
-                        "properties" : {},
-                        "type" : "object"
-                     },
-                     "type" : "array"
-                  }
-               }
-            },
-            "leaf" : 1,
-            "path" : "/cluster/log",
-            "text" : "log"
-         },
-         {
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "Resources index (cluster wide).",
-                  "method" : "GET",
-                  "name" : "resources",
-                  "parameters" : {
-                     "additionalProperties" : 0,
-                     "properties" : {
-                        "type" : {
-                           "enum" : [
-                              "vm",
-                              "storage",
-                              "node",
-                              "sdn"
-                           ],
-                           "optional" : 1,
-                           "type" : "string"
-                        }
-                     }
-                  },
-                  "permissions" : {
-                     "user" : "all"
-                  },
-                  "returns" : {
-                     "items" : {
-                        "properties" : {
-                           "cgroup-mode" : {
-                              "description" : "The cgroup mode the node operates under (when type == node).",
-                              "optional" : 1,
-                              "type" : "integer"
-                           },
-                           "content" : {
-                              "description" : "Allowed storage content types (when type == storage).",
-                              "format" : "pve-storage-content-list",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "cpu" : {
-                              "description" : "CPU utilization (when type in node,qemu,lxc).",
-                              "minimum" : 0,
-                              "optional" : 1,
-                              "renderer" : "fraction_as_percentage",
-                              "type" : "number"
-                           },
-                           "disk" : {
-                              "description" : "Used disk space in bytes (when type in storage), used root image spave for VMs (type in qemu,lxc).",
-                              "minimum" : 0,
-                              "optional" : 1,
-                              "renderer" : "bytes",
-                              "type" : "integer"
-                           },
-                           "hastate" : {
-                              "description" : "HA service status (for HA managed VMs).",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "id" : {
-                              "type" : "string"
-                           },
-                           "level" : {
-                              "description" : "Support level (when type == node).",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "maxcpu" : {
-                              "description" : "Number of available CPUs (when type in node,qemu,lxc).",
-                              "minimum" : 0,
-                              "optional" : 1,
-                              "type" : "number"
-                           },
-                           "maxdisk" : {
-                              "description" : "Storage size in bytes (when type in storage), root image size for VMs (type in qemu,lxc).",
-                              "minimum" : 0,
-                              "optional" : 1,
-                              "renderer" : "bytes",
-                              "type" : "integer"
-                           },
-                           "maxmem" : {
-                              "description" : "Number of available memory in bytes (when type in node,qemu,lxc).",
-                              "optional" : 1,
-                              "renderer" : "bytes",
-                              "type" : "integer"
-                           },
-                           "mem" : {
-                              "description" : "Used memory in bytes (when type in node,qemu,lxc).",
-                              "minimum" : 0,
-                              "optional" : 1,
-                              "renderer" : "bytes",
-                              "type" : "integer"
-                           },
-                           "name" : {
-                              "description" : "Name of the resource.",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "node" : {
-                              "description" : "The cluster node name (when type in node,storage,qemu,lxc).",
-                              "format" : "pve-node",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "plugintype" : {
-                              "description" : "More specific type, if available.",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "pool" : {
-                              "description" : "The pool name (when type in pool,qemu,lxc).",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "status" : {
-                              "description" : "Resource type dependent status.",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "storage" : {
-                              "description" : "The storage identifier (when type == storage).",
-                              "format" : "pve-storage-id",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "type" : {
-                              "description" : "Resource type.",
-                              "enum" : [
-                                 "node",
-                                 "storage",
-                                 "pool",
-                                 "qemu",
-                                 "lxc",
-                                 "openvz",
-                                 "sdn"
-                              ],
-                              "type" : "string"
-                           },
-                           "uptime" : {
-                              "description" : "Node uptime in seconds (when type in node,qemu,lxc).",
-                              "optional" : 1,
-                              "renderer" : "duration",
-                              "type" : "integer"
-                           },
-                           "vmid" : {
-                              "description" : "The numerical vmid (when type in qemu,lxc).",
-                              "minimum" : 1,
-                              "optional" : 1,
-                              "type" : "integer"
-                           }
-                        },
-                        "type" : "object"
-                     },
-                     "type" : "array"
-                  }
-               }
-            },
-            "leaf" : 1,
-            "path" : "/cluster/resources",
-            "text" : "resources"
-         },
-         {
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "List recent tasks (cluster wide).",
-                  "method" : "GET",
-                  "name" : "tasks",
-                  "parameters" : {
-                     "additionalProperties" : 0
-                  },
-                  "permissions" : {
-                     "user" : "all"
-                  },
-                  "returns" : {
-                     "items" : {
-                        "properties" : {
-                           "upid" : {
-                              "type" : "string"
-                           }
-                        },
-                        "type" : "object"
-                     },
-                     "type" : "array"
-                  }
-               }
-            },
-            "leaf" : 1,
-            "path" : "/cluster/tasks",
-            "text" : "tasks"
+            "path" : "/cluster/jobs",
+            "text" : "jobs"
          },
          {
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned.",
-                  "method" : "GET",
-                  "name" : "get_options",
-                  "parameters" : {
-                     "additionalProperties" : 0
-                  },
-                  "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/",
-                        [
-                           "Sys.Audit"
-                        ]
-                     ],
-                     "user" : "all"
-                  },
-                  "returns" : {
-                     "type" : "object"
-                  }
-               },
-               "PUT" : {
-                  "allowtoken" : 1,
-                  "description" : "Set datacenter options.",
-                  "method" : "PUT",
-                  "name" : "set_options",
-                  "parameters" : {
-                     "additionalProperties" : 0,
-                     "properties" : {
-                        "bwlimit" : {
-                           "description" : "Set bandwidth/io limits various operations.",
-                           "format" : {
-                              "clone" : {
-                                 "description" : "bandwidth limit in KiB/s for cloning disks",
-                                 "format_description" : "LIMIT",
-                                 "minimum" : "0",
-                                 "optional" : 1,
-                                 "type" : "number"
-                              },
-                              "default" : {
-                                 "description" : "default bandwidth limit in KiB/s",
-                                 "format_description" : "LIMIT",
-                                 "minimum" : "0",
-                                 "optional" : 1,
-                                 "type" : "number"
-                              },
-                              "migration" : {
-                                 "description" : "bandwidth limit in KiB/s for migrating guests (including moving local disks)",
-                                 "format_description" : "LIMIT",
-                                 "minimum" : "0",
-                                 "optional" : 1,
-                                 "type" : "number"
+            "children" : [
+               {
+                  "children" : [
+                     {
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Remove Hardware Mapping.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "id" : {
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
                               },
-                              "move" : {
-                                 "description" : "bandwidth limit in KiB/s for moving disks",
-                                 "format_description" : "LIMIT",
-                                 "minimum" : "0",
-                                 "optional" : 1,
-                                 "type" : "number"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/mapping/pci",
+                                    [
+                                       "Mapping.Modify"
+                                    ]
+                                 ]
                               },
-                              "restore" : {
-                                 "description" : "bandwidth limit in KiB/s for restoring guests from backups",
-                                 "format_description" : "LIMIT",
-                                 "minimum" : "0",
-                                 "optional" : 1,
-                                 "type" : "number"
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
                               }
                            },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]"
-                        },
-                        "console" : {
-                           "description" : "Select the default Console viewer. You can either use the builtin java applet (VNC; deprecated and maps to html5), an external virt-viewer comtatible application (SPICE), an HTML5 based vnc viewer (noVNC), or an HTML5 based console client (xtermjs). If the selected viewer is not available (e.g. SPICE not activated for the VM), the fallback is noVNC.",
-                           "enum" : [
-                              "applet",
-                              "vv",
-                              "html5",
-                              "xtermjs"
-                           ],
-                           "optional" : 1,
-                           "type" : "string"
-                        },
-                        "crs" : {
-                           "description" : "Cluster resource scheduling settings.",
-                           "format" : {
-                              "ha" : {
-                                 "default" : "basic",
-                                 "description" : "Use this resource scheduler mode for HA.",
-                                 "enum" : [
-                                    "basic",
-                                    "static"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "verbose_description" : "Configures how the HA manager should select nodes to start or recover services. With 'basic', only the number of services is used, with 'static', static CPU and memory configuration of services is considered."
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Get PCI Mapping.",
+                              "method" : "GET",
+                              "name" : "get",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "id" : {
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
                               },
-                              "ha-rebalance-on-start" : {
-                                 "default" : 0,
-                                 "description" : "Set to use CRS for selecting a suited node when a HA services request-state changes from stop to start.",
-                                 "optional" : 1,
-                                 "type" : "boolean"
+                              "permissions" : {
+                                 "check" : [
+                                    "or",
+                                    [
+                                       "perm",
+                                       "/mapping/pci/{id}",
+                                       [
+                                          "Mapping.Use"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/mapping/pci/{id}",
+                                       [
+                                          "Mapping.Modify"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/mapping/pci/{id}",
+                                       [
+                                          "Mapping.Audit"
+                                       ]
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "object"
                               }
                            },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[ha=<basic|static>] [,ha-rebalance-on-start=<1|0>]"
-                        },
-                        "delete" : {
-                           "description" : "A list of settings you want to delete.",
-                           "format" : "pve-configid-list",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "description" : {
-                           "description" : "Datacenter description. Shown in the web-interface datacenter notes panel. This is saved as comment inside the configuration file.",
-                           "maxLength" : 65536,
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "email_from" : {
-                           "description" : "Specify email address to send notification from (default is root@$hostname)",
-                           "format" : "email-opt",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "fencing" : {
-                           "default" : "watchdog",
-                           "description" : "Set the fencing mode of the HA cluster. Hardware mode needs a valid configuration of fence devices in /etc/pve/ha/fence.cfg. With both all two modes are used.\n\nWARNING: 'hardware' and 'both' are EXPERIMENTAL & WIP",
-                           "enum" : [
-                              "watchdog",
-                              "hardware",
-                              "both"
-                           ],
-                           "optional" : 1,
-                           "type" : "string"
-                        },
-                        "ha" : {
-                           "description" : "Cluster wide HA settings.",
-                           "format" : {
-                              "shutdown_policy" : {
-                                 "default" : "conditional",
-                                 "description" : "The policy for HA services on node shutdown. 'freeze' disables auto-recovery, 'failover' ensures recovery, 'conditional' recovers on poweroff and freezes on reboot. 'migrate' will migrate running services to other nodes, if possible. With 'freeze' or 'failover', HA Services will always get stopped first on shutdown.",
-                                 "enum" : [
-                                    "freeze",
-                                    "failover",
-                                    "conditional",
-                                    "migrate"
-                                 ],
-                                 "type" : "string",
-                                 "verbose_description" : "Describes the policy for handling HA services on poweroff or reboot of a node. Freeze will always freeze services which are still located on the node on shutdown, those services won't be recovered by the HA manager. Failover will not mark the services as frozen and thus the services will get recovered to other nodes, if the shutdown node does not come up again quickly (< 1min). 'conditional' chooses automatically depending on the type of shutdown, i.e., on a reboot the service will be frozen but on a poweroff the service will stay as is, and thus get recovered after about 2 minutes. Migrate will try to move all running services to another node when a reboot or shutdown was triggered. The poweroff process will only continue once no running services are located on the node anymore. If the node comes up again, the service will be moved back to the previously powered-off node, at least if no other migration, reloaction or recovery took place."
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update a hardware mapping.",
+                              "method" : "PUT",
+                              "name" : "update",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "description" : {
+                                       "description" : "Description of the logical PCI device.",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "id" : {
+                                       "description" : "The ID of the logical PCI mapping.",
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "map" : {
+                                       "description" : "A list of maps for the cluster nodes.",
+                                       "items" : {
+                                          "format" : {
+                                             "description" : {
+                                                "description" : "Description of the node specific device.",
+                                                "maxLength" : 4096,
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "id" : {
+                                                "description" : "The vendor and device ID that is expected. Used for detecting hardware changes",
+                                                "pattern" : "(?^:^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$)",
+                                                "type" : "string"
+                                             },
+                                             "iommugroup" : {
+                                                "description" : "The IOMMU group in which the device is to be expected in. Used for detecting hardware changes.",
+                                                "optional" : 1,
+                                                "type" : "integer"
+                                             },
+                                             "node" : {
+                                                "description" : "The cluster node name.",
+                                                "format" : "pve-node",
+                                                "type" : "string"
+                                             },
+                                             "path" : {
+                                                "description" : "The path to the device. If the function is omitted, the whole device is mapped. In that case use the attributes of the first device. You can give multiple paths as a semicolon seperated list, the first available will then be chosen on guest start.",
+                                                "pattern" : "(?:[a-f0-9]{4,}:[a-f0-9]{2}:[a-f0-9]{2}(?:.[a-f0-9])?;)*[a-f0-9]{4,}:[a-f0-9]{2}:[a-f0-9]{2}(?:.[a-f0-9])?",
+                                                "type" : "string"
+                                             },
+                                             "subsystem-id" : {
+                                                "description" : "The subsystem vendor and device ID that is expected. Used for detecting hardware changes.",
+                                                "optional" : 1,
+                                                "pattern" : "(?^:^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$)",
+                                                "type" : "string"
+                                             }
+                                          },
+                                          "type" : "string"
+                                       },
+                                       "optional" : 1,
+                                       "type" : "array",
+                                       "typetext" : "<array>"
+                                    },
+                                    "mdev" : {
+                                       "default" : 0,
+                                       "description" : "Marks the device(s) as being capable of providing mediated devices.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    }
+                                 },
+                                 "type" : "object"
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/mapping/pci/{id}",
+                                    [
+                                       "Mapping.Modify"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
                               }
-                           },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "shutdown_policy=<enum>"
-                        },
-                        "http_proxy" : {
-                           "description" : "Specify external http proxy which is used for downloads (example: 'http://username:password@host:port/')",
-                           "optional" : 1,
-                           "pattern" : "http://.*",
-                           "type" : "string"
-                        },
-                        "keyboard" : {
-                           "description" : "Default keybord layout for vnc server.",
-                           "enum" : [
-                              "de",
-                              "de-ch",
-                              "da",
-                              "en-gb",
-                              "en-us",
-                              "es",
-                              "fi",
-                              "fr",
-                              "fr-be",
-                              "fr-ca",
-                              "fr-ch",
-                              "hu",
-                              "is",
-                              "it",
-                              "ja",
-                              "lt",
-                              "mk",
-                              "nl",
-                              "no",
-                              "pl",
-                              "pt",
-                              "pt-br",
-                              "sv",
-                              "sl",
-                              "tr"
-                           ],
-                           "optional" : 1,
-                           "type" : "string"
-                        },
-                        "language" : {
-                           "description" : "Default GUI language.",
-                           "enum" : [
-                              "ca",
-                              "da",
-                              "de",
-                              "en",
-                              "es",
-                              "eu",
-                              "fa",
-                              "fr",
-                              "he",
-                              "it",
-                              "ja",
-                              "nb",
-                              "nn",
-                              "pl",
-                              "pt_BR",
-                              "ru",
-                              "sl",
-                              "sv",
-                              "tr",
-                              "zh_CN",
-                              "zh_TW"
-                           ],
-                           "optional" : 1,
-                           "type" : "string"
-                        },
-                        "mac_prefix" : {
-                           "description" : "Prefix for autogenerated MAC addresses.",
-                           "format" : "mac-prefix",
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        },
-                        "max_workers" : {
-                           "description" : "Defines how many workers (per node) are maximal started  on actions like 'stopall VMs' or task from the ha-manager.",
-                           "minimum" : 1,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (1 - N)"
+                           }
                         },
-                        "migration" : {
-                           "description" : "For cluster wide migration settings.",
-                           "format" : {
-                              "network" : {
-                                 "description" : "CIDR of the (sub) network that is used for migration.",
-                                 "format" : "CIDR",
-                                 "format_description" : "CIDR",
+                        "leaf" : 1,
+                        "path" : "/cluster/mapping/pci/{id}",
+                        "text" : "{id}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "List PCI Hardware Mapping",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "check-node" : {
+                                 "description" : "If given, checks the configurations on the given node for correctness, and adds relevant diagnostics for the devices to the response.",
+                                 "format" : "pve-node",
                                  "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "type" : {
-                                 "default" : "secure",
-                                 "default_key" : 1,
-                                 "description" : "Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.",
-                                 "enum" : [
-                                    "secure",
-                                    "insecure"
-                                 ],
-                                 "type" : "string"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               }
-                           },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[type=]<secure|insecure> [,network=<CIDR>]"
+                           }
                         },
-                        "migration_unsecure" : {
-                           "description" : "Migration is secure using SSH tunnel by default. For secure private networks you can disable it to speed up migration. Deprecated, use the 'migration' property instead!",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
+                        "permissions" : {
+                           "description" : "Only lists entries where you have 'Mapping.Modify', 'Mapping.Use' or 'Mapping.Audit' permissions on '/mapping/pci/<id>'.",
+                           "user" : "all"
                         },
-                        "next-id" : {
-                           "description" : "Control the range for the free VMID auto-selection pool.",
-                           "format" : {
-                              "lower" : {
-                                 "default" : 100,
-                                 "description" : "Lower, inclusive boundary for free next-id API range.",
-                                 "max" : 999999999,
-                                 "min" : 100,
-                                 "optional" : 1,
-                                 "type" : "integer"
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "checks" : {
+                                    "description" : "A list of checks, only present if 'check_node' is set.",
+                                    "items" : {
+                                       "properties" : {
+                                          "message" : {
+                                             "description" : "The message of the error",
+                                             "type" : "string"
+                                          },
+                                          "severity" : {
+                                             "description" : "The severity of the error",
+                                             "enum" : [
+                                                "warning",
+                                                "error"
+                                             ],
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    },
+                                    "optional" : 1,
+                                    "type" : "array"
+                                 },
+                                 "description" : {
+                                    "description" : "A description of the logical mapping.",
+                                    "type" : "string"
+                                 },
+                                 "id" : {
+                                    "description" : "The logical ID of the mapping.",
+                                    "type" : "string"
+                                 },
+                                 "map" : {
+                                    "description" : "The entries of the mapping.",
+                                    "items" : {
+                                       "description" : "A mapping for a node.",
+                                       "type" : "string"
+                                    },
+                                    "type" : "array"
+                                 }
                               },
-                              "upper" : {
-                                 "default" : 1000000,
-                                 "description" : "Upper, exclusive boundary for free next-id API range.",
-                                 "max" : 1000000000,
-                                 "min" : 100,
-                                 "optional" : 1,
-                                 "type" : "integer"
-                              }
+                              "type" : "object"
                            },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[lower=<integer>] [,upper=<integer>]"
-                        },
-                        "notify" : {
-                           "description" : "Cluster-wide notification settings.",
-                           "format" : {
-                              "package-updates" : {
-                                 "default" : "auto",
-                                 "description" : "Control when the daily update job should send out notification mails.",
-                                 "enum" : [
-                                    "auto",
-                                    "always",
-                                    "never"
-                                 ],
-                                 "type" : "string",
-                                 "verbose_description" : "Control how often the daily update job should send out notification mails:\n* 'auto' daily for systems with a valid subscription, as those are assumed to be  production-ready and thus should know about pending updates.\n* 'always' every update, if there are new pending updates.\n* 'never' never send a notification for new pending updates.\n"
+                           "links" : [
+                              {
+                                 "href" : "{id}",
+                                 "rel" : "child"
                               }
-                           },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "package-updates=<auto|always|never>"
-                        },
-                        "registered-tags" : {
-                           "description" : "A list of tags that require a `Sys.Modify` on '/' to set and delete. Tags set here that are also in 'user-tag-access' also require `Sys.Modify`.",
-                           "optional" : 1,
-                           "pattern" : "(?:(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*);)*(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*)",
-                           "type" : "string",
-                           "typetext" : "<tag>[;<tag>...]"
-                        },
-                        "tag-style" : {
-                           "description" : "Tag style options.",
-                           "format" : {
-                              "case-sensitive" : {
-                                 "default" : 0,
-                                 "description" : "Controls if filtering for unique tags on update should check case-sensitive.",
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create a new hardware mapping.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "description" : {
+                                 "description" : "Description of the logical PCI device.",
+                                 "maxLength" : 4096,
                                  "optional" : 1,
-                                 "type" : "boolean"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
-                              "color-map" : {
-                                 "description" : "Manual color mapping for tags (semicolon separated).",
-                                 "optional" : 1,
-                                 "pattern" : "(?:(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*):[0-9a-fA-F]{6}(?::[0-9a-fA-F]{6})?)(?:;(?:(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*):[0-9a-fA-F]{6}(?::[0-9a-fA-F]{6})?))*",
+                              "id" : {
+                                 "description" : "The ID of the logical PCI mapping.",
+                                 "format" : "pve-configid",
                                  "type" : "string",
-                                 "typetext" : "<tag>:<hex-color>[:<hex-color-for-text>][;<tag>=...]"
+                                 "typetext" : "<string>"
                               },
-                              "ordering" : {
-                                 "default" : "alphabetical",
-                                 "description" : "Controls the sorting of the tags in the web-interface and the API update.",
-                                 "enum" : [
-                                    "config",
-                                    "alphabetical"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
+                              "map" : {
+                                 "description" : "A list of maps for the cluster nodes.",
+                                 "items" : {
+                                    "format" : {
+                                       "description" : {
+                                          "description" : "Description of the node specific device.",
+                                          "maxLength" : 4096,
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "id" : {
+                                          "description" : "The vendor and device ID that is expected. Used for detecting hardware changes",
+                                          "pattern" : "(?^:^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$)",
+                                          "type" : "string"
+                                       },
+                                       "iommugroup" : {
+                                          "description" : "The IOMMU group in which the device is to be expected in. Used for detecting hardware changes.",
+                                          "optional" : 1,
+                                          "type" : "integer"
+                                       },
+                                       "node" : {
+                                          "description" : "The cluster node name.",
+                                          "format" : "pve-node",
+                                          "type" : "string"
+                                       },
+                                       "path" : {
+                                          "description" : "The path to the device. If the function is omitted, the whole device is mapped. In that case use the attributes of the first device. You can give multiple paths as a semicolon seperated list, the first available will then be chosen on guest start.",
+                                          "pattern" : "(?:[a-f0-9]{4,}:[a-f0-9]{2}:[a-f0-9]{2}(?:.[a-f0-9])?;)*[a-f0-9]{4,}:[a-f0-9]{2}:[a-f0-9]{2}(?:.[a-f0-9])?",
+                                          "type" : "string"
+                                       },
+                                       "subsystem-id" : {
+                                          "description" : "The subsystem vendor and device ID that is expected. Used for detecting hardware changes.",
+                                          "optional" : 1,
+                                          "pattern" : "(?^:^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$)",
+                                          "type" : "string"
+                                       }
+                                    },
+                                    "type" : "string"
+                                 },
+                                 "optional" : 0,
+                                 "type" : "array",
+                                 "typetext" : "<array>"
                               },
-                              "shape" : {
-                                 "default" : "circle",
-                                 "description" : "Tag shape for the web ui tree. 'full' draws the full tag. 'circle' draws only a circle with the background color. 'dense' only draws a small rectancle (useful when many tags are assigned to each guest).'none' disables showing the tags.",
-                                 "enum" : [
-                                    "full",
-                                    "circle",
-                                    "dense",
-                                    "none"
-                                 ],
+                              "mdev" : {
+                                 "default" : 0,
+                                 "description" : "Marks the device(s) as being capable of providing mediated devices.",
                                  "optional" : 1,
-                                 "type" : "string"
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               }
                            },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[case-sensitive=<1|0>] [,color-map=<tag>:<hex-color>[:<hex-color-for-text>][;<tag>=...]] [,ordering=<config|alphabetical>] [,shape=<enum>]"
+                           "type" : "object"
                         },
-                        "u2f" : {
-                           "description" : "u2f",
-                           "format" : {
-                              "appid" : {
-                                 "description" : "U2F AppId URL override. Defaults to the origin.",
-                                 "format_description" : "APPID",
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "origin" : {
-                                 "description" : "U2F Origin override. Mostly useful for single nodes with a single URL.",
-                                 "format_description" : "URL",
-                                 "optional" : 1,
-                                 "type" : "string"
-                              }
-                           },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[appid=<APPID>] [,origin=<URL>]"
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/mapping/pci",
+                              [
+                                 "Mapping.Modify"
+                              ]
+                           ]
                         },
-                        "user-tag-access" : {
-                           "description" : "Privilege options for user-settable tags",
-                           "format" : {
-                              "user-allow" : {
-                                 "default" : "free",
-                                 "description" : "Controls tag usage for users without `Sys.Modify` on `/` by either allowing `none`, a `list`, already `existing` or anything (`free`).",
-                                 "enum" : [
-                                    "none",
-                                    "list",
-                                    "existing",
-                                    "free"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "verbose_description" : "Controls which tags can be set or deleted on resources a user controls (such as guests). Users with the `Sys.Modify` privilege on `/` are always  unrestricted. * 'none' no tags are usable. * 'list' tags from 'user-allow-list' are usable. * 'existing' like list, but already existing tags of resources are also usable.* 'free' no tag restrictions."
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/mapping/pci",
+                  "text" : "pci"
+               },
+               {
+                  "children" : [
+                     {
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Remove Hardware Mapping.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "id" : {
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
                               },
-                              "user-allow-list" : {
-                                 "description" : "List of tags users are allowed to set and delete (semicolon separated) for 'user-allow' values 'list' and 'existing'.",
-                                 "optional" : 1,
-                                 "pattern" : "(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*)(?:;(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*))*",
-                                 "type" : "string",
-                                 "typetext" : "<tag>[;<tag>...]"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/mapping/usb",
+                                    [
+                                       "Mapping.Modify"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
                               }
                            },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[user-allow=<enum>] [,user-allow-list=<tag>[;<tag>...]]"
-                        },
-                        "webauthn" : {
-                           "description" : "webauthn configuration",
-                           "format" : {
-                              "allow-subdomains" : {
-                                 "default" : 1,
-                                 "description" : "Whether to allow the origin to be a subdomain, rather than the exact URL.",
-                                 "optional" : 1,
-                                 "type" : "boolean"
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Get USB Mapping.",
+                              "method" : "GET",
+                              "name" : "get",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "id" : {
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
                               },
-                              "id" : {
-                                 "description" : "Relying party ID. Must be the domain name without protocol, port or location. Changing this *will* break existing credentials.",
-                                 "format_description" : "DOMAINNAME",
-                                 "optional" : 1,
-                                 "type" : "string"
+                              "permissions" : {
+                                 "check" : [
+                                    "or",
+                                    [
+                                       "perm",
+                                       "/mapping/usb/{id}",
+                                       [
+                                          "Mapping.Audit"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/mapping/usb/{id}",
+                                       [
+                                          "Mapping.Use"
+                                       ]
+                                    ],
+                                    [
+                                       "perm",
+                                       "/mapping/usb/{id}",
+                                       [
+                                          "Mapping.Modify"
+                                       ]
+                                    ]
+                                 ]
                               },
-                              "origin" : {
-                                 "description" : "Site origin. Must be a `https://` URL (or `http://localhost`). Should contain the address users type in their browsers to access the web interface. Changing this *may* break existing credentials.",
-                                 "format_description" : "URL",
-                                 "optional" : 1,
-                                 "type" : "string"
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "object"
+                              }
+                           },
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update a hardware mapping.",
+                              "method" : "PUT",
+                              "name" : "update",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "description" : {
+                                       "description" : "Description of the logical USB device.",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "id" : {
+                                       "description" : "The ID of the logical USB mapping.",
+                                       "format" : "pve-configid",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "map" : {
+                                       "description" : "A list of maps for the cluster nodes.",
+                                       "items" : {
+                                          "format" : {
+                                             "description" : {
+                                                "description" : "Description of the node specific device.",
+                                                "maxLength" : 4096,
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "id" : {
+                                                "description" : "The vendor and device ID that is expected. If a USB path is given, it is only used for detecting hardware changes",
+                                                "pattern" : "(?^:^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$)",
+                                                "type" : "string"
+                                             },
+                                             "node" : {
+                                                "description" : "The cluster node name.",
+                                                "format" : "pve-node",
+                                                "type" : "string"
+                                             },
+                                             "path" : {
+                                                "description" : "The path to the usb device.",
+                                                "optional" : 1,
+                                                "pattern" : "(?^:^(\\d+)\\-(\\d+(\\.\\d+)*)$)",
+                                                "type" : "string"
+                                             }
+                                          },
+                                          "type" : "string"
+                                       },
+                                       "type" : "array",
+                                       "typetext" : "<array>"
+                                    }
+                                 },
+                                 "type" : "object"
                               },
-                              "rp" : {
-                                 "description" : "Relying party name. Any text identifier. Changing this *may* break existing credentials.",
-                                 "format_description" : "RELYING_PARTY",
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/mapping/usb/{id}",
+                                    [
+                                       "Mapping.Modify"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/cluster/mapping/usb/{id}",
+                        "text" : "{id}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "List USB Hardware Mappings",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "check-node" : {
+                                 "description" : "If given, checks the configurations on the given node for correctness, and adds relevant errors to the devices.",
+                                 "format" : "pve-node",
                                  "optional" : 1,
-                                 "type" : "string"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "Only lists entries where you have 'Mapping.Modify', 'Mapping.Use' or 'Mapping.Audit' permissions on '/mapping/usb/<id>'.",
+                           "user" : "all"
+                        },
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "description" : {
+                                    "description" : "A description of the logical mapping.",
+                                    "type" : "string"
+                                 },
+                                 "error" : {
+                                    "description" : "A list of errors when 'check_node' is given.",
+                                    "items" : {
+                                       "properties" : {
+                                          "message" : {
+                                             "description" : "The message of the error",
+                                             "type" : "string"
+                                          },
+                                          "severity" : {
+                                             "description" : "The severity of the error",
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "id" : {
+                                    "description" : "The logical ID of the mapping.",
+                                    "type" : "string"
+                                 },
+                                 "map" : {
+                                    "description" : "The entries of the mapping.",
+                                    "items" : {
+                                       "description" : "A mapping for a node.",
+                                       "type" : "string"
+                                    },
+                                    "type" : "array"
+                                 }
+                              },
+                              "type" : "object"
                            },
-                           "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "[allow-subdomains=<1|0>] [,id=<DOMAINNAME>] [,origin=<URL>] [,rp=<RELYING_PARTY>]"
+                           "links" : [
+                              {
+                                 "href" : "{id}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create a new hardware mapping.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "description" : {
+                                 "description" : "Description of the logical USB device.",
+                                 "maxLength" : 4096,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "id" : {
+                                 "description" : "The ID of the logical USB mapping.",
+                                 "format" : "pve-configid",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "map" : {
+                                 "description" : "A list of maps for the cluster nodes.",
+                                 "items" : {
+                                    "format" : {
+                                       "description" : {
+                                          "description" : "Description of the node specific device.",
+                                          "maxLength" : 4096,
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "id" : {
+                                          "description" : "The vendor and device ID that is expected. If a USB path is given, it is only used for detecting hardware changes",
+                                          "pattern" : "(?^:^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$)",
+                                          "type" : "string"
+                                       },
+                                       "node" : {
+                                          "description" : "The cluster node name.",
+                                          "format" : "pve-node",
+                                          "type" : "string"
+                                       },
+                                       "path" : {
+                                          "description" : "The path to the usb device.",
+                                          "optional" : 1,
+                                          "pattern" : "(?^:^(\\d+)\\-(\\d+(\\.\\d+)*)$)",
+                                          "type" : "string"
+                                       }
+                                    },
+                                    "type" : "string"
+                                 },
+                                 "type" : "array",
+                                 "typetext" : "<array>"
+                              }
+                           },
+                           "type" : "object"
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/mapping/usb",
+                              [
+                                 "Mapping.Modify"
+                              ]
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
                         }
                      }
                   },
-                  "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/",
-                        [
-                           "Sys.Modify"
-                        ]
-                     ]
-                  },
-                  "protected" : 1,
-                  "returns" : {
-                     "type" : "null"
-                  }
+                  "leaf" : 0,
+                  "path" : "/cluster/mapping/usb",
+                  "text" : "usb"
                }
-            },
-            "leaf" : 1,
-            "path" : "/cluster/options",
-            "text" : "options"
-         },
-         {
+            ],
             "info" : {
                "GET" : {
                   "allowtoken" : 1,
-                  "description" : "Get cluster status information.",
+                  "description" : "List resource types.",
                   "method" : "GET",
-                  "name" : "get_status",
+                  "name" : "index",
                   "parameters" : {
                      "additionalProperties" : 0
                   },
                   "permissions" : {
-                     "check" : [
-                        "perm",
-                        "/",
-                        [
-                           "Sys.Audit"
-                        ]
-                     ]
+                     "user" : "all"
                   },
-                  "protected" : 1,
                   "returns" : {
                      "items" : {
-                        "properties" : {
-                           "id" : {
-                              "type" : "string"
-                           },
-                           "ip" : {
-                              "description" : "[node] IP of the resolved nodename.",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "level" : {
-                              "description" : "[node] Proxmox VE Subscription level, indicates if eligible for enterprise support as well as access to the stable Proxmox VE Enterprise Repository.",
-                              "optional" : 1,
-                              "type" : "string"
-                           },
-                           "local" : {
-                              "description" : "[node] Indicates if this is the responding node.",
-                              "optional" : 1,
-                              "type" : "boolean"
-                           },
-                           "name" : {
-                              "type" : "string"
-                           },
-                           "nodeid" : {
-                              "description" : "[node] ID of the node from the corosync configuration.",
-                              "optional" : 1,
-                              "type" : "integer"
-                           },
-                           "nodes" : {
-                              "description" : "[cluster] Nodes count, including offline nodes.",
-                              "optional" : 1,
-                              "type" : "integer"
-                           },
-                           "online" : {
-                              "description" : "[node] Indicates if the node is online or offline.",
-                              "optional" : 1,
-                              "type" : "boolean"
-                           },
-                           "quorate" : {
-                              "description" : "[cluster] Indicates if there is a majority of nodes online to make decisions",
-                              "optional" : 1,
-                              "type" : "boolean"
-                           },
-                           "type" : {
-                              "description" : "Indicates the type, either cluster or node. The type defines the object properties e.g. quorate available for type cluster.",
-                              "enum" : [
-                                 "cluster",
-                                 "node"
-                              ],
-                              "type" : "string"
-                           },
-                           "version" : {
-                              "description" : "[cluster] Current version of the corosync configuration file.",
-                              "optional" : 1,
-                              "type" : "integer"
-                           }
-                        },
                         "type" : "object"
                      },
+                     "links" : [
+                        {
+                           "href" : "{name}",
+                           "rel" : "child"
+                        }
+                     ],
                      "type" : "array"
                   }
                }
             },
-            "leaf" : 1,
-            "path" : "/cluster/status",
-            "text" : "status"
+            "leaf" : 0,
+            "path" : "/cluster/mapping",
+            "text" : "mapping"
          },
-         {
-            "info" : {
-               "GET" : {
-                  "allowtoken" : 1,
-                  "description" : "Get next free VMID. Pass a VMID to assert that its free (at time of check).",
-                  "method" : "GET",
-                  "name" : "nextid",
-                  "parameters" : {
-                     "additionalProperties" : 0,
-                     "properties" : {
-                        "vmid" : {
-                           "description" : "The (unique) ID of the VM.",
-                           "format" : "pve-vmid",
-                           "minimum" : 1,
-                           "optional" : 1,
-                           "type" : "integer",
-                           "typetext" : "<integer> (1 - N)"
-                        }
-                     }
-                  },
-                  "permissions" : {
-                     "user" : "all"
-                  },
-                  "returns" : {
-                     "description" : "The next free VMID.",
-                     "type" : "integer"
-                  }
-               }
-            },
-            "leaf" : 1,
-            "path" : "/cluster/nextid",
-            "text" : "nextid"
-         }
-      ],
-      "info" : {
-         "GET" : {
-            "allowtoken" : 1,
-            "description" : "Cluster index.",
-            "method" : "GET",
-            "name" : "index",
-            "parameters" : {
-               "additionalProperties" : 0
-            },
-            "permissions" : {
-               "user" : "all"
-            },
-            "returns" : {
-               "items" : {
-                  "properties" : {},
-                  "type" : "object"
-               },
-               "links" : [
-                  {
-                     "href" : "{name}",
-                     "rel" : "child"
-                  }
-               ],
-               "type" : "array"
-            }
-         }
-      },
-      "leaf" : 0,
-      "path" : "/cluster",
-      "text" : "cluster"
-   },
-   {
-      "children" : [
          {
             "children" : [
                {
@@ -9490,17415 +9904,11511 @@ const apiSchema = [
                            {
                               "children" : [
                                  {
-                                    "children" : [
-                                       {
-                                          "info" : {
-                                             "DELETE" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Delete rule.",
-                                                "method" : "DELETE",
-                                                "name" : "delete_rule",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "digest" : {
-                                                         "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                         "maxLength" : 40,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "pos" : {
-                                                         "description" : "Update rule at position <pos>.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
+                                    "info" : {
+                                       "DELETE" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Delete sdn subnet object configuration.",
+                                          "method" : "DELETE",
+                                          "name" : "delete",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "subnet" : {
+                                                   "description" : "The SDN subnet object identifier.",
+                                                   "format" : "pve-sdn-subnet-id",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
                                                 },
-                                                "protected" : 1,
-                                                "proxyto" : null,
-                                                "returns" : {
-                                                   "type" : "null"
+                                                "vnet" : {
+                                                   "description" : "The SDN vnet object identifier.",
+                                                   "format" : "pve-sdn-vnet-id",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
                                                 }
-                                             },
-                                             "GET" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Get single rule data.",
-                                                "method" : "GET",
-                                                "name" : "get_rule",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "pos" : {
-                                                         "description" : "Update rule at position <pos>.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "description" : "Require 'SDN.Allocate' permission on '/sdn/zones/<zone>/<vnet>'",
+                                             "user" : "all"
+                                          },
+                                          "protected" : 1,
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       },
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Read sdn subnet configuration.",
+                                          "method" : "GET",
+                                          "name" : "read",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "pending" : {
+                                                   "description" : "Display pending config.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Audit"
-                                                      ]
-                                                   ]
+                                                "running" : {
+                                                   "description" : "Display running config.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
                                                 },
-                                                "proxyto" : null,
-                                                "returns" : {
-                                                   "properties" : {
-                                                      "action" : {
-                                                         "type" : "string"
-                                                      },
-                                                      "comment" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "dest" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "dport" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "enable" : {
-                                                         "optional" : 1,
-                                                         "type" : "integer"
-                                                      },
-                                                      "icmp-type" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "iface" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "ipversion" : {
-                                                         "optional" : 1,
-                                                         "type" : "integer"
-                                                      },
-                                                      "log" : {
-                                                         "description" : "Log level for firewall rule",
-                                                         "enum" : [
-                                                            "emerg",
-                                                            "alert",
-                                                            "crit",
-                                                            "err",
-                                                            "warning",
-                                                            "notice",
-                                                            "info",
-                                                            "debug",
-                                                            "nolog"
-                                                         ],
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "macro" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "pos" : {
-                                                         "type" : "integer"
-                                                      },
-                                                      "proto" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "source" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "sport" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "type" : {
-                                                         "type" : "string"
-                                                      }
-                                                   },
-                                                   "type" : "object"
-                                                }
-                                             },
-                                             "PUT" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Modify rule data.",
-                                                "method" : "PUT",
-                                                "name" : "update_rule",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "action" : {
-                                                         "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
-                                                         "maxLength" : 20,
-                                                         "minLength" : 2,
-                                                         "optional" : 1,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "comment" : {
-                                                         "description" : "Descriptive comment.",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "delete" : {
-                                                         "description" : "A list of settings you want to delete.",
-                                                         "format" : "pve-configid-list",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "dest" : {
-                                                         "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                                         "format" : "pve-fw-addr-spec",
-                                                         "maxLength" : 512,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "digest" : {
-                                                         "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                         "maxLength" : 40,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "dport" : {
-                                                         "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                                         "format" : "pve-fw-dport-spec",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "enable" : {
-                                                         "description" : "Flag to enable/disable a rule.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "icmp-type" : {
-                                                         "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
-                                                         "format" : "pve-fw-icmp-type-spec",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "iface" : {
-                                                         "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
-                                                         "format" : "pve-iface",
-                                                         "maxLength" : 20,
-                                                         "minLength" : 2,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "log" : {
-                                                         "description" : "Log level for firewall rule.",
-                                                         "enum" : [
-                                                            "emerg",
-                                                            "alert",
-                                                            "crit",
-                                                            "err",
-                                                            "warning",
-                                                            "notice",
-                                                            "info",
-                                                            "debug",
-                                                            "nolog"
-                                                         ],
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "macro" : {
-                                                         "description" : "Use predefined standard macro.",
-                                                         "maxLength" : 128,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "moveto" : {
-                                                         "description" : "Move rule to new position <moveto>. Other arguments are ignored.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "pos" : {
-                                                         "description" : "Update rule at position <pos>.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "proto" : {
-                                                         "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
-                                                         "format" : "pve-fw-protocol-spec",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "source" : {
-                                                         "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                                         "format" : "pve-fw-addr-spec",
-                                                         "maxLength" : 512,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "sport" : {
-                                                         "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                                         "format" : "pve-fw-sport-spec",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "type" : {
-                                                         "description" : "Rule type.",
-                                                         "enum" : [
-                                                            "in",
-                                                            "out",
-                                                            "group"
-                                                         ],
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
-                                                },
-                                                "protected" : 1,
-                                                "proxyto" : null,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             }
-                                          },
-                                          "leaf" : 1,
-                                          "path" : "/nodes/{node}/qemu/{vmid}/firewall/rules/{pos}",
-                                          "text" : "{pos}"
-                                       }
-                                    ],
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "List rules.",
-                                          "method" : "GET",
-                                          "name" : "get_rules",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
+                                                "subnet" : {
+                                                   "description" : "The SDN subnet object identifier.",
+                                                   "format" : "pve-sdn-subnet-id",
                                                    "type" : "string",
                                                    "typetext" : "<string>"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
+                                                "vnet" : {
+                                                   "description" : "The SDN vnet object identifier.",
+                                                   "format" : "pve-sdn-vnet-id",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
                                                 }
                                              }
                                           },
                                           "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
+                                             "description" : "Require 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/zones/<zone>/<vnet>'",
+                                             "user" : "all"
                                           },
-                                          "proxyto" : null,
                                           "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "pos" : {
-                                                      "type" : "integer"
-                                                   }
-                                                },
-                                                "type" : "object"
-                                             },
-                                             "links" : [
-                                                {
-                                                   "href" : "{pos}",
-                                                   "rel" : "child"
-                                                }
-                                             ],
-                                             "type" : "array"
+                                             "type" : "object"
                                           }
                                        },
-                                       "POST" : {
+                                       "PUT" : {
                                           "allowtoken" : 1,
-                                          "description" : "Create new rule.",
-                                          "method" : "POST",
-                                          "name" : "create_rule",
+                                          "description" : "Update sdn subnet object configuration.",
+                                          "method" : "PUT",
+                                          "name" : "update",
                                           "parameters" : {
                                              "additionalProperties" : 0,
                                              "properties" : {
-                                                "action" : {
-                                                   "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
-                                                   "maxLength" : 20,
-                                                   "minLength" : 2,
-                                                   "optional" : 0,
-                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                   "type" : "string"
-                                                },
-                                                "comment" : {
-                                                   "description" : "Descriptive comment.",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "dest" : {
-                                                   "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                                   "format" : "pve-fw-addr-spec",
-                                                   "maxLength" : 512,
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "digest" : {
-                                                   "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                   "maxLength" : 40,
+                                                "delete" : {
+                                                   "description" : "A list of settings you want to delete.",
+                                                   "format" : "pve-configid-list",
+                                                   "maxLength" : 4096,
                                                    "optional" : 1,
                                                    "type" : "string",
                                                    "typetext" : "<string>"
                                                 },
-                                                "dport" : {
-                                                   "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                                   "format" : "pve-fw-dport-spec",
+                                                "dhcp-dns-server" : {
+                                                   "description" : "IP address for the DNS server",
+                                                   "format" : "ip",
                                                    "optional" : 1,
                                                    "type" : "string",
                                                    "typetext" : "<string>"
                                                 },
-                                                "enable" : {
-                                                   "description" : "Flag to enable/disable a rule.",
-                                                   "minimum" : 0,
+                                                "dhcp-range" : {
+                                                   "description" : "A list of DHCP ranges for this subnet",
+                                                   "items" : {
+                                                      "format" : "pve-sdn-dhcp-range",
+                                                      "type" : "string"
+                                                   },
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
+                                                   "type" : "array",
+                                                   "typetext" : "<array>"
                                                 },
-                                                "icmp-type" : {
-                                                   "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
-                                                   "format" : "pve-fw-icmp-type-spec",
+                                                "digest" : {
+                                                   "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                   "maxLength" : 64,
                                                    "optional" : 1,
                                                    "type" : "string",
                                                    "typetext" : "<string>"
                                                 },
-                                                "iface" : {
-                                                   "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
-                                                   "format" : "pve-iface",
-                                                   "maxLength" : 20,
-                                                   "minLength" : 2,
+                                                "dnszoneprefix" : {
+                                                   "description" : "dns domain zone prefix  ex: 'adm' -> <hostname>.adm.mydomain.com",
+                                                   "format" : "dns-name",
                                                    "optional" : 1,
                                                    "type" : "string",
                                                    "typetext" : "<string>"
                                                 },
-                                                "log" : {
-                                                   "description" : "Log level for firewall rule.",
-                                                   "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "macro" : {
-                                                   "description" : "Use predefined standard macro.",
-                                                   "maxLength" : 128,
+                                                "gateway" : {
+                                                   "description" : "Subnet Gateway: Will be assign on vnet for layer3 zones",
+                                                   "format" : "ip",
                                                    "optional" : 1,
                                                    "type" : "string",
                                                    "typetext" : "<string>"
                                                 },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "pos" : {
-                                                   "description" : "Update rule at position <pos>.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "proto" : {
-                                                   "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
-                                                   "format" : "pve-fw-protocol-spec",
+                                                "snat" : {
+                                                   "description" : "enable masquerade for this subnet if pve-firewall",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
                                                 },
-                                                "source" : {
-                                                   "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                                   "format" : "pve-fw-addr-spec",
-                                                   "maxLength" : 512,
-                                                   "optional" : 1,
+                                                "subnet" : {
+                                                   "description" : "The SDN subnet object identifier.",
+                                                   "format" : "pve-sdn-subnet-id",
                                                    "type" : "string",
                                                    "typetext" : "<string>"
                                                 },
-                                                "sport" : {
-                                                   "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                                   "format" : "pve-fw-sport-spec",
+                                                "vnet" : {
+                                                   "description" : "associated vnet",
                                                    "optional" : 1,
                                                    "type" : "string",
                                                    "typetext" : "<string>"
-                                                },
-                                                "type" : {
-                                                   "description" : "Rule type.",
-                                                   "enum" : [
-                                                      "in",
-                                                      "out",
-                                                      "group"
-                                                   ],
-                                                   "optional" : 0,
-                                                   "type" : "string"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
                                                 }
-                                             }
+                                             },
+                                             "type" : "object"
                                           },
                                           "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Config.Network"
-                                                ]
-                                             ]
+                                             "description" : "Require 'SDN.Allocate' permission on '/sdn/zones/<zone>/<vnet>'",
+                                             "user" : "all"
                                           },
                                           "protected" : 1,
-                                          "proxyto" : null,
                                           "returns" : {
                                              "type" : "null"
                                           }
                                        }
                                     },
-                                    "leaf" : 0,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/rules",
-                                    "text" : "rules"
+                                    "leaf" : 1,
+                                    "path" : "/cluster/sdn/vnets/{vnet}/subnets/{subnet}",
+                                    "text" : "{subnet}"
+                                 }
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "SDN subnets index.",
+                                    "method" : "GET",
+                                    "name" : "index",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "pending" : {
+                                             "description" : "Display pending config.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "running" : {
+                                             "description" : "Display running config.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "vnet" : {
+                                             "description" : "The SDN vnet object identifier.",
+                                             "format" : "pve-sdn-vnet-id",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/zones/<zone>/<vnet>'",
+                                       "user" : "all"
+                                    },
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {},
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{subnet}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
+                                    }
                                  },
-                                 {
-                                    "children" : [
-                                       {
-                                          "info" : {
-                                             "DELETE" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Remove IP or Network alias.",
-                                                "method" : "DELETE",
-                                                "name" : "remove_alias",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "digest" : {
-                                                         "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                         "maxLength" : 40,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "Alias name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
-                                                },
-                                                "protected" : 1,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             },
-                                             "GET" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Read alias.",
-                                                "method" : "GET",
-                                                "name" : "read_alias",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "name" : {
-                                                         "description" : "Alias name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Audit"
-                                                      ]
-                                                   ]
-                                                },
-                                                "returns" : {
-                                                   "type" : "object"
-                                                }
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create a new sdn subnet object.",
+                                    "method" : "POST",
+                                    "name" : "create",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "dhcp-dns-server" : {
+                                             "description" : "IP address for the DNS server",
+                                             "format" : "ip",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "dhcp-range" : {
+                                             "description" : "A list of DHCP ranges for this subnet",
+                                             "items" : {
+                                                "format" : "pve-sdn-dhcp-range",
+                                                "type" : "string"
                                              },
-                                             "PUT" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Update IP or Network alias.",
-                                                "method" : "PUT",
-                                                "name" : "update_alias",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "cidr" : {
-                                                         "description" : "Network/IP specification in CIDR format.",
-                                                         "format" : "IPorCIDR",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "comment" : {
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "digest" : {
-                                                         "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                         "maxLength" : 40,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "Alias name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "rename" : {
-                                                         "description" : "Rename an existing alias.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "optional" : 1,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
-                                                },
-                                                "protected" : 1,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             }
+                                             "optional" : 1,
+                                             "type" : "array",
+                                             "typetext" : "<array>"
                                           },
-                                          "leaf" : 1,
-                                          "path" : "/nodes/{node}/qemu/{vmid}/firewall/aliases/{name}",
-                                          "text" : "{name}"
-                                       }
-                                    ],
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "List aliases",
-                                          "method" : "GET",
-                                          "name" : "get_aliases",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
+                                          "dnszoneprefix" : {
+                                             "description" : "dns domain zone prefix  ex: 'adm' -> <hostname>.adm.mydomain.com",
+                                             "format" : "dns-name",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
+                                          "gateway" : {
+                                             "description" : "Subnet Gateway: Will be assign on vnet for layer3 zones",
+                                             "format" : "ip",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "cidr" : {
-                                                      "type" : "string"
-                                                   },
-                                                   "comment" : {
-                                                      "optional" : 1,
-                                                      "type" : "string"
-                                                   },
-                                                   "digest" : {
-                                                      "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                      "maxLength" : 40,
-                                                      "optional" : 0,
-                                                      "type" : "string"
-                                                   },
-                                                   "name" : {
-                                                      "type" : "string"
-                                                   }
-                                                },
-                                                "type" : "object"
-                                             },
-                                             "links" : [
-                                                {
-                                                   "href" : "{name}",
-                                                   "rel" : "child"
-                                                }
+                                          "snat" : {
+                                             "description" : "enable masquerade for this subnet if pve-firewall",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "subnet" : {
+                                             "description" : "The SDN subnet object identifier.",
+                                             "format" : "pve-sdn-subnet-id",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "type" : {
+                                             "enum" : [
+                                                "subnet"
                                              ],
-                                             "type" : "array"
+                                             "type" : "string"
+                                          },
+                                          "vnet" : {
+                                             "description" : "associated vnet",
+                                             "optional" : 0,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           }
                                        },
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Create IP or Network Alias.",
-                                          "method" : "POST",
-                                          "name" : "create_alias",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "cidr" : {
-                                                   "description" : "Network/IP specification in CIDR format.",
-                                                   "format" : "IPorCIDR",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "comment" : {
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "name" : {
-                                                   "description" : "Alias name.",
-                                                   "maxLength" : 64,
-                                                   "minLength" : 2,
-                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                   "type" : "string"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
+                                       "type" : "object"
+                                    },
+                                    "permissions" : {
+                                       "description" : "Require 'SDN.Allocate' permission on '/sdn/zones/<zone>/<vnet>'",
+                                       "user" : "all"
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/cluster/sdn/vnets/{vnet}/subnets",
+                              "text" : "subnets"
+                           },
+                           {
+                              "info" : {
+                                 "DELETE" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Delete IP Mappings in a VNet",
+                                    "method" : "DELETE",
+                                    "name" : "ipdelete",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "ip" : {
+                                             "description" : "The IP address to delete",
+                                             "format" : "ip",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Config.Network"
-                                                ]
-                                             ]
+                                          "mac" : {
+                                             "description" : "Unicast MAC address.",
+                                             "format" : "mac-addr",
+                                             "format_description" : "XX:XX:XX:XX:XX:XX",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<XX:XX:XX:XX:XX:XX>",
+                                             "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
                                           },
-                                          "protected" : 1,
-                                          "returns" : {
-                                             "type" : "null"
+                                          "vnet" : {
+                                             "description" : "The SDN vnet object identifier.",
+                                             "format" : "pve-sdn-vnet-id",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "zone" : {
+                                             "description" : "The SDN zone object identifier.",
+                                             "format" : "pve-sdn-zone-id",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           }
                                        }
                                     },
-                                    "leaf" : 0,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/aliases",
-                                    "text" : "aliases"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/sdn/zones/{zone}/{vnet}",
+                                          [
+                                             "SDN.Allocate"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
                                  },
-                                 {
-                                    "children" : [
-                                       {
-                                          "children" : [
-                                             {
-                                                "info" : {
-                                                   "DELETE" : {
-                                                      "allowtoken" : 1,
-                                                      "description" : "Remove IP or Network from IPSet.",
-                                                      "method" : "DELETE",
-                                                      "name" : "remove_ip",
-                                                      "parameters" : {
-                                                         "additionalProperties" : 0,
-                                                         "properties" : {
-                                                            "cidr" : {
-                                                               "description" : "Network/IP specification in CIDR format.",
-                                                               "format" : "IPorCIDRorAlias",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "digest" : {
-                                                               "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                               "maxLength" : 40,
-                                                               "optional" : 1,
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "name" : {
-                                                               "description" : "IP set name.",
-                                                               "maxLength" : 64,
-                                                               "minLength" : 2,
-                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                               "type" : "string"
-                                                            },
-                                                            "node" : {
-                                                               "description" : "The cluster node name.",
-                                                               "format" : "pve-node",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "vmid" : {
-                                                               "description" : "The (unique) ID of the VM.",
-                                                               "format" : "pve-vmid",
-                                                               "minimum" : 1,
-                                                               "type" : "integer",
-                                                               "typetext" : "<integer> (1 - N)"
-                                                            }
-                                                         }
-                                                      },
-                                                      "permissions" : {
-                                                         "check" : [
-                                                            "perm",
-                                                            "/vms/{vmid}",
-                                                            [
-                                                               "VM.Config.Network"
-                                                            ]
-                                                         ]
-                                                      },
-                                                      "protected" : 1,
-                                                      "returns" : {
-                                                         "type" : "null"
-                                                      }
-                                                   },
-                                                   "GET" : {
-                                                      "allowtoken" : 1,
-                                                      "description" : "Read IP or Network settings from IPSet.",
-                                                      "method" : "GET",
-                                                      "name" : "read_ip",
-                                                      "parameters" : {
-                                                         "additionalProperties" : 0,
-                                                         "properties" : {
-                                                            "cidr" : {
-                                                               "description" : "Network/IP specification in CIDR format.",
-                                                               "format" : "IPorCIDRorAlias",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "name" : {
-                                                               "description" : "IP set name.",
-                                                               "maxLength" : 64,
-                                                               "minLength" : 2,
-                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                               "type" : "string"
-                                                            },
-                                                            "node" : {
-                                                               "description" : "The cluster node name.",
-                                                               "format" : "pve-node",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "vmid" : {
-                                                               "description" : "The (unique) ID of the VM.",
-                                                               "format" : "pve-vmid",
-                                                               "minimum" : 1,
-                                                               "type" : "integer",
-                                                               "typetext" : "<integer> (1 - N)"
-                                                            }
-                                                         }
-                                                      },
-                                                      "permissions" : {
-                                                         "check" : [
-                                                            "perm",
-                                                            "/vms/{vmid}",
-                                                            [
-                                                               "VM.Audit"
-                                                            ]
-                                                         ]
-                                                      },
-                                                      "protected" : 1,
-                                                      "returns" : {
-                                                         "type" : "object"
-                                                      }
-                                                   },
-                                                   "PUT" : {
-                                                      "allowtoken" : 1,
-                                                      "description" : "Update IP or Network settings",
-                                                      "method" : "PUT",
-                                                      "name" : "update_ip",
-                                                      "parameters" : {
-                                                         "additionalProperties" : 0,
-                                                         "properties" : {
-                                                            "cidr" : {
-                                                               "description" : "Network/IP specification in CIDR format.",
-                                                               "format" : "IPorCIDRorAlias",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "comment" : {
-                                                               "optional" : 1,
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "digest" : {
-                                                               "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                               "maxLength" : 40,
-                                                               "optional" : 1,
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "name" : {
-                                                               "description" : "IP set name.",
-                                                               "maxLength" : 64,
-                                                               "minLength" : 2,
-                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                               "type" : "string"
-                                                            },
-                                                            "node" : {
-                                                               "description" : "The cluster node name.",
-                                                               "format" : "pve-node",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "nomatch" : {
-                                                               "optional" : 1,
-                                                               "type" : "boolean",
-                                                               "typetext" : "<boolean>"
-                                                            },
-                                                            "vmid" : {
-                                                               "description" : "The (unique) ID of the VM.",
-                                                               "format" : "pve-vmid",
-                                                               "minimum" : 1,
-                                                               "type" : "integer",
-                                                               "typetext" : "<integer> (1 - N)"
-                                                            }
-                                                         }
-                                                      },
-                                                      "permissions" : {
-                                                         "check" : [
-                                                            "perm",
-                                                            "/vms/{vmid}",
-                                                            [
-                                                               "VM.Config.Network"
-                                                            ]
-                                                         ]
-                                                      },
-                                                      "protected" : 1,
-                                                      "returns" : {
-                                                         "type" : "null"
-                                                      }
-                                                   }
-                                                },
-                                                "leaf" : 1,
-                                                "path" : "/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr}",
-                                                "text" : "{cidr}"
-                                             }
-                                          ],
-                                          "info" : {
-                                             "DELETE" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Delete IPSet",
-                                                "method" : "DELETE",
-                                                "name" : "delete_ipset",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "force" : {
-                                                         "description" : "Delete all members of the IPSet, if there are any.",
-                                                         "optional" : 1,
-                                                         "type" : "boolean",
-                                                         "typetext" : "<boolean>"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "IP set name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
-                                                },
-                                                "protected" : 1,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             },
-                                             "GET" : {
-                                                "allowtoken" : 1,
-                                                "description" : "List IPSet content",
-                                                "method" : "GET",
-                                                "name" : "get_ipset",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "name" : {
-                                                         "description" : "IP set name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Audit"
-                                                      ]
-                                                   ]
-                                                },
-                                                "returns" : {
-                                                   "items" : {
-                                                      "properties" : {
-                                                         "cidr" : {
-                                                            "type" : "string"
-                                                         },
-                                                         "comment" : {
-                                                            "optional" : 1,
-                                                            "type" : "string"
-                                                         },
-                                                         "digest" : {
-                                                            "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                            "maxLength" : 40,
-                                                            "optional" : 0,
-                                                            "type" : "string"
-                                                         },
-                                                         "nomatch" : {
-                                                            "optional" : 1,
-                                                            "type" : "boolean"
-                                                         }
-                                                      },
-                                                      "type" : "object"
-                                                   },
-                                                   "links" : [
-                                                      {
-                                                         "href" : "{cidr}",
-                                                         "rel" : "child"
-                                                      }
-                                                   ],
-                                                   "type" : "array"
-                                                }
-                                             },
-                                             "POST" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Add IP or Network to IPSet.",
-                                                "method" : "POST",
-                                                "name" : "create_ip",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "cidr" : {
-                                                         "description" : "Network/IP specification in CIDR format.",
-                                                         "format" : "IPorCIDRorAlias",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "comment" : {
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "IP set name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "nomatch" : {
-                                                         "optional" : 1,
-                                                         "type" : "boolean",
-                                                         "typetext" : "<boolean>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
-                                                },
-                                                "protected" : 1,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             }
-                                          },
-                                          "leaf" : 0,
-                                          "path" : "/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}",
-                                          "text" : "{name}"
-                                       }
-                                    ],
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "List IPSets",
-                                          "method" : "GET",
-                                          "name" : "ipset_index",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create IP Mapping in a VNet",
+                                    "method" : "POST",
+                                    "name" : "ipcreate",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "ip" : {
+                                             "description" : "The IP address to associate with the given MAC address",
+                                             "format" : "ip",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "comment" : {
-                                                      "optional" : 1,
-                                                      "type" : "string"
-                                                   },
-                                                   "digest" : {
-                                                      "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                      "maxLength" : 40,
-                                                      "optional" : 0,
-                                                      "type" : "string"
-                                                   },
-                                                   "name" : {
-                                                      "description" : "IP set name.",
-                                                      "maxLength" : 64,
-                                                      "minLength" : 2,
-                                                      "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                      "type" : "string"
-                                                   }
-                                                },
-                                                "type" : "object"
-                                             },
-                                             "links" : [
-                                                {
-                                                   "href" : "{name}",
-                                                   "rel" : "child"
-                                                }
-                                             ],
-                                             "type" : "array"
-                                          }
-                                       },
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Create new IPSet",
-                                          "method" : "POST",
-                                          "name" : "create_ipset",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "comment" : {
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "digest" : {
-                                                   "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                   "maxLength" : 40,
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "name" : {
-                                                   "description" : "IP set name.",
-                                                   "maxLength" : 64,
-                                                   "minLength" : 2,
-                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                   "type" : "string"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "rename" : {
-                                                   "description" : "Rename an existing IPSet. You can set 'rename' to the same value as 'name' to update the 'comment' of an existing IPSet.",
-                                                   "maxLength" : 64,
-                                                   "minLength" : 2,
-                                                   "optional" : 1,
-                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                   "type" : "string"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
+                                          "mac" : {
+                                             "description" : "Unicast MAC address.",
+                                             "format" : "mac-addr",
+                                             "format_description" : "XX:XX:XX:XX:XX:XX",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<XX:XX:XX:XX:XX:XX>",
+                                             "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
                                           },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Config.Network"
-                                                ]
-                                             ]
+                                          "vnet" : {
+                                             "description" : "The SDN vnet object identifier.",
+                                             "format" : "pve-sdn-vnet-id",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "protected" : 1,
-                                          "returns" : {
-                                             "type" : "null"
+                                          "zone" : {
+                                             "description" : "The SDN zone object identifier.",
+                                             "format" : "pve-sdn-zone-id",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           }
                                        }
                                     },
-                                    "leaf" : 0,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/ipset",
-                                    "text" : "ipset"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/sdn/zones/{zone}/{vnet}",
+                                          [
+                                             "SDN.Allocate"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
                                  },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Get VM firewall options.",
-                                          "method" : "GET",
-                                          "name" : "get_options",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Update IP Mapping in a VNet",
+                                    "method" : "PUT",
+                                    "name" : "ipupdate",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "ip" : {
+                                             "description" : "The IP address to associate with the given MAC address",
+                                             "format" : "ip",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
+                                          "mac" : {
+                                             "description" : "Unicast MAC address.",
+                                             "format" : "mac-addr",
+                                             "format_description" : "XX:XX:XX:XX:XX:XX",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<XX:XX:XX:XX:XX:XX>",
+                                             "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
                                           },
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "dhcp" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable DHCP.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "enable" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable/disable firewall rules.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ipfilter" : {
-                                                   "description" : "Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface's MAC address. For containers the configured IP addresses will be implicitly added.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "log_level_in" : {
-                                                   "description" : "Log level for incoming traffic.",
-                                                   "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "log_level_out" : {
-                                                   "description" : "Log level for outgoing traffic.",
-                                                   "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "macfilter" : {
-                                                   "default" : 1,
-                                                   "description" : "Enable/disable MAC address filter.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ndp" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable NDP (Neighbor Discovery Protocol).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "policy_in" : {
-                                                   "description" : "Input policy.",
-                                                   "enum" : [
-                                                      "ACCEPT",
-                                                      "REJECT",
-                                                      "DROP"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "policy_out" : {
-                                                   "description" : "Output policy.",
-                                                   "enum" : [
-                                                      "ACCEPT",
-                                                      "REJECT",
-                                                      "DROP"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "radv" : {
-                                                   "description" : "Allow sending Router Advertisement.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       },
-                                       "PUT" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Set Firewall options.",
-                                          "method" : "PUT",
-                                          "name" : "set_options",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "delete" : {
-                                                   "description" : "A list of settings you want to delete.",
-                                                   "format" : "pve-configid-list",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "dhcp" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable DHCP.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "digest" : {
-                                                   "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                   "maxLength" : 40,
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "enable" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable/disable firewall rules.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "ipfilter" : {
-                                                   "description" : "Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface's MAC address. For containers the configured IP addresses will be implicitly added.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "log_level_in" : {
-                                                   "description" : "Log level for incoming traffic.",
-                                                   "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "log_level_out" : {
-                                                   "description" : "Log level for outgoing traffic.",
-                                                   "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "macfilter" : {
-                                                   "default" : 1,
-                                                   "description" : "Enable/disable MAC address filter.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "ndp" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable NDP (Neighbor Discovery Protocol).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "policy_in" : {
-                                                   "description" : "Input policy.",
-                                                   "enum" : [
-                                                      "ACCEPT",
-                                                      "REJECT",
-                                                      "DROP"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "policy_out" : {
-                                                   "description" : "Output policy.",
-                                                   "enum" : [
-                                                      "ACCEPT",
-                                                      "REJECT",
-                                                      "DROP"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "radv" : {
-                                                   "description" : "Allow sending Router Advertisement.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Config.Network"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/options",
-                                    "text" : "options"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Read firewall log",
-                                          "method" : "GET",
-                                          "name" : "log",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "limit" : {
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "since" : {
-                                                   "description" : "Display log since this UNIX epoch.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "start" : {
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "until" : {
-                                                   "description" : "Display log until this UNIX epoch.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Console"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "n" : {
-                                                      "description" : "Line number",
-                                                      "type" : "integer"
-                                                   },
-                                                   "t" : {
-                                                      "description" : "Line text",
-                                                      "type" : "string"
-                                                   }
-                                                },
-                                                "type" : "object"
-                                             },
-                                             "type" : "array"
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "vnet" : {
+                                             "description" : "The SDN vnet object identifier.",
+                                             "format" : "pve-sdn-vnet-id",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "zone" : {
+                                             "description" : "The SDN zone object identifier.",
+                                             "format" : "pve-sdn-zone-id",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           }
                                        }
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/log",
-                                    "text" : "log"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Lists possible IPSet/Alias reference which are allowed in source/dest properties.",
-                                          "method" : "GET",
-                                          "name" : "refs",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "type" : {
-                                                   "description" : "Only list references of specified type.",
-                                                   "enum" : [
-                                                      "alias",
-                                                      "ipset"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
-                                          },
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "comment" : {
-                                                      "optional" : 1,
-                                                      "type" : "string"
-                                                   },
-                                                   "name" : {
-                                                      "type" : "string"
-                                                   },
-                                                   "type" : {
-                                                      "enum" : [
-                                                         "alias",
-                                                         "ipset"
-                                                      ],
-                                                      "type" : "string"
-                                                   }
-                                                },
-                                                "type" : "object"
-                                             },
-                                             "type" : "array"
-                                          }
-                                       }
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/sdn/zones/{zone}/{vnet}",
+                                          [
+                                             "SDN.Allocate"
+                                          ]
+                                       ]
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/refs",
-                                    "text" : "refs"
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
                                  }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Directory index.",
-                                    "method" : "GET",
-                                    "name" : "index",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
+                              },
+                              "leaf" : 1,
+                              "path" : "/cluster/sdn/vnets/{vnet}/ips",
+                              "text" : "ips"
+                           }
+                        ],
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete sdn vnet object configuration.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "vnet" : {
+                                       "description" : "The SDN vnet object identifier.",
+                                       "format" : "pve-sdn-vnet-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "description" : "Require 'SDN.Allocate' permission on '/sdn/zones/<zone>/<vnet>'",
+                                 "user" : "all"
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Read sdn vnet configuration.",
+                              "method" : "GET",
+                              "name" : "read",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "pending" : {
+                                       "description" : "Display pending config.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "permissions" : {
-                                       "user" : "all"
+                                    "running" : {
+                                       "description" : "Display running config.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {},
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{name}",
-                                             "rel" : "child"
-                                          }
-                                       ],
-                                       "type" : "array"
+                                    "vnet" : {
+                                       "description" : "The SDN vnet object identifier.",
+                                       "format" : "pve-sdn-vnet-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
                                  }
                               },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/qemu/{vmid}/firewall",
-                              "text" : "firewall"
+                              "permissions" : {
+                                 "description" : "Require 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/zones/<zone>/<vnet>'",
+                                 "user" : "all"
+                              },
+                              "returns" : {
+                                 "type" : "object"
+                              }
                            },
-                           {
-                              "children" : [
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute fsfreeze-freeze.",
-                                          "method" : "POST",
-                                          "name" : "fsfreeze-freeze",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update sdn vnet object configuration.",
+                              "method" : "PUT",
+                              "name" : "update",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "alias" : {
+                                       "description" : "alias name of the vnet",
+                                       "maxLength" : 256,
+                                       "optional" : 1,
+                                       "pattern" : "(?^i:[\\(\\)-_.\\w\\d\\s]{0,256})",
+                                       "type" : "string"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/fsfreeze-freeze",
-                                    "text" : "fsfreeze-freeze"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute fsfreeze-status.",
-                                          "method" : "POST",
-                                          "name" : "fsfreeze-status",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/fsfreeze-status",
-                                    "text" : "fsfreeze-status"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute fsfreeze-thaw.",
-                                          "method" : "POST",
-                                          "name" : "fsfreeze-thaw",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/fsfreeze-thaw",
-                                    "text" : "fsfreeze-thaw"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute fstrim.",
-                                          "method" : "POST",
-                                          "name" : "fstrim",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "tag" : {
+                                       "description" : "vlan or vxlan id",
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/fstrim",
-                                    "text" : "fstrim"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-fsinfo.",
-                                          "method" : "GET",
-                                          "name" : "get-fsinfo",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "vlanaware" : {
+                                       "description" : "Allow vm VLANs to pass through this vnet.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-fsinfo",
-                                    "text" : "get-fsinfo"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-host-name.",
-                                          "method" : "GET",
-                                          "name" : "get-host-name",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "vnet" : {
+                                       "description" : "The SDN vnet object identifier.",
+                                       "format" : "pve-sdn-vnet-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-host-name",
-                                    "text" : "get-host-name"
+                                    "zone" : {
+                                       "description" : "zone id",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
                                  },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-memory-block-info.",
-                                          "method" : "GET",
-                                          "name" : "get-memory-block-info",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                 "type" : "object"
+                              },
+                              "permissions" : {
+                                 "description" : "Require 'SDN.Allocate' permission on '/sdn/zones/<zone>/<vnet>'",
+                                 "user" : "all"
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 0,
+                        "path" : "/cluster/sdn/vnets/{vnet}",
+                        "text" : "{vnet}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "SDN vnets index.",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "pending" : {
+                                 "description" : "Display pending config.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "running" : {
+                                 "description" : "Display running config.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/zones/<zone>/<vnet>'",
+                           "user" : "all"
+                        },
+                        "returns" : {
+                           "items" : {
+                              "properties" : {},
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{vnet}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create a new sdn vnet object.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "alias" : {
+                                 "description" : "alias name of the vnet",
+                                 "maxLength" : 256,
+                                 "optional" : 1,
+                                 "pattern" : "(?^i:[\\(\\)-_.\\w\\d\\s]{0,256})",
+                                 "type" : "string"
+                              },
+                              "tag" : {
+                                 "description" : "vlan or vxlan id",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "type" : {
+                                 "description" : "Type",
+                                 "enum" : [
+                                    "vnet"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "vlanaware" : {
+                                 "description" : "Allow vm VLANs to pass through this vnet.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "vnet" : {
+                                 "description" : "The SDN vnet object identifier.",
+                                 "format" : "pve-sdn-vnet-id",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "zone" : {
+                                 "description" : "zone id",
+                                 "optional" : 0,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           },
+                           "type" : "object"
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/sdn/zones/{zone}",
+                              [
+                                 "SDN.Allocate"
+                              ]
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/sdn/vnets",
+                  "text" : "vnets"
+               },
+               {
+                  "children" : [
+                     {
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete sdn zone object configuration.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "zone" : {
+                                       "description" : "The SDN zone object identifier.",
+                                       "format" : "pve-sdn-zone-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/zones/{zone}",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Read sdn zone configuration.",
+                              "method" : "GET",
+                              "name" : "read",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "pending" : {
+                                       "description" : "Display pending config.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-memory-block-info",
-                                    "text" : "get-memory-block-info"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-memory-blocks.",
-                                          "method" : "GET",
-                                          "name" : "get-memory-blocks",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "running" : {
+                                       "description" : "Display running config.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-memory-blocks",
-                                    "text" : "get-memory-blocks"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-osinfo.",
-                                          "method" : "GET",
-                                          "name" : "get-osinfo",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "zone" : {
+                                       "description" : "The SDN zone object identifier.",
+                                       "format" : "pve-sdn-zone-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/zones/{zone}",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "returns" : {
+                                 "type" : "object"
+                              }
+                           },
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update sdn zone object configuration.",
+                              "method" : "PUT",
+                              "name" : "update",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "advertise-subnets" : {
+                                       "description" : "Advertise evpn subnets if you have silent hosts",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-osinfo",
-                                    "text" : "get-osinfo"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-time.",
-                                          "method" : "GET",
-                                          "name" : "get-time",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "bridge" : {
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-time",
-                                    "text" : "get-time"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-timezone.",
-                                          "method" : "GET",
-                                          "name" : "get-timezone",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "bridge-disable-mac-learning" : {
+                                       "description" : "Disable auto mac learning.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-timezone",
-                                    "text" : "get-timezone"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-users.",
-                                          "method" : "GET",
-                                          "name" : "get-users",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "controller" : {
+                                       "description" : "Frr router name",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-users",
-                                    "text" : "get-users"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute get-vcpus.",
-                                          "method" : "GET",
-                                          "name" : "get-vcpus",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-vcpus",
-                                    "text" : "get-vcpus"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute info.",
-                                          "method" : "GET",
-                                          "name" : "info",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "dhcp" : {
+                                       "description" : "Type of the DHCP backend for this zone",
+                                       "enum" : [
+                                          "dnsmasq"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/info",
-                                    "text" : "info"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute network-get-interfaces.",
-                                          "method" : "GET",
-                                          "name" : "network-get-interfaces",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/network-get-interfaces",
-                                    "text" : "network-get-interfaces"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute ping.",
-                                          "method" : "POST",
-                                          "name" : "ping",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "disable-arp-nd-suppression" : {
+                                       "description" : "Disable ipv4 arp && ipv6 neighbour discovery suppression",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/ping",
-                                    "text" : "ping"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute shutdown.",
-                                          "method" : "POST",
-                                          "name" : "shutdown",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "dns" : {
+                                       "description" : "dns api server",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/shutdown",
-                                    "text" : "shutdown"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute suspend-disk.",
-                                          "method" : "POST",
-                                          "name" : "suspend-disk",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "dnszone" : {
+                                       "description" : "dns domain zone  ex: mydomain.com",
+                                       "format" : "dns-name",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/suspend-disk",
-                                    "text" : "suspend-disk"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute suspend-hybrid.",
-                                          "method" : "POST",
-                                          "name" : "suspend-hybrid",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "dp-id" : {
+                                       "description" : "Faucet dataplane id",
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/suspend-hybrid",
-                                    "text" : "suspend-hybrid"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Execute suspend-ram.",
-                                          "method" : "POST",
-                                          "name" : "suspend-ram",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "exitnodes" : {
+                                       "description" : "List of cluster node names.",
+                                       "format" : "pve-node-list",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/suspend-ram",
-                                    "text" : "suspend-ram"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Sets the password for the given user to the given password",
-                                          "method" : "POST",
-                                          "name" : "set-user-password",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "crypted" : {
-                                                   "default" : 0,
-                                                   "description" : "set to 1 if the password has already been passed through crypt()",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "password" : {
-                                                   "description" : "The new password.",
-                                                   "maxLength" : 1024,
-                                                   "minLength" : 5,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "username" : {
-                                                   "description" : "The user to set the password for.",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a single `result` property.",
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "exitnodes-local-routing" : {
+                                       "description" : "Allow exitnodes to connect to evpn guests",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/set-user-password",
-                                    "text" : "set-user-password"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Executes the given command in the vm via the guest-agent and returns an object with the pid.",
-                                          "method" : "POST",
-                                          "name" : "exec",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "command" : {
-                                                   "description" : "The command as a list of program + arguments",
-                                                   "format" : "string-alist",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "input-data" : {
-                                                   "description" : "Data to pass as 'input-data' to the guest. Usually treated as STDIN to 'command'.",
-                                                   "maxLength" : 65536,
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "pid" : {
-                                                   "description" : "The PID of the process started by the guest-agent.",
-                                                   "type" : "integer"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "exitnodes-primary" : {
+                                       "description" : "Force traffic to this exitnode first.",
+                                       "format" : "pve-node",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/exec",
-                                    "text" : "exec"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Gets the status of the given pid started by the guest-agent",
-                                          "method" : "GET",
-                                          "name" : "exec-status",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "pid" : {
-                                                   "description" : "The PID to query",
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "err-data" : {
-                                                   "description" : "stderr of the process",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "err-truncated" : {
-                                                   "description" : "true if stderr was not fully captured",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "exitcode" : {
-                                                   "description" : "process exit code if it was normally terminated.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "exited" : {
-                                                   "description" : "Tells if the given command has exited yet.",
-                                                   "type" : "boolean"
-                                                },
-                                                "out-data" : {
-                                                   "description" : "stdout of the process",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "out-truncated" : {
-                                                   "description" : "true if stdout was not fully captured",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "signal" : {
-                                                   "description" : "signal number or exception code if the process was abnormally terminated.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "ipam" : {
+                                       "description" : "use a specific ipam",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/exec-status",
-                                    "text" : "exec-status"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Reads the given file via guest agent. Is limited to 16777216 bytes.",
-                                          "method" : "GET",
-                                          "name" : "file-read",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "file" : {
-                                                   "description" : "The path to the file",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "Returns an object with a `content` property.",
-                                             "properties" : {
-                                                "content" : {
-                                                   "description" : "The content of the file, maximum 16777216",
-                                                   "type" : "string"
-                                                },
-                                                "truncated" : {
-                                                   "description" : "If set to 1, the output is truncated and not complete",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       }
+                                    "mac" : {
+                                       "description" : "Anycast logical router mac address",
+                                       "format" : "mac-addr",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/file-read",
-                                    "text" : "file-read"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Writes the given file via guest agent.",
-                                          "method" : "POST",
-                                          "name" : "file-write",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "content" : {
-                                                   "description" : "The content to write into the file.",
-                                                   "maxLength" : 61440,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "encode" : {
-                                                   "default" : 1,
-                                                   "description" : "If set, the content will be encoded as base64 (required by QEMU).Otherwise the content needs to be encoded beforehand - defaults to true.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "file" : {
-                                                   "description" : "The path to the file.",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Monitor"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
+                                    "mtu" : {
+                                       "description" : "MTU",
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/file-write",
-                                    "text" : "file-write"
-                                 }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "QEMU Guest Agent command index.",
-                                    "method" : "GET",
-                                    "name" : "index",
-                                    "parameters" : {
-                                       "additionalProperties" : 1,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
+                                    "nodes" : {
+                                       "description" : "List of cluster node names.",
+                                       "format" : "pve-node-list",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "permissions" : {
-                                       "user" : "all"
+                                    "peers" : {
+                                       "description" : "peers address list.",
+                                       "format" : "ip-list",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "description" : "Returns the list of QEMU Guest Agent commands",
-                                       "items" : {
-                                          "properties" : {},
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{name}",
-                                             "rel" : "child"
-                                          }
+                                    "reversedns" : {
+                                       "description" : "reverse dns api server",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "rt-import" : {
+                                       "description" : "Route-Target import",
+                                       "format" : "pve-sdn-bgp-rt-list",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "tag" : {
+                                       "description" : "Service-VLAN Tag",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - N)"
+                                    },
+                                    "vlan-protocol" : {
+                                       "default" : "802.1q",
+                                       "enum" : [
+                                          "802.1q",
+                                          "802.1ad"
                                        ],
-                                       "type" : "array"
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "vrf-vxlan" : {
+                                       "description" : "l3vni.",
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
+                                    },
+                                    "vxlan-port" : {
+                                       "description" : "Vxlan tunnel udp port (default 4789).",
+                                       "maximum" : 65536,
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (1 - 65536)"
+                                    },
+                                    "zone" : {
+                                       "description" : "The SDN zone object identifier.",
+                                       "format" : "pve-sdn-zone-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
                                  },
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Execute QEMU Guest Agent commands.",
-                                    "method" : "POST",
-                                    "name" : "agent",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "command" : {
-                                             "description" : "The QGA command.",
-                                             "enum" : [
-                                                "fsfreeze-freeze",
-                                                "fsfreeze-status",
-                                                "fsfreeze-thaw",
-                                                "fstrim",
-                                                "get-fsinfo",
-                                                "get-host-name",
-                                                "get-memory-block-info",
-                                                "get-memory-blocks",
-                                                "get-osinfo",
-                                                "get-time",
-                                                "get-timezone",
-                                                "get-users",
-                                                "get-vcpus",
-                                                "info",
-                                                "network-get-interfaces",
-                                                "ping",
-                                                "shutdown",
-                                                "suspend-disk",
-                                                "suspend-hybrid",
-                                                "suspend-ram"
-                                             ],
-                                             "type" : "string"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Monitor"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "description" : "Returns an object with a single `result` property.",
-                                       "type" : "object"
+                                 "type" : "object"
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/zones/{zone}",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/cluster/sdn/zones/{zone}",
+                        "text" : "{zone}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "SDN zones index.",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "pending" : {
+                                 "description" : "Display pending config.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "running" : {
+                                 "description" : "Display running config.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "type" : {
+                                 "description" : "Only list SDN zones of specific type",
+                                 "enum" : [
+                                    "evpn",
+                                    "faucet",
+                                    "qinq",
+                                    "simple",
+                                    "vlan",
+                                    "vxlan"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/zones/<zone>'",
+                           "user" : "all"
+                        },
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "dhcp" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "dns" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "dnszone" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "ipam" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "mtu" : {
+                                    "optional" : 1,
+                                    "type" : "integer"
+                                 },
+                                 "nodes" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "pending" : {
+                                    "optional" : 1,
+                                    "type" : "boolean"
+                                 },
+                                 "reversedns" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "state" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "type" : {
+                                    "type" : "string"
+                                 },
+                                 "zone" : {
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{zone}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create a new sdn zone object.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "advertise-subnets" : {
+                                 "description" : "Advertise evpn subnets if you have silent hosts",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "bridge" : {
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "bridge-disable-mac-learning" : {
+                                 "description" : "Disable auto mac learning.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "controller" : {
+                                 "description" : "Frr router name",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "dhcp" : {
+                                 "description" : "Type of the DHCP backend for this zone",
+                                 "enum" : [
+                                    "dnsmasq"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "disable-arp-nd-suppression" : {
+                                 "description" : "Disable ipv4 arp && ipv6 neighbour discovery suppression",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "dns" : {
+                                 "description" : "dns api server",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "dnszone" : {
+                                 "description" : "dns domain zone  ex: mydomain.com",
+                                 "format" : "dns-name",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "dp-id" : {
+                                 "description" : "Faucet dataplane id",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "exitnodes" : {
+                                 "description" : "List of cluster node names.",
+                                 "format" : "pve-node-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "exitnodes-local-routing" : {
+                                 "description" : "Allow exitnodes to connect to evpn guests",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "exitnodes-primary" : {
+                                 "description" : "Force traffic to this exitnode first.",
+                                 "format" : "pve-node",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "ipam" : {
+                                 "description" : "use a specific ipam",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "mac" : {
+                                 "description" : "Anycast logical router mac address",
+                                 "format" : "mac-addr",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "mtu" : {
+                                 "description" : "MTU",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "nodes" : {
+                                 "description" : "List of cluster node names.",
+                                 "format" : "pve-node-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "peers" : {
+                                 "description" : "peers address list.",
+                                 "format" : "ip-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "reversedns" : {
+                                 "description" : "reverse dns api server",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "rt-import" : {
+                                 "description" : "Route-Target import",
+                                 "format" : "pve-sdn-bgp-rt-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "tag" : {
+                                 "description" : "Service-VLAN Tag",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
+                              },
+                              "type" : {
+                                 "description" : "Plugin type.",
+                                 "enum" : [
+                                    "evpn",
+                                    "faucet",
+                                    "qinq",
+                                    "simple",
+                                    "vlan",
+                                    "vxlan"
+                                 ],
+                                 "format" : "pve-configid",
+                                 "type" : "string"
+                              },
+                              "vlan-protocol" : {
+                                 "default" : "802.1q",
+                                 "enum" : [
+                                    "802.1q",
+                                    "802.1ad"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "vrf-vxlan" : {
+                                 "description" : "l3vni.",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "vxlan-port" : {
+                                 "description" : "Vxlan tunnel udp port (default 4789).",
+                                 "maximum" : 65536,
+                                 "minimum" : 1,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - 65536)"
+                              },
+                              "zone" : {
+                                 "description" : "The SDN zone object identifier.",
+                                 "format" : "pve-sdn-zone-id",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           },
+                           "type" : "object"
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/sdn/zones",
+                              [
+                                 "SDN.Allocate"
+                              ]
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/sdn/zones",
+                  "text" : "zones"
+               },
+               {
+                  "children" : [
+                     {
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete sdn controller object configuration.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "controller" : {
+                                       "description" : "The SDN controller object identifier.",
+                                       "format" : "pve-sdn-controller-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
                                  }
                               },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/qemu/{vmid}/agent",
-                              "text" : "agent"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/controllers",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
                            },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Read VM RRD statistics (returns PNG)",
-                                    "method" : "GET",
-                                    "name" : "rrd",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cf" : {
-                                             "description" : "The RRD consolidation function",
-                                             "enum" : [
-                                                "AVERAGE",
-                                                "MAX"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ds" : {
-                                             "description" : "The list of datasources you want to display.",
-                                             "format" : "pve-configid-list",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "timeframe" : {
-                                             "description" : "Specify the time frame you are interested in.",
-                                             "enum" : [
-                                                "hour",
-                                                "day",
-                                                "week",
-                                                "month",
-                                                "year"
-                                             ],
-                                             "type" : "string"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Read sdn controller configuration.",
+                              "method" : "GET",
+                              "name" : "read",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "controller" : {
+                                       "description" : "The SDN controller object identifier.",
+                                       "format" : "pve-sdn-controller-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
+                                    "pending" : {
+                                       "description" : "Display pending config.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "properties" : {
-                                          "filename" : {
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
+                                    "running" : {
+                                       "description" : "Display running config.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     }
                                  }
                               },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/rrd",
-                              "text" : "rrd"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/controllers/{controller}",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "returns" : {
+                                 "type" : "object"
+                              }
                            },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Read VM RRD statistics",
-                                    "method" : "GET",
-                                    "name" : "rrddata",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cf" : {
-                                             "description" : "The RRD consolidation function",
-                                             "enum" : [
-                                                "AVERAGE",
-                                                "MAX"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "timeframe" : {
-                                             "description" : "Specify the time frame you are interested in.",
-                                             "enum" : [
-                                                "hour",
-                                                "day",
-                                                "week",
-                                                "month",
-                                                "year"
-                                             ],
-                                             "type" : "string"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update sdn controller object configuration.",
+                              "method" : "PUT",
+                              "name" : "update",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "asn" : {
+                                       "description" : "autonomous system number",
+                                       "maximum" : 4294967296,
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (0 - 4294967296)"
                                     },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
+                                    "bgp-multipath-as-path-relax" : {
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
                                     },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {},
-                                          "type" : "object"
-                                       },
-                                       "type" : "array"
+                                    "controller" : {
+                                       "description" : "The SDN controller object identifier.",
+                                       "format" : "pve-sdn-controller-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "ebgp" : {
+                                       "description" : "Enable ebgp. (remote-as external)",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "ebgp-multihop" : {
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
+                                    },
+                                    "isis-domain" : {
+                                       "description" : "ISIS domain.",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "isis-ifaces" : {
+                                       "description" : "ISIS interface.",
+                                       "format" : "pve-iface-list",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "isis-net" : {
+                                       "description" : "ISIS network entity title.",
+                                       "format" : "pve-sdn-isis-net",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "loopback" : {
+                                       "description" : "source loopback interface.",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "peers" : {
+                                       "description" : "peers address list.",
+                                       "format" : "ip-list",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
+                                 },
+                                 "type" : "object"
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/controllers",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/cluster/sdn/controllers/{controller}",
+                        "text" : "{controller}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "SDN controllers index.",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "pending" : {
+                                 "description" : "Display pending config.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "running" : {
+                                 "description" : "Display running config.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "type" : {
+                                 "description" : "Only list sdn controllers of specific type",
+                                 "enum" : [
+                                    "bgp",
+                                    "evpn",
+                                    "faucet",
+                                    "isis"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/controllers/<controller>'",
+                           "user" : "all"
+                        },
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "controller" : {
+                                    "type" : "string"
+                                 },
+                                 "pending" : {
+                                    "optional" : 1,
+                                    "type" : "boolean"
+                                 },
+                                 "state" : {
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "type" : {
+                                    "type" : "string"
                                  }
                               },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/rrddata",
-                              "text" : "rrddata"
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{controller}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create a new sdn controller object.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "asn" : {
+                                 "description" : "autonomous system number",
+                                 "maximum" : 4294967296,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - 4294967296)"
+                              },
+                              "bgp-multipath-as-path-relax" : {
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "controller" : {
+                                 "description" : "The SDN controller object identifier.",
+                                 "format" : "pve-sdn-controller-id",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "ebgp" : {
+                                 "description" : "Enable ebgp. (remote-as external)",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "ebgp-multihop" : {
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "isis-domain" : {
+                                 "description" : "ISIS domain.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "isis-ifaces" : {
+                                 "description" : "ISIS interface.",
+                                 "format" : "pve-iface-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "isis-net" : {
+                                 "description" : "ISIS network entity title.",
+                                 "format" : "pve-sdn-isis-net",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "loopback" : {
+                                 "description" : "source loopback interface.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "peers" : {
+                                 "description" : "peers address list.",
+                                 "format" : "ip-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "type" : {
+                                 "description" : "Plugin type.",
+                                 "enum" : [
+                                    "bgp",
+                                    "evpn",
+                                    "faucet",
+                                    "isis"
+                                 ],
+                                 "format" : "pve-configid",
+                                 "type" : "string"
+                              }
                            },
+                           "type" : "object"
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/sdn/controllers",
+                              [
+                                 "SDN.Allocate"
+                              ]
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/sdn/controllers",
+                  "text" : "controllers"
+               },
+               {
+                  "children" : [
+                     {
+                        "children" : [
                            {
                               "info" : {
                                  "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead.",
+                                    "description" : "List PVE IPAM Entries",
                                     "method" : "GET",
-                                    "name" : "vm_config",
+                                    "name" : "ipamindex",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "current" : {
-                                             "default" : 0,
-                                             "description" : "Get current values (instead of pending values).",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "snapshot" : {
-                                             "description" : "Fetch config values from given snapshot.",
-                                             "format" : "pve-configid",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
+                                          "ipam" : {
+                                             "description" : "The SDN ipam object identifier.",
+                                             "format" : "pve-sdn-ipam-id",
                                              "type" : "string",
                                              "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
                                           }
                                        }
                                     },
                                     "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
+                                       "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/zones/<zone>/<vnet>'",
+                                       "user" : "all"
                                     },
-                                    "proxyto" : "node",
+                                    "protected" : 1,
                                     "returns" : {
-                                       "description" : "The VM configuration.",
-                                       "properties" : {
-                                          "acpi" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable ACPI.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "affinity" : {
-                                             "description" : "List of host cores used to execute guest processes, for example: 0,5,8-11",
-                                             "format" : "pve-cpuset",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "agent" : {
-                                             "description" : "Enable/disable communication with the QEMU Guest Agent and its properties.",
-                                             "format" : {
-                                                "enabled" : {
-                                                   "default" : 0,
-                                                   "default_key" : 1,
-                                                   "description" : "Enable/disable communication with a QEMU Guest Agent (QGA) running in the VM.",
-                                                   "type" : "boolean"
-                                                },
-                                                "freeze-fs-on-backup" : {
-                                                   "default" : 1,
-                                                   "description" : "Freeze/thaw guest filesystems on backup for consistency.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "fstrim_cloned_disks" : {
-                                                   "default" : 0,
-                                                   "description" : "Run fstrim after moving a disk or migrating the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "type" : {
-                                                   "default" : "virtio",
-                                                   "description" : "Select the agent type",
-                                                   "enum" : [
-                                                      "virtio",
-                                                      "isa"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "arch" : {
-                                             "description" : "Virtual processor architecture. Defaults to the host.",
-                                             "enum" : [
-                                                "x86_64",
-                                                "aarch64"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "args" : {
-                                             "description" : "Arbitrary arguments passed to kvm.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "verbose_description" : "Arbitrary arguments passed to kvm, for example:\n\nargs: -no-reboot -no-hpet\n\nNOTE: this option is for experts only.\n"
-                                          },
-                                          "audio0" : {
-                                             "description" : "Configure a audio device, useful in combination with QXL/Spice.",
-                                             "format" : {
-                                                "device" : {
-                                                   "description" : "Configure an audio device.",
-                                                   "enum" : [
-                                                      "ich9-intel-hda",
-                                                      "intel-hda",
-                                                      "AC97"
-                                                   ],
-                                                   "type" : "string"
-                                                },
-                                                "driver" : {
-                                                   "default" : "spice",
-                                                   "description" : "Driver backend for the audio device.",
-                                                   "enum" : [
-                                                      "spice",
-                                                      "none"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "autostart" : {
-                                             "default" : 0,
-                                             "description" : "Automatic restart after crash (currently ignored).",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "balloon" : {
-                                             "description" : "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "bios" : {
-                                             "default" : "seabios",
-                                             "description" : "Select BIOS implementation.",
-                                             "enum" : [
-                                                "seabios",
-                                                "ovmf"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "boot" : {
-                                             "description" : "Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.",
-                                             "format" : "pve-qm-boot",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "bootdisk" : {
-                                             "description" : "Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.",
-                                             "format" : "pve-qm-bootdisk",
-                                             "optional" : 1,
-                                             "pattern" : "(ide|sata|scsi|virtio)\\d+",
-                                             "type" : "string"
-                                          },
-                                          "cdrom" : {
-                                             "description" : "This is an alias for option -ide2",
-                                             "format" : "pve-qm-ide",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<volume>"
-                                          },
-                                          "cicustom" : {
-                                             "description" : "cloud-init: Specify custom files to replace the automatically generated ones at start.",
-                                             "format" : "pve-qm-cicustom",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "cipassword" : {
-                                             "description" : "cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "citype" : {
-                                             "description" : "Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.",
-                                             "enum" : [
-                                                "configdrive2",
-                                                "nocloud",
-                                                "opennebula"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ciuser" : {
-                                             "description" : "cloud-init: User name to change ssh keys and password for instead of the image's configured default user.",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "cores" : {
-                                             "default" : 1,
-                                             "description" : "The number of cores per socket.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "cpu" : {
-                                             "description" : "Emulated CPU type.",
-                                             "format" : "pve-vm-cpu-conf",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "cpulimit" : {
-                                             "default" : 0,
-                                             "description" : "Limit of CPU usage.",
-                                             "maximum" : 128,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "verbose_description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit."
-                                          },
-                                          "cpuunits" : {
-                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
-                                             "description" : "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
-                                             "maximum" : 262144,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "verbose_description" : "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs."
-                                          },
-                                          "description" : {
-                                             "description" : "Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.",
-                                             "maxLength" : 8192,
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "digest" : {
-                                             "description" : "SHA1 digest of configuration file. This can be used to prevent concurrent modifications.",
-                                             "type" : "string"
-                                          },
-                                          "efidisk0" : {
-                                             "description" : "Configure a disk for storing EFI vars.",
-                                             "format" : {
-                                                "efitype" : {
-                                                   "default" : "2m",
-                                                   "description" : "Size and type of the OVMF EFI vars. '4m' is newer and recommended, and required for Secure Boot. For backwards compatibility, '2m' is used if not otherwise specified. Ignored for VMs with arch=aarc64 (ARM).",
-                                                   "enum" : [
-                                                      "2m",
-                                                      "4m"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "pre-enrolled-keys" : {
-                                                   "default" : 0,
-                                                   "description" : "Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by default, though it can still be turned off from within the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "freeze" : {
-                                             "description" : "Freeze CPU at startup (use 'c' monitor command to start execution).",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "hookscript" : {
-                                             "description" : "Script that will be executed during various steps in the vms lifetime.",
-                                             "format" : "pve-volume-id",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "hostpci[n]" : {
-                                             "description" : "Map host PCI devices into guest.",
-                                             "format" : "pve-qm-hostpci",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "verbose_description" : "Map host PCI devices into guest.\n\nNOTE: This option allows direct access to host hardware. So it is no longer\npossible to migrate such machines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "hotplug" : {
-                                             "default" : "network,disk,usb",
-                                             "description" : "Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory', 'usb' and 'cloudinit'. Use '0' to disable hotplug completely. Using '1' as value is an alias for the default `network,disk,usb`. USB hotplugging is possible for guests with machine version >= 7.1 and ostype l26 or windows > 7.",
-                                             "format" : "pve-hotplug-features",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "hugepages" : {
-                                             "description" : "Enable/disable hugepages memory.",
-                                             "enum" : [
-                                                "any",
-                                                "2",
-                                                "1024"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ide[n]" : {
-                                             "description" : "Use volume as IDE hard disk or CD-ROM (n is 0 to 3).",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "model" : {
-                                                   "description" : "The drive's reported model name, url-encoded, up to 40 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "model",
-                                                   "maxLength" : 120,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ipconfig[n]" : {
-                                             "description" : "cloud-init: Specify IP addresses and gateways for the corresponding interface.\n\nIP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.\n\nThe special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit\ngateway should be provided.\nFor IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires\ncloud-init 19.4 or newer.\n\nIf cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using\ndhcp on IPv4.\n",
-                                             "format" : "pve-qm-ipconfig",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ivshmem" : {
-                                             "description" : "Inter-VM shared memory. Useful for direct communication between VMs, or to the host.",
-                                             "format" : {
-                                                "name" : {
-                                                   "description" : "The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.",
-                                                   "format_description" : "string",
-                                                   "optional" : 1,
-                                                   "pattern" : "[a-zA-Z0-9\\-]+",
-                                                   "type" : "string"
-                                                },
-                                                "size" : {
-                                                   "description" : "The size of the file in MB.",
-                                                   "minimum" : 1,
-                                                   "type" : "integer"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "keephugepages" : {
-                                             "default" : 0,
-                                             "description" : "Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "keyboard" : {
-                                             "default" : null,
-                                             "description" : "Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.",
-                                             "enum" : [
-                                                "de",
-                                                "de-ch",
-                                                "da",
-                                                "en-gb",
-                                                "en-us",
-                                                "es",
-                                                "fi",
-                                                "fr",
-                                                "fr-be",
-                                                "fr-ca",
-                                                "fr-ch",
-                                                "hu",
-                                                "is",
-                                                "it",
-                                                "ja",
-                                                "lt",
-                                                "mk",
-                                                "nl",
-                                                "no",
-                                                "pl",
-                                                "pt",
-                                                "pt-br",
-                                                "sv",
-                                                "sl",
-                                                "tr"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "kvm" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable KVM hardware virtualization.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "localtime" : {
-                                             "description" : "Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "lock" : {
-                                             "description" : "Lock/unlock the VM.",
-                                             "enum" : [
-                                                "backup",
-                                                "clone",
-                                                "create",
-                                                "migrate",
-                                                "rollback",
-                                                "snapshot",
-                                                "snapshot-delete",
-                                                "suspending",
-                                                "suspended"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "machine" : {
-                                             "description" : "Specifies the QEMU machine type.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
-                                             "type" : "string"
-                                          },
-                                          "memory" : {
-                                             "default" : 512,
-                                             "description" : "Amount of RAM for the VM in MiB. This is the maximum available memory when you use the balloon device.",
-                                             "minimum" : 16,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "migrate_downtime" : {
-                                             "default" : 0.1,
-                                             "description" : "Set maximum tolerated downtime (in seconds) for migrations.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "number"
-                                          },
-                                          "migrate_speed" : {
-                                             "default" : 0,
-                                             "description" : "Set maximum speed (in MB/s) for migrations. Value 0 is no limit.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "name" : {
-                                             "description" : "Set a name for the VM. Only used on the configuration web interface.",
-                                             "format" : "dns-name",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "nameserver" : {
-                                             "description" : "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
-                                             "format" : "address-list",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "net[n]" : {
-                                             "description" : "Specify network devices.",
-                                             "format" : {
-                                                "bridge" : {
-                                                   "description" : "Bridge to attach the network device to. The Proxmox VE standard bridge\nis called 'vmbr0'.\n\nIf you do not specify a bridge, we create a kvm user (NATed) network\ndevice, which provides DHCP and DNS services. The following addresses\nare used:\n\n 10.0.2.2   Gateway\n 10.0.2.3   DNS Server\n 10.0.2.4   SMB Server\n\nThe DHCP server assign addresses to the guest starting from 10.0.2.15.\n",
-                                                   "format" : "pve-bridge-id",
-                                                   "format_description" : "bridge",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "e1000" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82540em" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82544gc" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82545em" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000e" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "firewall" : {
-                                                   "description" : "Whether this interface should be protected by the firewall.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "i82551" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "i82557b" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "i82559er" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "link_down" : {
-                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "macaddr" : {
-                                                   "description" : "MAC address. That address must be unique withing your network. This is automatically generated if not specified.",
-                                                   "format" : "mac-addr",
-                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
-                                                },
-                                                "model" : {
-                                                   "default_key" : 1,
-                                                   "description" : "Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.",
-                                                   "enum" : [
-                                                      "e1000",
-                                                      "e1000-82540em",
-                                                      "e1000-82544gc",
-                                                      "e1000-82545em",
-                                                      "e1000e",
-                                                      "i82551",
-                                                      "i82557b",
-                                                      "i82559er",
-                                                      "ne2k_isa",
-                                                      "ne2k_pci",
-                                                      "pcnet",
-                                                      "rtl8139",
-                                                      "virtio",
-                                                      "vmxnet3"
-                                                   ],
-                                                   "type" : "string"
-                                                },
-                                                "mtu" : {
-                                                   "description" : "Force MTU, for VirtIO only. Set to '1' to use the bridge MTU",
-                                                   "maximum" : 65520,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "ne2k_isa" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "ne2k_pci" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "pcnet" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "queues" : {
-                                                   "description" : "Number of packet queues to be used on the device.",
-                                                   "maximum" : 64,
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "rate" : {
-                                                   "description" : "Rate limit in mbps (megabytes per second) as floating point number.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "rtl8139" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "tag" : {
-                                                   "description" : "VLAN tag to apply to packets on this interface.",
-                                                   "maximum" : 4094,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "trunks" : {
-                                                   "description" : "VLAN trunks to pass through this interface.",
-                                                   "format_description" : "vlanid[;vlanid...]",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "virtio" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "vmxnet3" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "numa" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable NUMA.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "numa[n]" : {
-                                             "description" : "NUMA topology.",
-                                             "format" : {
-                                                "cpus" : {
-                                                   "description" : "CPUs accessing this NUMA node.",
-                                                   "format_description" : "id[-id];...",
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "hostnodes" : {
-                                                   "description" : "Host NUMA nodes to use.",
-                                                   "format_description" : "id[-id];...",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "memory" : {
-                                                   "description" : "Amount of memory this NUMA node provides.",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "policy" : {
-                                                   "description" : "NUMA allocation policy.",
-                                                   "enum" : [
-                                                      "preferred",
-                                                      "bind",
-                                                      "interleave"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "onboot" : {
-                                             "default" : 0,
-                                             "description" : "Specifies whether a VM will be started during system bootup.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "ostype" : {
-                                             "description" : "Specify guest operating system.",
-                                             "enum" : [
-                                                "other",
-                                                "wxp",
-                                                "w2k",
-                                                "w2k3",
-                                                "w2k8",
-                                                "wvista",
-                                                "win7",
-                                                "win8",
-                                                "win10",
-                                                "win11",
-                                                "l24",
-                                                "l26",
-                                                "solaris"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "verbose_description" : "Specify guest operating system. This is used to enable special\noptimization/features for specific operating systems:\n\n[horizontal]\nother;; unspecified OS\nwxp;; Microsoft Windows XP\nw2k;; Microsoft Windows 2000\nw2k3;; Microsoft Windows 2003\nw2k8;; Microsoft Windows 2008\nwvista;; Microsoft Windows Vista\nwin7;; Microsoft Windows 7\nwin8;; Microsoft Windows 8/2012/2012r2\nwin10;; Microsoft Windows 10/2016/2019\nwin11;; Microsoft Windows 11/2022\nl24;; Linux 2.4 Kernel\nl26;; Linux 2.6 - 6.X Kernel\nsolaris;; Solaris/OpenSolaris/OpenIndiania kernel\n"
-                                          },
-                                          "parallel[n]" : {
-                                             "description" : "Map host parallel devices (n is 0 to 2).",
-                                             "optional" : 1,
-                                             "pattern" : "/dev/parport\\d+|/dev/usb/lp\\d+",
-                                             "type" : "string",
-                                             "verbose_description" : "Map host parallel devices (n is 0 to 2).\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "protection" : {
-                                             "default" : 0,
-                                             "description" : "Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "reboot" : {
-                                             "default" : 1,
-                                             "description" : "Allow reboot. If set to '0' the VM exit on reboot.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "rng0" : {
-                                             "description" : "Configure a VirtIO-based Random Number Generator.",
-                                             "format" : {
-                                                "max_bytes" : {
-                                                   "default" : 1024,
-                                                   "description" : "Maximum bytes of entropy allowed to get injected into the guest every 'period' milliseconds. Prefer a lower value when using '/dev/random' as source. Use `0` to disable limiting (potentially dangerous!).",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "period" : {
-                                                   "default" : 1000,
-                                                   "description" : "Every 'period' milliseconds the entropy-injection quota is reset, allowing the guest to retrieve another 'max_bytes' of entropy.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "source" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The file on the host to gather entropy from. In most cases '/dev/urandom' should be preferred over '/dev/random' to avoid entropy-starvation issues on the host. Using urandom does *not* decrease security in any meaningful way, as it's still seeded from real entropy, and the bytes provided will most likely be mixed with real entropy on the guest as well. '/dev/hwrng' can be used to pass through a hardware RNG from the host.",
-                                                   "enum" : [
-                                                      "/dev/urandom",
-                                                      "/dev/random",
-                                                      "/dev/hwrng"
-                                                   ],
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "sata[n]" : {
-                                             "description" : "Use volume as SATA hard disk or CD-ROM (n is 0 to 5).",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "scsi[n]" : {
-                                             "description" : "Use volume as SCSI hard disk or CD-ROM (n is 0 to 30).",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iothread" : {
-                                                   "description" : "Whether to use iothreads for this drive",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "queues" : {
-                                                   "description" : "Number of queues.",
-                                                   "minimum" : 2,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "ro" : {
-                                                   "description" : "Whether the drive is read-only.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "scsiblock" : {
-                                                   "default" : 0,
-                                                   "description" : "whether to use scsi-block for full passthrough of host block device\n\nWARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "scsihw" : {
-                                             "default" : "lsi",
-                                             "description" : "SCSI controller model",
-                                             "enum" : [
-                                                "lsi",
-                                                "lsi53c810",
-                                                "virtio-scsi-pci",
-                                                "virtio-scsi-single",
-                                                "megasas",
-                                                "pvscsi"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "searchdomain" : {
-                                             "description" : "cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "serial[n]" : {
-                                             "description" : "Create a serial device inside the VM (n is 0 to 3)",
-                                             "optional" : 1,
-                                             "pattern" : "(/dev/.+|socket)",
-                                             "type" : "string",
-                                             "verbose_description" : "Create a serial device inside the VM (n is 0 to 3), and pass through a\nhost serial device (i.e. /dev/ttyS0), or create a unix socket on the\nhost side (use 'qm terminal' to open a terminal connection).\n\nNOTE: If you pass through a host serial device, it is no longer possible to migrate such machines -\nuse with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "shares" : {
-                                             "default" : 1000,
-                                             "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
-                                             "maximum" : 50000,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "smbios1" : {
-                                             "description" : "Specify SMBIOS type 1 fields.",
-                                             "format" : "pve-qm-smbios1",
-                                             "maxLength" : 512,
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "smp" : {
-                                             "default" : 1,
-                                             "description" : "The number of CPUs. Please use option -sockets instead.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "sockets" : {
-                                             "default" : 1,
-                                             "description" : "The number of CPU sockets.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "spice_enhancements" : {
-                                             "description" : "Configure additional enhancements for SPICE.",
-                                             "format" : {
-                                                "foldersharing" : {
-                                                   "default" : "0",
-                                                   "description" : "Enable folder sharing via SPICE. Needs Spice-WebDAV daemon installed in the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "videostreaming" : {
-                                                   "default" : "off",
-                                                   "description" : "Enable video streaming. Uses compression for detected video streams.",
-                                                   "enum" : [
-                                                      "off",
-                                                      "all",
-                                                      "filter"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "sshkeys" : {
-                                             "description" : "cloud-init: Setup public SSH keys (one key per line, OpenSSH format).",
-                                             "format" : "urlencoded",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "startdate" : {
-                                             "default" : "now",
-                                             "description" : "Set the initial date of the real time clock. Valid format for date are:'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
-                                             "optional" : 1,
-                                             "pattern" : "(now|\\d{4}-\\d{1,2}-\\d{1,2}(T\\d{1,2}:\\d{1,2}:\\d{1,2})?)",
-                                             "type" : "string",
-                                             "typetext" : "(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)"
-                                          },
-                                          "startup" : {
-                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
-                                             "format" : "pve-startup-order",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
-                                          },
-                                          "tablet" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable the USB tablet device.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "verbose_description" : "Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (`qm set <vmid> --vga qxl`)."
-                                          },
-                                          "tags" : {
-                                             "description" : "Tags of the VM. This is only meta information.",
-                                             "format" : "pve-tag-list",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "tdf" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable time drift fix.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "template" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable Template.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "tpmstate0" : {
-                                             "description" : "Configure a Disk for storing TPM state. The format is fixed to 'raw'.",
-                                             "format" : {
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "version" : {
-                                                   "default" : "v2.0",
-                                                   "description" : "The TPM interface version. v2.0 is newer and should be preferred. Note that this cannot be changed later on.",
-                                                   "enum" : [
-                                                      "v1.2",
-                                                      "v2.0"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "unused[n]" : {
-                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
-                                             "format" : {
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "usb[n]" : {
-                                             "description" : "Configure an USB device (n is 0 to 4, for machine version >= 7.1 and ostype l26 or windows > 7, n can be up to 14).",
-                                             "format" : {
-                                                "host" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:\n\n 'bus-port(.port)*' (decimal numbers) or\n 'vendor_id:product_id' (hexadeciaml numbers) or\n 'spice'\n\nYou can use the 'lsusb -t' command to list existing usb devices.\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nThe value 'spice' can be used to add a usb redirection devices for spice.\n",
-                                                   "format" : "pve-qm-usb-device",
-                                                   "format_description" : "HOSTUSBDEVICE|spice",
-                                                   "type" : "string"
-                                                },
-                                                "usb3" : {
-                                                   "default" : 0,
-                                                   "description" : "Specifies whether if given host option is a USB3 device or port. For modern guests (machine version >= 7.1 and ostype l26 and windows > 7), this flag is irrelevant (all devices are plugged into a xhci controller).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "vcpus" : {
-                                             "default" : 0,
-                                             "description" : "Number of hotplugged vcpus.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "vga" : {
-                                             "description" : "Configure the VGA hardware.",
-                                             "format" : {
-                                                "memory" : {
-                                                   "description" : "Sets the VGA memory (in MiB). Has no effect with serial display.",
-                                                   "maximum" : 512,
-                                                   "minimum" : 4,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "type" : {
-                                                   "default" : "std",
-                                                   "default_key" : 1,
-                                                   "description" : "Select the VGA type.",
-                                                   "enum" : [
-                                                      "cirrus",
-                                                      "qxl",
-                                                      "qxl2",
-                                                      "qxl3",
-                                                      "qxl4",
-                                                      "none",
-                                                      "serial0",
-                                                      "serial1",
-                                                      "serial2",
-                                                      "serial3",
-                                                      "std",
-                                                      "virtio",
-                                                      "virtio-gl",
-                                                      "vmware"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "verbose_description" : "Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.\nYou can also run without any graphic card, using a serial device as terminal."
-                                          },
-                                          "virtio[n]" : {
-                                             "description" : "Use volume as VIRTIO hard disk (n is 0 to 15).",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iothread" : {
-                                                   "description" : "Whether to use iothreads for this drive",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "ro" : {
-                                                   "description" : "Whether the drive is read-only.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "vmgenid" : {
-                                             "default" : "1 (autogenerated)",
-                                             "description" : "Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.",
-                                             "format_description" : "UUID",
-                                             "optional" : 1,
-                                             "pattern" : "(?:[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}|[01])",
-                                             "type" : "string",
-                                             "verbose_description" : "The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.\nNote that auto-creation only works when done through API/CLI create or update methods, but not when manually editing the config file."
-                                          },
-                                          "vmstatestorage" : {
-                                             "description" : "Default storage for VM state volumes/files.",
-                                             "format" : "pve-storage-id",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "watchdog" : {
-                                             "description" : "Create a virtual hardware watchdog device.",
-                                             "format" : "pve-qm-watchdog",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "verbose_description" : "Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 },
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Set virtual machine options (asynchrounous API).",
-                                    "method" : "POST",
-                                    "name" : "update_vm_async",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "acpi" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable ACPI.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "affinity" : {
-                                             "description" : "List of host cores used to execute guest processes, for example: 0,5,8-11",
-                                             "format" : "pve-cpuset",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "agent" : {
-                                             "description" : "Enable/disable communication with the QEMU Guest Agent and its properties.",
-                                             "format" : {
-                                                "enabled" : {
-                                                   "default" : 0,
-                                                   "default_key" : 1,
-                                                   "description" : "Enable/disable communication with a QEMU Guest Agent (QGA) running in the VM.",
-                                                   "type" : "boolean"
-                                                },
-                                                "freeze-fs-on-backup" : {
-                                                   "default" : 1,
-                                                   "description" : "Freeze/thaw guest filesystems on backup for consistency.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "fstrim_cloned_disks" : {
-                                                   "default" : 0,
-                                                   "description" : "Run fstrim after moving a disk or migrating the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "type" : {
-                                                   "default" : "virtio",
-                                                   "description" : "Select the agent type",
-                                                   "enum" : [
-                                                      "virtio",
-                                                      "isa"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[enabled=]<1|0> [,freeze-fs-on-backup=<1|0>] [,fstrim_cloned_disks=<1|0>] [,type=<virtio|isa>]"
-                                          },
-                                          "arch" : {
-                                             "description" : "Virtual processor architecture. Defaults to the host.",
-                                             "enum" : [
-                                                "x86_64",
-                                                "aarch64"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "args" : {
-                                             "description" : "Arbitrary arguments passed to kvm.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>",
-                                             "verbose_description" : "Arbitrary arguments passed to kvm, for example:\n\nargs: -no-reboot -no-hpet\n\nNOTE: this option is for experts only.\n"
-                                          },
-                                          "audio0" : {
-                                             "description" : "Configure a audio device, useful in combination with QXL/Spice.",
-                                             "format" : {
-                                                "device" : {
-                                                   "description" : "Configure an audio device.",
-                                                   "enum" : [
-                                                      "ich9-intel-hda",
-                                                      "intel-hda",
-                                                      "AC97"
-                                                   ],
-                                                   "type" : "string"
-                                                },
-                                                "driver" : {
-                                                   "default" : "spice",
-                                                   "description" : "Driver backend for the audio device.",
-                                                   "enum" : [
-                                                      "spice",
-                                                      "none"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "device=<ich9-intel-hda|intel-hda|AC97> [,driver=<spice|none>]"
-                                          },
-                                          "autostart" : {
-                                             "default" : 0,
-                                             "description" : "Automatic restart after crash (currently ignored).",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "background_delay" : {
-                                             "description" : "Time to wait for the task to finish. We return 'null' if the task finish within that time.",
-                                             "maximum" : 30,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - 30)"
-                                          },
-                                          "balloon" : {
-                                             "description" : "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "bios" : {
-                                             "default" : "seabios",
-                                             "description" : "Select BIOS implementation.",
-                                             "enum" : [
-                                                "seabios",
-                                                "ovmf"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "boot" : {
-                                             "description" : "Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.",
-                                             "format" : "pve-qm-boot",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[legacy=]<[acdn]{1,4}>] [,order=<device[;device...]>]"
-                                          },
-                                          "bootdisk" : {
-                                             "description" : "Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.",
-                                             "format" : "pve-qm-bootdisk",
-                                             "optional" : 1,
-                                             "pattern" : "(ide|sata|scsi|virtio)\\d+",
-                                             "type" : "string"
-                                          },
-                                          "cdrom" : {
-                                             "description" : "This is an alias for option -ide2",
-                                             "format" : "pve-qm-ide",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<volume>"
-                                          },
-                                          "cicustom" : {
-                                             "description" : "cloud-init: Specify custom files to replace the automatically generated ones at start.",
-                                             "format" : "pve-qm-cicustom",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]"
-                                          },
-                                          "cipassword" : {
-                                             "description" : "cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "citype" : {
-                                             "description" : "Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.",
-                                             "enum" : [
-                                                "configdrive2",
-                                                "nocloud",
-                                                "opennebula"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ciuser" : {
-                                             "description" : "cloud-init: User name to change ssh keys and password for instead of the image's configured default user.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "cores" : {
-                                             "default" : 1,
-                                             "description" : "The number of cores per socket.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "cpu" : {
-                                             "description" : "Emulated CPU type.",
-                                             "format" : "pve-vm-cpu-conf",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[cputype=]<string>] [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>] [,phys-bits=<8-64|host>] [,reported-model=<enum>]"
-                                          },
-                                          "cpulimit" : {
-                                             "default" : 0,
-                                             "description" : "Limit of CPU usage.",
-                                             "maximum" : 128,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - 128)",
-                                             "verbose_description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit."
-                                          },
-                                          "cpuunits" : {
-                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
-                                             "description" : "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
-                                             "maximum" : 262144,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - 262144)",
-                                             "verbose_description" : "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs."
-                                          },
-                                          "delete" : {
-                                             "description" : "A list of settings you want to delete.",
-                                             "format" : "pve-configid-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "description" : {
-                                             "description" : "Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.",
-                                             "maxLength" : 8192,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "efidisk0" : {
-                                             "description" : "Configure a disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "efitype" : {
-                                                   "default" : "2m",
-                                                   "description" : "Size and type of the OVMF EFI vars. '4m' is newer and recommended, and required for Secure Boot. For backwards compatibility, '2m' is used if not otherwise specified. Ignored for VMs with arch=aarc64 (ARM).",
-                                                   "enum" : [
-                                                      "2m",
-                                                      "4m"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "pre-enrolled-keys" : {
-                                                   "default" : 0,
-                                                   "description" : "Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by default, though it can still be turned off from within the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,efitype=<2m|4m>] [,format=<enum>] [,import-from=<source volume>] [,pre-enrolled-keys=<1|0>] [,size=<DiskSize>]"
-                                          },
-                                          "force" : {
-                                             "description" : "Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called 'unused[n]', which contains the volume ID. Unlink of unused[n] always cause physical removal.",
-                                             "optional" : 1,
-                                             "requires" : "delete",
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "freeze" : {
-                                             "description" : "Freeze CPU at startup (use 'c' monitor command to start execution).",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "hookscript" : {
-                                             "description" : "Script that will be executed during various steps in the vms lifetime.",
-                                             "format" : "pve-volume-id",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "hostpci[n]" : {
-                                             "description" : "Map host PCI devices into guest.",
-                                             "format" : "pve-qm-hostpci",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[host=]<HOSTPCIID[;HOSTPCIID2...]> [,device-id=<hex id>] [,legacy-igd=<1|0>] [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,sub-device-id=<hex id>] [,sub-vendor-id=<hex id>] [,vendor-id=<hex id>] [,x-vga=<1|0>]",
-                                             "verbose_description" : "Map host PCI devices into guest.\n\nNOTE: This option allows direct access to host hardware. So it is no longer\npossible to migrate such machines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "hotplug" : {
-                                             "default" : "network,disk,usb",
-                                             "description" : "Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory', 'usb' and 'cloudinit'. Use '0' to disable hotplug completely. Using '1' as value is an alias for the default `network,disk,usb`. USB hotplugging is possible for guests with machine version >= 7.1 and ostype l26 or windows > 7.",
-                                             "format" : "pve-hotplug-features",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "hugepages" : {
-                                             "description" : "Enable/disable hugepages memory.",
-                                             "enum" : [
-                                                "any",
-                                                "2",
-                                                "1024"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ide[n]" : {
-                                             "description" : "Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "model" : {
-                                                   "description" : "The drive's reported model name, url-encoded, up to 40 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "model",
-                                                   "maxLength" : 120,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
-                                          },
-                                          "ipconfig[n]" : {
-                                             "description" : "cloud-init: Specify IP addresses and gateways for the corresponding interface.\n\nIP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.\n\nThe special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit\ngateway should be provided.\nFor IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires\ncloud-init 19.4 or newer.\n\nIf cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using\ndhcp on IPv4.\n",
-                                             "format" : "pve-qm-ipconfig",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]"
-                                          },
-                                          "ivshmem" : {
-                                             "description" : "Inter-VM shared memory. Useful for direct communication between VMs, or to the host.",
-                                             "format" : {
-                                                "name" : {
-                                                   "description" : "The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.",
-                                                   "format_description" : "string",
-                                                   "optional" : 1,
-                                                   "pattern" : "[a-zA-Z0-9\\-]+",
-                                                   "type" : "string"
-                                                },
-                                                "size" : {
-                                                   "description" : "The size of the file in MB.",
-                                                   "minimum" : 1,
-                                                   "type" : "integer"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "size=<integer> [,name=<string>]"
-                                          },
-                                          "keephugepages" : {
-                                             "default" : 0,
-                                             "description" : "Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "keyboard" : {
-                                             "default" : null,
-                                             "description" : "Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.",
-                                             "enum" : [
-                                                "de",
-                                                "de-ch",
-                                                "da",
-                                                "en-gb",
-                                                "en-us",
-                                                "es",
-                                                "fi",
-                                                "fr",
-                                                "fr-be",
-                                                "fr-ca",
-                                                "fr-ch",
-                                                "hu",
-                                                "is",
-                                                "it",
-                                                "ja",
-                                                "lt",
-                                                "mk",
-                                                "nl",
-                                                "no",
-                                                "pl",
-                                                "pt",
-                                                "pt-br",
-                                                "sv",
-                                                "sl",
-                                                "tr"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "kvm" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable KVM hardware virtualization.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "localtime" : {
-                                             "description" : "Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "lock" : {
-                                             "description" : "Lock/unlock the VM.",
-                                             "enum" : [
-                                                "backup",
-                                                "clone",
-                                                "create",
-                                                "migrate",
-                                                "rollback",
-                                                "snapshot",
-                                                "snapshot-delete",
-                                                "suspending",
-                                                "suspended"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "machine" : {
-                                             "description" : "Specifies the QEMU machine type.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
-                                             "type" : "string"
-                                          },
-                                          "memory" : {
-                                             "default" : 512,
-                                             "description" : "Amount of RAM for the VM in MiB. This is the maximum available memory when you use the balloon device.",
-                                             "minimum" : 16,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (16 - N)"
-                                          },
-                                          "migrate_downtime" : {
-                                             "default" : 0.1,
-                                             "description" : "Set maximum tolerated downtime (in seconds) for migrations.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - N)"
-                                          },
-                                          "migrate_speed" : {
-                                             "default" : 0,
-                                             "description" : "Set maximum speed (in MB/s) for migrations. Value 0 is no limit.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "name" : {
-                                             "description" : "Set a name for the VM. Only used on the configuration web interface.",
-                                             "format" : "dns-name",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "nameserver" : {
-                                             "description" : "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
-                                             "format" : "address-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "net[n]" : {
-                                             "description" : "Specify network devices.",
-                                             "format" : {
-                                                "bridge" : {
-                                                   "description" : "Bridge to attach the network device to. The Proxmox VE standard bridge\nis called 'vmbr0'.\n\nIf you do not specify a bridge, we create a kvm user (NATed) network\ndevice, which provides DHCP and DNS services. The following addresses\nare used:\n\n 10.0.2.2   Gateway\n 10.0.2.3   DNS Server\n 10.0.2.4   SMB Server\n\nThe DHCP server assign addresses to the guest starting from 10.0.2.15.\n",
-                                                   "format" : "pve-bridge-id",
-                                                   "format_description" : "bridge",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "e1000" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82540em" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82544gc" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82545em" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000e" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "firewall" : {
-                                                   "description" : "Whether this interface should be protected by the firewall.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "i82551" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "i82557b" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "i82559er" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "link_down" : {
-                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "macaddr" : {
-                                                   "description" : "MAC address. That address must be unique withing your network. This is automatically generated if not specified.",
-                                                   "format" : "mac-addr",
-                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
-                                                },
-                                                "model" : {
-                                                   "default_key" : 1,
-                                                   "description" : "Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.",
-                                                   "enum" : [
-                                                      "e1000",
-                                                      "e1000-82540em",
-                                                      "e1000-82544gc",
-                                                      "e1000-82545em",
-                                                      "e1000e",
-                                                      "i82551",
-                                                      "i82557b",
-                                                      "i82559er",
-                                                      "ne2k_isa",
-                                                      "ne2k_pci",
-                                                      "pcnet",
-                                                      "rtl8139",
-                                                      "virtio",
-                                                      "vmxnet3"
-                                                   ],
-                                                   "type" : "string"
-                                                },
-                                                "mtu" : {
-                                                   "description" : "Force MTU, for VirtIO only. Set to '1' to use the bridge MTU",
-                                                   "maximum" : 65520,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "ne2k_isa" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "ne2k_pci" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "pcnet" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "queues" : {
-                                                   "description" : "Number of packet queues to be used on the device.",
-                                                   "maximum" : 64,
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "rate" : {
-                                                   "description" : "Rate limit in mbps (megabytes per second) as floating point number.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "rtl8139" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "tag" : {
-                                                   "description" : "VLAN tag to apply to packets on this interface.",
-                                                   "maximum" : 4094,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "trunks" : {
-                                                   "description" : "VLAN trunks to pass through this interface.",
-                                                   "format_description" : "vlanid[;vlanid...]",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "virtio" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "vmxnet3" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,mtu=<integer>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "numa" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable NUMA.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "numa[n]" : {
-                                             "description" : "NUMA topology.",
-                                             "format" : {
-                                                "cpus" : {
-                                                   "description" : "CPUs accessing this NUMA node.",
-                                                   "format_description" : "id[-id];...",
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "hostnodes" : {
-                                                   "description" : "Host NUMA nodes to use.",
-                                                   "format_description" : "id[-id];...",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "memory" : {
-                                                   "description" : "Amount of memory this NUMA node provides.",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "policy" : {
-                                                   "description" : "NUMA allocation policy.",
-                                                   "enum" : [
-                                                      "preferred",
-                                                      "bind",
-                                                      "interleave"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]"
-                                          },
-                                          "onboot" : {
-                                             "default" : 0,
-                                             "description" : "Specifies whether a VM will be started during system bootup.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "ostype" : {
-                                             "description" : "Specify guest operating system.",
-                                             "enum" : [
-                                                "other",
-                                                "wxp",
-                                                "w2k",
-                                                "w2k3",
-                                                "w2k8",
-                                                "wvista",
-                                                "win7",
-                                                "win8",
-                                                "win10",
-                                                "win11",
-                                                "l24",
-                                                "l26",
-                                                "solaris"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "verbose_description" : "Specify guest operating system. This is used to enable special\noptimization/features for specific operating systems:\n\n[horizontal]\nother;; unspecified OS\nwxp;; Microsoft Windows XP\nw2k;; Microsoft Windows 2000\nw2k3;; Microsoft Windows 2003\nw2k8;; Microsoft Windows 2008\nwvista;; Microsoft Windows Vista\nwin7;; Microsoft Windows 7\nwin8;; Microsoft Windows 8/2012/2012r2\nwin10;; Microsoft Windows 10/2016/2019\nwin11;; Microsoft Windows 11/2022\nl24;; Linux 2.4 Kernel\nl26;; Linux 2.6 - 6.X Kernel\nsolaris;; Solaris/OpenSolaris/OpenIndiania kernel\n"
-                                          },
-                                          "parallel[n]" : {
-                                             "description" : "Map host parallel devices (n is 0 to 2).",
-                                             "optional" : 1,
-                                             "pattern" : "/dev/parport\\d+|/dev/usb/lp\\d+",
-                                             "type" : "string",
-                                             "verbose_description" : "Map host parallel devices (n is 0 to 2).\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "protection" : {
-                                             "default" : 0,
-                                             "description" : "Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "reboot" : {
-                                             "default" : 1,
-                                             "description" : "Allow reboot. If set to '0' the VM exit on reboot.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "revert" : {
-                                             "description" : "Revert a pending change.",
-                                             "format" : "pve-configid-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "rng0" : {
-                                             "description" : "Configure a VirtIO-based Random Number Generator.",
-                                             "format" : {
-                                                "max_bytes" : {
-                                                   "default" : 1024,
-                                                   "description" : "Maximum bytes of entropy allowed to get injected into the guest every 'period' milliseconds. Prefer a lower value when using '/dev/random' as source. Use `0` to disable limiting (potentially dangerous!).",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "period" : {
-                                                   "default" : 1000,
-                                                   "description" : "Every 'period' milliseconds the entropy-injection quota is reset, allowing the guest to retrieve another 'max_bytes' of entropy.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "source" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The file on the host to gather entropy from. In most cases '/dev/urandom' should be preferred over '/dev/random' to avoid entropy-starvation issues on the host. Using urandom does *not* decrease security in any meaningful way, as it's still seeded from real entropy, and the bytes provided will most likely be mixed with real entropy on the guest as well. '/dev/hwrng' can be used to pass through a hardware RNG from the host.",
-                                                   "enum" : [
-                                                      "/dev/urandom",
-                                                      "/dev/random",
-                                                      "/dev/hwrng"
-                                                   ],
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[source=]</dev/urandom|/dev/random|/dev/hwrng> [,max_bytes=<integer>] [,period=<integer>]"
-                                          },
-                                          "sata[n]" : {
-                                             "description" : "Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
-                                          },
-                                          "scsi[n]" : {
-                                             "description" : "Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iothread" : {
-                                                   "description" : "Whether to use iothreads for this drive",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "queues" : {
-                                                   "description" : "Number of queues.",
-                                                   "minimum" : 2,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "ro" : {
-                                                   "description" : "Whether the drive is read-only.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "scsiblock" : {
-                                                   "default" : 0,
-                                                   "description" : "whether to use scsi-block for full passthrough of host block device\n\nWARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,queues=<integer>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
-                                          },
-                                          "scsihw" : {
-                                             "default" : "lsi",
-                                             "description" : "SCSI controller model",
-                                             "enum" : [
-                                                "lsi",
-                                                "lsi53c810",
-                                                "virtio-scsi-pci",
-                                                "virtio-scsi-single",
-                                                "megasas",
-                                                "pvscsi"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "searchdomain" : {
-                                             "description" : "cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "serial[n]" : {
-                                             "description" : "Create a serial device inside the VM (n is 0 to 3)",
-                                             "optional" : 1,
-                                             "pattern" : "(/dev/.+|socket)",
-                                             "type" : "string",
-                                             "verbose_description" : "Create a serial device inside the VM (n is 0 to 3), and pass through a\nhost serial device (i.e. /dev/ttyS0), or create a unix socket on the\nhost side (use 'qm terminal' to open a terminal connection).\n\nNOTE: If you pass through a host serial device, it is no longer possible to migrate such machines -\nuse with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "shares" : {
-                                             "default" : 1000,
-                                             "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
-                                             "maximum" : 50000,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - 50000)"
-                                          },
-                                          "skiplock" : {
-                                             "description" : "Ignore locks - only root is allowed to use this option.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "smbios1" : {
-                                             "description" : "Specify SMBIOS type 1 fields.",
-                                             "format" : "pve-qm-smbios1",
-                                             "maxLength" : 512,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]"
-                                          },
-                                          "smp" : {
-                                             "default" : 1,
-                                             "description" : "The number of CPUs. Please use option -sockets instead.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "sockets" : {
-                                             "default" : 1,
-                                             "description" : "The number of CPU sockets.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "spice_enhancements" : {
-                                             "description" : "Configure additional enhancements for SPICE.",
-                                             "format" : {
-                                                "foldersharing" : {
-                                                   "default" : "0",
-                                                   "description" : "Enable folder sharing via SPICE. Needs Spice-WebDAV daemon installed in the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "videostreaming" : {
-                                                   "default" : "off",
-                                                   "description" : "Enable video streaming. Uses compression for detected video streams.",
-                                                   "enum" : [
-                                                      "off",
-                                                      "all",
-                                                      "filter"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[foldersharing=<1|0>] [,videostreaming=<off|all|filter>]"
-                                          },
-                                          "sshkeys" : {
-                                             "description" : "cloud-init: Setup public SSH keys (one key per line, OpenSSH format).",
-                                             "format" : "urlencoded",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "startdate" : {
-                                             "default" : "now",
-                                             "description" : "Set the initial date of the real time clock. Valid format for date are:'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
-                                             "optional" : 1,
-                                             "pattern" : "(now|\\d{4}-\\d{1,2}-\\d{1,2}(T\\d{1,2}:\\d{1,2}:\\d{1,2})?)",
-                                             "type" : "string",
-                                             "typetext" : "(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)"
-                                          },
-                                          "startup" : {
-                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
-                                             "format" : "pve-startup-order",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
-                                          },
-                                          "tablet" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable the USB tablet device.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>",
-                                             "verbose_description" : "Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (`qm set <vmid> --vga qxl`)."
-                                          },
-                                          "tags" : {
-                                             "description" : "Tags of the VM. This is only meta information.",
-                                             "format" : "pve-tag-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "tdf" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable time drift fix.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "template" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable Template.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "tpmstate0" : {
-                                             "description" : "Configure a Disk for storing TPM state. The format is fixed to 'raw'. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "version" : {
-                                                   "default" : "v2.0",
-                                                   "description" : "The TPM interface version. v2.0 is newer and should be preferred. Note that this cannot be changed later on.",
-                                                   "enum" : [
-                                                      "v1.2",
-                                                      "v2.0"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,import-from=<source volume>] [,size=<DiskSize>] [,version=<v1.2|v2.0>]"
-                                          },
-                                          "unused[n]" : {
-                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
-                                             "format" : {
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume>"
-                                          },
-                                          "usb[n]" : {
-                                             "description" : "Configure an USB device (n is 0 to 4, for machine version >= 7.1 and ostype l26 or windows > 7, n can be up to 14).",
-                                             "format" : {
-                                                "host" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:\n\n 'bus-port(.port)*' (decimal numbers) or\n 'vendor_id:product_id' (hexadeciaml numbers) or\n 'spice'\n\nYou can use the 'lsusb -t' command to list existing usb devices.\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nThe value 'spice' can be used to add a usb redirection devices for spice.\n",
-                                                   "format" : "pve-qm-usb-device",
-                                                   "format_description" : "HOSTUSBDEVICE|spice",
-                                                   "type" : "string"
-                                                },
-                                                "usb3" : {
-                                                   "default" : 0,
-                                                   "description" : "Specifies whether if given host option is a USB3 device or port. For modern guests (machine version >= 7.1 and ostype l26 and windows > 7), this flag is irrelevant (all devices are plugged into a xhci controller).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]"
-                                          },
-                                          "vcpus" : {
-                                             "default" : 0,
-                                             "description" : "Number of hotplugged vcpus.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vga" : {
-                                             "description" : "Configure the VGA hardware.",
-                                             "format" : {
-                                                "memory" : {
-                                                   "description" : "Sets the VGA memory (in MiB). Has no effect with serial display.",
-                                                   "maximum" : 512,
-                                                   "minimum" : 4,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "type" : {
-                                                   "default" : "std",
-                                                   "default_key" : 1,
-                                                   "description" : "Select the VGA type.",
-                                                   "enum" : [
-                                                      "cirrus",
-                                                      "qxl",
-                                                      "qxl2",
-                                                      "qxl3",
-                                                      "qxl4",
-                                                      "none",
-                                                      "serial0",
-                                                      "serial1",
-                                                      "serial2",
-                                                      "serial3",
-                                                      "std",
-                                                      "virtio",
-                                                      "virtio-gl",
-                                                      "vmware"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[type=]<enum>] [,memory=<integer>]",
-                                             "verbose_description" : "Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.\nYou can also run without any graphic card, using a serial device as terminal."
-                                          },
-                                          "virtio[n]" : {
-                                             "description" : "Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iothread" : {
-                                                   "description" : "Whether to use iothreads for this drive",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "ro" : {
-                                                   "description" : "Whether the drive is read-only.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]"
-                                          },
-                                          "vmgenid" : {
-                                             "default" : "1 (autogenerated)",
-                                             "description" : "Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.",
-                                             "format_description" : "UUID",
-                                             "optional" : 1,
-                                             "pattern" : "(?:[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}|[01])",
-                                             "type" : "string",
-                                             "verbose_description" : "The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.\nNote that auto-creation only works when done through API/CLI create or update methods, but not when manually editing the config file."
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vmstatestorage" : {
-                                             "description" : "Default storage for VM state volumes/files.",
-                                             "format" : "pve-storage-id",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "watchdog" : {
-                                             "description" : "Create a virtual hardware watchdog device.",
-                                             "format" : "pve-qm-watchdog",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[model=]<i6300esb|ib700>] [,action=<enum>]",
-                                             "verbose_description" : "Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Config.Disk",
-                                             "VM.Config.CDROM",
-                                             "VM.Config.CPU",
-                                             "VM.Config.Memory",
-                                             "VM.Config.Network",
-                                             "VM.Config.HWType",
-                                             "VM.Config.Options",
-                                             "VM.Config.Cloudinit"
-                                          ],
-                                          "any",
-                                          1
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    }
-                                 },
-                                 "PUT" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Set virtual machine options (synchrounous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation.",
-                                    "method" : "PUT",
-                                    "name" : "update_vm",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "acpi" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable ACPI.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "affinity" : {
-                                             "description" : "List of host cores used to execute guest processes, for example: 0,5,8-11",
-                                             "format" : "pve-cpuset",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "agent" : {
-                                             "description" : "Enable/disable communication with the QEMU Guest Agent and its properties.",
-                                             "format" : {
-                                                "enabled" : {
-                                                   "default" : 0,
-                                                   "default_key" : 1,
-                                                   "description" : "Enable/disable communication with a QEMU Guest Agent (QGA) running in the VM.",
-                                                   "type" : "boolean"
-                                                },
-                                                "freeze-fs-on-backup" : {
-                                                   "default" : 1,
-                                                   "description" : "Freeze/thaw guest filesystems on backup for consistency.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "fstrim_cloned_disks" : {
-                                                   "default" : 0,
-                                                   "description" : "Run fstrim after moving a disk or migrating the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "type" : {
-                                                   "default" : "virtio",
-                                                   "description" : "Select the agent type",
-                                                   "enum" : [
-                                                      "virtio",
-                                                      "isa"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[enabled=]<1|0> [,freeze-fs-on-backup=<1|0>] [,fstrim_cloned_disks=<1|0>] [,type=<virtio|isa>]"
-                                          },
-                                          "arch" : {
-                                             "description" : "Virtual processor architecture. Defaults to the host.",
-                                             "enum" : [
-                                                "x86_64",
-                                                "aarch64"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "args" : {
-                                             "description" : "Arbitrary arguments passed to kvm.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>",
-                                             "verbose_description" : "Arbitrary arguments passed to kvm, for example:\n\nargs: -no-reboot -no-hpet\n\nNOTE: this option is for experts only.\n"
-                                          },
-                                          "audio0" : {
-                                             "description" : "Configure a audio device, useful in combination with QXL/Spice.",
-                                             "format" : {
-                                                "device" : {
-                                                   "description" : "Configure an audio device.",
-                                                   "enum" : [
-                                                      "ich9-intel-hda",
-                                                      "intel-hda",
-                                                      "AC97"
-                                                   ],
-                                                   "type" : "string"
-                                                },
-                                                "driver" : {
-                                                   "default" : "spice",
-                                                   "description" : "Driver backend for the audio device.",
-                                                   "enum" : [
-                                                      "spice",
-                                                      "none"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "device=<ich9-intel-hda|intel-hda|AC97> [,driver=<spice|none>]"
-                                          },
-                                          "autostart" : {
-                                             "default" : 0,
-                                             "description" : "Automatic restart after crash (currently ignored).",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "balloon" : {
-                                             "description" : "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "bios" : {
-                                             "default" : "seabios",
-                                             "description" : "Select BIOS implementation.",
-                                             "enum" : [
-                                                "seabios",
-                                                "ovmf"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "boot" : {
-                                             "description" : "Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.",
-                                             "format" : "pve-qm-boot",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[legacy=]<[acdn]{1,4}>] [,order=<device[;device...]>]"
-                                          },
-                                          "bootdisk" : {
-                                             "description" : "Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.",
-                                             "format" : "pve-qm-bootdisk",
-                                             "optional" : 1,
-                                             "pattern" : "(ide|sata|scsi|virtio)\\d+",
-                                             "type" : "string"
-                                          },
-                                          "cdrom" : {
-                                             "description" : "This is an alias for option -ide2",
-                                             "format" : "pve-qm-ide",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<volume>"
-                                          },
-                                          "cicustom" : {
-                                             "description" : "cloud-init: Specify custom files to replace the automatically generated ones at start.",
-                                             "format" : "pve-qm-cicustom",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]"
-                                          },
-                                          "cipassword" : {
-                                             "description" : "cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "citype" : {
-                                             "description" : "Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.",
-                                             "enum" : [
-                                                "configdrive2",
-                                                "nocloud",
-                                                "opennebula"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ciuser" : {
-                                             "description" : "cloud-init: User name to change ssh keys and password for instead of the image's configured default user.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "cores" : {
-                                             "default" : 1,
-                                             "description" : "The number of cores per socket.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "cpu" : {
-                                             "description" : "Emulated CPU type.",
-                                             "format" : "pve-vm-cpu-conf",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[cputype=]<string>] [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>] [,phys-bits=<8-64|host>] [,reported-model=<enum>]"
-                                          },
-                                          "cpulimit" : {
-                                             "default" : 0,
-                                             "description" : "Limit of CPU usage.",
-                                             "maximum" : 128,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - 128)",
-                                             "verbose_description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit."
-                                          },
-                                          "cpuunits" : {
-                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
-                                             "description" : "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
-                                             "maximum" : 262144,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - 262144)",
-                                             "verbose_description" : "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs."
-                                          },
-                                          "delete" : {
-                                             "description" : "A list of settings you want to delete.",
-                                             "format" : "pve-configid-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "description" : {
-                                             "description" : "Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.",
-                                             "maxLength" : 8192,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "efidisk0" : {
-                                             "description" : "Configure a disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "efitype" : {
-                                                   "default" : "2m",
-                                                   "description" : "Size and type of the OVMF EFI vars. '4m' is newer and recommended, and required for Secure Boot. For backwards compatibility, '2m' is used if not otherwise specified. Ignored for VMs with arch=aarc64 (ARM).",
-                                                   "enum" : [
-                                                      "2m",
-                                                      "4m"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "pre-enrolled-keys" : {
-                                                   "default" : 0,
-                                                   "description" : "Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by default, though it can still be turned off from within the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,efitype=<2m|4m>] [,format=<enum>] [,import-from=<source volume>] [,pre-enrolled-keys=<1|0>] [,size=<DiskSize>]"
-                                          },
-                                          "force" : {
-                                             "description" : "Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called 'unused[n]', which contains the volume ID. Unlink of unused[n] always cause physical removal.",
-                                             "optional" : 1,
-                                             "requires" : "delete",
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "freeze" : {
-                                             "description" : "Freeze CPU at startup (use 'c' monitor command to start execution).",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "hookscript" : {
-                                             "description" : "Script that will be executed during various steps in the vms lifetime.",
-                                             "format" : "pve-volume-id",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "hostpci[n]" : {
-                                             "description" : "Map host PCI devices into guest.",
-                                             "format" : "pve-qm-hostpci",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[host=]<HOSTPCIID[;HOSTPCIID2...]> [,device-id=<hex id>] [,legacy-igd=<1|0>] [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,sub-device-id=<hex id>] [,sub-vendor-id=<hex id>] [,vendor-id=<hex id>] [,x-vga=<1|0>]",
-                                             "verbose_description" : "Map host PCI devices into guest.\n\nNOTE: This option allows direct access to host hardware. So it is no longer\npossible to migrate such machines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "hotplug" : {
-                                             "default" : "network,disk,usb",
-                                             "description" : "Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory', 'usb' and 'cloudinit'. Use '0' to disable hotplug completely. Using '1' as value is an alias for the default `network,disk,usb`. USB hotplugging is possible for guests with machine version >= 7.1 and ostype l26 or windows > 7.",
-                                             "format" : "pve-hotplug-features",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "hugepages" : {
-                                             "description" : "Enable/disable hugepages memory.",
-                                             "enum" : [
-                                                "any",
-                                                "2",
-                                                "1024"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ide[n]" : {
-                                             "description" : "Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "model" : {
-                                                   "description" : "The drive's reported model name, url-encoded, up to 40 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "model",
-                                                   "maxLength" : 120,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
-                                          },
-                                          "ipconfig[n]" : {
-                                             "description" : "cloud-init: Specify IP addresses and gateways for the corresponding interface.\n\nIP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.\n\nThe special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit\ngateway should be provided.\nFor IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires\ncloud-init 19.4 or newer.\n\nIf cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using\ndhcp on IPv4.\n",
-                                             "format" : "pve-qm-ipconfig",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]"
-                                          },
-                                          "ivshmem" : {
-                                             "description" : "Inter-VM shared memory. Useful for direct communication between VMs, or to the host.",
-                                             "format" : {
-                                                "name" : {
-                                                   "description" : "The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.",
-                                                   "format_description" : "string",
-                                                   "optional" : 1,
-                                                   "pattern" : "[a-zA-Z0-9\\-]+",
-                                                   "type" : "string"
-                                                },
-                                                "size" : {
-                                                   "description" : "The size of the file in MB.",
-                                                   "minimum" : 1,
-                                                   "type" : "integer"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "size=<integer> [,name=<string>]"
-                                          },
-                                          "keephugepages" : {
-                                             "default" : 0,
-                                             "description" : "Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "keyboard" : {
-                                             "default" : null,
-                                             "description" : "Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.",
-                                             "enum" : [
-                                                "de",
-                                                "de-ch",
-                                                "da",
-                                                "en-gb",
-                                                "en-us",
-                                                "es",
-                                                "fi",
-                                                "fr",
-                                                "fr-be",
-                                                "fr-ca",
-                                                "fr-ch",
-                                                "hu",
-                                                "is",
-                                                "it",
-                                                "ja",
-                                                "lt",
-                                                "mk",
-                                                "nl",
-                                                "no",
-                                                "pl",
-                                                "pt",
-                                                "pt-br",
-                                                "sv",
-                                                "sl",
-                                                "tr"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "kvm" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable KVM hardware virtualization.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "localtime" : {
-                                             "description" : "Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "lock" : {
-                                             "description" : "Lock/unlock the VM.",
-                                             "enum" : [
-                                                "backup",
-                                                "clone",
-                                                "create",
-                                                "migrate",
-                                                "rollback",
-                                                "snapshot",
-                                                "snapshot-delete",
-                                                "suspending",
-                                                "suspended"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "machine" : {
-                                             "description" : "Specifies the QEMU machine type.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
-                                             "type" : "string"
-                                          },
-                                          "memory" : {
-                                             "default" : 512,
-                                             "description" : "Amount of RAM for the VM in MiB. This is the maximum available memory when you use the balloon device.",
-                                             "minimum" : 16,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (16 - N)"
-                                          },
-                                          "migrate_downtime" : {
-                                             "default" : 0.1,
-                                             "description" : "Set maximum tolerated downtime (in seconds) for migrations.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - N)"
-                                          },
-                                          "migrate_speed" : {
-                                             "default" : 0,
-                                             "description" : "Set maximum speed (in MB/s) for migrations. Value 0 is no limit.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "name" : {
-                                             "description" : "Set a name for the VM. Only used on the configuration web interface.",
-                                             "format" : "dns-name",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "nameserver" : {
-                                             "description" : "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
-                                             "format" : "address-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "net[n]" : {
-                                             "description" : "Specify network devices.",
-                                             "format" : {
-                                                "bridge" : {
-                                                   "description" : "Bridge to attach the network device to. The Proxmox VE standard bridge\nis called 'vmbr0'.\n\nIf you do not specify a bridge, we create a kvm user (NATed) network\ndevice, which provides DHCP and DNS services. The following addresses\nare used:\n\n 10.0.2.2   Gateway\n 10.0.2.3   DNS Server\n 10.0.2.4   SMB Server\n\nThe DHCP server assign addresses to the guest starting from 10.0.2.15.\n",
-                                                   "format" : "pve-bridge-id",
-                                                   "format_description" : "bridge",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "e1000" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82540em" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82544gc" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000-82545em" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "e1000e" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "firewall" : {
-                                                   "description" : "Whether this interface should be protected by the firewall.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "i82551" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "i82557b" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "i82559er" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "link_down" : {
-                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "macaddr" : {
-                                                   "description" : "MAC address. That address must be unique withing your network. This is automatically generated if not specified.",
-                                                   "format" : "mac-addr",
-                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
-                                                },
-                                                "model" : {
-                                                   "default_key" : 1,
-                                                   "description" : "Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.",
-                                                   "enum" : [
-                                                      "e1000",
-                                                      "e1000-82540em",
-                                                      "e1000-82544gc",
-                                                      "e1000-82545em",
-                                                      "e1000e",
-                                                      "i82551",
-                                                      "i82557b",
-                                                      "i82559er",
-                                                      "ne2k_isa",
-                                                      "ne2k_pci",
-                                                      "pcnet",
-                                                      "rtl8139",
-                                                      "virtio",
-                                                      "vmxnet3"
-                                                   ],
-                                                   "type" : "string"
-                                                },
-                                                "mtu" : {
-                                                   "description" : "Force MTU, for VirtIO only. Set to '1' to use the bridge MTU",
-                                                   "maximum" : 65520,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "ne2k_isa" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "ne2k_pci" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "pcnet" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "queues" : {
-                                                   "description" : "Number of packet queues to be used on the device.",
-                                                   "maximum" : 64,
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "rate" : {
-                                                   "description" : "Rate limit in mbps (megabytes per second) as floating point number.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "rtl8139" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "tag" : {
-                                                   "description" : "VLAN tag to apply to packets on this interface.",
-                                                   "maximum" : 4094,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "trunks" : {
-                                                   "description" : "VLAN trunks to pass through this interface.",
-                                                   "format_description" : "vlanid[;vlanid...]",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "virtio" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                },
-                                                "vmxnet3" : {
-                                                   "alias" : "macaddr",
-                                                   "keyAlias" : "model"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,mtu=<integer>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "numa" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable NUMA.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "numa[n]" : {
-                                             "description" : "NUMA topology.",
-                                             "format" : {
-                                                "cpus" : {
-                                                   "description" : "CPUs accessing this NUMA node.",
-                                                   "format_description" : "id[-id];...",
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "hostnodes" : {
-                                                   "description" : "Host NUMA nodes to use.",
-                                                   "format_description" : "id[-id];...",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                                   "type" : "string"
-                                                },
-                                                "memory" : {
-                                                   "description" : "Amount of memory this NUMA node provides.",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "policy" : {
-                                                   "description" : "NUMA allocation policy.",
-                                                   "enum" : [
-                                                      "preferred",
-                                                      "bind",
-                                                      "interleave"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]"
-                                          },
-                                          "onboot" : {
-                                             "default" : 0,
-                                             "description" : "Specifies whether a VM will be started during system bootup.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "ostype" : {
-                                             "description" : "Specify guest operating system.",
-                                             "enum" : [
-                                                "other",
-                                                "wxp",
-                                                "w2k",
-                                                "w2k3",
-                                                "w2k8",
-                                                "wvista",
-                                                "win7",
-                                                "win8",
-                                                "win10",
-                                                "win11",
-                                                "l24",
-                                                "l26",
-                                                "solaris"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "verbose_description" : "Specify guest operating system. This is used to enable special\noptimization/features for specific operating systems:\n\n[horizontal]\nother;; unspecified OS\nwxp;; Microsoft Windows XP\nw2k;; Microsoft Windows 2000\nw2k3;; Microsoft Windows 2003\nw2k8;; Microsoft Windows 2008\nwvista;; Microsoft Windows Vista\nwin7;; Microsoft Windows 7\nwin8;; Microsoft Windows 8/2012/2012r2\nwin10;; Microsoft Windows 10/2016/2019\nwin11;; Microsoft Windows 11/2022\nl24;; Linux 2.4 Kernel\nl26;; Linux 2.6 - 6.X Kernel\nsolaris;; Solaris/OpenSolaris/OpenIndiania kernel\n"
-                                          },
-                                          "parallel[n]" : {
-                                             "description" : "Map host parallel devices (n is 0 to 2).",
-                                             "optional" : 1,
-                                             "pattern" : "/dev/parport\\d+|/dev/usb/lp\\d+",
-                                             "type" : "string",
-                                             "verbose_description" : "Map host parallel devices (n is 0 to 2).\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "protection" : {
-                                             "default" : 0,
-                                             "description" : "Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "reboot" : {
-                                             "default" : 1,
-                                             "description" : "Allow reboot. If set to '0' the VM exit on reboot.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "revert" : {
-                                             "description" : "Revert a pending change.",
-                                             "format" : "pve-configid-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "rng0" : {
-                                             "description" : "Configure a VirtIO-based Random Number Generator.",
-                                             "format" : {
-                                                "max_bytes" : {
-                                                   "default" : 1024,
-                                                   "description" : "Maximum bytes of entropy allowed to get injected into the guest every 'period' milliseconds. Prefer a lower value when using '/dev/random' as source. Use `0` to disable limiting (potentially dangerous!).",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "period" : {
-                                                   "default" : 1000,
-                                                   "description" : "Every 'period' milliseconds the entropy-injection quota is reset, allowing the guest to retrieve another 'max_bytes' of entropy.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "source" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The file on the host to gather entropy from. In most cases '/dev/urandom' should be preferred over '/dev/random' to avoid entropy-starvation issues on the host. Using urandom does *not* decrease security in any meaningful way, as it's still seeded from real entropy, and the bytes provided will most likely be mixed with real entropy on the guest as well. '/dev/hwrng' can be used to pass through a hardware RNG from the host.",
-                                                   "enum" : [
-                                                      "/dev/urandom",
-                                                      "/dev/random",
-                                                      "/dev/hwrng"
-                                                   ],
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[source=]</dev/urandom|/dev/random|/dev/hwrng> [,max_bytes=<integer>] [,period=<integer>]"
-                                          },
-                                          "sata[n]" : {
-                                             "description" : "Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
-                                          },
-                                          "scsi[n]" : {
-                                             "description" : "Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iothread" : {
-                                                   "description" : "Whether to use iothreads for this drive",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "queues" : {
-                                                   "description" : "Number of queues.",
-                                                   "minimum" : 2,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "ro" : {
-                                                   "description" : "Whether the drive is read-only.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "scsiblock" : {
-                                                   "default" : 0,
-                                                   "description" : "whether to use scsi-block for full passthrough of host block device\n\nWARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "ssd" : {
-                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "wwn" : {
-                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                                   "format_description" : "wwn",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,queues=<integer>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
-                                          },
-                                          "scsihw" : {
-                                             "default" : "lsi",
-                                             "description" : "SCSI controller model",
-                                             "enum" : [
-                                                "lsi",
-                                                "lsi53c810",
-                                                "virtio-scsi-pci",
-                                                "virtio-scsi-single",
-                                                "megasas",
-                                                "pvscsi"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "searchdomain" : {
-                                             "description" : "cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "serial[n]" : {
-                                             "description" : "Create a serial device inside the VM (n is 0 to 3)",
-                                             "optional" : 1,
-                                             "pattern" : "(/dev/.+|socket)",
-                                             "type" : "string",
-                                             "verbose_description" : "Create a serial device inside the VM (n is 0 to 3), and pass through a\nhost serial device (i.e. /dev/ttyS0), or create a unix socket on the\nhost side (use 'qm terminal' to open a terminal connection).\n\nNOTE: If you pass through a host serial device, it is no longer possible to migrate such machines -\nuse with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                                          },
-                                          "shares" : {
-                                             "default" : 1000,
-                                             "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
-                                             "maximum" : 50000,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - 50000)"
-                                          },
-                                          "skiplock" : {
-                                             "description" : "Ignore locks - only root is allowed to use this option.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "smbios1" : {
-                                             "description" : "Specify SMBIOS type 1 fields.",
-                                             "format" : "pve-qm-smbios1",
-                                             "maxLength" : 512,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]"
-                                          },
-                                          "smp" : {
-                                             "default" : 1,
-                                             "description" : "The number of CPUs. Please use option -sockets instead.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "sockets" : {
-                                             "default" : 1,
-                                             "description" : "The number of CPU sockets.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "spice_enhancements" : {
-                                             "description" : "Configure additional enhancements for SPICE.",
-                                             "format" : {
-                                                "foldersharing" : {
-                                                   "default" : "0",
-                                                   "description" : "Enable folder sharing via SPICE. Needs Spice-WebDAV daemon installed in the VM.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "videostreaming" : {
-                                                   "default" : "off",
-                                                   "description" : "Enable video streaming. Uses compression for detected video streams.",
-                                                   "enum" : [
-                                                      "off",
-                                                      "all",
-                                                      "filter"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[foldersharing=<1|0>] [,videostreaming=<off|all|filter>]"
-                                          },
-                                          "sshkeys" : {
-                                             "description" : "cloud-init: Setup public SSH keys (one key per line, OpenSSH format).",
-                                             "format" : "urlencoded",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "startdate" : {
-                                             "default" : "now",
-                                             "description" : "Set the initial date of the real time clock. Valid format for date are:'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
-                                             "optional" : 1,
-                                             "pattern" : "(now|\\d{4}-\\d{1,2}-\\d{1,2}(T\\d{1,2}:\\d{1,2}:\\d{1,2})?)",
-                                             "type" : "string",
-                                             "typetext" : "(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)"
-                                          },
-                                          "startup" : {
-                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
-                                             "format" : "pve-startup-order",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
-                                          },
-                                          "tablet" : {
-                                             "default" : 1,
-                                             "description" : "Enable/disable the USB tablet device.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>",
-                                             "verbose_description" : "Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (`qm set <vmid> --vga qxl`)."
-                                          },
-                                          "tags" : {
-                                             "description" : "Tags of the VM. This is only meta information.",
-                                             "format" : "pve-tag-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "tdf" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable time drift fix.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "template" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable Template.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "tpmstate0" : {
-                                             "description" : "Configure a Disk for storing TPM state. The format is fixed to 'raw'. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "version" : {
-                                                   "default" : "v2.0",
-                                                   "description" : "The TPM interface version. v2.0 is newer and should be preferred. Note that this cannot be changed later on.",
-                                                   "enum" : [
-                                                      "v1.2",
-                                                      "v2.0"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,import-from=<source volume>] [,size=<DiskSize>] [,version=<v1.2|v2.0>]"
-                                          },
-                                          "unused[n]" : {
-                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
-                                             "format" : {
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume>"
-                                          },
-                                          "usb[n]" : {
-                                             "description" : "Configure an USB device (n is 0 to 4, for machine version >= 7.1 and ostype l26 or windows > 7, n can be up to 14).",
-                                             "format" : {
-                                                "host" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:\n\n 'bus-port(.port)*' (decimal numbers) or\n 'vendor_id:product_id' (hexadeciaml numbers) or\n 'spice'\n\nYou can use the 'lsusb -t' command to list existing usb devices.\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nThe value 'spice' can be used to add a usb redirection devices for spice.\n",
-                                                   "format" : "pve-qm-usb-device",
-                                                   "format_description" : "HOSTUSBDEVICE|spice",
-                                                   "type" : "string"
-                                                },
-                                                "usb3" : {
-                                                   "default" : 0,
-                                                   "description" : "Specifies whether if given host option is a USB3 device or port. For modern guests (machine version >= 7.1 and ostype l26 and windows > 7), this flag is irrelevant (all devices are plugged into a xhci controller).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]"
-                                          },
-                                          "vcpus" : {
-                                             "default" : 0,
-                                             "description" : "Number of hotplugged vcpus.",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vga" : {
-                                             "description" : "Configure the VGA hardware.",
-                                             "format" : {
-                                                "memory" : {
-                                                   "description" : "Sets the VGA memory (in MiB). Has no effect with serial display.",
-                                                   "maximum" : 512,
-                                                   "minimum" : 4,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "type" : {
-                                                   "default" : "std",
-                                                   "default_key" : 1,
-                                                   "description" : "Select the VGA type.",
-                                                   "enum" : [
-                                                      "cirrus",
-                                                      "qxl",
-                                                      "qxl2",
-                                                      "qxl3",
-                                                      "qxl4",
-                                                      "none",
-                                                      "serial0",
-                                                      "serial1",
-                                                      "serial2",
-                                                      "serial3",
-                                                      "std",
-                                                      "virtio",
-                                                      "virtio-gl",
-                                                      "vmware"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[type=]<enum>] [,memory=<integer>]",
-                                             "verbose_description" : "Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.\nYou can also run without any graphic card, using a serial device as terminal."
-                                          },
-                                          "virtio[n]" : {
-                                             "description" : "Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                             "format" : {
-                                                "aio" : {
-                                                   "description" : "AIO type to use.",
-                                                   "enum" : [
-                                                      "native",
-                                                      "threads",
-                                                      "io_uring"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "backup" : {
-                                                   "description" : "Whether the drive should be included when making backups.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "bps" : {
-                                                   "description" : "Maximum r/w speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd" : {
-                                                   "description" : "Maximum read speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_rd_length" : {
-                                                   "alias" : "bps_rd_max_length"
-                                                },
-                                                "bps_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr" : {
-                                                   "description" : "Maximum write speed in bytes per second.",
-                                                   "format_description" : "bps",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "bps_wr_length" : {
-                                                   "alias" : "bps_wr_max_length"
-                                                },
-                                                "bps_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "cache" : {
-                                                   "description" : "The drive's cache mode",
-                                                   "enum" : [
-                                                      "none",
-                                                      "writethrough",
-                                                      "writeback",
-                                                      "unsafe",
-                                                      "directsync"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "cyls" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "detect_zeroes" : {
-                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "discard" : {
-                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "on"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "file" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The drive's backing volume.",
-                                                   "format" : "pve-volume-id-or-qm-path",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                },
-                                                "format" : {
-                                                   "description" : "The drive's backing file's data format.",
-                                                   "enum" : [
-                                                      "raw",
-                                                      "cow",
-                                                      "qcow",
-                                                      "qed",
-                                                      "qcow2",
-                                                      "vmdk",
-                                                      "cloop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "heads" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "import-from" : {
-                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                                   "format" : "pve-volume-id-or-absolute-path",
-                                                   "format_description" : "source volume",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "iops" : {
-                                                   "description" : "Maximum r/w I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max" : {
-                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_max_length" : {
-                                                   "description" : "Maximum length of I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd" : {
-                                                   "description" : "Maximum read I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_length" : {
-                                                   "alias" : "iops_rd_max_length"
-                                                },
-                                                "iops_rd_max" : {
-                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_rd_max_length" : {
-                                                   "description" : "Maximum length of read I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr" : {
-                                                   "description" : "Maximum write I/O in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_length" : {
-                                                   "alias" : "iops_wr_max_length"
-                                                },
-                                                "iops_wr_max" : {
-                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                                   "format_description" : "iops",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iops_wr_max_length" : {
-                                                   "description" : "Maximum length of write I/O bursts in seconds.",
-                                                   "format_description" : "seconds",
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "iothread" : {
-                                                   "description" : "Whether to use iothreads for this drive",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "mbps" : {
-                                                   "description" : "Maximum r/w speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_max" : {
-                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd" : {
-                                                   "description" : "Maximum read speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_rd_max" : {
-                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr" : {
-                                                   "description" : "Maximum write speed in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "mbps_wr_max" : {
-                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "media" : {
-                                                   "default" : "disk",
-                                                   "description" : "The drive's media type.",
-                                                   "enum" : [
-                                                      "cdrom",
-                                                      "disk"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Whether the drive should considered for replication jobs.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "rerror" : {
-                                                   "description" : "Read error action.",
-                                                   "enum" : [
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "ro" : {
-                                                   "description" : "Whether the drive is read-only.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "secs" : {
-                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "serial" : {
-                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                                   "format" : "urlencoded",
-                                                   "format_description" : "serial",
-                                                   "maxLength" : 60,
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this locally-managed volume as available on all nodes",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                                },
-                                                "size" : {
-                                                   "description" : "Disk size. This is purely informational and has no effect.",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "snapshot" : {
-                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "trans" : {
-                                                   "description" : "Force disk geometry bios translation mode.",
-                                                   "enum" : [
-                                                      "none",
-                                                      "lba",
-                                                      "auto"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "volume" : {
-                                                   "alias" : "file"
-                                                },
-                                                "werror" : {
-                                                   "description" : "Write error action.",
-                                                   "enum" : [
-                                                      "enospc",
-                                                      "ignore",
-                                                      "report",
-                                                      "stop"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]"
-                                          },
-                                          "vmgenid" : {
-                                             "default" : "1 (autogenerated)",
-                                             "description" : "Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.",
-                                             "format_description" : "UUID",
-                                             "optional" : 1,
-                                             "pattern" : "(?:[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}|[01])",
-                                             "type" : "string",
-                                             "verbose_description" : "The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.\nNote that auto-creation only works when done through API/CLI create or update methods, but not when manually editing the config file."
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vmstatestorage" : {
-                                             "description" : "Default storage for VM state volumes/files.",
-                                             "format" : "pve-storage-id",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "watchdog" : {
-                                             "description" : "Create a virtual hardware watchdog device.",
-                                             "format" : "pve-qm-watchdog",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[model=]<i6300esb|ib700>] [,action=<enum>]",
-                                             "verbose_description" : "Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Config.Disk",
-                                             "VM.Config.CDROM",
-                                             "VM.Config.CPU",
-                                             "VM.Config.Memory",
-                                             "VM.Config.Network",
-                                             "VM.Config.HWType",
-                                             "VM.Config.Options",
-                                             "VM.Config.Cloudinit"
-                                          ],
-                                          "any",
-                                          1
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/config",
-                              "text" : "config"
-                           },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Get the virtual machine configuration with both current and pending values.",
-                                    "method" : "GET",
-                                    "name" : "vm_pending",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
-                                    },
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {
-                                             "delete" : {
-                                                "description" : "Indicates a pending delete request if present and not 0. The value 2 indicates a force-delete request.",
-                                                "maximum" : 2,
-                                                "minimum" : 0,
-                                                "optional" : 1,
-                                                "type" : "integer"
-                                             },
-                                             "key" : {
-                                                "description" : "Configuration option name.",
-                                                "type" : "string"
-                                             },
-                                             "pending" : {
-                                                "description" : "Pending value.",
-                                                "optional" : 1,
-                                                "type" : "string"
-                                             },
-                                             "value" : {
-                                                "description" : "Current value.",
-                                                "optional" : 1,
-                                                "type" : "string"
-                                             }
-                                          },
-                                          "type" : "object"
-                                       },
-                                       "type" : "array"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/pending",
-                              "text" : "pending"
-                           },
-                           {
-                              "children" : [
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Get automatically generated cloudinit config.",
-                                          "method" : "GET",
-                                          "name" : "cloudinit_generated_config_dump",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "type" : {
-                                                   "description" : "Config type.",
-                                                   "enum" : [
-                                                      "user",
-                                                      "network",
-                                                      "meta"
-                                                   ],
-                                                   "type" : "string"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
-                                          },
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/cloudinit/dump",
-                                    "text" : "dump"
-                                 }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Get the cloudinit configuration with both current and pending values.",
-                                    "method" : "GET",
-                                    "name" : "cloudinit_pending",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
-                                    },
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {
-                                             "key" : {
-                                                "description" : "Configuration option name.",
-                                                "type" : "string"
-                                             },
-                                             "new" : {
-                                                "description" : "The new pending value.",
-                                                "optional" : 1,
-                                                "type" : "string"
-                                             },
-                                             "old" : {
-                                                "description" : "Value as it was used to generate the current cloudinit image.",
-                                                "optional" : 1,
-                                                "type" : "string"
-                                             }
-                                          },
-                                          "type" : "object"
-                                       },
-                                       "type" : "array"
-                                    }
-                                 },
-                                 "PUT" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Regenerate and change cloudinit config drive.",
-                                    "method" : "PUT",
-                                    "name" : "cloudinit_update",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          "VM.Config.Cloudinit"
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/qemu/{vmid}/cloudinit",
-                              "text" : "cloudinit"
-                           },
-                           {
-                              "info" : {
-                                 "PUT" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Unlink/delete disk images.",
-                                    "method" : "PUT",
-                                    "name" : "unlink",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "force" : {
-                                             "description" : "Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called 'unused[n]', which contains the volume ID. Unlink of unused[n] always cause physical removal.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "idlist" : {
-                                             "description" : "A list of disk IDs you want to delete.",
-                                             "format" : "pve-configid-list",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Config.Disk"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/unlink",
-                              "text" : "unlink"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Creates a TCP VNC proxy connections.",
-                                    "method" : "POST",
-                                    "name" : "vncproxy",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "generate-password" : {
-                                             "default" : 0,
-                                             "description" : "Generates a random password to be used as ticket instead of the API ticket.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "websocket" : {
-                                             "description" : "starts websockify instead of vncproxy",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Console"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cert" : {
-                                             "type" : "string"
-                                          },
-                                          "password" : {
-                                             "description" : "Returned if requested with 'generate-password' param. Consists of printable ASCII characters ('!' .. '~').",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "port" : {
-                                             "type" : "integer"
-                                          },
-                                          "ticket" : {
-                                             "type" : "string"
-                                          },
-                                          "upid" : {
-                                             "type" : "string"
-                                          },
-                                          "user" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/vncproxy",
-                              "text" : "vncproxy"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Creates a TCP proxy connections.",
-                                    "method" : "POST",
-                                    "name" : "termproxy",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "serial" : {
-                                             "description" : "opens a serial terminal (defaults to display)",
-                                             "enum" : [
-                                                "serial0",
-                                                "serial1",
-                                                "serial2",
-                                                "serial3"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Console"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "port" : {
-                                             "type" : "integer"
-                                          },
-                                          "ticket" : {
-                                             "type" : "string"
-                                          },
-                                          "upid" : {
-                                             "type" : "string"
-                                          },
-                                          "user" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/termproxy",
-                              "text" : "termproxy"
-                           },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Opens a weksocket for VNC traffic.",
-                                    "method" : "GET",
-                                    "name" : "vncwebsocket",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "port" : {
-                                             "description" : "Port number returned by previous vncproxy call.",
-                                             "maximum" : 5999,
-                                             "minimum" : 5900,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (5900 - 5999)"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vncticket" : {
-                                             "description" : "Ticket from previous call to vncproxy.",
-                                             "maxLength" : 512,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Console"
-                                          ]
-                                       ],
-                                       "description" : "You also need to pass a valid ticket (vncticket)."
-                                    },
-                                    "returns" : {
-                                       "properties" : {
-                                          "port" : {
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/vncwebsocket",
-                              "text" : "vncwebsocket"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Returns a SPICE configuration to connect to the VM.",
-                                    "method" : "POST",
-                                    "name" : "spiceproxy",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "proxy" : {
-                                             "description" : "SPICE proxy server. This can be used by the client to specify the proxy server. All nodes in a cluster runs 'spiceproxy', so it is up to the client to choose one. By default, we return the node where the VM is currently running. As reasonable setting is to use same node you use to connect to the API (This is window.location.hostname for the JS GUI).",
-                                             "format" : "address",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Console"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "additionalProperties" : 1,
-                                       "description" : "Returned values can be directly passed to the 'remote-viewer' application.",
-                                       "properties" : {
-                                          "host" : {
-                                             "type" : "string"
-                                          },
-                                          "password" : {
-                                             "type" : "string"
-                                          },
-                                          "proxy" : {
-                                             "type" : "string"
-                                          },
-                                          "tls-port" : {
-                                             "type" : "integer"
-                                          },
-                                          "type" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/spiceproxy",
-                              "text" : "spiceproxy"
-                           },
-                           {
-                              "children" : [
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Get virtual machine status.",
-                                          "method" : "GET",
-                                          "name" : "vm_status",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "agent" : {
-                                                   "description" : "QEMU Guest Agent is enabled in config.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "cpus" : {
-                                                   "description" : "Maximum usable CPUs.",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "ha" : {
-                                                   "description" : "HA manager service status.",
-                                                   "type" : "object"
-                                                },
-                                                "lock" : {
-                                                   "description" : "The current config lock, if any.",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "maxdisk" : {
-                                                   "description" : "Root disk size in bytes.",
-                                                   "optional" : 1,
-                                                   "renderer" : "bytes",
-                                                   "type" : "integer"
-                                                },
-                                                "maxmem" : {
-                                                   "description" : "Maximum memory in bytes.",
-                                                   "optional" : 1,
-                                                   "renderer" : "bytes",
-                                                   "type" : "integer"
-                                                },
-                                                "name" : {
-                                                   "description" : "VM name.",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "pid" : {
-                                                   "description" : "PID of running qemu process.",
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "qmpstatus" : {
-                                                   "description" : "QEMU QMP agent status.",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "running-machine" : {
-                                                   "description" : "The currently running machine type (if running).",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "running-qemu" : {
-                                                   "description" : "The currently running QEMU version (if running).",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "spice" : {
-                                                   "description" : "QEMU VGA configuration supports spice.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "status" : {
-                                                   "description" : "QEMU process status.",
-                                                   "enum" : [
-                                                      "stopped",
-                                                      "running"
-                                                   ],
-                                                   "type" : "string"
-                                                },
-                                                "tags" : {
-                                                   "description" : "The current configured tags, if any",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "uptime" : {
-                                                   "description" : "Uptime.",
-                                                   "optional" : 1,
-                                                   "renderer" : "duration",
-                                                   "type" : "integer"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/status/current",
-                                    "text" : "current"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Start virtual machine.",
-                                          "method" : "POST",
-                                          "name" : "vm_start",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "force-cpu" : {
-                                                   "description" : "Override QEMU's -cpu argument with the given string.",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "machine" : {
-                                                   "description" : "Specifies the QEMU machine type.",
-                                                   "maxLength" : 40,
-                                                   "optional" : 1,
-                                                   "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
-                                                   "type" : "string"
-                                                },
-                                                "migratedfrom" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "migration_network" : {
-                                                   "description" : "CIDR of the (sub) network that is used for migration.",
-                                                   "format" : "CIDR",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "migration_type" : {
-                                                   "description" : "Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.",
-                                                   "enum" : [
-                                                      "secure",
-                                                      "insecure"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "skiplock" : {
-                                                   "description" : "Ignore locks - only root is allowed to use this option.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "stateuri" : {
-                                                   "description" : "Some command save/restore state from this location.",
-                                                   "maxLength" : 128,
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "targetstorage" : {
-                                                   "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
-                                                   "format" : "storage-pair-list",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "timeout" : {
-                                                   "default" : "max(30, vm memory in GiB)",
-                                                   "description" : "Wait maximal timeout seconds.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/status/start",
-                                    "text" : "start"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Stop virtual machine. The qemu process will exit immediately. Thisis akin to pulling the power plug of a running computer and may damage the VM data",
-                                          "method" : "POST",
-                                          "name" : "vm_stop",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "keepActive" : {
-                                                   "default" : 0,
-                                                   "description" : "Do not deactivate storage volumes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "migratedfrom" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "skiplock" : {
-                                                   "description" : "Ignore locks - only root is allowed to use this option.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "timeout" : {
-                                                   "description" : "Wait maximal timeout seconds.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/status/stop",
-                                    "text" : "stop"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Reset virtual machine.",
-                                          "method" : "POST",
-                                          "name" : "vm_reset",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "skiplock" : {
-                                                   "description" : "Ignore locks - only root is allowed to use this option.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/status/reset",
-                                    "text" : "reset"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Shutdown virtual machine. This is similar to pressing the power button on a physical machine.This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown.",
-                                          "method" : "POST",
-                                          "name" : "vm_shutdown",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "forceStop" : {
-                                                   "default" : 0,
-                                                   "description" : "Make sure the VM stops.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "keepActive" : {
-                                                   "default" : 0,
-                                                   "description" : "Do not deactivate storage volumes.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "skiplock" : {
-                                                   "description" : "Ignore locks - only root is allowed to use this option.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "timeout" : {
-                                                   "description" : "Wait maximal timeout seconds.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/status/shutdown",
-                                    "text" : "shutdown"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Reboot the VM by shutting it down, and starting it again. Applies pending changes.",
-                                          "method" : "POST",
-                                          "name" : "vm_reboot",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "timeout" : {
-                                                   "description" : "Wait maximal timeout seconds for the shutdown.",
-                                                   "minimum" : 0,
-                                                   "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/status/reboot",
-                                    "text" : "reboot"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Suspend virtual machine.",
-                                          "method" : "POST",
-                                          "name" : "vm_suspend",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "skiplock" : {
-                                                   "description" : "Ignore locks - only root is allowed to use this option.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "statestorage" : {
-                                                   "description" : "The storage for the VM state",
-                                                   "format" : "pve-storage-id",
-                                                   "optional" : 1,
-                                                   "requires" : "todisk",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "todisk" : {
-                                                   "default" : 0,
-                                                   "description" : "If set, suspends the VM to disk. Will be resumed on next VM start.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ],
-                                             "description" : "You need 'VM.PowerMgmt' on /vms/{vmid}, and if you have set 'todisk', you need also 'VM.Config.Disk' on /vms/{vmid} and 'Datastore.AllocateSpace' on the storage for the vmstate."
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/status/suspend",
-                                    "text" : "suspend"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Resume virtual machine.",
-                                          "method" : "POST",
-                                          "name" : "vm_resume",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "nocheck" : {
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "skiplock" : {
-                                                   "description" : "Ignore locks - only root is allowed to use this option.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/status/resume",
-                                    "text" : "resume"
-                                 }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Directory index",
-                                    "method" : "GET",
-                                    "name" : "vmcmdidx",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "user" : "all"
-                                    },
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {
-                                             "subdir" : {
-                                                "type" : "string"
-                                             }
-                                          },
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{subdir}",
-                                             "rel" : "child"
-                                          }
-                                       ],
-                                       "type" : "array"
-                                    }
-                                 }
-                              },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/qemu/{vmid}/status",
-                              "text" : "status"
-                           },
-                           {
-                              "info" : {
-                                 "PUT" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Send key event to virtual machine.",
-                                    "method" : "PUT",
-                                    "name" : "vm_sendkey",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "key" : {
-                                             "description" : "The key (qemu monitor encoding).",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "skiplock" : {
-                                             "description" : "Ignore locks - only root is allowed to use this option.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Console"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/sendkey",
-                              "text" : "sendkey"
-                           },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Check if feature for virtual machine is available.",
-                                    "method" : "GET",
-                                    "name" : "vm_feature",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "feature" : {
-                                             "description" : "Feature to check.",
-                                             "enum" : [
-                                                "snapshot",
-                                                "clone",
-                                                "copy"
-                                             ],
-                                             "type" : "string"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "snapname" : {
-                                             "description" : "The name of the snapshot.",
-                                             "format" : "pve-configid",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "properties" : {
-                                          "hasFeature" : {
-                                             "type" : "boolean"
-                                          },
-                                          "nodes" : {
-                                             "items" : {
-                                                "type" : "string"
-                                             },
-                                             "type" : "array"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/feature",
-                              "text" : "feature"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Create a copy of virtual machine/template.",
-                                    "method" : "POST",
-                                    "name" : "clone_vm",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "bwlimit" : {
-                                             "default" : "clone limit from datacenter or storage config",
-                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                             "minimum" : "0",
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "description" : {
-                                             "description" : "Description for the new VM.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "format" : {
-                                             "description" : "Target format for file storage. Only valid for full clone.",
-                                             "enum" : [
-                                                "raw",
-                                                "qcow2",
-                                                "vmdk"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "full" : {
-                                             "description" : "Create a full copy of all disks. This is always done when you clone a normal VM. For VM templates, we try to create a linked clone by default.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "name" : {
-                                             "description" : "Set a name for the new VM.",
-                                             "format" : "dns-name",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "newid" : {
-                                             "description" : "VMID for the clone.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "pool" : {
-                                             "description" : "Add the new VM to the specified pool.",
-                                             "format" : "pve-poolid",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "snapname" : {
-                                             "description" : "The name of the snapshot.",
-                                             "format" : "pve-configid",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "storage" : {
-                                             "description" : "Target storage for full clone.",
-                                             "format" : "pve-storage-id",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target" : {
-                                             "description" : "Target node. Only allowed if the original VM is on shared storage.",
-                                             "format" : "pve-node",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "and",
-                                          [
-                                             "perm",
-                                             "/vms/{vmid}",
-                                             [
-                                                "VM.Clone"
-                                             ]
-                                          ],
-                                          [
-                                             "or",
-                                             [
-                                                "perm",
-                                                "/vms/{newid}",
-                                                [
-                                                   "VM.Allocate"
-                                                ]
-                                             ],
-                                             [
-                                                "perm",
-                                                "/pool/{pool}",
-                                                [
-                                                   "VM.Allocate"
-                                                ],
-                                                "require_param",
-                                                "pool"
-                                             ]
-                                          ]
-                                       ],
-                                       "description" : "You need 'VM.Clone' permissions on /vms/{vmid}, and 'VM.Allocate' permissions on /vms/{newid} (or on the VM pool /pool/{pool}). You also need 'Datastore.AllocateSpace' on any used storage."
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/clone",
-                              "text" : "clone"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Move volume to different storage or to a different VM.",
-                                    "method" : "POST",
-                                    "name" : "move_vm_disk",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "bwlimit" : {
-                                             "default" : "move limit from datacenter or storage config",
-                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                             "minimum" : "0",
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "delete" : {
-                                             "default" : 0,
-                                             "description" : "Delete the original disk after successful copy. By default the original disk is kept as unused disk.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1\"\n\t\t    .\" digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "disk" : {
-                                             "description" : "The disk you want to move.",
-                                             "enum" : [
-                                                "ide0",
-                                                "ide1",
-                                                "ide2",
-                                                "ide3",
-                                                "scsi0",
-                                                "scsi1",
-                                                "scsi2",
-                                                "scsi3",
-                                                "scsi4",
-                                                "scsi5",
-                                                "scsi6",
-                                                "scsi7",
-                                                "scsi8",
-                                                "scsi9",
-                                                "scsi10",
-                                                "scsi11",
-                                                "scsi12",
-                                                "scsi13",
-                                                "scsi14",
-                                                "scsi15",
-                                                "scsi16",
-                                                "scsi17",
-                                                "scsi18",
-                                                "scsi19",
-                                                "scsi20",
-                                                "scsi21",
-                                                "scsi22",
-                                                "scsi23",
-                                                "scsi24",
-                                                "scsi25",
-                                                "scsi26",
-                                                "scsi27",
-                                                "scsi28",
-                                                "scsi29",
-                                                "scsi30",
-                                                "virtio0",
-                                                "virtio1",
-                                                "virtio2",
-                                                "virtio3",
-                                                "virtio4",
-                                                "virtio5",
-                                                "virtio6",
-                                                "virtio7",
-                                                "virtio8",
-                                                "virtio9",
-                                                "virtio10",
-                                                "virtio11",
-                                                "virtio12",
-                                                "virtio13",
-                                                "virtio14",
-                                                "virtio15",
-                                                "sata0",
-                                                "sata1",
-                                                "sata2",
-                                                "sata3",
-                                                "sata4",
-                                                "sata5",
-                                                "efidisk0",
-                                                "tpmstate0",
-                                                "unused0",
-                                                "unused1",
-                                                "unused2",
-                                                "unused3",
-                                                "unused4",
-                                                "unused5",
-                                                "unused6",
-                                                "unused7",
-                                                "unused8",
-                                                "unused9",
-                                                "unused10",
-                                                "unused11",
-                                                "unused12",
-                                                "unused13",
-                                                "unused14",
-                                                "unused15",
-                                                "unused16",
-                                                "unused17",
-                                                "unused18",
-                                                "unused19",
-                                                "unused20",
-                                                "unused21",
-                                                "unused22",
-                                                "unused23",
-                                                "unused24",
-                                                "unused25",
-                                                "unused26",
-                                                "unused27",
-                                                "unused28",
-                                                "unused29",
-                                                "unused30",
-                                                "unused31",
-                                                "unused32",
-                                                "unused33",
-                                                "unused34",
-                                                "unused35",
-                                                "unused36",
-                                                "unused37",
-                                                "unused38",
-                                                "unused39",
-                                                "unused40",
-                                                "unused41",
-                                                "unused42",
-                                                "unused43",
-                                                "unused44",
-                                                "unused45",
-                                                "unused46",
-                                                "unused47",
-                                                "unused48",
-                                                "unused49",
-                                                "unused50",
-                                                "unused51",
-                                                "unused52",
-                                                "unused53",
-                                                "unused54",
-                                                "unused55",
-                                                "unused56",
-                                                "unused57",
-                                                "unused58",
-                                                "unused59",
-                                                "unused60",
-                                                "unused61",
-                                                "unused62",
-                                                "unused63",
-                                                "unused64",
-                                                "unused65",
-                                                "unused66",
-                                                "unused67",
-                                                "unused68",
-                                                "unused69",
-                                                "unused70",
-                                                "unused71",
-                                                "unused72",
-                                                "unused73",
-                                                "unused74",
-                                                "unused75",
-                                                "unused76",
-                                                "unused77",
-                                                "unused78",
-                                                "unused79",
-                                                "unused80",
-                                                "unused81",
-                                                "unused82",
-                                                "unused83",
-                                                "unused84",
-                                                "unused85",
-                                                "unused86",
-                                                "unused87",
-                                                "unused88",
-                                                "unused89",
-                                                "unused90",
-                                                "unused91",
-                                                "unused92",
-                                                "unused93",
-                                                "unused94",
-                                                "unused95",
-                                                "unused96",
-                                                "unused97",
-                                                "unused98",
-                                                "unused99",
-                                                "unused100",
-                                                "unused101",
-                                                "unused102",
-                                                "unused103",
-                                                "unused104",
-                                                "unused105",
-                                                "unused106",
-                                                "unused107",
-                                                "unused108",
-                                                "unused109",
-                                                "unused110",
-                                                "unused111",
-                                                "unused112",
-                                                "unused113",
-                                                "unused114",
-                                                "unused115",
-                                                "unused116",
-                                                "unused117",
-                                                "unused118",
-                                                "unused119",
-                                                "unused120",
-                                                "unused121",
-                                                "unused122",
-                                                "unused123",
-                                                "unused124",
-                                                "unused125",
-                                                "unused126",
-                                                "unused127",
-                                                "unused128",
-                                                "unused129",
-                                                "unused130",
-                                                "unused131",
-                                                "unused132",
-                                                "unused133",
-                                                "unused134",
-                                                "unused135",
-                                                "unused136",
-                                                "unused137",
-                                                "unused138",
-                                                "unused139",
-                                                "unused140",
-                                                "unused141",
-                                                "unused142",
-                                                "unused143",
-                                                "unused144",
-                                                "unused145",
-                                                "unused146",
-                                                "unused147",
-                                                "unused148",
-                                                "unused149",
-                                                "unused150",
-                                                "unused151",
-                                                "unused152",
-                                                "unused153",
-                                                "unused154",
-                                                "unused155",
-                                                "unused156",
-                                                "unused157",
-                                                "unused158",
-                                                "unused159",
-                                                "unused160",
-                                                "unused161",
-                                                "unused162",
-                                                "unused163",
-                                                "unused164",
-                                                "unused165",
-                                                "unused166",
-                                                "unused167",
-                                                "unused168",
-                                                "unused169",
-                                                "unused170",
-                                                "unused171",
-                                                "unused172",
-                                                "unused173",
-                                                "unused174",
-                                                "unused175",
-                                                "unused176",
-                                                "unused177",
-                                                "unused178",
-                                                "unused179",
-                                                "unused180",
-                                                "unused181",
-                                                "unused182",
-                                                "unused183",
-                                                "unused184",
-                                                "unused185",
-                                                "unused186",
-                                                "unused187",
-                                                "unused188",
-                                                "unused189",
-                                                "unused190",
-                                                "unused191",
-                                                "unused192",
-                                                "unused193",
-                                                "unused194",
-                                                "unused195",
-                                                "unused196",
-                                                "unused197",
-                                                "unused198",
-                                                "unused199",
-                                                "unused200",
-                                                "unused201",
-                                                "unused202",
-                                                "unused203",
-                                                "unused204",
-                                                "unused205",
-                                                "unused206",
-                                                "unused207",
-                                                "unused208",
-                                                "unused209",
-                                                "unused210",
-                                                "unused211",
-                                                "unused212",
-                                                "unused213",
-                                                "unused214",
-                                                "unused215",
-                                                "unused216",
-                                                "unused217",
-                                                "unused218",
-                                                "unused219",
-                                                "unused220",
-                                                "unused221",
-                                                "unused222",
-                                                "unused223",
-                                                "unused224",
-                                                "unused225",
-                                                "unused226",
-                                                "unused227",
-                                                "unused228",
-                                                "unused229",
-                                                "unused230",
-                                                "unused231",
-                                                "unused232",
-                                                "unused233",
-                                                "unused234",
-                                                "unused235",
-                                                "unused236",
-                                                "unused237",
-                                                "unused238",
-                                                "unused239",
-                                                "unused240",
-                                                "unused241",
-                                                "unused242",
-                                                "unused243",
-                                                "unused244",
-                                                "unused245",
-                                                "unused246",
-                                                "unused247",
-                                                "unused248",
-                                                "unused249",
-                                                "unused250",
-                                                "unused251",
-                                                "unused252",
-                                                "unused253",
-                                                "unused254",
-                                                "unused255"
-                                             ],
-                                             "type" : "string"
-                                          },
-                                          "format" : {
-                                             "description" : "Target Format.",
-                                             "enum" : [
-                                                "raw",
-                                                "qcow2",
-                                                "vmdk"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "storage" : {
-                                             "description" : "Target storage.",
-                                             "format" : "pve-storage-id",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target-digest" : {
-                                             "description" : "Prevent changes if the current config file of the target VM has a\"\n\t\t    .\" different SHA1 digest. This can be used to detect concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target-disk" : {
-                                             "description" : "The config key the disk will be moved to on the target VM (for example, ide0 or scsi1). Default is the source disk key.",
-                                             "enum" : [
-                                                "ide0",
-                                                "ide1",
-                                                "ide2",
-                                                "ide3",
-                                                "scsi0",
-                                                "scsi1",
-                                                "scsi2",
-                                                "scsi3",
-                                                "scsi4",
-                                                "scsi5",
-                                                "scsi6",
-                                                "scsi7",
-                                                "scsi8",
-                                                "scsi9",
-                                                "scsi10",
-                                                "scsi11",
-                                                "scsi12",
-                                                "scsi13",
-                                                "scsi14",
-                                                "scsi15",
-                                                "scsi16",
-                                                "scsi17",
-                                                "scsi18",
-                                                "scsi19",
-                                                "scsi20",
-                                                "scsi21",
-                                                "scsi22",
-                                                "scsi23",
-                                                "scsi24",
-                                                "scsi25",
-                                                "scsi26",
-                                                "scsi27",
-                                                "scsi28",
-                                                "scsi29",
-                                                "scsi30",
-                                                "virtio0",
-                                                "virtio1",
-                                                "virtio2",
-                                                "virtio3",
-                                                "virtio4",
-                                                "virtio5",
-                                                "virtio6",
-                                                "virtio7",
-                                                "virtio8",
-                                                "virtio9",
-                                                "virtio10",
-                                                "virtio11",
-                                                "virtio12",
-                                                "virtio13",
-                                                "virtio14",
-                                                "virtio15",
-                                                "sata0",
-                                                "sata1",
-                                                "sata2",
-                                                "sata3",
-                                                "sata4",
-                                                "sata5",
-                                                "efidisk0",
-                                                "tpmstate0",
-                                                "unused0",
-                                                "unused1",
-                                                "unused2",
-                                                "unused3",
-                                                "unused4",
-                                                "unused5",
-                                                "unused6",
-                                                "unused7",
-                                                "unused8",
-                                                "unused9",
-                                                "unused10",
-                                                "unused11",
-                                                "unused12",
-                                                "unused13",
-                                                "unused14",
-                                                "unused15",
-                                                "unused16",
-                                                "unused17",
-                                                "unused18",
-                                                "unused19",
-                                                "unused20",
-                                                "unused21",
-                                                "unused22",
-                                                "unused23",
-                                                "unused24",
-                                                "unused25",
-                                                "unused26",
-                                                "unused27",
-                                                "unused28",
-                                                "unused29",
-                                                "unused30",
-                                                "unused31",
-                                                "unused32",
-                                                "unused33",
-                                                "unused34",
-                                                "unused35",
-                                                "unused36",
-                                                "unused37",
-                                                "unused38",
-                                                "unused39",
-                                                "unused40",
-                                                "unused41",
-                                                "unused42",
-                                                "unused43",
-                                                "unused44",
-                                                "unused45",
-                                                "unused46",
-                                                "unused47",
-                                                "unused48",
-                                                "unused49",
-                                                "unused50",
-                                                "unused51",
-                                                "unused52",
-                                                "unused53",
-                                                "unused54",
-                                                "unused55",
-                                                "unused56",
-                                                "unused57",
-                                                "unused58",
-                                                "unused59",
-                                                "unused60",
-                                                "unused61",
-                                                "unused62",
-                                                "unused63",
-                                                "unused64",
-                                                "unused65",
-                                                "unused66",
-                                                "unused67",
-                                                "unused68",
-                                                "unused69",
-                                                "unused70",
-                                                "unused71",
-                                                "unused72",
-                                                "unused73",
-                                                "unused74",
-                                                "unused75",
-                                                "unused76",
-                                                "unused77",
-                                                "unused78",
-                                                "unused79",
-                                                "unused80",
-                                                "unused81",
-                                                "unused82",
-                                                "unused83",
-                                                "unused84",
-                                                "unused85",
-                                                "unused86",
-                                                "unused87",
-                                                "unused88",
-                                                "unused89",
-                                                "unused90",
-                                                "unused91",
-                                                "unused92",
-                                                "unused93",
-                                                "unused94",
-                                                "unused95",
-                                                "unused96",
-                                                "unused97",
-                                                "unused98",
-                                                "unused99",
-                                                "unused100",
-                                                "unused101",
-                                                "unused102",
-                                                "unused103",
-                                                "unused104",
-                                                "unused105",
-                                                "unused106",
-                                                "unused107",
-                                                "unused108",
-                                                "unused109",
-                                                "unused110",
-                                                "unused111",
-                                                "unused112",
-                                                "unused113",
-                                                "unused114",
-                                                "unused115",
-                                                "unused116",
-                                                "unused117",
-                                                "unused118",
-                                                "unused119",
-                                                "unused120",
-                                                "unused121",
-                                                "unused122",
-                                                "unused123",
-                                                "unused124",
-                                                "unused125",
-                                                "unused126",
-                                                "unused127",
-                                                "unused128",
-                                                "unused129",
-                                                "unused130",
-                                                "unused131",
-                                                "unused132",
-                                                "unused133",
-                                                "unused134",
-                                                "unused135",
-                                                "unused136",
-                                                "unused137",
-                                                "unused138",
-                                                "unused139",
-                                                "unused140",
-                                                "unused141",
-                                                "unused142",
-                                                "unused143",
-                                                "unused144",
-                                                "unused145",
-                                                "unused146",
-                                                "unused147",
-                                                "unused148",
-                                                "unused149",
-                                                "unused150",
-                                                "unused151",
-                                                "unused152",
-                                                "unused153",
-                                                "unused154",
-                                                "unused155",
-                                                "unused156",
-                                                "unused157",
-                                                "unused158",
-                                                "unused159",
-                                                "unused160",
-                                                "unused161",
-                                                "unused162",
-                                                "unused163",
-                                                "unused164",
-                                                "unused165",
-                                                "unused166",
-                                                "unused167",
-                                                "unused168",
-                                                "unused169",
-                                                "unused170",
-                                                "unused171",
-                                                "unused172",
-                                                "unused173",
-                                                "unused174",
-                                                "unused175",
-                                                "unused176",
-                                                "unused177",
-                                                "unused178",
-                                                "unused179",
-                                                "unused180",
-                                                "unused181",
-                                                "unused182",
-                                                "unused183",
-                                                "unused184",
-                                                "unused185",
-                                                "unused186",
-                                                "unused187",
-                                                "unused188",
-                                                "unused189",
-                                                "unused190",
-                                                "unused191",
-                                                "unused192",
-                                                "unused193",
-                                                "unused194",
-                                                "unused195",
-                                                "unused196",
-                                                "unused197",
-                                                "unused198",
-                                                "unused199",
-                                                "unused200",
-                                                "unused201",
-                                                "unused202",
-                                                "unused203",
-                                                "unused204",
-                                                "unused205",
-                                                "unused206",
-                                                "unused207",
-                                                "unused208",
-                                                "unused209",
-                                                "unused210",
-                                                "unused211",
-                                                "unused212",
-                                                "unused213",
-                                                "unused214",
-                                                "unused215",
-                                                "unused216",
-                                                "unused217",
-                                                "unused218",
-                                                "unused219",
-                                                "unused220",
-                                                "unused221",
-                                                "unused222",
-                                                "unused223",
-                                                "unused224",
-                                                "unused225",
-                                                "unused226",
-                                                "unused227",
-                                                "unused228",
-                                                "unused229",
-                                                "unused230",
-                                                "unused231",
-                                                "unused232",
-                                                "unused233",
-                                                "unused234",
-                                                "unused235",
-                                                "unused236",
-                                                "unused237",
-                                                "unused238",
-                                                "unused239",
-                                                "unused240",
-                                                "unused241",
-                                                "unused242",
-                                                "unused243",
-                                                "unused244",
-                                                "unused245",
-                                                "unused246",
-                                                "unused247",
-                                                "unused248",
-                                                "unused249",
-                                                "unused250",
-                                                "unused251",
-                                                "unused252",
-                                                "unused253",
-                                                "unused254",
-                                                "unused255"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "target-vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Config.Disk"
-                                          ]
-                                       ],
-                                       "description" : "You need 'VM.Config.Disk' permissions on /vms/{vmid}, and 'Datastore.AllocateSpace' permissions on the storage. To move a disk to another VM, you need the permissions on the target VM as well."
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/move_disk",
-                              "text" : "move_disk"
-                           },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Get preconditions for migration.",
-                                    "method" : "GET",
-                                    "name" : "migrate_vm_precondition",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target" : {
-                                             "description" : "Target node.",
-                                             "format" : "pve-node",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Migrate"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "properties" : {
-                                          "allowed_nodes" : {
-                                             "description" : "List nodes allowed for offline migration, only passed if VM is offline",
-                                             "optional" : 1,
-                                             "type" : "array"
-                                          },
-                                          "local_disks" : {
-                                             "description" : "List local disks including CD-Rom, unsused and not referenced disks",
-                                             "type" : "array"
-                                          },
-                                          "local_resources" : {
-                                             "description" : "List local resources e.g. pci, usb",
-                                             "type" : "array"
-                                          },
-                                          "not_allowed_nodes" : {
-                                             "description" : "List not allowed nodes with additional informations, only passed if VM is offline",
-                                             "optional" : 1,
-                                             "type" : "object"
-                                          },
-                                          "running" : {
-                                             "type" : "boolean"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 },
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Migrate virtual machine. Creates a new migration task.",
-                                    "method" : "POST",
-                                    "name" : "migrate_vm",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "bwlimit" : {
-                                             "default" : "migrate limit from datacenter or storage config",
-                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                             "minimum" : "0",
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "force" : {
-                                             "description" : "Allow to migrate VMs which use local devices. Only root may use this option.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "migration_network" : {
-                                             "description" : "CIDR of the (sub) network that is used for migration.",
-                                             "format" : "CIDR",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "migration_type" : {
-                                             "description" : "Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.",
-                                             "enum" : [
-                                                "secure",
-                                                "insecure"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "online" : {
-                                             "description" : "Use online/live migration if VM is running. Ignored if VM is stopped.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "target" : {
-                                             "description" : "Target node.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "targetstorage" : {
-                                             "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
-                                             "format" : "storage-pair-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "with-local-disks" : {
-                                             "description" : "Enable live storage migration for local disk",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Migrate"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/migrate",
-                              "text" : "migrate"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature!",
-                                    "method" : "POST",
-                                    "name" : "remote_migrate_vm",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "bwlimit" : {
-                                             "default" : "migrate limit from datacenter or storage config",
-                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                             "minimum" : "0",
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
-                                          },
-                                          "delete" : {
-                                             "default" : 0,
-                                             "description" : "Delete the original VM and related data after successful migration. By default the original VM is kept on the source cluster in a stopped state.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "online" : {
-                                             "description" : "Use online/live migration if VM is running. Ignored if VM is stopped.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "target-bridge" : {
-                                             "description" : "Mapping from source to target bridges. Providing only a single bridge ID maps all source bridges to that bridge. Providing the special value '1' will map each source bridge to itself.",
-                                             "format" : "bridge-pair-list",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target-endpoint" : {
-                                             "description" : "Remote target endpoint",
-                                             "format" : "proxmox-remote",
-                                             "type" : "string",
-                                             "typetext" : "apitoken=<A full Proxmox API token including the secret value.> ,host=<Remote Proxmox hostname or IP> [,fingerprint=<Remote host's certificate fingerprint, if not trusted by system store.>] [,port=<integer>]"
-                                          },
-                                          "target-storage" : {
-                                             "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
-                                             "format" : "storage-pair-list",
-                                             "optional" : 0,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target-vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Migrate"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/remote_migrate",
-                              "text" : "remote_migrate"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Execute QEMU monitor commands.",
-                                    "method" : "POST",
-                                    "name" : "monitor",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "command" : {
-                                             "description" : "The monitor command.",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Monitor"
-                                          ]
-                                       ],
-                                       "description" : "Sys.Modify is required for (sub)commands which are not read-only ('info *' and 'help')"
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/monitor",
-                              "text" : "monitor"
-                           },
-                           {
-                              "info" : {
-                                 "PUT" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Extend volume size.",
-                                    "method" : "PUT",
-                                    "name" : "resize_vm",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "disk" : {
-                                             "description" : "The disk you want to resize.",
-                                             "enum" : [
-                                                "ide0",
-                                                "ide1",
-                                                "ide2",
-                                                "ide3",
-                                                "scsi0",
-                                                "scsi1",
-                                                "scsi2",
-                                                "scsi3",
-                                                "scsi4",
-                                                "scsi5",
-                                                "scsi6",
-                                                "scsi7",
-                                                "scsi8",
-                                                "scsi9",
-                                                "scsi10",
-                                                "scsi11",
-                                                "scsi12",
-                                                "scsi13",
-                                                "scsi14",
-                                                "scsi15",
-                                                "scsi16",
-                                                "scsi17",
-                                                "scsi18",
-                                                "scsi19",
-                                                "scsi20",
-                                                "scsi21",
-                                                "scsi22",
-                                                "scsi23",
-                                                "scsi24",
-                                                "scsi25",
-                                                "scsi26",
-                                                "scsi27",
-                                                "scsi28",
-                                                "scsi29",
-                                                "scsi30",
-                                                "virtio0",
-                                                "virtio1",
-                                                "virtio2",
-                                                "virtio3",
-                                                "virtio4",
-                                                "virtio5",
-                                                "virtio6",
-                                                "virtio7",
-                                                "virtio8",
-                                                "virtio9",
-                                                "virtio10",
-                                                "virtio11",
-                                                "virtio12",
-                                                "virtio13",
-                                                "virtio14",
-                                                "virtio15",
-                                                "sata0",
-                                                "sata1",
-                                                "sata2",
-                                                "sata3",
-                                                "sata4",
-                                                "sata5",
-                                                "efidisk0",
-                                                "tpmstate0"
-                                             ],
-                                             "type" : "string"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "size" : {
-                                             "description" : "The new size. With the `+` sign the value is added to the actual size of the volume and without it, the value is taken as an absolute one. Shrinking disk size is not supported.",
-                                             "pattern" : "\\+?\\d+(\\.\\d+)?[KMGT]?",
-                                             "type" : "string"
-                                          },
-                                          "skiplock" : {
-                                             "description" : "Ignore locks - only root is allowed to use this option.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Config.Disk"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/resize",
-                              "text" : "resize"
-                           },
-                           {
-                              "children" : [
-                                 {
-                                    "children" : [
-                                       {
-                                          "info" : {
-                                             "GET" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Get snapshot configuration",
-                                                "method" : "GET",
-                                                "name" : "get_snapshot_config",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "snapname" : {
-                                                         "description" : "The name of the snapshot.",
-                                                         "format" : "pve-configid",
-                                                         "maxLength" : 40,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Snapshot",
-                                                         "VM.Snapshot.Rollback",
-                                                         "VM.Audit"
-                                                      ],
-                                                      "any",
-                                                      1
-                                                   ]
-                                                },
-                                                "proxyto" : "node",
-                                                "returns" : {
-                                                   "type" : "object"
-                                                }
-                                             },
-                                             "PUT" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Update snapshot metadata.",
-                                                "method" : "PUT",
-                                                "name" : "update_snapshot_config",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "description" : {
-                                                         "description" : "A textual description or comment.",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "snapname" : {
-                                                         "description" : "The name of the snapshot.",
-                                                         "format" : "pve-configid",
-                                                         "maxLength" : 40,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Snapshot"
-                                                      ]
-                                                   ]
-                                                },
-                                                "protected" : 1,
-                                                "proxyto" : "node",
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             }
-                                          },
-                                          "leaf" : 1,
-                                          "path" : "/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/config",
-                                          "text" : "config"
-                                       },
-                                       {
-                                          "info" : {
-                                             "POST" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Rollback VM state to specified snapshot.",
-                                                "method" : "POST",
-                                                "name" : "rollback",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "snapname" : {
-                                                         "description" : "The name of the snapshot.",
-                                                         "format" : "pve-configid",
-                                                         "maxLength" : 40,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "start" : {
-                                                         "default" : 0,
-                                                         "description" : "Whether the VM should get started after rolling back successfully. (Note: VMs will be automatically started if the snapshot includes RAM.)",
-                                                         "optional" : 1,
-                                                         "type" : "boolean",
-                                                         "typetext" : "<boolean>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Snapshot",
-                                                         "VM.Snapshot.Rollback"
-                                                      ],
-                                                      "any",
-                                                      1
-                                                   ]
-                                                },
-                                                "protected" : 1,
-                                                "proxyto" : "node",
-                                                "returns" : {
-                                                   "description" : "the task ID.",
-                                                   "type" : "string"
-                                                }
-                                             }
-                                          },
-                                          "leaf" : 1,
-                                          "path" : "/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/rollback",
-                                          "text" : "rollback"
-                                       }
-                                    ],
-                                    "info" : {
-                                       "DELETE" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Delete a VM snapshot.",
-                                          "method" : "DELETE",
-                                          "name" : "delsnapshot",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "force" : {
-                                                   "description" : "For removal from config file, even if removing disk snapshots fails.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "snapname" : {
-                                                   "description" : "The name of the snapshot.",
-                                                   "format" : "pve-configid",
-                                                   "maxLength" : 40,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Snapshot"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "the task ID.",
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "",
-                                          "method" : "GET",
-                                          "name" : "snapshot_cmd_idx",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "snapname" : {
-                                                   "description" : "The name of the snapshot.",
-                                                   "format" : "pve-configid",
-                                                   "maxLength" : 40,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "user" : "all"
-                                          },
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {},
-                                                "type" : "object"
-                                             },
-                                             "links" : [
-                                                {
-                                                   "href" : "{cmd}",
-                                                   "rel" : "child"
-                                                }
-                                             ],
-                                             "type" : "array"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 0,
-                                    "path" : "/nodes/{node}/qemu/{vmid}/snapshot/{snapname}",
-                                    "text" : "{snapname}"
-                                 }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "List all snapshots.",
-                                    "method" : "GET",
-                                    "name" : "snapshot_list",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {
-                                             "description" : {
-                                                "description" : "Snapshot description.",
-                                                "type" : "string"
-                                             },
-                                             "name" : {
-                                                "description" : "Snapshot identifier. Value 'current' identifies the current VM.",
-                                                "type" : "string"
-                                             },
-                                             "parent" : {
-                                                "description" : "Parent snapshot identifier.",
-                                                "optional" : 1,
-                                                "type" : "string"
-                                             },
-                                             "snaptime" : {
-                                                "description" : "Snapshot creation time",
-                                                "optional" : 1,
-                                                "renderer" : "timestamp",
-                                                "type" : "integer"
-                                             },
-                                             "vmstate" : {
-                                                "description" : "Snapshot includes RAM.",
-                                                "optional" : 1,
-                                                "type" : "boolean"
-                                             }
-                                          },
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{name}",
-                                             "rel" : "child"
-                                          }
-                                       ],
-                                       "type" : "array"
-                                    }
-                                 },
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Snapshot a VM.",
-                                    "method" : "POST",
-                                    "name" : "snapshot",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "description" : {
-                                             "description" : "A textual description or comment.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "snapname" : {
-                                             "description" : "The name of the snapshot.",
-                                             "format" : "pve-configid",
-                                             "maxLength" : 40,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vmstate" : {
-                                             "description" : "Save the vmstate",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Snapshot"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/qemu/{vmid}/snapshot",
-                              "text" : "snapshot"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Create a Template.",
-                                    "method" : "POST",
-                                    "name" : "template",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "disk" : {
-                                             "description" : "If you want to convert only 1 disk to base image.",
-                                             "enum" : [
-                                                "ide0",
-                                                "ide1",
-                                                "ide2",
-                                                "ide3",
-                                                "scsi0",
-                                                "scsi1",
-                                                "scsi2",
-                                                "scsi3",
-                                                "scsi4",
-                                                "scsi5",
-                                                "scsi6",
-                                                "scsi7",
-                                                "scsi8",
-                                                "scsi9",
-                                                "scsi10",
-                                                "scsi11",
-                                                "scsi12",
-                                                "scsi13",
-                                                "scsi14",
-                                                "scsi15",
-                                                "scsi16",
-                                                "scsi17",
-                                                "scsi18",
-                                                "scsi19",
-                                                "scsi20",
-                                                "scsi21",
-                                                "scsi22",
-                                                "scsi23",
-                                                "scsi24",
-                                                "scsi25",
-                                                "scsi26",
-                                                "scsi27",
-                                                "scsi28",
-                                                "scsi29",
-                                                "scsi30",
-                                                "virtio0",
-                                                "virtio1",
-                                                "virtio2",
-                                                "virtio3",
-                                                "virtio4",
-                                                "virtio5",
-                                                "virtio6",
-                                                "virtio7",
-                                                "virtio8",
-                                                "virtio9",
-                                                "virtio10",
-                                                "virtio11",
-                                                "virtio12",
-                                                "virtio13",
-                                                "virtio14",
-                                                "virtio15",
-                                                "sata0",
-                                                "sata1",
-                                                "sata2",
-                                                "sata3",
-                                                "sata4",
-                                                "sata5",
-                                                "efidisk0",
-                                                "tpmstate0"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Allocate"
-                                          ]
-                                       ],
-                                       "description" : "You need 'VM.Allocate' permissions on /vms/{vmid}"
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/template",
-                              "text" : "template"
-                           },
-                           {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Migration tunnel endpoint - only for internal use by VM migration.",
-                                    "method" : "POST",
-                                    "name" : "mtunnel",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "bridges" : {
-                                             "description" : "List of network bridges to check availability. Will be checked again for actually used bridges during migration.",
-                                             "format" : "pve-bridge-id-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "storages" : {
-                                             "description" : "List of storages to check permission and availability. Will be checked again for all actually used storages during migration.",
-                                             "format" : "pve-storage-id-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "and",
-                                          [
-                                             "perm",
-                                             "/vms/{vmid}",
-                                             [
-                                                "VM.Allocate"
-                                             ]
-                                          ],
-                                          [
-                                             "perm",
-                                             "/",
-                                             [
-                                                "Sys.Incoming"
-                                             ]
-                                          ]
-                                       ],
-                                       "description" : "You need 'VM.Allocate' permissions on '/vms/{vmid}' and Sys.Incoming on '/'. Further permission checks happen during the actual migration."
-                                    },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "socket" : {
-                                             "type" : "string"
-                                          },
-                                          "ticket" : {
-                                             "type" : "string"
-                                          },
-                                          "upid" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/mtunnel",
-                              "text" : "mtunnel"
-                           },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration.",
-                                    "method" : "GET",
-                                    "name" : "mtunnelwebsocket",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "socket" : {
-                                             "description" : "unix socket to forward to",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "ticket" : {
-                                             "description" : "ticket return by initial 'mtunnel' API call, or retrieved via 'ticket' tunnel command",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "description" : "You need to pass a ticket valid for the selected socket. Tickets can be created via the mtunnel API call, which will check permissions accordingly.",
-                                       "user" : "all"
-                                    },
-                                    "returns" : {
-                                       "properties" : {
-                                          "port" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "socket" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/qemu/{vmid}/mtunnelwebsocket",
-                              "text" : "mtunnelwebsocket"
-                           }
-                        ],
-                        "info" : {
-                           "DELETE" : {
-                              "allowtoken" : 1,
-                              "description" : "Destroy the VM and  all used/owned volumes. Removes any VM specific permissions and firewall rules",
-                              "method" : "DELETE",
-                              "name" : "destroy_vm",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "destroy-unreferenced-disks" : {
-                                       "default" : 0,
-                                       "description" : "If set, destroy additionally all disks not referenced in the config but with a matching VMID from all enabled storages.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "purge" : {
-                                       "description" : "Remove VMID from configurations, like backup & replication jobs and HA.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "skiplock" : {
-                                       "description" : "Ignore locks - only root is allowed to use this option.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "vmid" : {
-                                       "description" : "The (unique) ID of the VM.",
-                                       "format" : "pve-vmid",
-                                       "minimum" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (1 - N)"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/vms/{vmid}",
-                                    [
-                                       "VM.Allocate"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "type" : "string"
-                              }
-                           },
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Directory index",
-                              "method" : "GET",
-                              "name" : "vmdiridx",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "vmid" : {
-                                       "description" : "The (unique) ID of the VM.",
-                                       "format" : "pve-vmid",
-                                       "minimum" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (1 - N)"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "user" : "all"
-                              },
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "items" : {
-                                    "properties" : {
-                                       "subdir" : {
-                                          "type" : "string"
-                                       }
-                                    },
-                                    "type" : "object"
-                                 },
-                                 "links" : [
-                                    {
-                                       "href" : "{subdir}",
-                                       "rel" : "child"
-                                    }
-                                 ],
-                                 "type" : "array"
-                              }
-                           }
-                        },
-                        "leaf" : 0,
-                        "path" : "/nodes/{node}/qemu/{vmid}",
-                        "text" : "{vmid}"
-                     }
-                  ],
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "Virtual machine index (per node).",
-                        "method" : "GET",
-                        "name" : "vmlist",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "full" : {
-                                 "description" : "Determine the full status of active VMs.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "node" : {
-                                 "description" : "The cluster node name.",
-                                 "format" : "pve-node",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              }
-                           }
-                        },
-                        "permissions" : {
-                           "description" : "Only list VMs where you have VM.Audit permissons on /vms/<vmid>.",
-                           "user" : "all"
-                        },
-                        "protected" : 1,
-                        "proxyto" : "node",
-                        "returns" : {
-                           "items" : {
-                              "properties" : {
-                                 "cpus" : {
-                                    "description" : "Maximum usable CPUs.",
-                                    "optional" : 1,
-                                    "type" : "number"
-                                 },
-                                 "lock" : {
-                                    "description" : "The current config lock, if any.",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "maxdisk" : {
-                                    "description" : "Root disk size in bytes.",
-                                    "optional" : 1,
-                                    "renderer" : "bytes",
-                                    "type" : "integer"
-                                 },
-                                 "maxmem" : {
-                                    "description" : "Maximum memory in bytes.",
-                                    "optional" : 1,
-                                    "renderer" : "bytes",
-                                    "type" : "integer"
-                                 },
-                                 "name" : {
-                                    "description" : "VM name.",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "pid" : {
-                                    "description" : "PID of running qemu process.",
-                                    "optional" : 1,
-                                    "type" : "integer"
-                                 },
-                                 "qmpstatus" : {
-                                    "description" : "QEMU QMP agent status.",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "running-machine" : {
-                                    "description" : "The currently running machine type (if running).",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "running-qemu" : {
-                                    "description" : "The currently running QEMU version (if running).",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "status" : {
-                                    "description" : "QEMU process status.",
-                                    "enum" : [
-                                       "stopped",
-                                       "running"
-                                    ],
-                                    "type" : "string"
-                                 },
-                                 "tags" : {
-                                    "description" : "The current configured tags, if any",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "uptime" : {
-                                    "description" : "Uptime.",
-                                    "optional" : 1,
-                                    "renderer" : "duration",
-                                    "type" : "integer"
-                                 },
-                                 "vmid" : {
-                                    "description" : "The (unique) ID of the VM.",
-                                    "format" : "pve-vmid",
-                                    "minimum" : 1,
-                                    "type" : "integer"
-                                 }
-                              },
-                              "type" : "object"
-                           },
-                           "links" : [
-                              {
-                                 "href" : "{vmid}",
-                                 "rel" : "child"
-                              }
-                           ],
-                           "type" : "array"
-                        }
-                     },
-                     "POST" : {
-                        "allowtoken" : 1,
-                        "description" : "Create or restore a virtual machine.",
-                        "method" : "POST",
-                        "name" : "create_vm",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "acpi" : {
-                                 "default" : 1,
-                                 "description" : "Enable/disable ACPI.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "affinity" : {
-                                 "description" : "List of host cores used to execute guest processes, for example: 0,5,8-11",
-                                 "format" : "pve-cpuset",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "agent" : {
-                                 "description" : "Enable/disable communication with the QEMU Guest Agent and its properties.",
-                                 "format" : {
-                                    "enabled" : {
-                                       "default" : 0,
-                                       "default_key" : 1,
-                                       "description" : "Enable/disable communication with a QEMU Guest Agent (QGA) running in the VM.",
-                                       "type" : "boolean"
-                                    },
-                                    "freeze-fs-on-backup" : {
-                                       "default" : 1,
-                                       "description" : "Freeze/thaw guest filesystems on backup for consistency.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "fstrim_cloned_disks" : {
-                                       "default" : 0,
-                                       "description" : "Run fstrim after moving a disk or migrating the VM.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "type" : {
-                                       "default" : "virtio",
-                                       "description" : "Select the agent type",
-                                       "enum" : [
-                                          "virtio",
-                                          "isa"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[enabled=]<1|0> [,freeze-fs-on-backup=<1|0>] [,fstrim_cloned_disks=<1|0>] [,type=<virtio|isa>]"
-                              },
-                              "arch" : {
-                                 "description" : "Virtual processor architecture. Defaults to the host.",
-                                 "enum" : [
-                                    "x86_64",
-                                    "aarch64"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "archive" : {
-                                 "description" : "The backup archive. Either the file system path to a .tar or .vma file (use '-' to pipe data from stdin) or a proxmox storage backup volume identifier.",
-                                 "maxLength" : 255,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "args" : {
-                                 "description" : "Arbitrary arguments passed to kvm.",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>",
-                                 "verbose_description" : "Arbitrary arguments passed to kvm, for example:\n\nargs: -no-reboot -no-hpet\n\nNOTE: this option is for experts only.\n"
-                              },
-                              "audio0" : {
-                                 "description" : "Configure a audio device, useful in combination with QXL/Spice.",
-                                 "format" : {
-                                    "device" : {
-                                       "description" : "Configure an audio device.",
-                                       "enum" : [
-                                          "ich9-intel-hda",
-                                          "intel-hda",
-                                          "AC97"
-                                       ],
-                                       "type" : "string"
-                                    },
-                                    "driver" : {
-                                       "default" : "spice",
-                                       "description" : "Driver backend for the audio device.",
-                                       "enum" : [
-                                          "spice",
-                                          "none"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "device=<ich9-intel-hda|intel-hda|AC97> [,driver=<spice|none>]"
-                              },
-                              "autostart" : {
-                                 "default" : 0,
-                                 "description" : "Automatic restart after crash (currently ignored).",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "balloon" : {
-                                 "description" : "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "bios" : {
-                                 "default" : "seabios",
-                                 "description" : "Select BIOS implementation.",
-                                 "enum" : [
-                                    "seabios",
-                                    "ovmf"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "boot" : {
-                                 "description" : "Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.",
-                                 "format" : "pve-qm-boot",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[[legacy=]<[acdn]{1,4}>] [,order=<device[;device...]>]"
-                              },
-                              "bootdisk" : {
-                                 "description" : "Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.",
-                                 "format" : "pve-qm-bootdisk",
-                                 "optional" : 1,
-                                 "pattern" : "(ide|sata|scsi|virtio)\\d+",
-                                 "type" : "string"
-                              },
-                              "bwlimit" : {
-                                 "default" : "restore limit from datacenter or storage config",
-                                 "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                 "minimum" : "0",
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "cdrom" : {
-                                 "description" : "This is an alias for option -ide2",
-                                 "format" : "pve-qm-ide",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<volume>"
-                              },
-                              "cicustom" : {
-                                 "description" : "cloud-init: Specify custom files to replace the automatically generated ones at start.",
-                                 "format" : "pve-qm-cicustom",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]"
-                              },
-                              "cipassword" : {
-                                 "description" : "cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "citype" : {
-                                 "description" : "Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.",
-                                 "enum" : [
-                                    "configdrive2",
-                                    "nocloud",
-                                    "opennebula"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "ciuser" : {
-                                 "description" : "cloud-init: User name to change ssh keys and password for instead of the image's configured default user.",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "cores" : {
-                                 "default" : 1,
-                                 "description" : "The number of cores per socket.",
-                                 "minimum" : 1,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
-                              },
-                              "cpu" : {
-                                 "description" : "Emulated CPU type.",
-                                 "format" : "pve-vm-cpu-conf",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[[cputype=]<string>] [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>] [,phys-bits=<8-64|host>] [,reported-model=<enum>]"
-                              },
-                              "cpulimit" : {
-                                 "default" : 0,
-                                 "description" : "Limit of CPU usage.",
-                                 "maximum" : 128,
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "number",
-                                 "typetext" : "<number> (0 - 128)",
-                                 "verbose_description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit."
-                              },
-                              "cpuunits" : {
-                                 "default" : "cgroup v1: 1024, cgroup v2: 100",
-                                 "description" : "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
-                                 "maximum" : 262144,
-                                 "minimum" : 1,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - 262144)",
-                                 "verbose_description" : "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs."
-                              },
-                              "description" : {
-                                 "description" : "Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.",
-                                 "maxLength" : 8192,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "efidisk0" : {
-                                 "description" : "Configure a disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                 "format" : {
-                                    "efitype" : {
-                                       "default" : "2m",
-                                       "description" : "Size and type of the OVMF EFI vars. '4m' is newer and recommended, and required for Secure Boot. For backwards compatibility, '2m' is used if not otherwise specified. Ignored for VMs with arch=aarc64 (ARM).",
-                                       "enum" : [
-                                          "2m",
-                                          "4m"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "file" : {
-                                       "default_key" : 1,
-                                       "description" : "The drive's backing volume.",
-                                       "format" : "pve-volume-id-or-qm-path",
-                                       "format_description" : "volume",
-                                       "type" : "string"
-                                    },
-                                    "format" : {
-                                       "description" : "The drive's backing file's data format.",
-                                       "enum" : [
-                                          "raw",
-                                          "cow",
-                                          "qcow",
-                                          "qed",
-                                          "qcow2",
-                                          "vmdk",
-                                          "cloop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "import-from" : {
-                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                       "format" : "pve-volume-id-or-absolute-path",
-                                       "format_description" : "source volume",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "pre-enrolled-keys" : {
-                                       "default" : 0,
-                                       "description" : "Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by default, though it can still be turned off from within the VM.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "size" : {
-                                       "description" : "Disk size. This is purely informational and has no effect.",
-                                       "format" : "disk-size",
-                                       "format_description" : "DiskSize",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "volume" : {
-                                       "alias" : "file"
-                                    }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[file=]<volume> [,efitype=<2m|4m>] [,format=<enum>] [,import-from=<source volume>] [,pre-enrolled-keys=<1|0>] [,size=<DiskSize>]"
-                              },
-                              "force" : {
-                                 "description" : "Allow to overwrite existing VM.",
-                                 "optional" : 1,
-                                 "requires" : "archive",
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "freeze" : {
-                                 "description" : "Freeze CPU at startup (use 'c' monitor command to start execution).",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "hookscript" : {
-                                 "description" : "Script that will be executed during various steps in the vms lifetime.",
-                                 "format" : "pve-volume-id",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "hostpci[n]" : {
-                                 "description" : "Map host PCI devices into guest.",
-                                 "format" : "pve-qm-hostpci",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[host=]<HOSTPCIID[;HOSTPCIID2...]> [,device-id=<hex id>] [,legacy-igd=<1|0>] [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,sub-device-id=<hex id>] [,sub-vendor-id=<hex id>] [,vendor-id=<hex id>] [,x-vga=<1|0>]",
-                                 "verbose_description" : "Map host PCI devices into guest.\n\nNOTE: This option allows direct access to host hardware. So it is no longer\npossible to migrate such machines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
-                              },
-                              "hotplug" : {
-                                 "default" : "network,disk,usb",
-                                 "description" : "Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory', 'usb' and 'cloudinit'. Use '0' to disable hotplug completely. Using '1' as value is an alias for the default `network,disk,usb`. USB hotplugging is possible for guests with machine version >= 7.1 and ostype l26 or windows > 7.",
-                                 "format" : "pve-hotplug-features",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "hugepages" : {
-                                 "description" : "Enable/disable hugepages memory.",
-                                 "enum" : [
-                                    "any",
-                                    "2",
-                                    "1024"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "ide[n]" : {
-                                 "description" : "Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                 "format" : {
-                                    "aio" : {
-                                       "description" : "AIO type to use.",
-                                       "enum" : [
-                                          "native",
-                                          "threads",
-                                          "io_uring"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "backup" : {
-                                       "description" : "Whether the drive should be included when making backups.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "bps" : {
-                                       "description" : "Maximum r/w speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_max_length" : {
-                                       "description" : "Maximum length of I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_rd" : {
-                                       "description" : "Maximum read speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_rd_length" : {
-                                       "alias" : "bps_rd_max_length"
-                                    },
-                                    "bps_rd_max_length" : {
-                                       "description" : "Maximum length of read I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_wr" : {
-                                       "description" : "Maximum write speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_wr_length" : {
-                                       "alias" : "bps_wr_max_length"
-                                    },
-                                    "bps_wr_max_length" : {
-                                       "description" : "Maximum length of write I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "cache" : {
-                                       "description" : "The drive's cache mode",
-                                       "enum" : [
-                                          "none",
-                                          "writethrough",
-                                          "writeback",
-                                          "unsafe",
-                                          "directsync"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "cyls" : {
-                                       "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "detect_zeroes" : {
-                                       "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "discard" : {
-                                       "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                       "enum" : [
-                                          "ignore",
-                                          "on"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "file" : {
-                                       "default_key" : 1,
-                                       "description" : "The drive's backing volume.",
-                                       "format" : "pve-volume-id-or-qm-path",
-                                       "format_description" : "volume",
-                                       "type" : "string"
-                                    },
-                                    "format" : {
-                                       "description" : "The drive's backing file's data format.",
-                                       "enum" : [
-                                          "raw",
-                                          "cow",
-                                          "qcow",
-                                          "qed",
-                                          "qcow2",
-                                          "vmdk",
-                                          "cloop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "heads" : {
-                                       "description" : "Force the drive's physical geometry to have a specific head count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "import-from" : {
-                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                       "format" : "pve-volume-id-or-absolute-path",
-                                       "format_description" : "source volume",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "iops" : {
-                                       "description" : "Maximum r/w I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_max" : {
-                                       "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_max_length" : {
-                                       "description" : "Maximum length of I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd" : {
-                                       "description" : "Maximum read I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd_length" : {
-                                       "alias" : "iops_rd_max_length"
-                                    },
-                                    "iops_rd_max" : {
-                                       "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd_max_length" : {
-                                       "description" : "Maximum length of read I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr" : {
-                                       "description" : "Maximum write I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr_length" : {
-                                       "alias" : "iops_wr_max_length"
-                                    },
-                                    "iops_wr_max" : {
-                                       "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr_max_length" : {
-                                       "description" : "Maximum length of write I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "mbps" : {
-                                       "description" : "Maximum r/w speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_max" : {
-                                       "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_rd" : {
-                                       "description" : "Maximum read speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_rd_max" : {
-                                       "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_wr" : {
-                                       "description" : "Maximum write speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_wr_max" : {
-                                       "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "media" : {
-                                       "default" : "disk",
-                                       "description" : "The drive's media type.",
-                                       "enum" : [
-                                          "cdrom",
-                                          "disk"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "model" : {
-                                       "description" : "The drive's reported model name, url-encoded, up to 40 bytes long.",
-                                       "format" : "urlencoded",
-                                       "format_description" : "model",
-                                       "maxLength" : 120,
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "replicate" : {
-                                       "default" : 1,
-                                       "description" : "Whether the drive should considered for replication jobs.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "rerror" : {
-                                       "description" : "Read error action.",
-                                       "enum" : [
-                                          "ignore",
-                                          "report",
-                                          "stop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "secs" : {
-                                       "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "serial" : {
-                                       "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                       "format" : "urlencoded",
-                                       "format_description" : "serial",
-                                       "maxLength" : 60,
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "shared" : {
-                                       "default" : 0,
-                                       "description" : "Mark this locally-managed volume as available on all nodes",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                    },
-                                    "size" : {
-                                       "description" : "Disk size. This is purely informational and has no effect.",
-                                       "format" : "disk-size",
-                                       "format_description" : "DiskSize",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "snapshot" : {
-                                       "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "ssd" : {
-                                       "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "trans" : {
-                                       "description" : "Force disk geometry bios translation mode.",
-                                       "enum" : [
-                                          "none",
-                                          "lba",
-                                          "auto"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "volume" : {
-                                       "alias" : "file"
-                                    },
-                                    "werror" : {
-                                       "description" : "Write error action.",
-                                       "enum" : [
-                                          "enospc",
-                                          "ignore",
-                                          "report",
-                                          "stop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "wwn" : {
-                                       "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                       "format_description" : "wwn",
-                                       "optional" : 1,
-                                       "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                       "type" : "string"
+                                       "type" : "array"
                                     }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
-                              },
-                              "ipconfig[n]" : {
-                                 "description" : "cloud-init: Specify IP addresses and gateways for the corresponding interface.\n\nIP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.\n\nThe special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit\ngateway should be provided.\nFor IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires\ncloud-init 19.4 or newer.\n\nIf cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using\ndhcp on IPv4.\n",
-                                 "format" : "pve-qm-ipconfig",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]"
+                                 }
                               },
-                              "ivshmem" : {
-                                 "description" : "Inter-VM shared memory. Useful for direct communication between VMs, or to the host.",
-                                 "format" : {
-                                    "name" : {
-                                       "description" : "The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.",
-                                       "format_description" : "string",
-                                       "optional" : 1,
-                                       "pattern" : "[a-zA-Z0-9\\-]+",
-                                       "type" : "string"
-                                    },
-                                    "size" : {
-                                       "description" : "The size of the file in MB.",
-                                       "minimum" : 1,
-                                       "type" : "integer"
+                              "leaf" : 1,
+                              "path" : "/cluster/sdn/ipams/{ipam}/status",
+                              "text" : "status"
+                           }
+                        ],
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete sdn ipam object configuration.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "ipam" : {
+                                       "description" : "The SDN ipam object identifier.",
+                                       "format" : "pve-sdn-ipam-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "size=<integer> [,name=<string>]"
-                              },
-                              "keephugepages" : {
-                                 "default" : 0,
-                                 "description" : "Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "keyboard" : {
-                                 "default" : null,
-                                 "description" : "Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.",
-                                 "enum" : [
-                                    "de",
-                                    "de-ch",
-                                    "da",
-                                    "en-gb",
-                                    "en-us",
-                                    "es",
-                                    "fi",
-                                    "fr",
-                                    "fr-be",
-                                    "fr-ca",
-                                    "fr-ch",
-                                    "hu",
-                                    "is",
-                                    "it",
-                                    "ja",
-                                    "lt",
-                                    "mk",
-                                    "nl",
-                                    "no",
-                                    "pl",
-                                    "pt",
-                                    "pt-br",
-                                    "sv",
-                                    "sl",
-                                    "tr"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "kvm" : {
-                                 "default" : 1,
-                                 "description" : "Enable/disable KVM hardware virtualization.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "live-restore" : {
-                                 "description" : "Start the VM immediately from the backup and restore in background. PBS only.",
-                                 "optional" : 1,
-                                 "requires" : "archive",
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "localtime" : {
-                                 "description" : "Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "lock" : {
-                                 "description" : "Lock/unlock the VM.",
-                                 "enum" : [
-                                    "backup",
-                                    "clone",
-                                    "create",
-                                    "migrate",
-                                    "rollback",
-                                    "snapshot",
-                                    "snapshot-delete",
-                                    "suspending",
-                                    "suspended"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "machine" : {
-                                 "description" : "Specifies the QEMU machine type.",
-                                 "maxLength" : 40,
-                                 "optional" : 1,
-                                 "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
-                                 "type" : "string"
-                              },
-                              "memory" : {
-                                 "default" : 512,
-                                 "description" : "Amount of RAM for the VM in MiB. This is the maximum available memory when you use the balloon device.",
-                                 "minimum" : 16,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (16 - N)"
-                              },
-                              "migrate_downtime" : {
-                                 "default" : 0.1,
-                                 "description" : "Set maximum tolerated downtime (in seconds) for migrations.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "number",
-                                 "typetext" : "<number> (0 - N)"
-                              },
-                              "migrate_speed" : {
-                                 "default" : 0,
-                                 "description" : "Set maximum speed (in MB/s) for migrations. Value 0 is no limit.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "name" : {
-                                 "description" : "Set a name for the VM. Only used on the configuration web interface.",
-                                 "format" : "dns-name",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 }
                               },
-                              "nameserver" : {
-                                 "description" : "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
-                                 "format" : "address-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/ipams",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
                               },
-                              "net[n]" : {
-                                 "description" : "Specify network devices.",
-                                 "format" : {
-                                    "bridge" : {
-                                       "description" : "Bridge to attach the network device to. The Proxmox VE standard bridge\nis called 'vmbr0'.\n\nIf you do not specify a bridge, we create a kvm user (NATed) network\ndevice, which provides DHCP and DNS services. The following addresses\nare used:\n\n 10.0.2.2   Gateway\n 10.0.2.3   DNS Server\n 10.0.2.4   SMB Server\n\nThe DHCP server assign addresses to the guest starting from 10.0.2.15.\n",
-                                       "format" : "pve-bridge-id",
-                                       "format_description" : "bridge",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "e1000" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "e1000-82540em" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "e1000-82544gc" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "e1000-82545em" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "e1000e" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "firewall" : {
-                                       "description" : "Whether this interface should be protected by the firewall.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "i82551" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "i82557b" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "i82559er" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "link_down" : {
-                                       "description" : "Whether this interface should be disconnected (like pulling the plug).",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "macaddr" : {
-                                       "description" : "MAC address. That address must be unique withing your network. This is automatically generated if not specified.",
-                                       "format" : "mac-addr",
-                                       "format_description" : "XX:XX:XX:XX:XX:XX",
-                                       "optional" : 1,
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Read sdn ipam configuration.",
+                              "method" : "GET",
+                              "name" : "read",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "ipam" : {
+                                       "description" : "The SDN ipam object identifier.",
+                                       "format" : "pve-sdn-ipam-id",
                                        "type" : "string",
-                                       "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
-                                    },
-                                    "model" : {
-                                       "default_key" : 1,
-                                       "description" : "Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.",
-                                       "enum" : [
-                                          "e1000",
-                                          "e1000-82540em",
-                                          "e1000-82544gc",
-                                          "e1000-82545em",
-                                          "e1000e",
-                                          "i82551",
-                                          "i82557b",
-                                          "i82559er",
-                                          "ne2k_isa",
-                                          "ne2k_pci",
-                                          "pcnet",
-                                          "rtl8139",
-                                          "virtio",
-                                          "vmxnet3"
-                                       ],
-                                       "type" : "string"
-                                    },
-                                    "mtu" : {
-                                       "description" : "Force MTU, for VirtIO only. Set to '1' to use the bridge MTU",
-                                       "maximum" : 65520,
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "ne2k_isa" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "ne2k_pci" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "pcnet" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "queues" : {
-                                       "description" : "Number of packet queues to be used on the device.",
-                                       "maximum" : 64,
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "rate" : {
-                                       "description" : "Rate limit in mbps (megabytes per second) as floating point number.",
-                                       "minimum" : 0,
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "rtl8139" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "tag" : {
-                                       "description" : "VLAN tag to apply to packets on this interface.",
-                                       "maximum" : 4094,
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "trunks" : {
-                                       "description" : "VLAN trunks to pass through this interface.",
-                                       "format_description" : "vlanid[;vlanid...]",
-                                       "optional" : 1,
-                                       "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                       "type" : "string"
-                                    },
-                                    "virtio" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
-                                    },
-                                    "vmxnet3" : {
-                                       "alias" : "macaddr",
-                                       "keyAlias" : "model"
+                                       "typetext" : "<string>"
                                     }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,mtu=<integer>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]"
-                              },
-                              "node" : {
-                                 "description" : "The cluster node name.",
-                                 "format" : "pve-node",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 }
                               },
-                              "numa" : {
-                                 "default" : 0,
-                                 "description" : "Enable/disable NUMA.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/ipams/{ipam}",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
                               },
-                              "numa[n]" : {
-                                 "description" : "NUMA topology.",
-                                 "format" : {
-                                    "cpus" : {
-                                       "description" : "CPUs accessing this NUMA node.",
-                                       "format_description" : "id[-id];...",
-                                       "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                       "type" : "string"
+                              "returns" : {
+                                 "type" : "object"
+                              }
+                           },
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update sdn ipam object configuration.",
+                              "method" : "PUT",
+                              "name" : "update",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "hostnodes" : {
-                                       "description" : "Host NUMA nodes to use.",
-                                       "format_description" : "id[-id];...",
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
-                                       "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
-                                       "type" : "string"
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "memory" : {
-                                       "description" : "Amount of memory this NUMA node provides.",
+                                    "ipam" : {
+                                       "description" : "The SDN ipam object identifier.",
+                                       "format" : "pve-sdn-ipam-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "section" : {
                                        "optional" : 1,
-                                       "type" : "number"
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
                                     },
-                                    "policy" : {
-                                       "description" : "NUMA allocation policy.",
-                                       "enum" : [
-                                          "preferred",
-                                          "bind",
-                                          "interleave"
-                                       ],
+                                    "token" : {
                                        "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "url" : {
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
                                  },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]"
+                                 "type" : "object"
                               },
-                              "onboot" : {
-                                 "default" : 0,
-                                 "description" : "Specifies whether a VM will be started during system bootup.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/ipams",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
                               },
-                              "ostype" : {
-                                 "description" : "Specify guest operating system.",
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 0,
+                        "path" : "/cluster/sdn/ipams/{ipam}",
+                        "text" : "{ipam}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "SDN ipams index.",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "type" : {
+                                 "description" : "Only list sdn ipams of specific type",
                                  "enum" : [
-                                    "other",
-                                    "wxp",
-                                    "w2k",
-                                    "w2k3",
-                                    "w2k8",
-                                    "wvista",
-                                    "win7",
-                                    "win8",
-                                    "win10",
-                                    "win11",
-                                    "l24",
-                                    "l26",
-                                    "solaris"
+                                    "netbox",
+                                    "phpipam",
+                                    "pve"
                                  ],
                                  "optional" : 1,
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/ipams/<ipam>'",
+                           "user" : "all"
+                        },
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "ipam" : {
+                                    "type" : "string"
+                                 },
+                                 "type" : {
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{ipam}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create a new sdn ipam object.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "ipam" : {
+                                 "description" : "The SDN ipam object identifier.",
+                                 "format" : "pve-sdn-ipam-id",
                                  "type" : "string",
-                                 "verbose_description" : "Specify guest operating system. This is used to enable special\noptimization/features for specific operating systems:\n\n[horizontal]\nother;; unspecified OS\nwxp;; Microsoft Windows XP\nw2k;; Microsoft Windows 2000\nw2k3;; Microsoft Windows 2003\nw2k8;; Microsoft Windows 2008\nwvista;; Microsoft Windows Vista\nwin7;; Microsoft Windows 7\nwin8;; Microsoft Windows 8/2012/2012r2\nwin10;; Microsoft Windows 10/2016/2019\nwin11;; Microsoft Windows 11/2022\nl24;; Linux 2.4 Kernel\nl26;; Linux 2.6 - 6.X Kernel\nsolaris;; Solaris/OpenSolaris/OpenIndiania kernel\n"
+                                 "typetext" : "<string>"
                               },
-                              "parallel[n]" : {
-                                 "description" : "Map host parallel devices (n is 0 to 2).",
+                              "section" : {
                                  "optional" : 1,
-                                 "pattern" : "/dev/parport\\d+|/dev/usb/lp\\d+",
-                                 "type" : "string",
-                                 "verbose_description" : "Map host parallel devices (n is 0 to 2).\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
                               },
-                              "pool" : {
-                                 "description" : "Add the VM to the specified pool.",
-                                 "format" : "pve-poolid",
+                              "token" : {
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
-                              "protection" : {
-                                 "default" : 0,
-                                 "description" : "Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "reboot" : {
-                                 "default" : 1,
-                                 "description" : "Allow reboot. If set to '0' the VM exit on reboot.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                              "type" : {
+                                 "description" : "Plugin type.",
+                                 "enum" : [
+                                    "netbox",
+                                    "phpipam",
+                                    "pve"
+                                 ],
+                                 "format" : "pve-configid",
+                                 "type" : "string"
                               },
-                              "rng0" : {
-                                 "description" : "Configure a VirtIO-based Random Number Generator.",
-                                 "format" : {
-                                    "max_bytes" : {
-                                       "default" : 1024,
-                                       "description" : "Maximum bytes of entropy allowed to get injected into the guest every 'period' milliseconds. Prefer a lower value when using '/dev/random' as source. Use `0` to disable limiting (potentially dangerous!).",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "period" : {
-                                       "default" : 1000,
-                                       "description" : "Every 'period' milliseconds the entropy-injection quota is reset, allowing the guest to retrieve another 'max_bytes' of entropy.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "source" : {
-                                       "default_key" : 1,
-                                       "description" : "The file on the host to gather entropy from. In most cases '/dev/urandom' should be preferred over '/dev/random' to avoid entropy-starvation issues on the host. Using urandom does *not* decrease security in any meaningful way, as it's still seeded from real entropy, and the bytes provided will most likely be mixed with real entropy on the guest as well. '/dev/hwrng' can be used to pass through a hardware RNG from the host.",
-                                       "enum" : [
-                                          "/dev/urandom",
-                                          "/dev/random",
-                                          "/dev/hwrng"
-                                       ],
-                                       "type" : "string"
-                                    }
-                                 },
+                              "url" : {
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "[source=]</dev/urandom|/dev/random|/dev/hwrng> [,max_bytes=<integer>] [,period=<integer>]"
-                              },
-                              "sata[n]" : {
-                                 "description" : "Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                 "format" : {
-                                    "aio" : {
-                                       "description" : "AIO type to use.",
-                                       "enum" : [
-                                          "native",
-                                          "threads",
-                                          "io_uring"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "backup" : {
-                                       "description" : "Whether the drive should be included when making backups.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "bps" : {
-                                       "description" : "Maximum r/w speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_max_length" : {
-                                       "description" : "Maximum length of I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_rd" : {
-                                       "description" : "Maximum read speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_rd_length" : {
-                                       "alias" : "bps_rd_max_length"
-                                    },
-                                    "bps_rd_max_length" : {
-                                       "description" : "Maximum length of read I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_wr" : {
-                                       "description" : "Maximum write speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_wr_length" : {
-                                       "alias" : "bps_wr_max_length"
-                                    },
-                                    "bps_wr_max_length" : {
-                                       "description" : "Maximum length of write I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "cache" : {
-                                       "description" : "The drive's cache mode",
-                                       "enum" : [
-                                          "none",
-                                          "writethrough",
-                                          "writeback",
-                                          "unsafe",
-                                          "directsync"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "cyls" : {
-                                       "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "detect_zeroes" : {
-                                       "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "discard" : {
-                                       "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                       "enum" : [
-                                          "ignore",
-                                          "on"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "file" : {
-                                       "default_key" : 1,
-                                       "description" : "The drive's backing volume.",
-                                       "format" : "pve-volume-id-or-qm-path",
-                                       "format_description" : "volume",
-                                       "type" : "string"
-                                    },
-                                    "format" : {
-                                       "description" : "The drive's backing file's data format.",
-                                       "enum" : [
-                                          "raw",
-                                          "cow",
-                                          "qcow",
-                                          "qed",
-                                          "qcow2",
-                                          "vmdk",
-                                          "cloop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "heads" : {
-                                       "description" : "Force the drive's physical geometry to have a specific head count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "import-from" : {
-                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                       "format" : "pve-volume-id-or-absolute-path",
-                                       "format_description" : "source volume",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "iops" : {
-                                       "description" : "Maximum r/w I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_max" : {
-                                       "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_max_length" : {
-                                       "description" : "Maximum length of I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd" : {
-                                       "description" : "Maximum read I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd_length" : {
-                                       "alias" : "iops_rd_max_length"
-                                    },
-                                    "iops_rd_max" : {
-                                       "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd_max_length" : {
-                                       "description" : "Maximum length of read I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr" : {
-                                       "description" : "Maximum write I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr_length" : {
-                                       "alias" : "iops_wr_max_length"
-                                    },
-                                    "iops_wr_max" : {
-                                       "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr_max_length" : {
-                                       "description" : "Maximum length of write I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "mbps" : {
-                                       "description" : "Maximum r/w speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_max" : {
-                                       "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_rd" : {
-                                       "description" : "Maximum read speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_rd_max" : {
-                                       "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_wr" : {
-                                       "description" : "Maximum write speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_wr_max" : {
-                                       "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "media" : {
-                                       "default" : "disk",
-                                       "description" : "The drive's media type.",
-                                       "enum" : [
-                                          "cdrom",
-                                          "disk"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "replicate" : {
-                                       "default" : 1,
-                                       "description" : "Whether the drive should considered for replication jobs.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "rerror" : {
-                                       "description" : "Read error action.",
-                                       "enum" : [
-                                          "ignore",
-                                          "report",
-                                          "stop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "secs" : {
-                                       "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "serial" : {
-                                       "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                       "format" : "urlencoded",
-                                       "format_description" : "serial",
-                                       "maxLength" : 60,
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "shared" : {
-                                       "default" : 0,
-                                       "description" : "Mark this locally-managed volume as available on all nodes",
+                                 "typetext" : "<string>"
+                              }
+                           },
+                           "type" : "object"
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/sdn/ipams",
+                              [
+                                 "SDN.Allocate"
+                              ]
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/sdn/ipams",
+                  "text" : "ipams"
+               },
+               {
+                  "children" : [
+                     {
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Delete sdn dns object configuration.",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "dns" : {
+                                       "description" : "The SDN dns object identifier.",
+                                       "format" : "pve-sdn-dns-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/dns",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Read sdn dns configuration.",
+                              "method" : "GET",
+                              "name" : "read",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "dns" : {
+                                       "description" : "The SDN dns object identifier.",
+                                       "format" : "pve-sdn-dns-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/dns/{dns}",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "returns" : {
+                                 "type" : "object"
+                              }
+                           },
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Update sdn dns object configuration.",
+                              "method" : "PUT",
+                              "name" : "update",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "delete" : {
+                                       "description" : "A list of settings you want to delete.",
+                                       "format" : "pve-configid-list",
+                                       "maxLength" : 4096,
                                        "optional" : 1,
-                                       "type" : "boolean",
-                                       "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "size" : {
-                                       "description" : "Disk size. This is purely informational and has no effect.",
-                                       "format" : "disk-size",
-                                       "format_description" : "DiskSize",
+                                    "digest" : {
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "snapshot" : {
-                                       "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "dns" : {
+                                       "description" : "The SDN dns object identifier.",
+                                       "format" : "pve-sdn-dns-id",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "ssd" : {
-                                       "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                    "key" : {
                                        "optional" : 1,
-                                       "type" : "boolean"
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     },
-                                    "trans" : {
-                                       "description" : "Force disk geometry bios translation mode.",
-                                       "enum" : [
-                                          "none",
-                                          "lba",
-                                          "auto"
-                                       ],
+                                    "reversemaskv6" : {
                                        "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "volume" : {
-                                       "alias" : "file"
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
                                     },
-                                    "werror" : {
-                                       "description" : "Write error action.",
-                                       "enum" : [
-                                          "enospc",
-                                          "ignore",
-                                          "report",
-                                          "stop"
-                                       ],
+                                    "ttl" : {
                                        "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "integer",
+                                       "typetext" : "<integer>"
                                     },
-                                    "wwn" : {
-                                       "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                       "format_description" : "wwn",
+                                    "url" : {
                                        "optional" : 1,
-                                       "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                       "type" : "string"
+                                       "type" : "string",
+                                       "typetext" : "<string>"
                                     }
                                  },
+                                 "type" : "object"
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/sdn/dns",
+                                    [
+                                       "SDN.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/cluster/sdn/dns/{dns}",
+                        "text" : "{dns}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "SDN dns index.",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "type" : {
+                                 "description" : "Only list sdn dns of specific type",
+                                 "enum" : [
+                                    "powerdns"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "Only list entries where you have 'SDN.Audit' or 'SDN.Allocate' permissions on '/sdn/dns/<dns>'",
+                           "user" : "all"
+                        },
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "dns" : {
+                                    "type" : "string"
+                                 },
+                                 "type" : {
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{dns}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create a new sdn dns object.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "dns" : {
+                                 "description" : "The SDN dns object identifier.",
+                                 "format" : "pve-sdn-dns-id",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "key" : {
+                                 "optional" : 0,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "reversemaskv6" : {
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "reversev6mask" : {
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "ttl" : {
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer>"
+                              },
+                              "type" : {
+                                 "description" : "Plugin type.",
+                                 "enum" : [
+                                    "powerdns"
+                                 ],
+                                 "format" : "pve-configid",
+                                 "type" : "string"
+                              },
+                              "url" : {
+                                 "optional" : 0,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           },
+                           "type" : "object"
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "perm",
+                              "/sdn/dns",
+                              [
+                                 "SDN.Allocate"
+                              ]
+                           ]
+                        },
+                        "protected" : 1,
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/cluster/sdn/dns",
+                  "text" : "dns"
+               }
+            ],
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Directory index.",
+                  "method" : "GET",
+                  "name" : "index",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "perm",
+                        "/sdn",
+                        [
+                           "SDN.Audit"
+                        ]
+                     ]
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {
+                           "id" : {
+                              "type" : "string"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "links" : [
+                        {
+                           "href" : "{id}",
+                           "rel" : "child"
+                        }
+                     ],
+                     "type" : "array"
+                  }
+               },
+               "PUT" : {
+                  "allowtoken" : 1,
+                  "description" : "Apply sdn controller changes && reload.",
+                  "method" : "PUT",
+                  "name" : "reload",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "perm",
+                        "/sdn",
+                        [
+                           "SDN.Allocate"
+                        ]
+                     ]
+                  },
+                  "protected" : 1,
+                  "returns" : {
+                     "type" : "string"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/cluster/sdn",
+            "text" : "sdn"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Read cluster log",
+                  "method" : "GET",
+                  "name" : "log",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "max" : {
+                           "description" : "Maximum number of entries.",
+                           "minimum" : 1,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (1 - N)"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "user" : "all"
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {},
+                        "type" : "object"
+                     },
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/cluster/log",
+            "text" : "log"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Resources index (cluster wide).",
+                  "method" : "GET",
+                  "name" : "resources",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "type" : {
+                           "enum" : [
+                              "vm",
+                              "storage",
+                              "node",
+                              "sdn"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "user" : "all"
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {
+                           "cgroup-mode" : {
+                              "description" : "The cgroup mode the node operates under (when type == node).",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "content" : {
+                              "description" : "Allowed storage content types (when type == storage).",
+                              "format" : "pve-storage-content-list",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "cpu" : {
+                              "description" : "CPU utilization (when type in node,qemu,lxc).",
+                              "minimum" : 0,
+                              "optional" : 1,
+                              "renderer" : "fraction_as_percentage",
+                              "type" : "number"
+                           },
+                           "disk" : {
+                              "description" : "Used disk space in bytes (when type in storage), used root image spave for VMs (type in qemu,lxc).",
+                              "minimum" : 0,
+                              "optional" : 1,
+                              "renderer" : "bytes",
+                              "type" : "integer"
+                           },
+                           "hastate" : {
+                              "description" : "HA service status (for HA managed VMs).",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "id" : {
+                              "description" : "Resource id.",
+                              "type" : "string"
+                           },
+                           "level" : {
+                              "description" : "Support level (when type == node).",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "maxcpu" : {
+                              "description" : "Number of available CPUs (when type in node,qemu,lxc).",
+                              "minimum" : 0,
+                              "optional" : 1,
+                              "type" : "number"
+                           },
+                           "maxdisk" : {
+                              "description" : "Storage size in bytes (when type in storage), root image size for VMs (type in qemu,lxc).",
+                              "minimum" : 0,
+                              "optional" : 1,
+                              "renderer" : "bytes",
+                              "type" : "integer"
+                           },
+                           "maxmem" : {
+                              "description" : "Number of available memory in bytes (when type in node,qemu,lxc).",
+                              "optional" : 1,
+                              "renderer" : "bytes",
+                              "type" : "integer"
+                           },
+                           "mem" : {
+                              "description" : "Used memory in bytes (when type in node,qemu,lxc).",
+                              "minimum" : 0,
+                              "optional" : 1,
+                              "renderer" : "bytes",
+                              "type" : "integer"
+                           },
+                           "name" : {
+                              "description" : "Name of the resource.",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "node" : {
+                              "description" : "The cluster node name (when type in node,storage,qemu,lxc).",
+                              "format" : "pve-node",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "plugintype" : {
+                              "description" : "More specific type, if available.",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "pool" : {
+                              "description" : "The pool name (when type in pool,qemu,lxc).",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "status" : {
+                              "description" : "Resource type dependent status.",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "storage" : {
+                              "description" : "The storage identifier (when type == storage).",
+                              "format" : "pve-storage-id",
+                              "format_description" : "storage ID",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "type" : {
+                              "description" : "Resource type.",
+                              "enum" : [
+                                 "node",
+                                 "storage",
+                                 "pool",
+                                 "qemu",
+                                 "lxc",
+                                 "openvz",
+                                 "sdn"
+                              ],
+                              "type" : "string"
+                           },
+                           "uptime" : {
+                              "description" : "Node uptime in seconds (when type in node,qemu,lxc).",
+                              "optional" : 1,
+                              "renderer" : "duration",
+                              "type" : "integer"
+                           },
+                           "vmid" : {
+                              "description" : "The numerical vmid (when type in qemu,lxc).",
+                              "format" : "pve-vmid",
+                              "maximum" : 999999999,
+                              "minimum" : 100,
+                              "optional" : 1,
+                              "type" : "integer"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/cluster/resources",
+            "text" : "resources"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "List recent tasks (cluster wide).",
+                  "method" : "GET",
+                  "name" : "tasks",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "user" : "all"
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {
+                           "upid" : {
+                              "type" : "string"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/cluster/tasks",
+            "text" : "tasks"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Get datacenter options. Without 'Sys.Audit' on '/' not all options are returned.",
+                  "method" : "GET",
+                  "name" : "get_options",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "perm",
+                        "/",
+                        [
+                           "Sys.Audit"
+                        ]
+                     ],
+                     "user" : "all"
+                  },
+                  "returns" : {
+                     "type" : "object"
+                  }
+               },
+               "PUT" : {
+                  "allowtoken" : 1,
+                  "description" : "Set datacenter options.",
+                  "method" : "PUT",
+                  "name" : "set_options",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "bwlimit" : {
+                           "description" : "Set I/O bandwidth limit for various operations (in KiB/s).",
+                           "format" : {
+                              "clone" : {
+                                 "description" : "bandwidth limit in KiB/s for cloning disks",
+                                 "format_description" : "LIMIT",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "number"
+                              },
+                              "default" : {
+                                 "description" : "default bandwidth limit in KiB/s",
+                                 "format_description" : "LIMIT",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "number"
+                              },
+                              "migration" : {
+                                 "description" : "bandwidth limit in KiB/s for migrating guests (including moving local disks)",
+                                 "format_description" : "LIMIT",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "number"
+                              },
+                              "move" : {
+                                 "description" : "bandwidth limit in KiB/s for moving disks",
+                                 "format_description" : "LIMIT",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "number"
+                              },
+                              "restore" : {
+                                 "description" : "bandwidth limit in KiB/s for restoring guests from backups",
+                                 "format_description" : "LIMIT",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "number"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]"
+                        },
+                        "console" : {
+                           "description" : "Select the default Console viewer. You can either use the builtin java applet (VNC; deprecated and maps to html5), an external virt-viewer comtatible application (SPICE), an HTML5 based vnc viewer (noVNC), or an HTML5 based console client (xtermjs). If the selected viewer is not available (e.g. SPICE not activated for the VM), the fallback is noVNC.",
+                           "enum" : [
+                              "applet",
+                              "vv",
+                              "html5",
+                              "xtermjs"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "crs" : {
+                           "description" : "Cluster resource scheduling settings.",
+                           "format" : {
+                              "ha" : {
+                                 "default" : "basic",
+                                 "description" : "Use this resource scheduler mode for HA.",
+                                 "enum" : [
+                                    "basic",
+                                    "static"
+                                 ],
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
+                                 "verbose_description" : "Configures how the HA manager should select nodes to start or recover services. With 'basic', only the number of services is used, with 'static', static CPU and memory configuration of services is considered."
                               },
-                              "scsi[n]" : {
-                                 "description" : "Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                 "format" : {
-                                    "aio" : {
-                                       "description" : "AIO type to use.",
-                                       "enum" : [
-                                          "native",
-                                          "threads",
-                                          "io_uring"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "backup" : {
-                                       "description" : "Whether the drive should be included when making backups.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "bps" : {
-                                       "description" : "Maximum r/w speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_max_length" : {
-                                       "description" : "Maximum length of I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_rd" : {
-                                       "description" : "Maximum read speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_rd_length" : {
-                                       "alias" : "bps_rd_max_length"
-                                    },
-                                    "bps_rd_max_length" : {
-                                       "description" : "Maximum length of read I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_wr" : {
-                                       "description" : "Maximum write speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_wr_length" : {
-                                       "alias" : "bps_wr_max_length"
-                                    },
-                                    "bps_wr_max_length" : {
-                                       "description" : "Maximum length of write I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "cache" : {
-                                       "description" : "The drive's cache mode",
-                                       "enum" : [
-                                          "none",
-                                          "writethrough",
-                                          "writeback",
-                                          "unsafe",
-                                          "directsync"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "cyls" : {
-                                       "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "detect_zeroes" : {
-                                       "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "discard" : {
-                                       "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                       "enum" : [
-                                          "ignore",
-                                          "on"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "file" : {
-                                       "default_key" : 1,
-                                       "description" : "The drive's backing volume.",
-                                       "format" : "pve-volume-id-or-qm-path",
-                                       "format_description" : "volume",
-                                       "type" : "string"
-                                    },
-                                    "format" : {
-                                       "description" : "The drive's backing file's data format.",
-                                       "enum" : [
-                                          "raw",
-                                          "cow",
-                                          "qcow",
-                                          "qed",
-                                          "qcow2",
-                                          "vmdk",
-                                          "cloop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "heads" : {
-                                       "description" : "Force the drive's physical geometry to have a specific head count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "import-from" : {
-                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                       "format" : "pve-volume-id-or-absolute-path",
-                                       "format_description" : "source volume",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "iops" : {
-                                       "description" : "Maximum r/w I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_max" : {
-                                       "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_max_length" : {
-                                       "description" : "Maximum length of I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd" : {
-                                       "description" : "Maximum read I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd_length" : {
-                                       "alias" : "iops_rd_max_length"
-                                    },
-                                    "iops_rd_max" : {
-                                       "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_rd_max_length" : {
-                                       "description" : "Maximum length of read I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr" : {
-                                       "description" : "Maximum write I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr_length" : {
-                                       "alias" : "iops_wr_max_length"
-                                    },
-                                    "iops_wr_max" : {
-                                       "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iops_wr_max_length" : {
-                                       "description" : "Maximum length of write I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "iothread" : {
-                                       "description" : "Whether to use iothreads for this drive",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "mbps" : {
-                                       "description" : "Maximum r/w speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_max" : {
-                                       "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_rd" : {
-                                       "description" : "Maximum read speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_rd_max" : {
-                                       "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_wr" : {
-                                       "description" : "Maximum write speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "mbps_wr_max" : {
-                                       "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "media" : {
-                                       "default" : "disk",
-                                       "description" : "The drive's media type.",
-                                       "enum" : [
-                                          "cdrom",
-                                          "disk"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "queues" : {
-                                       "description" : "Number of queues.",
-                                       "minimum" : 2,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "replicate" : {
-                                       "default" : 1,
-                                       "description" : "Whether the drive should considered for replication jobs.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "rerror" : {
-                                       "description" : "Read error action.",
-                                       "enum" : [
-                                          "ignore",
-                                          "report",
-                                          "stop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "ro" : {
-                                       "description" : "Whether the drive is read-only.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "scsiblock" : {
-                                       "default" : 0,
-                                       "description" : "whether to use scsi-block for full passthrough of host block device\n\nWARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "secs" : {
-                                       "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "serial" : {
-                                       "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                       "format" : "urlencoded",
-                                       "format_description" : "serial",
-                                       "maxLength" : 60,
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "shared" : {
-                                       "default" : 0,
-                                       "description" : "Mark this locally-managed volume as available on all nodes",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
-                                    },
-                                    "size" : {
-                                       "description" : "Disk size. This is purely informational and has no effect.",
-                                       "format" : "disk-size",
-                                       "format_description" : "DiskSize",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "snapshot" : {
-                                       "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "ssd" : {
-                                       "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "trans" : {
-                                       "description" : "Force disk geometry bios translation mode.",
-                                       "enum" : [
-                                          "none",
-                                          "lba",
-                                          "auto"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "volume" : {
-                                       "alias" : "file"
-                                    },
-                                    "werror" : {
-                                       "description" : "Write error action.",
-                                       "enum" : [
-                                          "enospc",
-                                          "ignore",
-                                          "report",
-                                          "stop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "wwn" : {
-                                       "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
-                                       "format_description" : "wwn",
-                                       "optional" : 1,
-                                       "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
-                                       "type" : "string"
-                                    }
-                                 },
+                              "ha-rebalance-on-start" : {
+                                 "default" : 0,
+                                 "description" : "Set to use CRS for selecting a suited node when a HA services request-state changes from stop to start.",
                                  "optional" : 1,
+                                 "type" : "boolean"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[ha=<basic|static>] [,ha-rebalance-on-start=<1|0>]"
+                        },
+                        "delete" : {
+                           "description" : "A list of settings you want to delete.",
+                           "format" : "pve-configid-list",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "description" : {
+                           "description" : "Datacenter description. Shown in the web-interface datacenter notes panel. This is saved as comment inside the configuration file.",
+                           "maxLength" : 65536,
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "email_from" : {
+                           "description" : "Specify email address to send notification from (default is root@$hostname)",
+                           "format" : "email-opt",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "fencing" : {
+                           "default" : "watchdog",
+                           "description" : "Set the fencing mode of the HA cluster. Hardware mode needs a valid configuration of fence devices in /etc/pve/ha/fence.cfg. With both all two modes are used.\n\nWARNING: 'hardware' and 'both' are EXPERIMENTAL & WIP",
+                           "enum" : [
+                              "watchdog",
+                              "hardware",
+                              "both"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "ha" : {
+                           "description" : "Cluster wide HA settings.",
+                           "format" : {
+                              "shutdown_policy" : {
+                                 "default" : "conditional",
+                                 "description" : "The policy for HA services on node shutdown. 'freeze' disables auto-recovery, 'failover' ensures recovery, 'conditional' recovers on poweroff and freezes on reboot. 'migrate' will migrate running services to other nodes, if possible. With 'freeze' or 'failover', HA Services will always get stopped first on shutdown.",
+                                 "enum" : [
+                                    "freeze",
+                                    "failover",
+                                    "conditional",
+                                    "migrate"
+                                 ],
                                  "type" : "string",
-                                 "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,queues=<integer>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
+                                 "verbose_description" : "Describes the policy for handling HA services on poweroff or reboot of a node. Freeze will always freeze services which are still located on the node on shutdown, those services won't be recovered by the HA manager. Failover will not mark the services as frozen and thus the services will get recovered to other nodes, if the shutdown node does not come up again quickly (< 1min). 'conditional' chooses automatically depending on the type of shutdown, i.e., on a reboot the service will be frozen but on a poweroff the service will stay as is, and thus get recovered after about 2 minutes. Migrate will try to move all running services to another node when a reboot or shutdown was triggered. The poweroff process will only continue once no running services are located on the node anymore. If the node comes up again, the service will be moved back to the previously powered-off node, at least if no other migration, reloaction or recovery took place."
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "shutdown_policy=<enum>"
+                        },
+                        "http_proxy" : {
+                           "description" : "Specify external http proxy which is used for downloads (example: 'http://username:password@host:port/')",
+                           "optional" : 1,
+                           "pattern" : "http://.*",
+                           "type" : "string"
+                        },
+                        "keyboard" : {
+                           "description" : "Default keybord layout for vnc server.",
+                           "enum" : [
+                              "de",
+                              "de-ch",
+                              "da",
+                              "en-gb",
+                              "en-us",
+                              "es",
+                              "fi",
+                              "fr",
+                              "fr-be",
+                              "fr-ca",
+                              "fr-ch",
+                              "hu",
+                              "is",
+                              "it",
+                              "ja",
+                              "lt",
+                              "mk",
+                              "nl",
+                              "no",
+                              "pl",
+                              "pt",
+                              "pt-br",
+                              "sv",
+                              "sl",
+                              "tr"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "language" : {
+                           "description" : "Default GUI language.",
+                           "enum" : [
+                              "ar",
+                              "ca",
+                              "da",
+                              "de",
+                              "en",
+                              "es",
+                              "eu",
+                              "fa",
+                              "fr",
+                              "hr",
+                              "he",
+                              "it",
+                              "ja",
+                              "ka",
+                              "kr",
+                              "nb",
+                              "nl",
+                              "nn",
+                              "pl",
+                              "pt_BR",
+                              "ru",
+                              "sl",
+                              "sv",
+                              "tr",
+                              "ukr",
+                              "zh_CN",
+                              "zh_TW"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
+                        "mac_prefix" : {
+                           "default" : "BC:24:11",
+                           "description" : "Prefix for the auto-generated MAC addresses of virtual guests. The default 'BC:24:11' is the OUI assigned by the IEEE to Proxmox Server Solutions GmbH for a 24-bit large MAC block. You're allowed to use this in local networks, i.e., those not directly reachable by the public (e.g., in a LAN or behind NAT).",
+                           "format" : "mac-prefix",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>",
+                           "verbose_description" : "Prefix for the auto-generated MAC addresses of virtual guests. The default `BC:24:11` is the Organizationally Unique Identifier (OUI) assigned by the IEEE to Proxmox Server Solutions GmbH for a MAC Address Block Large (MA-L). You're allowed to use this in local networks, i.e., those not directly reachable by the public (e.g., in a LAN or NAT/Masquerading).\n \nNote that when you run multiple cluster that (partially) share the networks of their virtual guests, it's highly recommended that you extend the default MAC prefix, or generate a custom (valid) one, to reduce the chance of MAC collisions. For example, add a separate extra hexadecimal to the Proxmox OUI for each cluster, like `BC:24:11:0` for the first, `BC:24:11:1` for the second, and so on.\n Alternatively, you can also separate the networks of the guests logically, e.g., by using VLANs.\n\nFor publicly accessible guests it's recommended that you get your own https://standards.ieee.org/products-programs/regauth/[OUI from the IEEE] registered or coordinate with your, or your hosting providers, network admins."
+                        },
+                        "max_workers" : {
+                           "description" : "Defines how many workers (per node) are maximal started  on actions like 'stopall VMs' or task from the ha-manager.",
+                           "minimum" : 1,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (1 - N)"
+                        },
+                        "migration" : {
+                           "description" : "For cluster wide migration settings.",
+                           "format" : {
+                              "network" : {
+                                 "description" : "CIDR of the (sub) network that is used for migration.",
+                                 "format" : "CIDR",
+                                 "format_description" : "CIDR",
+                                 "optional" : 1,
+                                 "type" : "string"
                               },
-                              "scsihw" : {
-                                 "default" : "lsi",
-                                 "description" : "SCSI controller model",
+                              "type" : {
+                                 "default" : "secure",
+                                 "default_key" : 1,
+                                 "description" : "Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.",
                                  "enum" : [
-                                    "lsi",
-                                    "lsi53c810",
-                                    "virtio-scsi-pci",
-                                    "virtio-scsi-single",
-                                    "megasas",
-                                    "pvscsi"
+                                    "secure",
+                                    "insecure"
+                                 ],
+                                 "type" : "string"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[type=]<secure|insecure> [,network=<CIDR>]"
+                        },
+                        "migration_unsecure" : {
+                           "description" : "Migration is secure using SSH tunnel by default. For secure private networks you can disable it to speed up migration. Deprecated, use the 'migration' property instead!",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "next-id" : {
+                           "description" : "Control the range for the free VMID auto-selection pool.",
+                           "format" : {
+                              "lower" : {
+                                 "default" : 100,
+                                 "description" : "Lower, inclusive boundary for free next-id API range.",
+                                 "max" : 999999999,
+                                 "min" : 100,
+                                 "optional" : 1,
+                                 "type" : "integer"
+                              },
+                              "upper" : {
+                                 "default" : 1000000,
+                                 "description" : "Upper, exclusive boundary for free next-id API range.",
+                                 "max" : 1000000000,
+                                 "min" : 100,
+                                 "optional" : 1,
+                                 "type" : "integer"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[lower=<integer>] [,upper=<integer>]"
+                        },
+                        "notify" : {
+                           "description" : "Cluster-wide notification settings.",
+                           "format" : {
+                              "fencing" : {
+                                 "description" : "UNUSED - Use datacenter notification settings instead.",
+                                 "enum" : [
+                                    "always",
+                                    "never"
                                  ],
                                  "optional" : 1,
                                  "type" : "string"
                               },
-                              "searchdomain" : {
-                                 "description" : "cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
+                              "package-updates" : {
+                                 "default" : "auto",
+                                 "description" : "DEPRECATED: Use datacenter notification settings instead. Control when the daily update job should send out notifications.",
+                                 "enum" : [
+                                    "auto",
+                                    "always",
+                                    "never"
+                                 ],
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "<string>"
+                                 "verbose_description" : "DEPRECATED: Use datacenter notification settings instead.\nControl how often the daily update job should send out notifications:\n* 'auto' daily for systems with a valid subscription, as those are assumed to be  production-ready and thus should know about pending updates.\n* 'always' every update, if there are new pending updates.\n* 'never' never send a notification for new pending updates.\n"
                               },
-                              "serial[n]" : {
-                                 "description" : "Create a serial device inside the VM (n is 0 to 3)",
+                              "replication" : {
+                                 "description" : "UNUSED - Use datacenter notification settings instead.",
+                                 "enum" : [
+                                    "always",
+                                    "never"
+                                 ],
                                  "optional" : 1,
-                                 "pattern" : "(/dev/.+|socket)",
+                                 "type" : "string"
+                              },
+                              "target-fencing" : {
+                                 "description" : "UNUSED - Use datacenter notification settings instead.",
+                                 "format_description" : "TARGET",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "target-package-updates" : {
+                                 "description" : "UNUSED - Use datacenter notification settings instead.",
+                                 "format_description" : "TARGET",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "target-replication" : {
+                                 "description" : "UNUSED - Use datacenter notification settings instead.",
+                                 "format_description" : "TARGET",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[fencing=<always|never>] [,package-updates=<auto|always|never>] [,replication=<always|never>] [,target-fencing=<TARGET>] [,target-package-updates=<TARGET>] [,target-replication=<TARGET>]"
+                        },
+                        "registered-tags" : {
+                           "description" : "A list of tags that require a `Sys.Modify` on '/' to set and delete. Tags set here that are also in 'user-tag-access' also require `Sys.Modify`.",
+                           "optional" : 1,
+                           "pattern" : "(?:(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*);)*(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*)",
+                           "type" : "string",
+                           "typetext" : "<tag>[;<tag>...]"
+                        },
+                        "tag-style" : {
+                           "description" : "Tag style options.",
+                           "format" : {
+                              "case-sensitive" : {
+                                 "default" : 0,
+                                 "description" : "Controls if filtering for unique tags on update should check case-sensitive.",
+                                 "optional" : 1,
+                                 "type" : "boolean"
+                              },
+                              "color-map" : {
+                                 "description" : "Manual color mapping for tags (semicolon separated).",
+                                 "optional" : 1,
+                                 "pattern" : "(?:(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*):[0-9a-fA-F]{6}(?::[0-9a-fA-F]{6})?)(?:;(?:(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*):[0-9a-fA-F]{6}(?::[0-9a-fA-F]{6})?))*",
                                  "type" : "string",
-                                 "verbose_description" : "Create a serial device inside the VM (n is 0 to 3), and pass through a\nhost serial device (i.e. /dev/ttyS0), or create a unix socket on the\nhost side (use 'qm terminal' to open a terminal connection).\n\nNOTE: If you pass through a host serial device, it is no longer possible to migrate such machines -\nuse with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                 "typetext" : "<tag>:<hex-color>[:<hex-color-for-text>][;<tag>=...]"
                               },
-                              "shares" : {
-                                 "default" : 1000,
-                                 "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
-                                 "maximum" : 50000,
-                                 "minimum" : 0,
+                              "ordering" : {
+                                 "default" : "alphabetical",
+                                 "description" : "Controls the sorting of the tags in the web-interface and the API update.",
+                                 "enum" : [
+                                    "config",
+                                    "alphabetical"
+                                 ],
                                  "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - 50000)"
+                                 "type" : "string"
                               },
-                              "smbios1" : {
-                                 "description" : "Specify SMBIOS type 1 fields.",
-                                 "format" : "pve-qm-smbios1",
-                                 "maxLength" : 512,
+                              "shape" : {
+                                 "default" : "circle",
+                                 "description" : "Tag shape for the web ui tree. 'full' draws the full tag. 'circle' draws only a circle with the background color. 'dense' only draws a small rectancle (useful when many tags are assigned to each guest).'none' disables showing the tags.",
+                                 "enum" : [
+                                    "full",
+                                    "circle",
+                                    "dense",
+                                    "none"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[case-sensitive=<1|0>] [,color-map=<tag>:<hex-color>[:<hex-color-for-text>][;<tag>=...]] [,ordering=<config|alphabetical>] [,shape=<enum>]"
+                        },
+                        "u2f" : {
+                           "description" : "u2f",
+                           "format" : {
+                              "appid" : {
+                                 "description" : "U2F AppId URL override. Defaults to the origin.",
+                                 "format_description" : "APPID",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "origin" : {
+                                 "description" : "U2F Origin override. Mostly useful for single nodes with a single URL.",
+                                 "format_description" : "URL",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[appid=<APPID>] [,origin=<URL>]"
+                        },
+                        "user-tag-access" : {
+                           "description" : "Privilege options for user-settable tags",
+                           "format" : {
+                              "user-allow" : {
+                                 "default" : "free",
+                                 "description" : "Controls tag usage for users without `Sys.Modify` on `/` by either allowing `none`, a `list`, already `existing` or anything (`free`).",
+                                 "enum" : [
+                                    "none",
+                                    "list",
+                                    "existing",
+                                    "free"
+                                 ],
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]"
+                                 "verbose_description" : "Controls which tags can be set or deleted on resources a user controls (such as guests). Users with the `Sys.Modify` privilege on `/` are alwaysunrestricted.\n* 'none' no tags are usable.\n* 'list' tags from 'user-allow-list' are usable.\n* 'existing' like list, but already existing tags of resources are also usable.\n* 'free' no tag restrictions.\n"
                               },
-                              "smp" : {
+                              "user-allow-list" : {
+                                 "description" : "List of tags users are allowed to set and delete (semicolon separated) for 'user-allow' values 'list' and 'existing'.",
+                                 "optional" : 1,
+                                 "pattern" : "(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*)(?:;(?^i:[a-z0-9_][a-z0-9_\\-\\+\\.]*))*",
+                                 "type" : "string",
+                                 "typetext" : "<tag>[;<tag>...]"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[user-allow=<enum>] [,user-allow-list=<tag>[;<tag>...]]"
+                        },
+                        "webauthn" : {
+                           "description" : "webauthn configuration",
+                           "format" : {
+                              "allow-subdomains" : {
                                  "default" : 1,
-                                 "description" : "The number of CPUs. Please use option -sockets instead.",
-                                 "minimum" : 1,
+                                 "description" : "Whether to allow the origin to be a subdomain, rather than the exact URL.",
                                  "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
+                                 "type" : "boolean"
                               },
-                              "sockets" : {
-                                 "default" : 1,
-                                 "description" : "The number of CPU sockets.",
-                                 "minimum" : 1,
+                              "id" : {
+                                 "description" : "Relying party ID. Must be the domain name without protocol, port or location. Changing this *will* break existing credentials.",
+                                 "format_description" : "DOMAINNAME",
                                  "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
+                                 "type" : "string"
                               },
-                              "spice_enhancements" : {
-                                 "description" : "Configure additional enhancements for SPICE.",
-                                 "format" : {
-                                    "foldersharing" : {
-                                       "default" : "0",
-                                       "description" : "Enable folder sharing via SPICE. Needs Spice-WebDAV daemon installed in the VM.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                              "origin" : {
+                                 "description" : "Site origin. Must be a `https://` URL (or `http://localhost`). Should contain the address users type in their browsers to access the web interface. Changing this *may* break existing credentials.",
+                                 "format_description" : "URL",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "rp" : {
+                                 "description" : "Relying party name. Any text identifier. Changing this *may* break existing credentials.",
+                                 "format_description" : "RELYING_PARTY",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           },
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "[allow-subdomains=<1|0>] [,id=<DOMAINNAME>] [,origin=<URL>] [,rp=<RELYING_PARTY>]"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "perm",
+                        "/",
+                        [
+                           "Sys.Modify"
+                        ]
+                     ]
+                  },
+                  "protected" : 1,
+                  "returns" : {
+                     "type" : "null"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/cluster/options",
+            "text" : "options"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Get cluster status information.",
+                  "method" : "GET",
+                  "name" : "get_status",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "perm",
+                        "/",
+                        [
+                           "Sys.Audit"
+                        ]
+                     ]
+                  },
+                  "protected" : 1,
+                  "returns" : {
+                     "items" : {
+                        "properties" : {
+                           "id" : {
+                              "type" : "string"
+                           },
+                           "ip" : {
+                              "description" : "[node] IP of the resolved nodename.",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "level" : {
+                              "description" : "[node] Proxmox VE Subscription level, indicates if eligible for enterprise support as well as access to the stable Proxmox VE Enterprise Repository.",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "local" : {
+                              "description" : "[node] Indicates if this is the responding node.",
+                              "optional" : 1,
+                              "type" : "boolean"
+                           },
+                           "name" : {
+                              "type" : "string"
+                           },
+                           "nodeid" : {
+                              "description" : "[node] ID of the node from the corosync configuration.",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "nodes" : {
+                              "description" : "[cluster] Nodes count, including offline nodes.",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "online" : {
+                              "description" : "[node] Indicates if the node is online or offline.",
+                              "optional" : 1,
+                              "type" : "boolean"
+                           },
+                           "quorate" : {
+                              "description" : "[cluster] Indicates if there is a majority of nodes online to make decisions",
+                              "optional" : 1,
+                              "type" : "boolean"
+                           },
+                           "type" : {
+                              "description" : "Indicates the type, either cluster or node. The type defines the object properties e.g. quorate available for type cluster.",
+                              "enum" : [
+                                 "cluster",
+                                 "node"
+                              ],
+                              "type" : "string"
+                           },
+                           "version" : {
+                              "description" : "[cluster] Current version of the corosync configuration file.",
+                              "optional" : 1,
+                              "type" : "integer"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/cluster/status",
+            "text" : "status"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "allowtoken" : 1,
+                  "description" : "Get next free VMID. Pass a VMID to assert that its free (at time of check).",
+                  "method" : "GET",
+                  "name" : "nextid",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "vmid" : {
+                           "description" : "The (unique) ID of the VM.",
+                           "format" : "pve-vmid",
+                           "maximum" : 999999999,
+                           "minimum" : 100,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (100 - 999999999)"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "user" : "all"
+                  },
+                  "returns" : {
+                     "description" : "The next free VMID.",
+                     "type" : "integer"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/cluster/nextid",
+            "text" : "nextid"
+         }
+      ],
+      "info" : {
+         "GET" : {
+            "allowtoken" : 1,
+            "description" : "Cluster index.",
+            "method" : "GET",
+            "name" : "index",
+            "parameters" : {
+               "additionalProperties" : 0
+            },
+            "permissions" : {
+               "user" : "all"
+            },
+            "returns" : {
+               "items" : {
+                  "properties" : {},
+                  "type" : "object"
+               },
+               "links" : [
+                  {
+                     "href" : "{name}",
+                     "rel" : "child"
+                  }
+               ],
+               "type" : "array"
+            }
+         }
+      },
+      "leaf" : 0,
+      "path" : "/cluster",
+      "text" : "cluster"
+   },
+   {
+      "children" : [
+         {
+            "children" : [
+               {
+                  "children" : [
+                     {
+                        "children" : [
+                           {
+                              "children" : [
+                                 {
+                                    "children" : [
+                                       {
+                                          "info" : {
+                                             "DELETE" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Delete rule.",
+                                                "method" : "DELETE",
+                                                "name" : "delete_rule",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "digest" : {
+                                                         "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                         "maxLength" : 64,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "pos" : {
+                                                         "description" : "Update rule at position <pos>.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : null,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             },
+                                             "GET" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Get single rule data.",
+                                                "method" : "GET",
+                                                "name" : "get_rule",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "pos" : {
+                                                         "description" : "Update rule at position <pos>.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Audit"
+                                                      ]
+                                                   ]
+                                                },
+                                                "proxyto" : null,
+                                                "returns" : {
+                                                   "properties" : {
+                                                      "action" : {
+                                                         "type" : "string"
+                                                      },
+                                                      "comment" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "dest" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "dport" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "enable" : {
+                                                         "optional" : 1,
+                                                         "type" : "integer"
+                                                      },
+                                                      "icmp-type" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "iface" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "ipversion" : {
+                                                         "optional" : 1,
+                                                         "type" : "integer"
+                                                      },
+                                                      "log" : {
+                                                         "description" : "Log level for firewall rule",
+                                                         "enum" : [
+                                                            "emerg",
+                                                            "alert",
+                                                            "crit",
+                                                            "err",
+                                                            "warning",
+                                                            "notice",
+                                                            "info",
+                                                            "debug",
+                                                            "nolog"
+                                                         ],
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "macro" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "pos" : {
+                                                         "type" : "integer"
+                                                      },
+                                                      "proto" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "source" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "sport" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "type" : {
+                                                         "type" : "string"
+                                                      }
+                                                   },
+                                                   "type" : "object"
+                                                }
+                                             },
+                                             "PUT" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Modify rule data.",
+                                                "method" : "PUT",
+                                                "name" : "update_rule",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "action" : {
+                                                         "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
+                                                         "maxLength" : 20,
+                                                         "minLength" : 2,
+                                                         "optional" : 1,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "comment" : {
+                                                         "description" : "Descriptive comment.",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "delete" : {
+                                                         "description" : "A list of settings you want to delete.",
+                                                         "format" : "pve-configid-list",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "dest" : {
+                                                         "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                                         "format" : "pve-fw-addr-spec",
+                                                         "maxLength" : 512,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "digest" : {
+                                                         "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                         "maxLength" : 64,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "dport" : {
+                                                         "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                                         "format" : "pve-fw-dport-spec",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "enable" : {
+                                                         "description" : "Flag to enable/disable a rule.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "icmp-type" : {
+                                                         "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
+                                                         "format" : "pve-fw-icmp-type-spec",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "iface" : {
+                                                         "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
+                                                         "format" : "pve-iface",
+                                                         "maxLength" : 20,
+                                                         "minLength" : 2,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "log" : {
+                                                         "description" : "Log level for firewall rule.",
+                                                         "enum" : [
+                                                            "emerg",
+                                                            "alert",
+                                                            "crit",
+                                                            "err",
+                                                            "warning",
+                                                            "notice",
+                                                            "info",
+                                                            "debug",
+                                                            "nolog"
+                                                         ],
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "macro" : {
+                                                         "description" : "Use predefined standard macro.",
+                                                         "maxLength" : 128,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "moveto" : {
+                                                         "description" : "Move rule to new position <moveto>. Other arguments are ignored.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "pos" : {
+                                                         "description" : "Update rule at position <pos>.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "proto" : {
+                                                         "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
+                                                         "format" : "pve-fw-protocol-spec",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "source" : {
+                                                         "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                                         "format" : "pve-fw-addr-spec",
+                                                         "maxLength" : 512,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "sport" : {
+                                                         "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                                         "format" : "pve-fw-sport-spec",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "type" : {
+                                                         "description" : "Rule type.",
+                                                         "enum" : [
+                                                            "in",
+                                                            "out",
+                                                            "group"
+                                                         ],
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : null,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/qemu/{vmid}/firewall/rules/{pos}",
+                                          "text" : "{pos}"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "List rules.",
+                                          "method" : "GET",
+                                          "name" : "get_rules",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "proxyto" : null,
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "pos" : {
+                                                      "type" : "integer"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{pos}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Create new rule.",
+                                          "method" : "POST",
+                                          "name" : "create_rule",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "action" : {
+                                                   "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
+                                                   "maxLength" : 20,
+                                                   "minLength" : 2,
+                                                   "optional" : 0,
+                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                   "type" : "string"
+                                                },
+                                                "comment" : {
+                                                   "description" : "Descriptive comment.",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "dest" : {
+                                                   "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                                   "format" : "pve-fw-addr-spec",
+                                                   "maxLength" : 512,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "digest" : {
+                                                   "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                   "maxLength" : 64,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "dport" : {
+                                                   "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                                   "format" : "pve-fw-dport-spec",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "enable" : {
+                                                   "description" : "Flag to enable/disable a rule.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "icmp-type" : {
+                                                   "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
+                                                   "format" : "pve-fw-icmp-type-spec",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "iface" : {
+                                                   "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
+                                                   "format" : "pve-iface",
+                                                   "maxLength" : 20,
+                                                   "minLength" : 2,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "log" : {
+                                                   "description" : "Log level for firewall rule.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "macro" : {
+                                                   "description" : "Use predefined standard macro.",
+                                                   "maxLength" : 128,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "pos" : {
+                                                   "description" : "Update rule at position <pos>.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "proto" : {
+                                                   "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
+                                                   "format" : "pve-fw-protocol-spec",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "source" : {
+                                                   "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                                   "format" : "pve-fw-addr-spec",
+                                                   "maxLength" : 512,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "sport" : {
+                                                   "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                                   "format" : "pve-fw-sport-spec",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "type" : {
+                                                   "description" : "Rule type.",
+                                                   "enum" : [
+                                                      "in",
+                                                      "out",
+                                                      "group"
+                                                   ],
+                                                   "optional" : 0,
+                                                   "type" : "string"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Config.Network"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : null,
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
                                     },
-                                    "videostreaming" : {
-                                       "default" : "off",
-                                       "description" : "Enable video streaming. Uses compression for detected video streams.",
-                                       "enum" : [
-                                          "off",
-                                          "all",
-                                          "filter"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    }
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/rules",
+                                    "text" : "rules"
                                  },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[foldersharing=<1|0>] [,videostreaming=<off|all|filter>]"
-                              },
-                              "sshkeys" : {
-                                 "description" : "cloud-init: Setup public SSH keys (one key per line, OpenSSH format).",
-                                 "format" : "urlencoded",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "start" : {
-                                 "default" : 0,
-                                 "description" : "Start VM after it was created successfully.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "startdate" : {
-                                 "default" : "now",
-                                 "description" : "Set the initial date of the real time clock. Valid format for date are:'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
-                                 "optional" : 1,
-                                 "pattern" : "(now|\\d{4}-\\d{1,2}-\\d{1,2}(T\\d{1,2}:\\d{1,2}:\\d{1,2})?)",
-                                 "type" : "string",
-                                 "typetext" : "(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)"
-                              },
-                              "startup" : {
-                                 "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
-                                 "format" : "pve-startup-order",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
-                              },
-                              "storage" : {
-                                 "description" : "Default storage.",
-                                 "format" : "pve-storage-id",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "tablet" : {
-                                 "default" : 1,
-                                 "description" : "Enable/disable the USB tablet device.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>",
-                                 "verbose_description" : "Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (`qm set <vmid> --vga qxl`)."
-                              },
-                              "tags" : {
-                                 "description" : "Tags of the VM. This is only meta information.",
-                                 "format" : "pve-tag-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "tdf" : {
-                                 "default" : 0,
-                                 "description" : "Enable/disable time drift fix.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "template" : {
-                                 "default" : 0,
-                                 "description" : "Enable/disable Template.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "tpmstate0" : {
-                                 "description" : "Configure a Disk for storing TPM state. The format is fixed to 'raw'. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                 "format" : {
-                                    "file" : {
-                                       "default_key" : 1,
-                                       "description" : "The drive's backing volume.",
-                                       "format" : "pve-volume-id-or-qm-path",
-                                       "format_description" : "volume",
-                                       "type" : "string"
-                                    },
-                                    "import-from" : {
-                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                       "format" : "pve-volume-id-or-absolute-path",
-                                       "format_description" : "source volume",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "size" : {
-                                       "description" : "Disk size. This is purely informational and has no effect.",
-                                       "format" : "disk-size",
-                                       "format_description" : "DiskSize",
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "version" : {
-                                       "default" : "v2.0",
-                                       "description" : "The TPM interface version. v2.0 is newer and should be preferred. Note that this cannot be changed later on.",
-                                       "enum" : [
-                                          "v1.2",
-                                          "v2.0"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
+                                 {
+                                    "children" : [
+                                       {
+                                          "info" : {
+                                             "DELETE" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Remove IP or Network alias.",
+                                                "method" : "DELETE",
+                                                "name" : "remove_alias",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "digest" : {
+                                                         "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                         "maxLength" : 64,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "Alias name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             },
+                                             "GET" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Read alias.",
+                                                "method" : "GET",
+                                                "name" : "read_alias",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "name" : {
+                                                         "description" : "Alias name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Audit"
+                                                      ]
+                                                   ]
+                                                },
+                                                "returns" : {
+                                                   "type" : "object"
+                                                }
+                                             },
+                                             "PUT" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Update IP or Network alias.",
+                                                "method" : "PUT",
+                                                "name" : "update_alias",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "cidr" : {
+                                                         "description" : "Network/IP specification in CIDR format.",
+                                                         "format" : "IPorCIDR",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "comment" : {
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "digest" : {
+                                                         "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                         "maxLength" : 64,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "Alias name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "rename" : {
+                                                         "description" : "Rename an existing alias.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "optional" : 1,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/qemu/{vmid}/firewall/aliases/{name}",
+                                          "text" : "{name}"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "List aliases",
+                                          "method" : "GET",
+                                          "name" : "get_aliases",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "cidr" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "comment" : {
+                                                      "optional" : 1,
+                                                      "type" : "string"
+                                                   },
+                                                   "digest" : {
+                                                      "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                      "maxLength" : 64,
+                                                      "optional" : 0,
+                                                      "type" : "string"
+                                                   },
+                                                   "name" : {
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{name}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Create IP or Network Alias.",
+                                          "method" : "POST",
+                                          "name" : "create_alias",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "cidr" : {
+                                                   "description" : "Network/IP specification in CIDR format.",
+                                                   "format" : "IPorCIDR",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "comment" : {
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "name" : {
+                                                   "description" : "Alias name.",
+                                                   "maxLength" : 64,
+                                                   "minLength" : 2,
+                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                   "type" : "string"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Config.Network"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
                                     },
-                                    "volume" : {
-                                       "alias" : "file"
-                                    }
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/aliases",
+                                    "text" : "aliases"
                                  },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[file=]<volume> [,import-from=<source volume>] [,size=<DiskSize>] [,version=<v1.2|v2.0>]"
-                              },
-                              "unique" : {
-                                 "description" : "Assign a unique random ethernet address.",
-                                 "optional" : 1,
-                                 "requires" : "archive",
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "unused[n]" : {
-                                 "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
-                                 "format" : {
-                                    "file" : {
-                                       "default_key" : 1,
-                                       "description" : "The drive's backing volume.",
-                                       "format" : "pve-volume-id",
-                                       "format_description" : "volume",
-                                       "type" : "string"
+                                 {
+                                    "children" : [
+                                       {
+                                          "children" : [
+                                             {
+                                                "info" : {
+                                                   "DELETE" : {
+                                                      "allowtoken" : 1,
+                                                      "description" : "Remove IP or Network from IPSet.",
+                                                      "method" : "DELETE",
+                                                      "name" : "remove_ip",
+                                                      "parameters" : {
+                                                         "additionalProperties" : 0,
+                                                         "properties" : {
+                                                            "cidr" : {
+                                                               "description" : "Network/IP specification in CIDR format.",
+                                                               "format" : "IPorCIDRorAlias",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "digest" : {
+                                                               "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                               "maxLength" : 64,
+                                                               "optional" : 1,
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "name" : {
+                                                               "description" : "IP set name.",
+                                                               "maxLength" : 64,
+                                                               "minLength" : 2,
+                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                               "type" : "string"
+                                                            },
+                                                            "node" : {
+                                                               "description" : "The cluster node name.",
+                                                               "format" : "pve-node",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "vmid" : {
+                                                               "description" : "The (unique) ID of the VM.",
+                                                               "format" : "pve-vmid",
+                                                               "maximum" : 999999999,
+                                                               "minimum" : 100,
+                                                               "type" : "integer",
+                                                               "typetext" : "<integer> (100 - 999999999)"
+                                                            }
+                                                         }
+                                                      },
+                                                      "permissions" : {
+                                                         "check" : [
+                                                            "perm",
+                                                            "/vms/{vmid}",
+                                                            [
+                                                               "VM.Config.Network"
+                                                            ]
+                                                         ]
+                                                      },
+                                                      "protected" : 1,
+                                                      "returns" : {
+                                                         "type" : "null"
+                                                      }
+                                                   },
+                                                   "GET" : {
+                                                      "allowtoken" : 1,
+                                                      "description" : "Read IP or Network settings from IPSet.",
+                                                      "method" : "GET",
+                                                      "name" : "read_ip",
+                                                      "parameters" : {
+                                                         "additionalProperties" : 0,
+                                                         "properties" : {
+                                                            "cidr" : {
+                                                               "description" : "Network/IP specification in CIDR format.",
+                                                               "format" : "IPorCIDRorAlias",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "name" : {
+                                                               "description" : "IP set name.",
+                                                               "maxLength" : 64,
+                                                               "minLength" : 2,
+                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                               "type" : "string"
+                                                            },
+                                                            "node" : {
+                                                               "description" : "The cluster node name.",
+                                                               "format" : "pve-node",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "vmid" : {
+                                                               "description" : "The (unique) ID of the VM.",
+                                                               "format" : "pve-vmid",
+                                                               "maximum" : 999999999,
+                                                               "minimum" : 100,
+                                                               "type" : "integer",
+                                                               "typetext" : "<integer> (100 - 999999999)"
+                                                            }
+                                                         }
+                                                      },
+                                                      "permissions" : {
+                                                         "check" : [
+                                                            "perm",
+                                                            "/vms/{vmid}",
+                                                            [
+                                                               "VM.Audit"
+                                                            ]
+                                                         ]
+                                                      },
+                                                      "protected" : 1,
+                                                      "returns" : {
+                                                         "type" : "object"
+                                                      }
+                                                   },
+                                                   "PUT" : {
+                                                      "allowtoken" : 1,
+                                                      "description" : "Update IP or Network settings",
+                                                      "method" : "PUT",
+                                                      "name" : "update_ip",
+                                                      "parameters" : {
+                                                         "additionalProperties" : 0,
+                                                         "properties" : {
+                                                            "cidr" : {
+                                                               "description" : "Network/IP specification in CIDR format.",
+                                                               "format" : "IPorCIDRorAlias",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "comment" : {
+                                                               "optional" : 1,
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "digest" : {
+                                                               "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                               "maxLength" : 64,
+                                                               "optional" : 1,
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "name" : {
+                                                               "description" : "IP set name.",
+                                                               "maxLength" : 64,
+                                                               "minLength" : 2,
+                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                               "type" : "string"
+                                                            },
+                                                            "node" : {
+                                                               "description" : "The cluster node name.",
+                                                               "format" : "pve-node",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "nomatch" : {
+                                                               "optional" : 1,
+                                                               "type" : "boolean",
+                                                               "typetext" : "<boolean>"
+                                                            },
+                                                            "vmid" : {
+                                                               "description" : "The (unique) ID of the VM.",
+                                                               "format" : "pve-vmid",
+                                                               "maximum" : 999999999,
+                                                               "minimum" : 100,
+                                                               "type" : "integer",
+                                                               "typetext" : "<integer> (100 - 999999999)"
+                                                            }
+                                                         }
+                                                      },
+                                                      "permissions" : {
+                                                         "check" : [
+                                                            "perm",
+                                                            "/vms/{vmid}",
+                                                            [
+                                                               "VM.Config.Network"
+                                                            ]
+                                                         ]
+                                                      },
+                                                      "protected" : 1,
+                                                      "returns" : {
+                                                         "type" : "null"
+                                                      }
+                                                   }
+                                                },
+                                                "leaf" : 1,
+                                                "path" : "/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr}",
+                                                "text" : "{cidr}"
+                                             }
+                                          ],
+                                          "info" : {
+                                             "DELETE" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Delete IPSet",
+                                                "method" : "DELETE",
+                                                "name" : "delete_ipset",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "force" : {
+                                                         "description" : "Delete all members of the IPSet, if there are any.",
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "IP set name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             },
+                                             "GET" : {
+                                                "allowtoken" : 1,
+                                                "description" : "List IPSet content",
+                                                "method" : "GET",
+                                                "name" : "get_ipset",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "name" : {
+                                                         "description" : "IP set name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Audit"
+                                                      ]
+                                                   ]
+                                                },
+                                                "returns" : {
+                                                   "items" : {
+                                                      "properties" : {
+                                                         "cidr" : {
+                                                            "type" : "string"
+                                                         },
+                                                         "comment" : {
+                                                            "optional" : 1,
+                                                            "type" : "string"
+                                                         },
+                                                         "digest" : {
+                                                            "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                            "maxLength" : 64,
+                                                            "optional" : 0,
+                                                            "type" : "string"
+                                                         },
+                                                         "nomatch" : {
+                                                            "optional" : 1,
+                                                            "type" : "boolean"
+                                                         }
+                                                      },
+                                                      "type" : "object"
+                                                   },
+                                                   "links" : [
+                                                      {
+                                                         "href" : "{cidr}",
+                                                         "rel" : "child"
+                                                      }
+                                                   ],
+                                                   "type" : "array"
+                                                }
+                                             },
+                                             "POST" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Add IP or Network to IPSet.",
+                                                "method" : "POST",
+                                                "name" : "create_ip",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "cidr" : {
+                                                         "description" : "Network/IP specification in CIDR format.",
+                                                         "format" : "IPorCIDRorAlias",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "comment" : {
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "IP set name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "nomatch" : {
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 0,
+                                          "path" : "/nodes/{node}/qemu/{vmid}/firewall/ipset/{name}",
+                                          "text" : "{name}"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "List IPSets",
+                                          "method" : "GET",
+                                          "name" : "ipset_index",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "comment" : {
+                                                      "optional" : 1,
+                                                      "type" : "string"
+                                                   },
+                                                   "digest" : {
+                                                      "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                      "maxLength" : 64,
+                                                      "optional" : 0,
+                                                      "type" : "string"
+                                                   },
+                                                   "name" : {
+                                                      "description" : "IP set name.",
+                                                      "maxLength" : 64,
+                                                      "minLength" : 2,
+                                                      "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{name}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Create new IPSet",
+                                          "method" : "POST",
+                                          "name" : "create_ipset",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "comment" : {
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "digest" : {
+                                                   "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                   "maxLength" : 64,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "name" : {
+                                                   "description" : "IP set name.",
+                                                   "maxLength" : 64,
+                                                   "minLength" : 2,
+                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                   "type" : "string"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "rename" : {
+                                                   "description" : "Rename an existing IPSet. You can set 'rename' to the same value as 'name' to update the 'comment' of an existing IPSet.",
+                                                   "maxLength" : 64,
+                                                   "minLength" : 2,
+                                                   "optional" : 1,
+                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                   "type" : "string"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Config.Network"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
                                     },
-                                    "volume" : {
-                                       "alias" : "file"
-                                    }
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/ipset",
+                                    "text" : "ipset"
                                  },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[file=]<volume>"
-                              },
-                              "usb[n]" : {
-                                 "description" : "Configure an USB device (n is 0 to 4, for machine version >= 7.1 and ostype l26 or windows > 7, n can be up to 14).",
-                                 "format" : {
-                                    "host" : {
-                                       "default_key" : 1,
-                                       "description" : "The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:\n\n 'bus-port(.port)*' (decimal numbers) or\n 'vendor_id:product_id' (hexadeciaml numbers) or\n 'spice'\n\nYou can use the 'lsusb -t' command to list existing usb devices.\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nThe value 'spice' can be used to add a usb redirection devices for spice.\n",
-                                       "format" : "pve-qm-usb-device",
-                                       "format_description" : "HOSTUSBDEVICE|spice",
-                                       "type" : "string"
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Get VM firewall options.",
+                                          "method" : "GET",
+                                          "name" : "get_options",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "dhcp" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable DHCP.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "enable" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable/disable firewall rules.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ipfilter" : {
+                                                   "description" : "Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface's MAC address. For containers the configured IP addresses will be implicitly added.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "log_level_in" : {
+                                                   "description" : "Log level for incoming traffic.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "log_level_out" : {
+                                                   "description" : "Log level for outgoing traffic.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "macfilter" : {
+                                                   "default" : 1,
+                                                   "description" : "Enable/disable MAC address filter.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ndp" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable NDP (Neighbor Discovery Protocol).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "policy_in" : {
+                                                   "description" : "Input policy.",
+                                                   "enum" : [
+                                                      "ACCEPT",
+                                                      "REJECT",
+                                                      "DROP"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "policy_out" : {
+                                                   "description" : "Output policy.",
+                                                   "enum" : [
+                                                      "ACCEPT",
+                                                      "REJECT",
+                                                      "DROP"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "radv" : {
+                                                   "description" : "Allow sending Router Advertisement.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       },
+                                       "PUT" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Set Firewall options.",
+                                          "method" : "PUT",
+                                          "name" : "set_options",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "delete" : {
+                                                   "description" : "A list of settings you want to delete.",
+                                                   "format" : "pve-configid-list",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "dhcp" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable DHCP.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "digest" : {
+                                                   "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                   "maxLength" : 64,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "enable" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable/disable firewall rules.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "ipfilter" : {
+                                                   "description" : "Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface's MAC address. For containers the configured IP addresses will be implicitly added.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "log_level_in" : {
+                                                   "description" : "Log level for incoming traffic.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "log_level_out" : {
+                                                   "description" : "Log level for outgoing traffic.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "macfilter" : {
+                                                   "default" : 1,
+                                                   "description" : "Enable/disable MAC address filter.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "ndp" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable NDP (Neighbor Discovery Protocol).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "policy_in" : {
+                                                   "description" : "Input policy.",
+                                                   "enum" : [
+                                                      "ACCEPT",
+                                                      "REJECT",
+                                                      "DROP"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "policy_out" : {
+                                                   "description" : "Output policy.",
+                                                   "enum" : [
+                                                      "ACCEPT",
+                                                      "REJECT",
+                                                      "DROP"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "radv" : {
+                                                   "description" : "Allow sending Router Advertisement.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Config.Network"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
                                     },
-                                    "usb3" : {
-                                       "default" : 0,
-                                       "description" : "Specifies whether if given host option is a USB3 device or port. For modern guests (machine version >= 7.1 and ostype l26 and windows > 7), this flag is irrelevant (all devices are plugged into a xhci controller).",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    }
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/options",
+                                    "text" : "options"
                                  },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]"
-                              },
-                              "vcpus" : {
-                                 "default" : 0,
-                                 "description" : "Number of hotplugged vcpus.",
-                                 "minimum" : 1,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
-                              },
-                              "vga" : {
-                                 "description" : "Configure the VGA hardware.",
-                                 "format" : {
-                                    "memory" : {
-                                       "description" : "Sets the VGA memory (in MiB). Has no effect with serial display.",
-                                       "maximum" : 512,
-                                       "minimum" : 4,
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Read firewall log",
+                                          "method" : "GET",
+                                          "name" : "log",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "limit" : {
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "since" : {
+                                                   "description" : "Display log since this UNIX epoch.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "start" : {
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "until" : {
+                                                   "description" : "Display log until this UNIX epoch.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Console"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "n" : {
+                                                      "description" : "Line number",
+                                                      "type" : "integer"
+                                                   },
+                                                   "t" : {
+                                                      "description" : "Line text",
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "type" : "array"
+                                          }
+                                       }
                                     },
-                                    "type" : {
-                                       "default" : "std",
-                                       "default_key" : 1,
-                                       "description" : "Select the VGA type.",
-                                       "enum" : [
-                                          "cirrus",
-                                          "qxl",
-                                          "qxl2",
-                                          "qxl3",
-                                          "qxl4",
-                                          "none",
-                                          "serial0",
-                                          "serial1",
-                                          "serial2",
-                                          "serial3",
-                                          "std",
-                                          "virtio",
-                                          "virtio-gl",
-                                          "vmware"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    }
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/log",
+                                    "text" : "log"
                                  },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[[type=]<enum>] [,memory=<integer>]",
-                                 "verbose_description" : "Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.\nYou can also run without any graphic card, using a serial device as terminal."
-                              },
-                              "virtio[n]" : {
-                                 "description" : "Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
-                                 "format" : {
-                                    "aio" : {
-                                       "description" : "AIO type to use.",
-                                       "enum" : [
-                                          "native",
-                                          "threads",
-                                          "io_uring"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "backup" : {
-                                       "description" : "Whether the drive should be included when making backups.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "bps" : {
-                                       "description" : "Maximum r/w speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_max_length" : {
-                                       "description" : "Maximum length of I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_rd" : {
-                                       "description" : "Maximum read speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_rd_length" : {
-                                       "alias" : "bps_rd_max_length"
-                                    },
-                                    "bps_rd_max_length" : {
-                                       "description" : "Maximum length of read I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_wr" : {
-                                       "description" : "Maximum write speed in bytes per second.",
-                                       "format_description" : "bps",
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "bps_wr_length" : {
-                                       "alias" : "bps_wr_max_length"
-                                    },
-                                    "bps_wr_max_length" : {
-                                       "description" : "Maximum length of write I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
-                                    },
-                                    "cache" : {
-                                       "description" : "The drive's cache mode",
-                                       "enum" : [
-                                          "none",
-                                          "writethrough",
-                                          "writeback",
-                                          "unsafe",
-                                          "directsync"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Lists possible IPSet/Alias reference which are allowed in source/dest properties.",
+                                          "method" : "GET",
+                                          "name" : "refs",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "type" : {
+                                                   "description" : "Only list references of specified type.",
+                                                   "enum" : [
+                                                      "alias",
+                                                      "ipset"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "comment" : {
+                                                      "optional" : 1,
+                                                      "type" : "string"
+                                                   },
+                                                   "name" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "ref" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "scope" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "type" : {
+                                                      "enum" : [
+                                                         "alias",
+                                                         "ipset"
+                                                      ],
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "type" : "array"
+                                          }
+                                       }
                                     },
-                                    "cyls" : {
-                                       "description" : "Force the drive's physical geometry to have a specific cylinder count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/firewall/refs",
+                                    "text" : "refs"
+                                 }
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Directory index.",
+                                    "method" : "GET",
+                                    "name" : "index",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "detect_zeroes" : {
-                                       "description" : "Controls whether to detect and try to optimize writes of zeroes.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "permissions" : {
+                                       "user" : "all"
                                     },
-                                    "discard" : {
-                                       "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
-                                       "enum" : [
-                                          "ignore",
-                                          "on"
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {},
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{name}",
+                                             "rel" : "child"
+                                          }
                                        ],
-                                       "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "array"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/qemu/{vmid}/firewall",
+                              "text" : "firewall"
+                           },
+                           {
+                              "children" : [
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute fsfreeze-freeze.",
+                                          "method" : "POST",
+                                          "name" : "fsfreeze-freeze",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "file" : {
-                                       "default_key" : 1,
-                                       "description" : "The drive's backing volume.",
-                                       "format" : "pve-volume-id-or-qm-path",
-                                       "format_description" : "volume",
-                                       "type" : "string"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/fsfreeze-freeze",
+                                    "text" : "fsfreeze-freeze"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute fsfreeze-status.",
+                                          "method" : "POST",
+                                          "name" : "fsfreeze-status",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "format" : {
-                                       "description" : "The drive's backing file's data format.",
-                                       "enum" : [
-                                          "raw",
-                                          "cow",
-                                          "qcow",
-                                          "qed",
-                                          "qcow2",
-                                          "vmdk",
-                                          "cloop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/fsfreeze-status",
+                                    "text" : "fsfreeze-status"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute fsfreeze-thaw.",
+                                          "method" : "POST",
+                                          "name" : "fsfreeze-thaw",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "heads" : {
-                                       "description" : "Force the drive's physical geometry to have a specific head count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/fsfreeze-thaw",
+                                    "text" : "fsfreeze-thaw"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute fstrim.",
+                                          "method" : "POST",
+                                          "name" : "fstrim",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "import-from" : {
-                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
-                                       "format" : "pve-volume-id-or-absolute-path",
-                                       "format_description" : "source volume",
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/fstrim",
+                                    "text" : "fstrim"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-fsinfo.",
+                                          "method" : "GET",
+                                          "name" : "get-fsinfo",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops" : {
-                                       "description" : "Maximum r/w I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-fsinfo",
+                                    "text" : "get-fsinfo"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-host-name.",
+                                          "method" : "GET",
+                                          "name" : "get-host-name",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_max" : {
-                                       "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-host-name",
+                                    "text" : "get-host-name"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-memory-block-info.",
+                                          "method" : "GET",
+                                          "name" : "get-memory-block-info",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_max_length" : {
-                                       "description" : "Maximum length of I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-memory-block-info",
+                                    "text" : "get-memory-block-info"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-memory-blocks.",
+                                          "method" : "GET",
+                                          "name" : "get-memory-blocks",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-memory-blocks",
+                                    "text" : "get-memory-blocks"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-osinfo.",
+                                          "method" : "GET",
+                                          "name" : "get-osinfo",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-osinfo",
+                                    "text" : "get-osinfo"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-time.",
+                                          "method" : "GET",
+                                          "name" : "get-time",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_rd" : {
-                                       "description" : "Maximum read I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-time",
+                                    "text" : "get-time"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-timezone.",
+                                          "method" : "GET",
+                                          "name" : "get-timezone",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_rd_length" : {
-                                       "alias" : "iops_rd_max_length"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-timezone",
+                                    "text" : "get-timezone"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-users.",
+                                          "method" : "GET",
+                                          "name" : "get-users",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_rd_max" : {
-                                       "description" : "Maximum unthrottled read I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-users",
+                                    "text" : "get-users"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute get-vcpus.",
+                                          "method" : "GET",
+                                          "name" : "get-vcpus",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_rd_max_length" : {
-                                       "description" : "Maximum length of read I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/get-vcpus",
+                                    "text" : "get-vcpus"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute info.",
+                                          "method" : "GET",
+                                          "name" : "info",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_wr" : {
-                                       "description" : "Maximum write I/O in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/info",
+                                    "text" : "info"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute network-get-interfaces.",
+                                          "method" : "GET",
+                                          "name" : "network-get-interfaces",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_wr_length" : {
-                                       "alias" : "iops_wr_max_length"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/network-get-interfaces",
+                                    "text" : "network-get-interfaces"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute ping.",
+                                          "method" : "POST",
+                                          "name" : "ping",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_wr_max" : {
-                                       "description" : "Maximum unthrottled write I/O pool in operations per second.",
-                                       "format_description" : "iops",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/ping",
+                                    "text" : "ping"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute shutdown.",
+                                          "method" : "POST",
+                                          "name" : "shutdown",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iops_wr_max_length" : {
-                                       "description" : "Maximum length of write I/O bursts in seconds.",
-                                       "format_description" : "seconds",
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/shutdown",
+                                    "text" : "shutdown"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute suspend-disk.",
+                                          "method" : "POST",
+                                          "name" : "suspend-disk",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "iothread" : {
-                                       "description" : "Whether to use iothreads for this drive",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/suspend-disk",
+                                    "text" : "suspend-disk"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute suspend-hybrid.",
+                                          "method" : "POST",
+                                          "name" : "suspend-hybrid",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "mbps" : {
-                                       "description" : "Maximum r/w speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/suspend-hybrid",
+                                    "text" : "suspend-hybrid"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Execute suspend-ram.",
+                                          "method" : "POST",
+                                          "name" : "suspend-ram",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "mbps_max" : {
-                                       "description" : "Maximum unthrottled r/w pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/suspend-ram",
+                                    "text" : "suspend-ram"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Sets the password for the given user to the given password",
+                                          "method" : "POST",
+                                          "name" : "set-user-password",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "crypted" : {
+                                                   "default" : 0,
+                                                   "description" : "set to 1 if the password has already been passed through crypt()",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "password" : {
+                                                   "description" : "The new password.",
+                                                   "maxLength" : 1024,
+                                                   "minLength" : 5,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "username" : {
+                                                   "description" : "The user to set the password for.",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a single `result` property.",
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "mbps_rd" : {
-                                       "description" : "Maximum read speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/set-user-password",
+                                    "text" : "set-user-password"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Executes the given command in the vm via the guest-agent and returns an object with the pid.",
+                                          "method" : "POST",
+                                          "name" : "exec",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "command" : {
+                                                   "description" : "The command as a list of program + arguments.",
+                                                   "items" : {
+                                                      "description" : "A single part of the program + arguments.",
+                                                      "format" : "string"
+                                                   },
+                                                   "type" : "array",
+                                                   "typetext" : "<array>"
+                                                },
+                                                "input-data" : {
+                                                   "description" : "Data to pass as 'input-data' to the guest. Usually treated as STDIN to 'command'.",
+                                                   "maxLength" : 65536,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "pid" : {
+                                                   "description" : "The PID of the process started by the guest-agent.",
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "mbps_rd_max" : {
-                                       "description" : "Maximum unthrottled read pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/exec",
+                                    "text" : "exec"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Gets the status of the given pid started by the guest-agent",
+                                          "method" : "GET",
+                                          "name" : "exec-status",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "pid" : {
+                                                   "description" : "The PID to query",
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "err-data" : {
+                                                   "description" : "stderr of the process",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "err-truncated" : {
+                                                   "description" : "true if stderr was not fully captured",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "exitcode" : {
+                                                   "description" : "process exit code if it was normally terminated.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "exited" : {
+                                                   "description" : "Tells if the given command has exited yet.",
+                                                   "type" : "boolean"
+                                                },
+                                                "out-data" : {
+                                                   "description" : "stdout of the process",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "out-truncated" : {
+                                                   "description" : "true if stdout was not fully captured",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "signal" : {
+                                                   "description" : "signal number or exception code if the process was abnormally terminated.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "mbps_wr" : {
-                                       "description" : "Maximum write speed in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/exec-status",
+                                    "text" : "exec-status"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Reads the given file via guest agent. Is limited to 16777216 bytes.",
+                                          "method" : "GET",
+                                          "name" : "file-read",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "file" : {
+                                                   "description" : "The path to the file",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "Returns an object with a `content` property.",
+                                             "properties" : {
+                                                "content" : {
+                                                   "description" : "The content of the file, maximum 16777216",
+                                                   "type" : "string"
+                                                },
+                                                "truncated" : {
+                                                   "description" : "If set to 1, the output is truncated and not complete",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       }
                                     },
-                                    "mbps_wr_max" : {
-                                       "description" : "Maximum unthrottled write pool in megabytes per second.",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/file-read",
+                                    "text" : "file-read"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Writes the given file via guest agent.",
+                                          "method" : "POST",
+                                          "name" : "file-write",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "content" : {
+                                                   "description" : "The content to write into the file.",
+                                                   "maxLength" : 61440,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "encode" : {
+                                                   "default" : 1,
+                                                   "description" : "If set, the content will be encoded as base64 (required by QEMU).Otherwise the content needs to be encoded beforehand - defaults to true.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "file" : {
+                                                   "description" : "The path to the file.",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Monitor"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
                                     },
-                                    "media" : {
-                                       "default" : "disk",
-                                       "description" : "The drive's media type.",
-                                       "enum" : [
-                                          "cdrom",
-                                          "disk"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/agent/file-write",
+                                    "text" : "file-write"
+                                 }
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "QEMU Guest Agent command index.",
+                                    "method" : "GET",
+                                    "name" : "index",
+                                    "parameters" : {
+                                       "additionalProperties" : 1,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "replicate" : {
-                                       "default" : 1,
-                                       "description" : "Whether the drive should considered for replication jobs.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "permissions" : {
+                                       "user" : "all"
                                     },
-                                    "rerror" : {
-                                       "description" : "Read error action.",
-                                       "enum" : [
-                                          "ignore",
-                                          "report",
-                                          "stop"
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "Returns the list of QEMU Guest Agent commands",
+                                       "items" : {
+                                          "properties" : {},
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{name}",
+                                             "rel" : "child"
+                                          }
                                        ],
-                                       "optional" : 1,
-                                       "type" : "string"
-                                    },
-                                    "ro" : {
-                                       "description" : "Whether the drive is read-only.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "secs" : {
-                                       "description" : "Force the drive's physical geometry to have a specific sector count.",
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                       "type" : "array"
+                                    }
+                                 },
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Execute QEMU Guest Agent commands.",
+                                    "method" : "POST",
+                                    "name" : "agent",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "command" : {
+                                             "description" : "The QGA command.",
+                                             "enum" : [
+                                                "fsfreeze-freeze",
+                                                "fsfreeze-status",
+                                                "fsfreeze-thaw",
+                                                "fstrim",
+                                                "get-fsinfo",
+                                                "get-host-name",
+                                                "get-memory-block-info",
+                                                "get-memory-blocks",
+                                                "get-osinfo",
+                                                "get-time",
+                                                "get-timezone",
+                                                "get-users",
+                                                "get-vcpus",
+                                                "info",
+                                                "network-get-interfaces",
+                                                "ping",
+                                                "shutdown",
+                                                "suspend-disk",
+                                                "suspend-hybrid",
+                                                "suspend-ram"
+                                             ],
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "serial" : {
-                                       "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
-                                       "format" : "urlencoded",
-                                       "format_description" : "serial",
-                                       "maxLength" : 60,
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Monitor"
+                                          ]
+                                       ]
                                     },
-                                    "shared" : {
-                                       "default" : 0,
-                                       "description" : "Mark this locally-managed volume as available on all nodes",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "Returns an object with a single `result` property.",
+                                       "type" : "object"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/qemu/{vmid}/agent",
+                              "text" : "agent"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Read VM RRD statistics (returns PNG)",
+                                    "method" : "GET",
+                                    "name" : "rrd",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "cf" : {
+                                             "description" : "The RRD consolidation function",
+                                             "enum" : [
+                                                "AVERAGE",
+                                                "MAX"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ds" : {
+                                             "description" : "The list of datasources you want to display.",
+                                             "format" : "pve-configid-list",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "timeframe" : {
+                                             "description" : "Specify the time frame you are interested in.",
+                                             "enum" : [
+                                                "hour",
+                                                "day",
+                                                "week",
+                                                "month",
+                                                "year"
+                                             ],
+                                             "type" : "string"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "size" : {
-                                       "description" : "Disk size. This is purely informational and has no effect.",
-                                       "format" : "disk-size",
-                                       "format_description" : "DiskSize",
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
                                     },
-                                    "snapshot" : {
-                                       "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "properties" : {
+                                          "filename" : {
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/rrd",
+                              "text" : "rrd"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Read VM RRD statistics",
+                                    "method" : "GET",
+                                    "name" : "rrddata",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "cf" : {
+                                             "description" : "The RRD consolidation function",
+                                             "enum" : [
+                                                "AVERAGE",
+                                                "MAX"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "timeframe" : {
+                                             "description" : "Specify the time frame you are interested in.",
+                                             "enum" : [
+                                                "hour",
+                                                "day",
+                                                "week",
+                                                "month",
+                                                "year"
+                                             ],
+                                             "type" : "string"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "trans" : {
-                                       "description" : "Force disk geometry bios translation mode.",
-                                       "enum" : [
-                                          "none",
-                                          "lba",
-                                          "auto"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
                                     },
-                                    "volume" : {
-                                       "alias" : "file"
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {},
+                                          "type" : "object"
+                                       },
+                                       "type" : "array"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/rrddata",
+                              "text" : "rrddata"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Get the virtual machine configuration with pending configuration changes applied. Set the 'current' parameter to get the current configuration instead.",
+                                    "method" : "GET",
+                                    "name" : "vm_config",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "current" : {
+                                             "default" : 0,
+                                             "description" : "Get current values (instead of pending values).",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "snapshot" : {
+                                             "description" : "Fetch config values from given snapshot.",
+                                             "format" : "pve-configid",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "werror" : {
-                                       "description" : "Write error action.",
-                                       "enum" : [
-                                          "enospc",
-                                          "ignore",
-                                          "report",
-                                          "stop"
-                                       ],
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
+                                    },
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "The VM configuration.",
+                                       "properties" : {
+                                          "acpi" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable ACPI.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "affinity" : {
+                                             "description" : "List of host cores used to execute guest processes, for example: 0,5,8-11",
+                                             "format" : "pve-cpuset",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "agent" : {
+                                             "description" : "Enable/disable communication with the QEMU Guest Agent and its properties.",
+                                             "format" : {
+                                                "enabled" : {
+                                                   "default" : 0,
+                                                   "default_key" : 1,
+                                                   "description" : "Enable/disable communication with a QEMU Guest Agent (QGA) running in the VM.",
+                                                   "type" : "boolean"
+                                                },
+                                                "freeze-fs-on-backup" : {
+                                                   "default" : 1,
+                                                   "description" : "Freeze/thaw guest filesystems on backup for consistency.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "fstrim_cloned_disks" : {
+                                                   "default" : 0,
+                                                   "description" : "Run fstrim after moving a disk or migrating the VM.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "type" : {
+                                                   "default" : "virtio",
+                                                   "description" : "Select the agent type",
+                                                   "enum" : [
+                                                      "virtio",
+                                                      "isa"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "arch" : {
+                                             "description" : "Virtual processor architecture. Defaults to the host.",
+                                             "enum" : [
+                                                "x86_64",
+                                                "aarch64"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "args" : {
+                                             "description" : "Arbitrary arguments passed to kvm.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "verbose_description" : "Arbitrary arguments passed to kvm, for example:\n\nargs: -no-reboot -smbios 'type=0,vendor=FOO'\n\nNOTE: this option is for experts only.\n"
+                                          },
+                                          "audio0" : {
+                                             "description" : "Configure a audio device, useful in combination with QXL/Spice.",
+                                             "format" : {
+                                                "device" : {
+                                                   "description" : "Configure an audio device.",
+                                                   "enum" : [
+                                                      "ich9-intel-hda",
+                                                      "intel-hda",
+                                                      "AC97"
+                                                   ],
+                                                   "type" : "string"
+                                                },
+                                                "driver" : {
+                                                   "default" : "spice",
+                                                   "description" : "Driver backend for the audio device.",
+                                                   "enum" : [
+                                                      "spice",
+                                                      "none"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "autostart" : {
+                                             "default" : 0,
+                                             "description" : "Automatic restart after crash (currently ignored).",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "balloon" : {
+                                             "description" : "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "bios" : {
+                                             "default" : "seabios",
+                                             "description" : "Select BIOS implementation.",
+                                             "enum" : [
+                                                "seabios",
+                                                "ovmf"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "boot" : {
+                                             "description" : "Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.",
+                                             "format" : "pve-qm-boot",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "bootdisk" : {
+                                             "description" : "Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.",
+                                             "format" : "pve-qm-bootdisk",
+                                             "optional" : 1,
+                                             "pattern" : "(ide|sata|scsi|virtio)\\d+",
+                                             "type" : "string"
+                                          },
+                                          "cdrom" : {
+                                             "description" : "This is an alias for option -ide2",
+                                             "format" : "pve-qm-ide",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<volume>"
+                                          },
+                                          "cicustom" : {
+                                             "description" : "cloud-init: Specify custom files to replace the automatically generated ones at start.",
+                                             "format" : "pve-qm-cicustom",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "cipassword" : {
+                                             "description" : "cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "citype" : {
+                                             "description" : "Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.",
+                                             "enum" : [
+                                                "configdrive2",
+                                                "nocloud",
+                                                "opennebula"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ciupgrade" : {
+                                             "default" : 1,
+                                             "description" : "cloud-init: do an automatic package upgrade after the first boot.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "ciuser" : {
+                                             "description" : "cloud-init: User name to change ssh keys and password for instead of the image's configured default user.",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "cores" : {
+                                             "default" : 1,
+                                             "description" : "The number of cores per socket.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "cpu" : {
+                                             "description" : "Emulated CPU type.",
+                                             "format" : "pve-vm-cpu-conf",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "cpulimit" : {
+                                             "default" : 0,
+                                             "description" : "Limit of CPU usage.",
+                                             "maximum" : 128,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "verbose_description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit."
+                                          },
+                                          "cpuunits" : {
+                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
+                                             "description" : "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
+                                             "maximum" : 262144,
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "verbose_description" : "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs."
+                                          },
+                                          "description" : {
+                                             "description" : "Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.",
+                                             "maxLength" : 8192,
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "digest" : {
+                                             "description" : "SHA1 digest of configuration file. This can be used to prevent concurrent modifications.",
+                                             "type" : "string"
+                                          },
+                                          "efidisk0" : {
+                                             "description" : "Configure a disk for storing EFI vars.",
+                                             "format" : {
+                                                "efitype" : {
+                                                   "default" : "2m",
+                                                   "description" : "Size and type of the OVMF EFI vars. '4m' is newer and recommended, and required for Secure Boot. For backwards compatibility, '2m' is used if not otherwise specified. Ignored for VMs with arch=aarch64 (ARM).",
+                                                   "enum" : [
+                                                      "2m",
+                                                      "4m"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "pre-enrolled-keys" : {
+                                                   "default" : 0,
+                                                   "description" : "Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by default, though it can still be turned off from within the VM.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "freeze" : {
+                                             "description" : "Freeze CPU at startup (use 'c' monitor command to start execution).",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "hookscript" : {
+                                             "description" : "Script that will be executed during various steps in the vms lifetime.",
+                                             "format" : "pve-volume-id",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "hostpci[n]" : {
+                                             "description" : "Map host PCI devices into guest.",
+                                             "format" : "pve-qm-hostpci",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "verbose_description" : "Map host PCI devices into guest.\n\nNOTE: This option allows direct access to host hardware. So it is no longer\npossible to migrate such machines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                          },
+                                          "hotplug" : {
+                                             "default" : "network,disk,usb",
+                                             "description" : "Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory', 'usb' and 'cloudinit'. Use '0' to disable hotplug completely. Using '1' as value is an alias for the default `network,disk,usb`. USB hotplugging is possible for guests with machine version >= 7.1 and ostype l26 or windows > 7.",
+                                             "format" : "pve-hotplug-features",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "hugepages" : {
+                                             "description" : "Enable/disable hugepages memory.",
+                                             "enum" : [
+                                                "any",
+                                                "2",
+                                                "1024"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ide[n]" : {
+                                             "description" : "Use volume as IDE hard disk or CD-ROM (n is 0 to 3).",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "model" : {
+                                                   "description" : "The drive's reported model name, url-encoded, up to 40 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "model",
+                                                   "maxLength" : 120,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ipconfig[n]" : {
+                                             "description" : "cloud-init: Specify IP addresses and gateways for the corresponding interface.\n\nIP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.\n\nThe special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit\ngateway should be provided.\nFor IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires\ncloud-init 19.4 or newer.\n\nIf cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using\ndhcp on IPv4.\n",
+                                             "format" : "pve-qm-ipconfig",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ivshmem" : {
+                                             "description" : "Inter-VM shared memory. Useful for direct communication between VMs, or to the host.",
+                                             "format" : {
+                                                "name" : {
+                                                   "description" : "The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.",
+                                                   "format_description" : "string",
+                                                   "optional" : 1,
+                                                   "pattern" : "[a-zA-Z0-9\\-]+",
+                                                   "type" : "string"
+                                                },
+                                                "size" : {
+                                                   "description" : "The size of the file in MB.",
+                                                   "minimum" : 1,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "keephugepages" : {
+                                             "default" : 0,
+                                             "description" : "Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "keyboard" : {
+                                             "default" : null,
+                                             "description" : "Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.",
+                                             "enum" : [
+                                                "de",
+                                                "de-ch",
+                                                "da",
+                                                "en-gb",
+                                                "en-us",
+                                                "es",
+                                                "fi",
+                                                "fr",
+                                                "fr-be",
+                                                "fr-ca",
+                                                "fr-ch",
+                                                "hu",
+                                                "is",
+                                                "it",
+                                                "ja",
+                                                "lt",
+                                                "mk",
+                                                "nl",
+                                                "no",
+                                                "pl",
+                                                "pt",
+                                                "pt-br",
+                                                "sv",
+                                                "sl",
+                                                "tr"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "kvm" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable KVM hardware virtualization.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "localtime" : {
+                                             "description" : "Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "lock" : {
+                                             "description" : "Lock/unlock the VM.",
+                                             "enum" : [
+                                                "backup",
+                                                "clone",
+                                                "create",
+                                                "migrate",
+                                                "rollback",
+                                                "snapshot",
+                                                "snapshot-delete",
+                                                "suspending",
+                                                "suspended"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "machine" : {
+                                             "description" : "Specify the QEMU machine.",
+                                             "format" : {
+                                                "type" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Specifies the QEMU machine type.",
+                                                   "format_description" : "machine type",
+                                                   "maxLength" : 40,
+                                                   "optional" : 1,
+                                                   "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
+                                                   "type" : "string"
+                                                },
+                                                "viommu" : {
+                                                   "description" : "Enable and set guest vIOMMU variant (Intel vIOMMU needs q35 to be set as machine type).",
+                                                   "enum" : [
+                                                      "intel",
+                                                      "virtio"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "memory" : {
+                                             "description" : "Memory properties.",
+                                             "format" : {
+                                                "current" : {
+                                                   "default" : 512,
+                                                   "default_key" : 1,
+                                                   "description" : "Current amount of online RAM for the VM in MiB. This is the maximum available memory when you use the balloon device.",
+                                                   "minimum" : 16,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "migrate_downtime" : {
+                                             "default" : 0.1,
+                                             "description" : "Set maximum tolerated downtime (in seconds) for migrations.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "number"
+                                          },
+                                          "migrate_speed" : {
+                                             "default" : 0,
+                                             "description" : "Set maximum speed (in MB/s) for migrations. Value 0 is no limit.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "name" : {
+                                             "description" : "Set a name for the VM. Only used on the configuration web interface.",
+                                             "format" : "dns-name",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "nameserver" : {
+                                             "description" : "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
+                                             "format" : "address-list",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "net[n]" : {
+                                             "description" : "Specify network devices.",
+                                             "format" : {
+                                                "bridge" : {
+                                                   "description" : "Bridge to attach the network device to. The Proxmox VE standard bridge\nis called 'vmbr0'.\n\nIf you do not specify a bridge, we create a kvm user (NATed) network\ndevice, which provides DHCP and DNS services. The following addresses\nare used:\n\n 10.0.2.2   Gateway\n 10.0.2.3   DNS Server\n 10.0.2.4   SMB Server\n\nThe DHCP server assign addresses to the guest starting from 10.0.2.15.\n",
+                                                   "format" : "pve-bridge-id",
+                                                   "format_description" : "bridge",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "e1000" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82540em" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82544gc" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82545em" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000e" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "firewall" : {
+                                                   "description" : "Whether this interface should be protected by the firewall.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "i82551" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "i82557b" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "i82559er" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "link_down" : {
+                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "macaddr" : {
+                                                   "description" : "MAC address. That address must be unique withing your network. This is automatically generated if not specified.",
+                                                   "format" : "mac-addr",
+                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                                },
+                                                "model" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.",
+                                                   "enum" : [
+                                                      "e1000",
+                                                      "e1000-82540em",
+                                                      "e1000-82544gc",
+                                                      "e1000-82545em",
+                                                      "e1000e",
+                                                      "i82551",
+                                                      "i82557b",
+                                                      "i82559er",
+                                                      "ne2k_isa",
+                                                      "ne2k_pci",
+                                                      "pcnet",
+                                                      "rtl8139",
+                                                      "virtio",
+                                                      "vmxnet3"
+                                                   ],
+                                                   "type" : "string"
+                                                },
+                                                "mtu" : {
+                                                   "description" : "Force MTU, for VirtIO only. Set to '1' to use the bridge MTU",
+                                                   "maximum" : 65520,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "ne2k_isa" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "ne2k_pci" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "pcnet" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "queues" : {
+                                                   "description" : "Number of packet queues to be used on the device.",
+                                                   "maximum" : 64,
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "rate" : {
+                                                   "description" : "Rate limit in mbps (megabytes per second) as floating point number.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "rtl8139" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "tag" : {
+                                                   "description" : "VLAN tag to apply to packets on this interface.",
+                                                   "maximum" : 4094,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "trunks" : {
+                                                   "description" : "VLAN trunks to pass through this interface.",
+                                                   "format_description" : "vlanid[;vlanid...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
+                                                },
+                                                "virtio" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "vmxnet3" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "numa" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable NUMA.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "numa[n]" : {
+                                             "description" : "NUMA topology.",
+                                             "format" : {
+                                                "cpus" : {
+                                                   "description" : "CPUs accessing this NUMA node.",
+                                                   "format_description" : "id[-id];...",
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
+                                                },
+                                                "hostnodes" : {
+                                                   "description" : "Host NUMA nodes to use.",
+                                                   "format_description" : "id[-id];...",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
+                                                },
+                                                "memory" : {
+                                                   "description" : "Amount of memory this NUMA node provides.",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "policy" : {
+                                                   "description" : "NUMA allocation policy.",
+                                                   "enum" : [
+                                                      "preferred",
+                                                      "bind",
+                                                      "interleave"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "onboot" : {
+                                             "default" : 0,
+                                             "description" : "Specifies whether a VM will be started during system bootup.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "ostype" : {
+                                             "description" : "Specify guest operating system.",
+                                             "enum" : [
+                                                "other",
+                                                "wxp",
+                                                "w2k",
+                                                "w2k3",
+                                                "w2k8",
+                                                "wvista",
+                                                "win7",
+                                                "win8",
+                                                "win10",
+                                                "win11",
+                                                "l24",
+                                                "l26",
+                                                "solaris"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "verbose_description" : "Specify guest operating system. This is used to enable special\noptimization/features for specific operating systems:\n\n[horizontal]\nother;; unspecified OS\nwxp;; Microsoft Windows XP\nw2k;; Microsoft Windows 2000\nw2k3;; Microsoft Windows 2003\nw2k8;; Microsoft Windows 2008\nwvista;; Microsoft Windows Vista\nwin7;; Microsoft Windows 7\nwin8;; Microsoft Windows 8/2012/2012r2\nwin10;; Microsoft Windows 10/2016/2019\nwin11;; Microsoft Windows 11/2022/2025\nl24;; Linux 2.4 Kernel\nl26;; Linux 2.6 - 6.X Kernel\nsolaris;; Solaris/OpenSolaris/OpenIndiania kernel\n"
+                                          },
+                                          "parallel[n]" : {
+                                             "description" : "Map host parallel devices (n is 0 to 2).",
+                                             "optional" : 1,
+                                             "pattern" : "/dev/parport\\d+|/dev/usb/lp\\d+",
+                                             "type" : "string",
+                                             "verbose_description" : "Map host parallel devices (n is 0 to 2).\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                          },
+                                          "protection" : {
+                                             "default" : 0,
+                                             "description" : "Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "reboot" : {
+                                             "default" : 1,
+                                             "description" : "Allow reboot. If set to '0' the VM exit on reboot.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "rng0" : {
+                                             "description" : "Configure a VirtIO-based Random Number Generator.",
+                                             "format" : {
+                                                "max_bytes" : {
+                                                   "default" : 1024,
+                                                   "description" : "Maximum bytes of entropy allowed to get injected into the guest every 'period' milliseconds. Prefer a lower value when using '/dev/random' as source. Use `0` to disable limiting (potentially dangerous!).",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "period" : {
+                                                   "default" : 1000,
+                                                   "description" : "Every 'period' milliseconds the entropy-injection quota is reset, allowing the guest to retrieve another 'max_bytes' of entropy.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "source" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The file on the host to gather entropy from. In most cases '/dev/urandom' should be preferred over '/dev/random' to avoid entropy-starvation issues on the host. Using urandom does *not* decrease security in any meaningful way, as it's still seeded from real entropy, and the bytes provided will most likely be mixed with real entropy on the guest as well. '/dev/hwrng' can be used to pass through a hardware RNG from the host.",
+                                                   "enum" : [
+                                                      "/dev/urandom",
+                                                      "/dev/random",
+                                                      "/dev/hwrng"
+                                                   ],
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "sata[n]" : {
+                                             "description" : "Use volume as SATA hard disk or CD-ROM (n is 0 to 5).",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "scsi[n]" : {
+                                             "description" : "Use volume as SCSI hard disk or CD-ROM (n is 0 to 30).",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iothread" : {
+                                                   "description" : "Whether to use iothreads for this drive",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "product" : {
+                                                   "description" : "The drive's product name, up to 16 bytes long.",
+                                                   "format_description" : "product",
+                                                   "optional" : 1,
+                                                   "pattern" : "[A-Za-z0-9\\-_\\s]{,16}",
+                                                   "type" : "string"
+                                                },
+                                                "queues" : {
+                                                   "description" : "Number of queues.",
+                                                   "minimum" : 2,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "ro" : {
+                                                   "description" : "Whether the drive is read-only.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "scsiblock" : {
+                                                   "default" : 0,
+                                                   "description" : "whether to use scsi-block for full passthrough of host block device\n\nWARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "vendor" : {
+                                                   "description" : "The drive's vendor name, up to 8 bytes long.",
+                                                   "format_description" : "vendor",
+                                                   "optional" : 1,
+                                                   "pattern" : "[A-Za-z0-9\\-_\\s]{,8}",
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "scsihw" : {
+                                             "default" : "lsi",
+                                             "description" : "SCSI controller model",
+                                             "enum" : [
+                                                "lsi",
+                                                "lsi53c810",
+                                                "virtio-scsi-pci",
+                                                "virtio-scsi-single",
+                                                "megasas",
+                                                "pvscsi"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "searchdomain" : {
+                                             "description" : "cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "serial[n]" : {
+                                             "description" : "Create a serial device inside the VM (n is 0 to 3)",
+                                             "optional" : 1,
+                                             "pattern" : "(/dev/.+|socket)",
+                                             "type" : "string",
+                                             "verbose_description" : "Create a serial device inside the VM (n is 0 to 3), and pass through a\nhost serial device (i.e. /dev/ttyS0), or create a unix socket on the\nhost side (use 'qm terminal' to open a terminal connection).\n\nNOTE: If you pass through a host serial device, it is no longer possible to migrate such machines -\nuse with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                          },
+                                          "shares" : {
+                                             "default" : 1000,
+                                             "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
+                                             "maximum" : 50000,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "smbios1" : {
+                                             "description" : "Specify SMBIOS type 1 fields.",
+                                             "format" : "pve-qm-smbios1",
+                                             "maxLength" : 512,
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "smp" : {
+                                             "default" : 1,
+                                             "description" : "The number of CPUs. Please use option -sockets instead.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "sockets" : {
+                                             "default" : 1,
+                                             "description" : "The number of CPU sockets.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "spice_enhancements" : {
+                                             "description" : "Configure additional enhancements for SPICE.",
+                                             "format" : {
+                                                "foldersharing" : {
+                                                   "default" : "0",
+                                                   "description" : "Enable folder sharing via SPICE. Needs Spice-WebDAV daemon installed in the VM.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "videostreaming" : {
+                                                   "default" : "off",
+                                                   "description" : "Enable video streaming. Uses compression for detected video streams.",
+                                                   "enum" : [
+                                                      "off",
+                                                      "all",
+                                                      "filter"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "sshkeys" : {
+                                             "description" : "cloud-init: Setup public SSH keys (one key per line, OpenSSH format).",
+                                             "format" : "urlencoded",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "startdate" : {
+                                             "default" : "now",
+                                             "description" : "Set the initial date of the real time clock. Valid format for date are:'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
+                                             "optional" : 1,
+                                             "pattern" : "(now|\\d{4}-\\d{1,2}-\\d{1,2}(T\\d{1,2}:\\d{1,2}:\\d{1,2})?)",
+                                             "type" : "string",
+                                             "typetext" : "(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)"
+                                          },
+                                          "startup" : {
+                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
+                                             "format" : "pve-startup-order",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
+                                          },
+                                          "tablet" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable the USB tablet device.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "verbose_description" : "Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (`qm set <vmid> --vga qxl`)."
+                                          },
+                                          "tags" : {
+                                             "description" : "Tags of the VM. This is only meta information.",
+                                             "format" : "pve-tag-list",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "tdf" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable time drift fix.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "template" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable Template.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "tpmstate0" : {
+                                             "description" : "Configure a Disk for storing TPM state. The format is fixed to 'raw'.",
+                                             "format" : {
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "version" : {
+                                                   "default" : "v2.0",
+                                                   "description" : "The TPM interface version. v2.0 is newer and should be preferred. Note that this cannot be changed later on.",
+                                                   "enum" : [
+                                                      "v1.2",
+                                                      "v2.0"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "unused[n]" : {
+                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
+                                             "format" : {
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "usb[n]" : {
+                                             "description" : "Configure an USB device (n is 0 to 4, for machine version >= 7.1 and ostype l26 or windows > 7, n can be up to 14).",
+                                             "format" : {
+                                                "host" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:\n\n 'bus-port(.port)*' (decimal numbers) or\n 'vendor_id:product_id' (hexadeciaml numbers) or\n 'spice'\n\nYou can use the 'lsusb -t' command to list existing usb devices.\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nThe value 'spice' can be used to add a usb redirection devices for spice.\n\nEither this or the 'mapping' key must be set.\n",
+                                                   "format_description" : "HOSTUSBDEVICE|spice",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:(?:(?:(?^:(0x)?([0-9A-Fa-f]{4}):(0x)?([0-9A-Fa-f]{4})))|(?:(?^:(\\d+)\\-(\\d+(\\.\\d+)*)))|[Ss][Pp][Ii][Cc][Ee]))",
+                                                   "type" : "string"
+                                                },
+                                                "mapping" : {
+                                                   "description" : "The ID of a cluster wide mapping. Either this or the default-key 'host' must be set.",
+                                                   "format" : "pve-configid",
+                                                   "format_description" : "mapping-id",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "usb3" : {
+                                                   "default" : 0,
+                                                   "description" : "Specifies whether if given host option is a USB3 device or port. For modern guests (machine version >= 7.1 and ostype l26 and windows > 7), this flag is irrelevant (all devices are plugged into a xhci controller).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "vcpus" : {
+                                             "default" : 0,
+                                             "description" : "Number of hotplugged vcpus.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "vga" : {
+                                             "description" : "Configure the VGA hardware.",
+                                             "format" : {
+                                                "clipboard" : {
+                                                   "description" : "Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added. Migration with VNC clipboard is not yet supported!",
+                                                   "enum" : [
+                                                      "vnc"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "memory" : {
+                                                   "description" : "Sets the VGA memory (in MiB). Has no effect with serial display.",
+                                                   "maximum" : 512,
+                                                   "minimum" : 4,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "type" : {
+                                                   "default" : "std",
+                                                   "default_key" : 1,
+                                                   "description" : "Select the VGA type.",
+                                                   "enum" : [
+                                                      "cirrus",
+                                                      "qxl",
+                                                      "qxl2",
+                                                      "qxl3",
+                                                      "qxl4",
+                                                      "none",
+                                                      "serial0",
+                                                      "serial1",
+                                                      "serial2",
+                                                      "serial3",
+                                                      "std",
+                                                      "virtio",
+                                                      "virtio-gl",
+                                                      "vmware"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "verbose_description" : "Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.\nYou can also run without any graphic card, using a serial device as terminal."
+                                          },
+                                          "virtio[n]" : {
+                                             "description" : "Use volume as VIRTIO hard disk (n is 0 to 15).",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iothread" : {
+                                                   "description" : "Whether to use iothreads for this drive",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "ro" : {
+                                                   "description" : "Whether the drive is read-only.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "vmgenid" : {
+                                             "default" : "1 (autogenerated)",
+                                             "description" : "Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.",
+                                             "format_description" : "UUID",
+                                             "optional" : 1,
+                                             "pattern" : "(?:[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}|[01])",
+                                             "type" : "string",
+                                             "verbose_description" : "The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.\nNote that auto-creation only works when done through API/CLI create or update methods, but not when manually editing the config file."
+                                          },
+                                          "vmstatestorage" : {
+                                             "description" : "Default storage for VM state volumes/files.",
+                                             "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "watchdog" : {
+                                             "description" : "Create a virtual hardware watchdog device.",
+                                             "format" : "pve-qm-watchdog",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "verbose_description" : "Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)"
+                                          }
+                                       },
+                                       "type" : "object"
                                     }
                                  },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]"
-                              },
-                              "vmgenid" : {
-                                 "default" : "1 (autogenerated)",
-                                 "description" : "Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.",
-                                 "format_description" : "UUID",
-                                 "optional" : 1,
-                                 "pattern" : "(?:[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}|[01])",
-                                 "type" : "string",
-                                 "verbose_description" : "The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.\nNote that auto-creation only works when done through API/CLI create or update methods, but not when manually editing the config file."
-                              },
-                              "vmid" : {
-                                 "description" : "The (unique) ID of the VM.",
-                                 "format" : "pve-vmid",
-                                 "minimum" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
-                              },
-                              "vmstatestorage" : {
-                                 "description" : "Default storage for VM state volumes/files.",
-                                 "format" : "pve-storage-id",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "watchdog" : {
-                                 "description" : "Create a virtual hardware watchdog device.",
-                                 "format" : "pve-qm-watchdog",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[[model=]<i6300esb|ib700>] [,action=<enum>]",
-                                 "verbose_description" : "Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)"
-                              }
-                           }
-                        },
-                        "permissions" : {
-                           "description" : "You need 'VM.Allocate' permissions on /vms/{vmid} or on the VM pool /pool/{pool}. For restore (option 'archive'), it is enough if the user has 'VM.Backup' permission and the VM already exists. If you create disks you need 'Datastore.AllocateSpace' on any used storage.",
-                           "user" : "all"
-                        },
-                        "protected" : 1,
-                        "proxyto" : "node",
-                        "returns" : {
-                           "type" : "string"
-                        }
-                     }
-                  },
-                  "leaf" : 0,
-                  "path" : "/nodes/{node}/qemu",
-                  "text" : "qemu"
-               },
-               {
-                  "children" : [
-                     {
-                        "children" : [
-                           {
-                              "info" : {
-                                 "GET" : {
+                                 "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Get container configuration.",
-                                    "method" : "GET",
-                                    "name" : "vm_config",
+                                    "description" : "Set virtual machine options (asynchrounous API).",
+                                    "method" : "POST",
+                                    "name" : "update_vm_async",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "current" : {
+                                          "acpi" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable ACPI.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "affinity" : {
+                                             "description" : "List of host cores used to execute guest processes, for example: 0,5,8-11",
+                                             "format" : "pve-cpuset",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "agent" : {
+                                             "description" : "Enable/disable communication with the QEMU Guest Agent and its properties.",
+                                             "format" : {
+                                                "enabled" : {
+                                                   "default" : 0,
+                                                   "default_key" : 1,
+                                                   "description" : "Enable/disable communication with a QEMU Guest Agent (QGA) running in the VM.",
+                                                   "type" : "boolean"
+                                                },
+                                                "freeze-fs-on-backup" : {
+                                                   "default" : 1,
+                                                   "description" : "Freeze/thaw guest filesystems on backup for consistency.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "fstrim_cloned_disks" : {
+                                                   "default" : 0,
+                                                   "description" : "Run fstrim after moving a disk or migrating the VM.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "type" : {
+                                                   "default" : "virtio",
+                                                   "description" : "Select the agent type",
+                                                   "enum" : [
+                                                      "virtio",
+                                                      "isa"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[enabled=]<1|0> [,freeze-fs-on-backup=<1|0>] [,fstrim_cloned_disks=<1|0>] [,type=<virtio|isa>]"
+                                          },
+                                          "arch" : {
+                                             "description" : "Virtual processor architecture. Defaults to the host.",
+                                             "enum" : [
+                                                "x86_64",
+                                                "aarch64"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "args" : {
+                                             "description" : "Arbitrary arguments passed to kvm.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>",
+                                             "verbose_description" : "Arbitrary arguments passed to kvm, for example:\n\nargs: -no-reboot -smbios 'type=0,vendor=FOO'\n\nNOTE: this option is for experts only.\n"
+                                          },
+                                          "audio0" : {
+                                             "description" : "Configure a audio device, useful in combination with QXL/Spice.",
+                                             "format" : {
+                                                "device" : {
+                                                   "description" : "Configure an audio device.",
+                                                   "enum" : [
+                                                      "ich9-intel-hda",
+                                                      "intel-hda",
+                                                      "AC97"
+                                                   ],
+                                                   "type" : "string"
+                                                },
+                                                "driver" : {
+                                                   "default" : "spice",
+                                                   "description" : "Driver backend for the audio device.",
+                                                   "enum" : [
+                                                      "spice",
+                                                      "none"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "device=<ich9-intel-hda|intel-hda|AC97> [,driver=<spice|none>]"
+                                          },
+                                          "autostart" : {
+                                             "default" : 0,
+                                             "description" : "Automatic restart after crash (currently ignored).",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "background_delay" : {
+                                             "description" : "Time to wait for the task to finish. We return 'null' if the task finish within that time.",
+                                             "maximum" : 30,
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - 30)"
+                                          },
+                                          "balloon" : {
+                                             "description" : "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "bios" : {
+                                             "default" : "seabios",
+                                             "description" : "Select BIOS implementation.",
+                                             "enum" : [
+                                                "seabios",
+                                                "ovmf"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "boot" : {
+                                             "description" : "Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.",
+                                             "format" : "pve-qm-boot",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[legacy=]<[acdn]{1,4}>] [,order=<device[;device...]>]"
+                                          },
+                                          "bootdisk" : {
+                                             "description" : "Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.",
+                                             "format" : "pve-qm-bootdisk",
+                                             "optional" : 1,
+                                             "pattern" : "(ide|sata|scsi|virtio)\\d+",
+                                             "type" : "string"
+                                          },
+                                          "cdrom" : {
+                                             "description" : "This is an alias for option -ide2",
+                                             "format" : "pve-qm-ide",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<volume>"
+                                          },
+                                          "cicustom" : {
+                                             "description" : "cloud-init: Specify custom files to replace the automatically generated ones at start.",
+                                             "format" : "pve-qm-cicustom",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]"
+                                          },
+                                          "cipassword" : {
+                                             "description" : "cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "citype" : {
+                                             "description" : "Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.",
+                                             "enum" : [
+                                                "configdrive2",
+                                                "nocloud",
+                                                "opennebula"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ciupgrade" : {
+                                             "default" : 1,
+                                             "description" : "cloud-init: do an automatic package upgrade after the first boot.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "ciuser" : {
+                                             "description" : "cloud-init: User name to change ssh keys and password for instead of the image's configured default user.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "cores" : {
+                                             "default" : 1,
+                                             "description" : "The number of cores per socket.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - N)"
+                                          },
+                                          "cpu" : {
+                                             "description" : "Emulated CPU type.",
+                                             "format" : "pve-vm-cpu-conf",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[cputype=]<string>] [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>] [,phys-bits=<8-64|host>] [,reported-model=<enum>]"
+                                          },
+                                          "cpulimit" : {
+                                             "default" : 0,
+                                             "description" : "Limit of CPU usage.",
+                                             "maximum" : 128,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - 128)",
+                                             "verbose_description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit."
+                                          },
+                                          "cpuunits" : {
+                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
+                                             "description" : "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
+                                             "maximum" : 262144,
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - 262144)",
+                                             "verbose_description" : "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs."
+                                          },
+                                          "delete" : {
+                                             "description" : "A list of settings you want to delete.",
+                                             "format" : "pve-configid-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "description" : {
+                                             "description" : "Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.",
+                                             "maxLength" : 8192,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "efidisk0" : {
+                                             "description" : "Configure a disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                             "format" : {
+                                                "efitype" : {
+                                                   "default" : "2m",
+                                                   "description" : "Size and type of the OVMF EFI vars. '4m' is newer and recommended, and required for Secure Boot. For backwards compatibility, '2m' is used if not otherwise specified. Ignored for VMs with arch=aarch64 (ARM).",
+                                                   "enum" : [
+                                                      "2m",
+                                                      "4m"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "pre-enrolled-keys" : {
+                                                   "default" : 0,
+                                                   "description" : "Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by default, though it can still be turned off from within the VM.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume> [,efitype=<2m|4m>] [,format=<enum>] [,import-from=<source volume>] [,pre-enrolled-keys=<1|0>] [,size=<DiskSize>]"
+                                          },
+                                          "force" : {
+                                             "description" : "Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called 'unused[n]', which contains the volume ID. Unlink of unused[n] always cause physical removal.",
+                                             "optional" : 1,
+                                             "requires" : "delete",
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "freeze" : {
+                                             "description" : "Freeze CPU at startup (use 'c' monitor command to start execution).",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "hookscript" : {
+                                             "description" : "Script that will be executed during various steps in the vms lifetime.",
+                                             "format" : "pve-volume-id",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "hostpci[n]" : {
+                                             "description" : "Map host PCI devices into guest.",
+                                             "format" : "pve-qm-hostpci",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[host=]<HOSTPCIID[;HOSTPCIID2...]>] [,device-id=<hex id>] [,legacy-igd=<1|0>] [,mapping=<mapping-id>] [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,sub-device-id=<hex id>] [,sub-vendor-id=<hex id>] [,vendor-id=<hex id>] [,x-vga=<1|0>]",
+                                             "verbose_description" : "Map host PCI devices into guest.\n\nNOTE: This option allows direct access to host hardware. So it is no longer\npossible to migrate such machines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                          },
+                                          "hotplug" : {
+                                             "default" : "network,disk,usb",
+                                             "description" : "Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory', 'usb' and 'cloudinit'. Use '0' to disable hotplug completely. Using '1' as value is an alias for the default `network,disk,usb`. USB hotplugging is possible for guests with machine version >= 7.1 and ostype l26 or windows > 7.",
+                                             "format" : "pve-hotplug-features",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "hugepages" : {
+                                             "description" : "Enable/disable hugepages memory.",
+                                             "enum" : [
+                                                "any",
+                                                "2",
+                                                "1024"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ide[n]" : {
+                                             "description" : "Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "model" : {
+                                                   "description" : "The drive's reported model name, url-encoded, up to 40 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "model",
+                                                   "maxLength" : 120,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
+                                          },
+                                          "ipconfig[n]" : {
+                                             "description" : "cloud-init: Specify IP addresses and gateways for the corresponding interface.\n\nIP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.\n\nThe special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit\ngateway should be provided.\nFor IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires\ncloud-init 19.4 or newer.\n\nIf cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using\ndhcp on IPv4.\n",
+                                             "format" : "pve-qm-ipconfig",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]"
+                                          },
+                                          "ivshmem" : {
+                                             "description" : "Inter-VM shared memory. Useful for direct communication between VMs, or to the host.",
+                                             "format" : {
+                                                "name" : {
+                                                   "description" : "The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.",
+                                                   "format_description" : "string",
+                                                   "optional" : 1,
+                                                   "pattern" : "[a-zA-Z0-9\\-]+",
+                                                   "type" : "string"
+                                                },
+                                                "size" : {
+                                                   "description" : "The size of the file in MB.",
+                                                   "minimum" : 1,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "size=<integer> [,name=<string>]"
+                                          },
+                                          "keephugepages" : {
                                              "default" : 0,
-                                             "description" : "Get current values (instead of pending values).",
+                                             "description" : "Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "keyboard" : {
+                                             "default" : null,
+                                             "description" : "Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.",
+                                             "enum" : [
+                                                "de",
+                                                "de-ch",
+                                                "da",
+                                                "en-gb",
+                                                "en-us",
+                                                "es",
+                                                "fi",
+                                                "fr",
+                                                "fr-be",
+                                                "fr-ca",
+                                                "fr-ch",
+                                                "hu",
+                                                "is",
+                                                "it",
+                                                "ja",
+                                                "lt",
+                                                "mk",
+                                                "nl",
+                                                "no",
+                                                "pl",
+                                                "pt",
+                                                "pt-br",
+                                                "sv",
+                                                "sl",
+                                                "tr"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "kvm" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable KVM hardware virtualization.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "localtime" : {
+                                             "description" : "Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "lock" : {
+                                             "description" : "Lock/unlock the VM.",
+                                             "enum" : [
+                                                "backup",
+                                                "clone",
+                                                "create",
+                                                "migrate",
+                                                "rollback",
+                                                "snapshot",
+                                                "snapshot-delete",
+                                                "suspending",
+                                                "suspended"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "machine" : {
+                                             "description" : "Specify the QEMU machine.",
+                                             "format" : {
+                                                "type" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Specifies the QEMU machine type.",
+                                                   "format_description" : "machine type",
+                                                   "maxLength" : 40,
+                                                   "optional" : 1,
+                                                   "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
+                                                   "type" : "string"
+                                                },
+                                                "viommu" : {
+                                                   "description" : "Enable and set guest vIOMMU variant (Intel vIOMMU needs q35 to be set as machine type).",
+                                                   "enum" : [
+                                                      "intel",
+                                                      "virtio"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[type=]<machine type>] [,viommu=<intel|virtio>]"
+                                          },
+                                          "memory" : {
+                                             "description" : "Memory properties.",
+                                             "format" : {
+                                                "current" : {
+                                                   "default" : 512,
+                                                   "default_key" : 1,
+                                                   "description" : "Current amount of online RAM for the VM in MiB. This is the maximum available memory when you use the balloon device.",
+                                                   "minimum" : 16,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[current=]<integer>"
+                                          },
+                                          "migrate_downtime" : {
+                                             "default" : 0.1,
+                                             "description" : "Set maximum tolerated downtime (in seconds) for migrations.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - N)"
+                                          },
+                                          "migrate_speed" : {
+                                             "default" : 0,
+                                             "description" : "Set maximum speed (in MB/s) for migrations. Value 0 is no limit.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "name" : {
+                                             "description" : "Set a name for the VM. Only used on the configuration web interface.",
+                                             "format" : "dns-name",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "nameserver" : {
+                                             "description" : "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
+                                             "format" : "address-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "net[n]" : {
+                                             "description" : "Specify network devices.",
+                                             "format" : {
+                                                "bridge" : {
+                                                   "description" : "Bridge to attach the network device to. The Proxmox VE standard bridge\nis called 'vmbr0'.\n\nIf you do not specify a bridge, we create a kvm user (NATed) network\ndevice, which provides DHCP and DNS services. The following addresses\nare used:\n\n 10.0.2.2   Gateway\n 10.0.2.3   DNS Server\n 10.0.2.4   SMB Server\n\nThe DHCP server assign addresses to the guest starting from 10.0.2.15.\n",
+                                                   "format" : "pve-bridge-id",
+                                                   "format_description" : "bridge",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "e1000" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82540em" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82544gc" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82545em" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000e" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "firewall" : {
+                                                   "description" : "Whether this interface should be protected by the firewall.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "i82551" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "i82557b" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "i82559er" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "link_down" : {
+                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "macaddr" : {
+                                                   "description" : "MAC address. That address must be unique withing your network. This is automatically generated if not specified.",
+                                                   "format" : "mac-addr",
+                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                                },
+                                                "model" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.",
+                                                   "enum" : [
+                                                      "e1000",
+                                                      "e1000-82540em",
+                                                      "e1000-82544gc",
+                                                      "e1000-82545em",
+                                                      "e1000e",
+                                                      "i82551",
+                                                      "i82557b",
+                                                      "i82559er",
+                                                      "ne2k_isa",
+                                                      "ne2k_pci",
+                                                      "pcnet",
+                                                      "rtl8139",
+                                                      "virtio",
+                                                      "vmxnet3"
+                                                   ],
+                                                   "type" : "string"
+                                                },
+                                                "mtu" : {
+                                                   "description" : "Force MTU, for VirtIO only. Set to '1' to use the bridge MTU",
+                                                   "maximum" : 65520,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "ne2k_isa" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "ne2k_pci" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "pcnet" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "queues" : {
+                                                   "description" : "Number of packet queues to be used on the device.",
+                                                   "maximum" : 64,
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "rate" : {
+                                                   "description" : "Rate limit in mbps (megabytes per second) as floating point number.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "rtl8139" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "tag" : {
+                                                   "description" : "VLAN tag to apply to packets on this interface.",
+                                                   "maximum" : 4094,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "trunks" : {
+                                                   "description" : "VLAN trunks to pass through this interface.",
+                                                   "format_description" : "vlanid[;vlanid...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
+                                                },
+                                                "virtio" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "vmxnet3" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,mtu=<integer>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "numa" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable NUMA.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "numa[n]" : {
+                                             "description" : "NUMA topology.",
+                                             "format" : {
+                                                "cpus" : {
+                                                   "description" : "CPUs accessing this NUMA node.",
+                                                   "format_description" : "id[-id];...",
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
+                                                },
+                                                "hostnodes" : {
+                                                   "description" : "Host NUMA nodes to use.",
+                                                   "format_description" : "id[-id];...",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
+                                                },
+                                                "memory" : {
+                                                   "description" : "Amount of memory this NUMA node provides.",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "policy" : {
+                                                   "description" : "NUMA allocation policy.",
+                                                   "enum" : [
+                                                      "preferred",
+                                                      "bind",
+                                                      "interleave"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]"
+                                          },
+                                          "onboot" : {
+                                             "default" : 0,
+                                             "description" : "Specifies whether a VM will be started during system bootup.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "ostype" : {
+                                             "description" : "Specify guest operating system.",
+                                             "enum" : [
+                                                "other",
+                                                "wxp",
+                                                "w2k",
+                                                "w2k3",
+                                                "w2k8",
+                                                "wvista",
+                                                "win7",
+                                                "win8",
+                                                "win10",
+                                                "win11",
+                                                "l24",
+                                                "l26",
+                                                "solaris"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "verbose_description" : "Specify guest operating system. This is used to enable special\noptimization/features for specific operating systems:\n\n[horizontal]\nother;; unspecified OS\nwxp;; Microsoft Windows XP\nw2k;; Microsoft Windows 2000\nw2k3;; Microsoft Windows 2003\nw2k8;; Microsoft Windows 2008\nwvista;; Microsoft Windows Vista\nwin7;; Microsoft Windows 7\nwin8;; Microsoft Windows 8/2012/2012r2\nwin10;; Microsoft Windows 10/2016/2019\nwin11;; Microsoft Windows 11/2022/2025\nl24;; Linux 2.4 Kernel\nl26;; Linux 2.6 - 6.X Kernel\nsolaris;; Solaris/OpenSolaris/OpenIndiania kernel\n"
+                                          },
+                                          "parallel[n]" : {
+                                             "description" : "Map host parallel devices (n is 0 to 2).",
+                                             "optional" : 1,
+                                             "pattern" : "/dev/parport\\d+|/dev/usb/lp\\d+",
+                                             "type" : "string",
+                                             "verbose_description" : "Map host parallel devices (n is 0 to 2).\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                          },
+                                          "protection" : {
+                                             "default" : 0,
+                                             "description" : "Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "reboot" : {
+                                             "default" : 1,
+                                             "description" : "Allow reboot. If set to '0' the VM exit on reboot.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "revert" : {
+                                             "description" : "Revert a pending change.",
+                                             "format" : "pve-configid-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "rng0" : {
+                                             "description" : "Configure a VirtIO-based Random Number Generator.",
+                                             "format" : {
+                                                "max_bytes" : {
+                                                   "default" : 1024,
+                                                   "description" : "Maximum bytes of entropy allowed to get injected into the guest every 'period' milliseconds. Prefer a lower value when using '/dev/random' as source. Use `0` to disable limiting (potentially dangerous!).",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "period" : {
+                                                   "default" : 1000,
+                                                   "description" : "Every 'period' milliseconds the entropy-injection quota is reset, allowing the guest to retrieve another 'max_bytes' of entropy.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "source" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The file on the host to gather entropy from. In most cases '/dev/urandom' should be preferred over '/dev/random' to avoid entropy-starvation issues on the host. Using urandom does *not* decrease security in any meaningful way, as it's still seeded from real entropy, and the bytes provided will most likely be mixed with real entropy on the guest as well. '/dev/hwrng' can be used to pass through a hardware RNG from the host.",
+                                                   "enum" : [
+                                                      "/dev/urandom",
+                                                      "/dev/random",
+                                                      "/dev/hwrng"
+                                                   ],
+                                                   "type" : "string"
+                                                }
+                                             },
                                              "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
+                                             "type" : "string",
+                                             "typetext" : "[source=]</dev/urandom|/dev/random|/dev/hwrng> [,max_bytes=<integer>] [,period=<integer>]"
                                           },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
+                                          "sata[n]" : {
+                                             "description" : "Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
                                           },
-                                          "snapshot" : {
-                                             "description" : "Fetch config values from given snapshot.",
-                                             "format" : "pve-configid",
-                                             "maxLength" : 40,
+                                          "scsi[n]" : {
+                                             "description" : "Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iothread" : {
+                                                   "description" : "Whether to use iothreads for this drive",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "product" : {
+                                                   "description" : "The drive's product name, up to 16 bytes long.",
+                                                   "format_description" : "product",
+                                                   "optional" : 1,
+                                                   "pattern" : "[A-Za-z0-9\\-_\\s]{,16}",
+                                                   "type" : "string"
+                                                },
+                                                "queues" : {
+                                                   "description" : "Number of queues.",
+                                                   "minimum" : 2,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "ro" : {
+                                                   "description" : "Whether the drive is read-only.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "scsiblock" : {
+                                                   "default" : 0,
+                                                   "description" : "whether to use scsi-block for full passthrough of host block device\n\nWARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "vendor" : {
+                                                   "description" : "The drive's vendor name, up to 8 bytes long.",
+                                                   "format_description" : "vendor",
+                                                   "optional" : 1,
+                                                   "pattern" : "[A-Za-z0-9\\-_\\s]{,8}",
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
+                                                }
+                                             },
                                              "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
-                                    },
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "properties" : {
-                                          "arch" : {
-                                             "default" : "amd64",
-                                             "description" : "OS architecture type.",
-                                             "enum" : [
-                                                "amd64",
-                                                "i386",
-                                                "arm64",
-                                                "armhf",
-                                                "riscv32",
-                                                "riscv64"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
+                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,product=<product>] [,queues=<integer>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,vendor=<vendor>] [,werror=<enum>] [,wwn=<wwn>]"
                                           },
-                                          "cmode" : {
-                                             "default" : "tty",
-                                             "description" : "Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).",
+                                          "scsihw" : {
+                                             "default" : "lsi",
+                                             "description" : "SCSI controller model",
                                              "enum" : [
-                                                "shell",
-                                                "console",
-                                                "tty"
+                                                "lsi",
+                                                "lsi53c810",
+                                                "virtio-scsi-pci",
+                                                "virtio-scsi-single",
+                                                "megasas",
+                                                "pvscsi"
                                              ],
                                              "optional" : 1,
                                              "type" : "string"
                                           },
-                                          "console" : {
-                                             "default" : 1,
-                                             "description" : "Attach a console device (/dev/console) to the container.",
+                                          "searchdomain" : {
+                                             "description" : "cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
                                              "optional" : 1,
-                                             "type" : "boolean"
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "cores" : {
-                                             "description" : "The number of cores assigned to the container. A container can use all available cores by default.",
-                                             "maximum" : 8192,
-                                             "minimum" : 1,
+                                          "serial[n]" : {
+                                             "description" : "Create a serial device inside the VM (n is 0 to 3)",
                                              "optional" : 1,
-                                             "type" : "integer"
+                                             "pattern" : "(/dev/.+|socket)",
+                                             "type" : "string",
+                                             "verbose_description" : "Create a serial device inside the VM (n is 0 to 3), and pass through a\nhost serial device (i.e. /dev/ttyS0), or create a unix socket on the\nhost side (use 'qm terminal' to open a terminal connection).\n\nNOTE: If you pass through a host serial device, it is no longer possible to migrate such machines -\nuse with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
                                           },
-                                          "cpulimit" : {
-                                             "default" : 0,
-                                             "description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.",
-                                             "maximum" : 8192,
+                                          "shares" : {
+                                             "default" : 1000,
+                                             "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
+                                             "maximum" : 50000,
                                              "minimum" : 0,
                                              "optional" : 1,
-                                             "type" : "number"
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - 50000)"
                                           },
-                                          "cpuunits" : {
-                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
-                                             "description" : "CPU weight for a container, will be clamped to [1, 10000] in cgroup v2.",
-                                             "maximum" : 500000,
-                                             "minimum" : 0,
+                                          "skiplock" : {
+                                             "description" : "Ignore locks - only root is allowed to use this option.",
                                              "optional" : 1,
-                                             "type" : "integer",
-                                             "verbose_description" : "CPU weight for a container. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this container gets. Number is relative to the weights of all the other running guests."
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           },
-                                          "debug" : {
-                                             "default" : 0,
-                                             "description" : "Try to be more verbose. For now this only enables debug log-level on start.",
+                                          "smbios1" : {
+                                             "description" : "Specify SMBIOS type 1 fields.",
+                                             "format" : "pve-qm-smbios1",
+                                             "maxLength" : 512,
                                              "optional" : 1,
-                                             "type" : "boolean"
+                                             "type" : "string",
+                                             "typetext" : "[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]"
                                           },
-                                          "description" : {
-                                             "description" : "Description for the Container. Shown in the web-interface CT's summary. This is saved as comment inside the configuration file.",
-                                             "maxLength" : 8192,
+                                          "smp" : {
+                                             "default" : 1,
+                                             "description" : "The number of CPUs. Please use option -sockets instead.",
+                                             "minimum" : 1,
                                              "optional" : 1,
-                                             "type" : "string"
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - N)"
                                           },
-                                          "digest" : {
-                                             "description" : "SHA1 digest of configuration file. This can be used to prevent concurrent modifications.",
-                                             "type" : "string"
+                                          "sockets" : {
+                                             "default" : 1,
+                                             "description" : "The number of CPU sockets.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - N)"
                                           },
-                                          "features" : {
-                                             "description" : "Allow containers access to advanced features.",
+                                          "spice_enhancements" : {
+                                             "description" : "Configure additional enhancements for SPICE.",
                                              "format" : {
-                                                "force_rw_sys" : {
-                                                   "default" : 0,
-                                                   "description" : "Mount /sys in unprivileged containers as `rw` instead of `mixed`. This can break networking under newer (>= v245) systemd-network use.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "fuse" : {
-                                                   "default" : 0,
-                                                   "description" : "Allow using 'fuse' file systems in a container. Note that interactions between fuse and the freezer cgroup can potentially cause I/O deadlocks.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "keyctl" : {
-                                                   "default" : 0,
-                                                   "description" : "For unprivileged containers only: Allow the use of the keyctl() system call. This is required to use docker inside a container. By default unprivileged containers will see this system call as non-existent. This is mostly a workaround for systemd-networkd, as it will treat it as a fatal error when some keyctl() operations are denied by the kernel due to lacking permissions. Essentially, you can choose between running systemd-networkd or docker.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "mknod" : {
-                                                   "default" : 0,
-                                                   "description" : "Allow unprivileged containers to use mknod() to add certain device nodes. This requires a kernel with seccomp trap to user space support (5.3 or newer). This is experimental.",
+                                                "foldersharing" : {
+                                                   "default" : "0",
+                                                   "description" : "Enable folder sharing via SPICE. Needs Spice-WebDAV daemon installed in the VM.",
                                                    "optional" : 1,
                                                    "type" : "boolean"
                                                 },
-                                                "mount" : {
-                                                   "description" : "Allow mounting file systems of specific types. This should be a list of file system types as used with the mount command. Note that this can have negative effects on the container's security. With access to a loop device, mounting a file can circumvent the mknod permission of the devices cgroup, mounting an NFS file system can block the host's I/O completely and prevent it from rebooting, etc.",
-                                                   "format_description" : "fstype;fstype;...",
+                                                "videostreaming" : {
+                                                   "default" : "off",
+                                                   "description" : "Enable video streaming. Uses compression for detected video streams.",
+                                                   "enum" : [
+                                                      "off",
+                                                      "all",
+                                                      "filter"
+                                                   ],
                                                    "optional" : 1,
-                                                   "pattern" : "(?^:[a-zA-Z0-9_; ]+)",
                                                    "type" : "string"
-                                                },
-                                                "nesting" : {
-                                                   "default" : 0,
-                                                   "description" : "Allow nesting. Best used with unprivileged containers with additional id mapping. Note that this will expose procfs and sysfs contents of the host to the guest.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
                                                 }
                                              },
                                              "optional" : 1,
-                                             "type" : "string"
+                                             "type" : "string",
+                                             "typetext" : "[foldersharing=<1|0>] [,videostreaming=<off|all|filter>]"
                                           },
-                                          "hookscript" : {
-                                             "description" : "Script that will be exectued during various steps in the containers lifetime.",
-                                             "format" : "pve-volume-id",
+                                          "sshkeys" : {
+                                             "description" : "cloud-init: Setup public SSH keys (one key per line, OpenSSH format).",
+                                             "format" : "urlencoded",
                                              "optional" : 1,
-                                             "type" : "string"
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "hostname" : {
-                                             "description" : "Set a host name for the container.",
-                                             "format" : "dns-name",
-                                             "maxLength" : 255,
+                                          "startdate" : {
+                                             "default" : "now",
+                                             "description" : "Set the initial date of the real time clock. Valid format for date are:'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
                                              "optional" : 1,
-                                             "type" : "string"
+                                             "pattern" : "(now|\\d{4}-\\d{1,2}-\\d{1,2}(T\\d{1,2}:\\d{1,2}:\\d{1,2})?)",
+                                             "type" : "string",
+                                             "typetext" : "(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)"
                                           },
-                                          "lock" : {
-                                             "description" : "Lock/unlock the container.",
-                                             "enum" : [
-                                                "backup",
-                                                "create",
-                                                "destroyed",
-                                                "disk",
-                                                "fstrim",
-                                                "migrate",
-                                                "mounted",
-                                                "rollback",
-                                                "snapshot",
-                                                "snapshot-delete"
-                                             ],
+                                          "startup" : {
+                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
+                                             "format" : "pve-startup-order",
                                              "optional" : 1,
-                                             "type" : "string"
+                                             "type" : "string",
+                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
                                           },
-                                          "lxc" : {
-                                             "description" : "Array of lxc low-level configurations ([[key1, value1], [key2, value2] ...]).",
-                                             "items" : {
-                                                "items" : {
-                                                   "type" : "string"
-                                                },
-                                                "type" : "array"
-                                             },
+                                          "tablet" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable the USB tablet device.",
                                              "optional" : 1,
-                                             "type" : "array"
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>",
+                                             "verbose_description" : "Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (`qm set <vmid> --vga qxl`)."
                                           },
-                                          "memory" : {
-                                             "default" : 512,
-                                             "description" : "Amount of RAM for the container in MB.",
-                                             "minimum" : 16,
+                                          "tags" : {
+                                             "description" : "Tags of the VM. This is only meta information.",
+                                             "format" : "pve-tag-list",
                                              "optional" : 1,
-                                             "type" : "integer"
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "mp[n]" : {
-                                             "description" : "Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.",
+                                          "tdf" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable time drift fix.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "template" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable Template.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "tpmstate0" : {
+                                             "description" : "Configure a Disk for storing TPM state. The format is fixed to 'raw'. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
                                              "format" : {
-                                                "acl" : {
-                                                   "description" : "Explicitly enable or disable ACL support.",
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "string"
                                                 },
-                                                "backup" : {
-                                                   "description" : "Whether to include the mount point in backups.",
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Whether to include the mount point in backups (only used for volume mount points)."
+                                                   "type" : "string"
                                                 },
-                                                "mountoptions" : {
-                                                   "description" : "Extra mount options for rootfs/mps.",
-                                                   "format_description" : "opt[;opt...]",
+                                                "version" : {
+                                                   "default" : "v2.0",
+                                                   "description" : "The TPM interface version. v2.0 is newer and should be preferred. Note that this cannot be changed later on.",
+                                                   "enum" : [
+                                                      "v1.2",
+                                                      "v2.0"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume> [,import-from=<source volume>] [,size=<DiskSize>] [,version=<v1.2|v2.0>]"
+                                          },
+                                          "unused[n]" : {
+                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
+                                             "format" : {
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume>"
+                                          },
+                                          "usb[n]" : {
+                                             "description" : "Configure an USB device (n is 0 to 4, for machine version >= 7.1 and ostype l26 or windows > 7, n can be up to 14).",
+                                             "format" : {
+                                                "host" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:\n\n 'bus-port(.port)*' (decimal numbers) or\n 'vendor_id:product_id' (hexadeciaml numbers) or\n 'spice'\n\nYou can use the 'lsusb -t' command to list existing usb devices.\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nThe value 'spice' can be used to add a usb redirection devices for spice.\n\nEither this or the 'mapping' key must be set.\n",
+                                                   "format_description" : "HOSTUSBDEVICE|spice",
                                                    "optional" : 1,
-                                                   "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
+                                                   "pattern" : "(?^:(?:(?:(?^:(0x)?([0-9A-Fa-f]{4}):(0x)?([0-9A-Fa-f]{4})))|(?:(?^:(\\d+)\\-(\\d+(\\.\\d+)*)))|[Ss][Pp][Ii][Cc][Ee]))",
                                                    "type" : "string"
                                                 },
-                                                "mp" : {
-                                                   "description" : "Path to the mount point as seen from inside the container (must not contain symlinks).",
-                                                   "format" : "pve-lxc-mp-string",
-                                                   "format_description" : "Path",
-                                                   "type" : "string",
-                                                   "verbose_description" : "Path to the mount point as seen from inside the container.\n\nNOTE: Must not contain any symlinks for security reasons."
-                                                },
-                                                "quota" : {
-                                                   "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Will include this volume to a storage replica job.",
+                                                "mapping" : {
+                                                   "description" : "The ID of a cluster wide mapping. Either this or the default-key 'host' must be set.",
+                                                   "format" : "pve-configid",
+                                                   "format_description" : "mapping-id",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "string"
                                                 },
-                                                "ro" : {
-                                                   "description" : "Read-only mount point",
+                                                "usb3" : {
+                                                   "default" : 0,
+                                                   "description" : "Specifies whether if given host option is a USB3 device or port. For modern guests (machine version >= 7.1 and ostype l26 and windows > 7), this flag is irrelevant (all devices are plugged into a xhci controller).",
                                                    "optional" : 1,
                                                    "type" : "boolean"
-                                                },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[host=]<HOSTUSBDEVICE|spice>] [,mapping=<mapping-id>] [,usb3=<1|0>]"
+                                          },
+                                          "vcpus" : {
+                                             "default" : 0,
+                                             "description" : "Number of hotplugged vcpus.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - N)"
+                                          },
+                                          "vga" : {
+                                             "description" : "Configure the VGA hardware.",
+                                             "format" : {
+                                                "clipboard" : {
+                                                   "description" : "Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added. Migration with VNC clipboard is not yet supported!",
+                                                   "enum" : [
+                                                      "vnc"
+                                                   ],
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                                   "type" : "string"
                                                 },
-                                                "size" : {
-                                                   "description" : "Volume size (read only value).",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
+                                                "memory" : {
+                                                   "description" : "Sets the VGA memory (in MiB). Has no effect with serial display.",
+                                                   "maximum" : 512,
+                                                   "minimum" : 4,
                                                    "optional" : 1,
-                                                   "type" : "string"
+                                                   "type" : "integer"
                                                 },
-                                                "volume" : {
+                                                "type" : {
+                                                   "default" : "std",
                                                    "default_key" : 1,
-                                                   "description" : "Volume, device or directory to mount into the container.",
-                                                   "format" : "pve-lxc-mp-string",
-                                                   "format_description" : "volume",
+                                                   "description" : "Select the VGA type.",
+                                                   "enum" : [
+                                                      "cirrus",
+                                                      "qxl",
+                                                      "qxl2",
+                                                      "qxl3",
+                                                      "qxl4",
+                                                      "none",
+                                                      "serial0",
+                                                      "serial1",
+                                                      "serial2",
+                                                      "serial3",
+                                                      "std",
+                                                      "virtio",
+                                                      "virtio-gl",
+                                                      "vmware"
+                                                   ],
+                                                   "optional" : 1,
                                                    "type" : "string"
                                                 }
                                              },
                                              "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "nameserver" : {
-                                             "description" : "Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
-                                             "format" : "lxc-ip-with-ll-iface-list",
-                                             "optional" : 1,
-                                             "type" : "string"
+                                             "type" : "string",
+                                             "typetext" : "[[type=]<enum>] [,clipboard=<vnc>] [,memory=<integer>]",
+                                             "verbose_description" : "Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.\nYou can also run without any graphic card, using a serial device as terminal."
                                           },
-                                          "net[n]" : {
-                                             "description" : "Specifies network interfaces for the container.",
+                                          "virtio[n]" : {
+                                             "description" : "Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
                                              "format" : {
-                                                "bridge" : {
-                                                   "description" : "Bridge to attach the network device to.",
-                                                   "format_description" : "bridge",
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
                                                    "optional" : 1,
-                                                   "pattern" : "[-_.\\w\\d]+",
                                                    "type" : "string"
                                                 },
-                                                "firewall" : {
-                                                   "description" : "Controls whether this interface's firewall rules should be used.",
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
                                                    "optional" : 1,
                                                    "type" : "boolean"
                                                 },
-                                                "gw" : {
-                                                   "description" : "Default gateway for IPv4 traffic.",
-                                                   "format" : "ipv4",
-                                                   "format_description" : "GatewayIPv4",
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
                                                    "optional" : 1,
-                                                   "type" : "string"
+                                                   "type" : "integer"
                                                 },
-                                                "gw6" : {
-                                                   "description" : "Default gateway for IPv6 traffic.",
-                                                   "format" : "ipv6",
-                                                   "format_description" : "GatewayIPv6",
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "type" : "string"
+                                                   "type" : "integer"
                                                 },
-                                                "hwaddr" : {
-                                                   "description" : "The interface MAC address. This is dynamically allocated by default, but you can set that statically if needed, for example to always have the same link-local IPv6 address. (lxc.network.hwaddr)",
-                                                   "format" : "mac-addr",
-                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                                   "type" : "integer"
                                                 },
-                                                "ip" : {
-                                                   "description" : "IPv4 address in CIDR format.",
-                                                   "format" : "pve-ipv4-config",
-                                                   "format_description" : "(IPv4/CIDR|dhcp|manual)",
-                                                   "optional" : 1,
-                                                   "type" : "string"
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
                                                 },
-                                                "ip6" : {
-                                                   "description" : "IPv6 address in CIDR format.",
-                                                   "format" : "pve-ipv6-config",
-                                                   "format_description" : "(IPv6/CIDR|auto|dhcp|manual)",
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "type" : "string"
+                                                   "type" : "integer"
                                                 },
-                                                "link_down" : {
-                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "mtu" : {
-                                                   "description" : "Maximum transfer unit of the interface. (lxc.network.mtu)",
-                                                   "maximum" : 65535,
-                                                   "minimum" : 64,
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
                                                    "type" : "integer"
                                                 },
-                                                "name" : {
-                                                   "description" : "Name of the network device as seen from inside the container. (lxc.network.name)",
-                                                   "format_description" : "string",
-                                                   "pattern" : "[-_.\\w\\d]+",
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "rate" : {
-                                                   "description" : "Apply rate limiting to the interface",
-                                                   "format_description" : "mbps",
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
                                                    "optional" : 1,
-                                                   "type" : "number"
+                                                   "type" : "integer"
                                                 },
-                                                "tag" : {
-                                                   "description" : "VLAN tag for this interface.",
-                                                   "maximum" : 4094,
-                                                   "minimum" : 1,
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
                                                    "optional" : 1,
-                                                   "type" : "integer"
+                                                   "type" : "boolean"
                                                 },
-                                                "trunks" : {
-                                                   "description" : "VLAN ids to pass through the interface",
-                                                   "format_description" : "vlanid[;vlanid...]",
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
                                                    "optional" : 1,
-                                                   "pattern" : "(?^:\\d+(?:;\\d+)*)",
                                                    "type" : "string"
                                                 },
-                                                "type" : {
-                                                   "description" : "Network interface type.",
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
                                                    "enum" : [
-                                                      "veth"
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "onboot" : {
-                                             "default" : 0,
-                                             "description" : "Specifies whether a container will be started during system bootup.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "ostype" : {
-                                             "description" : "OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.",
-                                             "enum" : [
-                                                "debian",
-                                                "devuan",
-                                                "ubuntu",
-                                                "centos",
-                                                "fedora",
-                                                "opensuse",
-                                                "archlinux",
-                                                "alpine",
-                                                "gentoo",
-                                                "nixos",
-                                                "unmanaged"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "protection" : {
-                                             "default" : 0,
-                                             "description" : "Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "rootfs" : {
-                                             "description" : "Use volume as container root.",
-                                             "format" : {
-                                                "acl" : {
-                                                   "description" : "Explicitly enable or disable ACL support.",
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "mountoptions" : {
-                                                   "description" : "Extra mount options for rootfs/mps.",
-                                                   "format_description" : "opt[;opt...]",
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
                                                    "optional" : 1,
-                                                   "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
                                                    "type" : "string"
                                                 },
-                                                "quota" : {
-                                                   "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Will include this volume to a storage replica job.",
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "ro" : {
-                                                   "description" : "Read-only mount point",
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "shared" : {
-                                                   "default" : 0,
-                                                   "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                                   "type" : "integer"
                                                 },
-                                                "size" : {
-                                                   "description" : "Volume size (read only value).",
-                                                   "format" : "disk-size",
-                                                   "format_description" : "DiskSize",
-                                                   "optional" : 1,
-                                                   "type" : "string"
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
                                                 },
-                                                "volume" : {
-                                                   "default_key" : 1,
-                                                   "description" : "Volume, device or directory to mount into the container.",
-                                                   "format" : "pve-lxc-mp-string",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "searchdomain" : {
-                                             "description" : "Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
-                                             "format" : "dns-name-list",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "startup" : {
-                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
-                                             "format" : "pve-startup-order",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
-                                          },
-                                          "swap" : {
-                                             "default" : 512,
-                                             "description" : "Amount of SWAP for the container in MB.",
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "tags" : {
-                                             "description" : "Tags of the Container. This is only meta information.",
-                                             "format" : "pve-tag-list",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "template" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable Template.",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "timezone" : {
-                                             "description" : "Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab",
-                                             "format" : "pve-ct-timezone",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "tty" : {
-                                             "default" : 2,
-                                             "description" : "Specify the number of tty available to the container",
-                                             "maximum" : 6,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer"
-                                          },
-                                          "unprivileged" : {
-                                             "default" : 0,
-                                             "description" : "Makes the container run as unprivileged user. (Should not be modified manually.)",
-                                             "optional" : 1,
-                                             "type" : "boolean"
-                                          },
-                                          "unused[n]" : {
-                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
-                                             "format" : {
-                                                "volume" : {
-                                                   "default_key" : 1,
-                                                   "description" : "The volume that is not used currently.",
-                                                   "format" : "pve-volume-id",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 },
-                                 "PUT" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Set container options.",
-                                    "method" : "PUT",
-                                    "name" : "update_vm",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "arch" : {
-                                             "default" : "amd64",
-                                             "description" : "OS architecture type.",
-                                             "enum" : [
-                                                "amd64",
-                                                "i386",
-                                                "arm64",
-                                                "armhf",
-                                                "riscv32",
-                                                "riscv64"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "cmode" : {
-                                             "default" : "tty",
-                                             "description" : "Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).",
-                                             "enum" : [
-                                                "shell",
-                                                "console",
-                                                "tty"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "console" : {
-                                             "default" : 1,
-                                             "description" : "Attach a console device (/dev/console) to the container.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "cores" : {
-                                             "description" : "The number of cores assigned to the container. A container can use all available cores by default.",
-                                             "maximum" : 8192,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - 8192)"
-                                          },
-                                          "cpulimit" : {
-                                             "default" : 0,
-                                             "description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.",
-                                             "maximum" : 8192,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - 8192)"
-                                          },
-                                          "cpuunits" : {
-                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
-                                             "description" : "CPU weight for a container, will be clamped to [1, 10000] in cgroup v2.",
-                                             "maximum" : 500000,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - 500000)",
-                                             "verbose_description" : "CPU weight for a container. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this container gets. Number is relative to the weights of all the other running guests."
-                                          },
-                                          "debug" : {
-                                             "default" : 0,
-                                             "description" : "Try to be more verbose. For now this only enables debug log-level on start.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "delete" : {
-                                             "description" : "A list of settings you want to delete.",
-                                             "format" : "pve-configid-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "description" : {
-                                             "description" : "Description for the Container. Shown in the web-interface CT's summary. This is saved as comment inside the configuration file.",
-                                             "maxLength" : 8192,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "features" : {
-                                             "description" : "Allow containers access to advanced features.",
-                                             "format" : {
-                                                "force_rw_sys" : {
-                                                   "default" : 0,
-                                                   "description" : "Mount /sys in unprivileged containers as `rw` instead of `mixed`. This can break networking under newer (>= v245) systemd-network use.",
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "fuse" : {
-                                                   "default" : 0,
-                                                   "description" : "Allow using 'fuse' file systems in a container. Note that interactions between fuse and the freezer cgroup can potentially cause I/O deadlocks.",
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "keyctl" : {
-                                                   "default" : 0,
-                                                   "description" : "For unprivileged containers only: Allow the use of the keyctl() system call. This is required to use docker inside a container. By default unprivileged containers will see this system call as non-existent. This is mostly a workaround for systemd-networkd, as it will treat it as a fatal error when some keyctl() operations are denied by the kernel due to lacking permissions. Essentially, you can choose between running systemd-networkd or docker.",
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "mknod" : {
-                                                   "default" : 0,
-                                                   "description" : "Allow unprivileged containers to use mknod() to add certain device nodes. This requires a kernel with seccomp trap to user space support (5.3 or newer). This is experimental.",
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "mount" : {
-                                                   "description" : "Allow mounting file systems of specific types. This should be a list of file system types as used with the mount command. Note that this can have negative effects on the container's security. With access to a loop device, mounting a file can circumvent the mknod permission of the devices cgroup, mounting an NFS file system can block the host's I/O completely and prevent it from rebooting, etc.",
-                                                   "format_description" : "fstype;fstype;...",
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "pattern" : "(?^:[a-zA-Z0-9_; ]+)",
-                                                   "type" : "string"
+                                                   "type" : "integer"
                                                 },
-                                                "nesting" : {
-                                                   "default" : 0,
-                                                   "description" : "Allow nesting. Best used with unprivileged containers with additional id mapping. Note that this will expose procfs and sysfs contents of the host to the guest.",
+                                                "iothread" : {
+                                                   "description" : "Whether to use iothreads for this drive",
                                                    "optional" : 1,
                                                    "type" : "boolean"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[force_rw_sys=<1|0>] [,fuse=<1|0>] [,keyctl=<1|0>] [,mknod=<1|0>] [,mount=<fstype;fstype;...>] [,nesting=<1|0>]"
-                                          },
-                                          "hookscript" : {
-                                             "description" : "Script that will be exectued during various steps in the containers lifetime.",
-                                             "format" : "pve-volume-id",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "hostname" : {
-                                             "description" : "Set a host name for the container.",
-                                             "format" : "dns-name",
-                                             "maxLength" : 255,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "lock" : {
-                                             "description" : "Lock/unlock the container.",
-                                             "enum" : [
-                                                "backup",
-                                                "create",
-                                                "destroyed",
-                                                "disk",
-                                                "fstrim",
-                                                "migrate",
-                                                "mounted",
-                                                "rollback",
-                                                "snapshot",
-                                                "snapshot-delete"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "memory" : {
-                                             "default" : 512,
-                                             "description" : "Amount of RAM for the container in MB.",
-                                             "minimum" : 16,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (16 - N)"
-                                          },
-                                          "mp[n]" : {
-                                             "description" : "Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.",
-                                             "format" : {
-                                                "acl" : {
-                                                   "description" : "Explicitly enable or disable ACL support.",
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "number"
                                                 },
-                                                "backup" : {
-                                                   "description" : "Whether to include the mount point in backups.",
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Whether to include the mount point in backups (only used for volume mount points)."
+                                                   "type" : "number"
                                                 },
-                                                "mountoptions" : {
-                                                   "description" : "Extra mount options for rootfs/mps.",
-                                                   "format_description" : "opt[;opt...]",
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
-                                                   "type" : "string"
+                                                   "type" : "number"
                                                 },
-                                                "mp" : {
-                                                   "description" : "Path to the mount point as seen from inside the container (must not contain symlinks).",
-                                                   "format" : "pve-lxc-mp-string",
-                                                   "format_description" : "Path",
-                                                   "type" : "string",
-                                                   "verbose_description" : "Path to the mount point as seen from inside the container.\n\nNOTE: Must not contain any symlinks for security reasons."
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
                                                 },
-                                                "quota" : {
-                                                   "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
                                                 "replicate" : {
                                                    "default" : 1,
-                                                   "description" : "Will include this volume to a storage replica job.",
+                                                   "description" : "Whether the drive should considered for replication jobs.",
                                                    "optional" : 1,
                                                    "type" : "boolean"
                                                 },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
                                                 "ro" : {
-                                                   "description" : "Read-only mount point",
+                                                   "description" : "Whether the drive is read-only.",
                                                    "optional" : 1,
                                                    "type" : "boolean"
                                                 },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
                                                 "shared" : {
                                                    "default" : 0,
-                                                   "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
                                                    "optional" : 1,
                                                    "type" : "boolean",
-                                                   "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
                                                 },
                                                 "size" : {
-                                                   "description" : "Volume size (read only value).",
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
                                                    "format" : "disk-size",
                                                    "format_description" : "DiskSize",
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
                                                 "volume" : {
-                                                   "default_key" : 1,
-                                                   "description" : "Volume, device or directory to mount into the container.",
-                                                   "format" : "pve-lxc-mp-string",
-                                                   "format_description" : "volume",
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
                                                    "type" : "string"
                                                 }
                                              },
                                              "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]"
+                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]"
                                           },
-                                          "nameserver" : {
-                                             "description" : "Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
-                                             "format" : "lxc-ip-with-ll-iface-list",
+                                          "vmgenid" : {
+                                             "default" : "1 (autogenerated)",
+                                             "description" : "Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.",
+                                             "format_description" : "UUID",
+                                             "optional" : 1,
+                                             "pattern" : "(?:[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}|[01])",
+                                             "type" : "string",
+                                             "verbose_description" : "The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.\nNote that auto-creation only works when done through API/CLI create or update methods, but not when manually editing the config file."
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "vmstatestorage" : {
+                                             "description" : "Default storage for VM state volumes/files.",
+                                             "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<storage ID>"
+                                          },
+                                          "watchdog" : {
+                                             "description" : "Create a virtual hardware watchdog device.",
+                                             "format" : "pve-qm-watchdog",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[model=]<i6300esb|ib700>] [,action=<enum>]",
+                                             "verbose_description" : "Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Config.Disk",
+                                             "VM.Config.CDROM",
+                                             "VM.Config.CPU",
+                                             "VM.Config.Memory",
+                                             "VM.Config.Network",
+                                             "VM.Config.HWType",
+                                             "VM.Config.Options",
+                                             "VM.Config.Cloudinit"
+                                          ],
+                                          "any",
+                                          1
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Set virtual machine options (synchrounous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation.",
+                                    "method" : "PUT",
+                                    "name" : "update_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "acpi" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable ACPI.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "affinity" : {
+                                             "description" : "List of host cores used to execute guest processes, for example: 0,5,8-11",
+                                             "format" : "pve-cpuset",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "net[n]" : {
-                                             "description" : "Specifies network interfaces for the container.",
+                                          "agent" : {
+                                             "description" : "Enable/disable communication with the QEMU Guest Agent and its properties.",
                                              "format" : {
-                                                "bridge" : {
-                                                   "description" : "Bridge to attach the network device to.",
-                                                   "format_description" : "bridge",
-                                                   "optional" : 1,
-                                                   "pattern" : "[-_.\\w\\d]+",
-                                                   "type" : "string"
-                                                },
-                                                "firewall" : {
-                                                   "description" : "Controls whether this interface's firewall rules should be used.",
-                                                   "optional" : 1,
+                                                "enabled" : {
+                                                   "default" : 0,
+                                                   "default_key" : 1,
+                                                   "description" : "Enable/disable communication with a QEMU Guest Agent (QGA) running in the VM.",
                                                    "type" : "boolean"
                                                 },
-                                                "gw" : {
-                                                   "description" : "Default gateway for IPv4 traffic.",
-                                                   "format" : "ipv4",
-                                                   "format_description" : "GatewayIPv4",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "gw6" : {
-                                                   "description" : "Default gateway for IPv6 traffic.",
-                                                   "format" : "ipv6",
-                                                   "format_description" : "GatewayIPv6",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "hwaddr" : {
-                                                   "description" : "The interface MAC address. This is dynamically allocated by default, but you can set that statically if needed, for example to always have the same link-local IPv6 address. (lxc.network.hwaddr)",
-                                                   "format" : "mac-addr",
-                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
-                                                },
-                                                "ip" : {
-                                                   "description" : "IPv4 address in CIDR format.",
-                                                   "format" : "pve-ipv4-config",
-                                                   "format_description" : "(IPv4/CIDR|dhcp|manual)",
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                },
-                                                "ip6" : {
-                                                   "description" : "IPv6 address in CIDR format.",
-                                                   "format" : "pve-ipv6-config",
-                                                   "format_description" : "(IPv6/CIDR|auto|dhcp|manual)",
+                                                "freeze-fs-on-backup" : {
+                                                   "default" : 1,
+                                                   "description" : "Freeze/thaw guest filesystems on backup for consistency.",
                                                    "optional" : 1,
-                                                   "type" : "string"
+                                                   "type" : "boolean"
                                                 },
-                                                "link_down" : {
-                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                                "fstrim_cloned_disks" : {
+                                                   "default" : 0,
+                                                   "description" : "Run fstrim after moving a disk or migrating the VM.",
                                                    "optional" : 1,
                                                    "type" : "boolean"
                                                 },
-                                                "mtu" : {
-                                                   "description" : "Maximum transfer unit of the interface. (lxc.network.mtu)",
-                                                   "maximum" : 65535,
-                                                   "minimum" : 64,
+                                                "type" : {
+                                                   "default" : "virtio",
+                                                   "description" : "Select the agent type",
+                                                   "enum" : [
+                                                      "virtio",
+                                                      "isa"
+                                                   ],
                                                    "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "name" : {
-                                                   "description" : "Name of the network device as seen from inside the container. (lxc.network.name)",
-                                                   "format_description" : "string",
-                                                   "pattern" : "[-_.\\w\\d]+",
                                                    "type" : "string"
-                                                },
-                                                "rate" : {
-                                                   "description" : "Apply rate limiting to the interface",
-                                                   "format_description" : "mbps",
-                                                   "optional" : 1,
-                                                   "type" : "number"
-                                                },
-                                                "tag" : {
-                                                   "description" : "VLAN tag for this interface.",
-                                                   "maximum" : 4094,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "type" : "integer"
-                                                },
-                                                "trunks" : {
-                                                   "description" : "VLAN ids to pass through the interface",
-                                                   "format_description" : "vlanid[;vlanid...]",
-                                                   "optional" : 1,
-                                                   "pattern" : "(?^:\\d+(?:;\\d+)*)",
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[enabled=]<1|0> [,freeze-fs-on-backup=<1|0>] [,fstrim_cloned_disks=<1|0>] [,type=<virtio|isa>]"
+                                          },
+                                          "arch" : {
+                                             "description" : "Virtual processor architecture. Defaults to the host.",
+                                             "enum" : [
+                                                "x86_64",
+                                                "aarch64"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "args" : {
+                                             "description" : "Arbitrary arguments passed to kvm.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>",
+                                             "verbose_description" : "Arbitrary arguments passed to kvm, for example:\n\nargs: -no-reboot -smbios 'type=0,vendor=FOO'\n\nNOTE: this option is for experts only.\n"
+                                          },
+                                          "audio0" : {
+                                             "description" : "Configure a audio device, useful in combination with QXL/Spice.",
+                                             "format" : {
+                                                "device" : {
+                                                   "description" : "Configure an audio device.",
+                                                   "enum" : [
+                                                      "ich9-intel-hda",
+                                                      "intel-hda",
+                                                      "AC97"
+                                                   ],
                                                    "type" : "string"
                                                 },
-                                                "type" : {
-                                                   "description" : "Network interface type.",
+                                                "driver" : {
+                                                   "default" : "spice",
+                                                   "description" : "Driver backend for the audio device.",
                                                    "enum" : [
-                                                      "veth"
+                                                      "spice",
+                                                      "none"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
@@ -26906,1056 +21416,896 @@ const apiSchema = [
                                              },
                                              "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,link_down=<1|0>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "device=<ich9-intel-hda|intel-hda|AC97> [,driver=<spice|none>]"
                                           },
-                                          "onboot" : {
+                                          "autostart" : {
                                              "default" : 0,
-                                             "description" : "Specifies whether a container will be started during system bootup.",
+                                             "description" : "Automatic restart after crash (currently ignored).",
                                              "optional" : 1,
                                              "type" : "boolean",
                                              "typetext" : "<boolean>"
                                           },
-                                          "ostype" : {
-                                             "description" : "OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.",
+                                          "balloon" : {
+                                             "description" : "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "bios" : {
+                                             "default" : "seabios",
+                                             "description" : "Select BIOS implementation.",
                                              "enum" : [
-                                                "debian",
-                                                "devuan",
-                                                "ubuntu",
-                                                "centos",
-                                                "fedora",
-                                                "opensuse",
-                                                "archlinux",
-                                                "alpine",
-                                                "gentoo",
-                                                "nixos",
-                                                "unmanaged"
+                                                "seabios",
+                                                "ovmf"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "boot" : {
+                                             "description" : "Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.",
+                                             "format" : "pve-qm-boot",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[legacy=]<[acdn]{1,4}>] [,order=<device[;device...]>]"
+                                          },
+                                          "bootdisk" : {
+                                             "description" : "Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.",
+                                             "format" : "pve-qm-bootdisk",
+                                             "optional" : 1,
+                                             "pattern" : "(ide|sata|scsi|virtio)\\d+",
+                                             "type" : "string"
+                                          },
+                                          "cdrom" : {
+                                             "description" : "This is an alias for option -ide2",
+                                             "format" : "pve-qm-ide",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<volume>"
+                                          },
+                                          "cicustom" : {
+                                             "description" : "cloud-init: Specify custom files to replace the automatically generated ones at start.",
+                                             "format" : "pve-qm-cicustom",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]"
+                                          },
+                                          "cipassword" : {
+                                             "description" : "cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "citype" : {
+                                             "description" : "Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.",
+                                             "enum" : [
+                                                "configdrive2",
+                                                "nocloud",
+                                                "opennebula"
                                              ],
                                              "optional" : 1,
                                              "type" : "string"
                                           },
-                                          "protection" : {
-                                             "default" : 0,
-                                             "description" : "Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.",
+                                          "ciupgrade" : {
+                                             "default" : 1,
+                                             "description" : "cloud-init: do an automatic package upgrade after the first boot.",
                                              "optional" : 1,
                                              "type" : "boolean",
                                              "typetext" : "<boolean>"
                                           },
-                                          "revert" : {
-                                             "description" : "Revert a pending change.",
+                                          "ciuser" : {
+                                             "description" : "cloud-init: User name to change ssh keys and password for instead of the image's configured default user.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "cores" : {
+                                             "default" : 1,
+                                             "description" : "The number of cores per socket.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - N)"
+                                          },
+                                          "cpu" : {
+                                             "description" : "Emulated CPU type.",
+                                             "format" : "pve-vm-cpu-conf",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[cputype=]<string>] [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>] [,phys-bits=<8-64|host>] [,reported-model=<enum>]"
+                                          },
+                                          "cpulimit" : {
+                                             "default" : 0,
+                                             "description" : "Limit of CPU usage.",
+                                             "maximum" : 128,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - 128)",
+                                             "verbose_description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit."
+                                          },
+                                          "cpuunits" : {
+                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
+                                             "description" : "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
+                                             "maximum" : 262144,
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - 262144)",
+                                             "verbose_description" : "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs."
+                                          },
+                                          "delete" : {
+                                             "description" : "A list of settings you want to delete.",
                                              "format" : "pve-configid-list",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "rootfs" : {
-                                             "description" : "Use volume as container root.",
+                                          "description" : {
+                                             "description" : "Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.",
+                                             "maxLength" : 8192,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "efidisk0" : {
+                                             "description" : "Configure a disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
                                              "format" : {
-                                                "acl" : {
-                                                   "description" : "Explicitly enable or disable ACL support.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
-                                                },
-                                                "mountoptions" : {
-                                                   "description" : "Extra mount options for rootfs/mps.",
-                                                   "format_description" : "opt[;opt...]",
+                                                "efitype" : {
+                                                   "default" : "2m",
+                                                   "description" : "Size and type of the OVMF EFI vars. '4m' is newer and recommended, and required for Secure Boot. For backwards compatibility, '2m' is used if not otherwise specified. Ignored for VMs with arch=aarch64 (ARM).",
+                                                   "enum" : [
+                                                      "2m",
+                                                      "4m"
+                                                   ],
                                                    "optional" : 1,
-                                                   "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
                                                    "type" : "string"
                                                 },
-                                                "quota" : {
-                                                   "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
-                                                   "optional" : 1,
-                                                   "type" : "boolean"
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
                                                 },
-                                                "replicate" : {
-                                                   "default" : 1,
-                                                   "description" : "Will include this volume to a storage replica job.",
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "string"
                                                 },
-                                                "ro" : {
-                                                   "description" : "Read-only mount point",
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "string"
                                                 },
-                                                "shared" : {
+                                                "pre-enrolled-keys" : {
                                                    "default" : 0,
-                                                   "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                                   "description" : "Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by default, though it can still be turned off from within the VM.",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                                   "type" : "boolean"
                                                 },
                                                 "size" : {
-                                                   "description" : "Volume size (read only value).",
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
                                                    "format" : "disk-size",
                                                    "format_description" : "DiskSize",
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
                                                 "volume" : {
-                                                   "default_key" : 1,
-                                                   "description" : "Volume, device or directory to mount into the container.",
-                                                   "format" : "pve-lxc-mp-string",
-                                                   "format_description" : "volume",
-                                                   "type" : "string"
+                                                   "alias" : "file"
                                                 }
                                              },
                                              "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "[volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]"
-                                          },
-                                          "searchdomain" : {
-                                             "description" : "Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
-                                             "format" : "dns-name-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "[file=]<volume> [,efitype=<2m|4m>] [,format=<enum>] [,import-from=<source volume>] [,pre-enrolled-keys=<1|0>] [,size=<DiskSize>]"
                                           },
-                                          "startup" : {
-                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
-                                             "format" : "pve-startup-order",
+                                          "force" : {
+                                             "description" : "Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called 'unused[n]', which contains the volume ID. Unlink of unused[n] always cause physical removal.",
                                              "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
+                                             "requires" : "delete",
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           },
-                                          "swap" : {
-                                             "default" : 512,
-                                             "description" : "Amount of SWAP for the container in MB.",
-                                             "minimum" : 0,
+                                          "freeze" : {
+                                             "description" : "Freeze CPU at startup (use 'c' monitor command to start execution).",
                                              "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - N)"
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           },
-                                          "tags" : {
-                                             "description" : "Tags of the Container. This is only meta information.",
-                                             "format" : "pve-tag-list",
+                                          "hookscript" : {
+                                             "description" : "Script that will be executed during various steps in the vms lifetime.",
+                                             "format" : "pve-volume-id",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "template" : {
-                                             "default" : 0,
-                                             "description" : "Enable/disable Template.",
+                                          "hostpci[n]" : {
+                                             "description" : "Map host PCI devices into guest.",
+                                             "format" : "pve-qm-hostpci",
                                              "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
+                                             "type" : "string",
+                                             "typetext" : "[[host=]<HOSTPCIID[;HOSTPCIID2...]>] [,device-id=<hex id>] [,legacy-igd=<1|0>] [,mapping=<mapping-id>] [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,sub-device-id=<hex id>] [,sub-vendor-id=<hex id>] [,vendor-id=<hex id>] [,x-vga=<1|0>]",
+                                             "verbose_description" : "Map host PCI devices into guest.\n\nNOTE: This option allows direct access to host hardware. So it is no longer\npossible to migrate such machines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
                                           },
-                                          "timezone" : {
-                                             "description" : "Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab",
-                                             "format" : "pve-ct-timezone",
+                                          "hotplug" : {
+                                             "default" : "network,disk,usb",
+                                             "description" : "Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory', 'usb' and 'cloudinit'. Use '0' to disable hotplug completely. Using '1' as value is an alias for the default `network,disk,usb`. USB hotplugging is possible for guests with machine version >= 7.1 and ostype l26 or windows > 7.",
+                                             "format" : "pve-hotplug-features",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "tty" : {
-                                             "default" : 2,
-                                             "description" : "Specify the number of tty available to the container",
-                                             "maximum" : 6,
-                                             "minimum" : 0,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (0 - 6)"
-                                          },
-                                          "unprivileged" : {
-                                             "default" : 0,
-                                             "description" : "Makes the container run as unprivileged user. (Should not be modified manually.)",
+                                          "hugepages" : {
+                                             "description" : "Enable/disable hugepages memory.",
+                                             "enum" : [
+                                                "any",
+                                                "2",
+                                                "1024"
+                                             ],
                                              "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
+                                             "type" : "string"
                                           },
-                                          "unused[n]" : {
-                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
+                                          "ide[n]" : {
+                                             "description" : "Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
                                              "format" : {
-                                                "volume" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
                                                    "default_key" : 1,
-                                                   "description" : "The volume that is not used currently.",
-                                                   "format" : "pve-volume-id",
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
                                                    "format_description" : "volume",
                                                    "type" : "string"
-                                                }
-                                             },
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "[volume=]<volume>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Config.Disk",
-                                             "VM.Config.CPU",
-                                             "VM.Config.Memory",
-                                             "VM.Config.Network",
-                                             "VM.Config.Options"
-                                          ],
-                                          "any",
-                                          1
-                                       ],
-                                       "description" : "non-volume mount points in rootfs and mp[n] are restricted to root@pam"
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "null"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/config",
-                              "text" : "config"
-                           },
-                           {
-                              "children" : [
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Get virtual machine status.",
-                                          "method" : "GET",
-                                          "name" : "vm_status",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "cpus" : {
-                                                   "description" : "Maximum usable CPUs.",
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
                                                    "optional" : 1,
-                                                   "type" : "number"
+                                                   "type" : "string"
                                                 },
-                                                "ha" : {
-                                                   "description" : "HA manager service status.",
-                                                   "type" : "object"
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "lock" : {
-                                                   "description" : "The current config lock, if any.",
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "maxdisk" : {
-                                                   "description" : "Root disk size in bytes.",
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "renderer" : "bytes",
                                                    "type" : "integer"
                                                 },
-                                                "maxmem" : {
-                                                   "description" : "Maximum memory in bytes.",
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "renderer" : "bytes",
                                                    "type" : "integer"
                                                 },
-                                                "maxswap" : {
-                                                   "description" : "Maximum SWAP memory in bytes.",
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "renderer" : "bytes",
                                                    "type" : "integer"
                                                 },
-                                                "name" : {
-                                                   "description" : "Container name.",
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "string"
+                                                   "type" : "number"
                                                 },
-                                                "status" : {
-                                                   "description" : "LXC Container status.",
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
                                                    "enum" : [
-                                                      "stopped",
-                                                      "running"
+                                                      "cdrom",
+                                                      "disk"
                                                    ],
+                                                   "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "tags" : {
-                                                   "description" : "The current configured tags, if any.",
+                                                "model" : {
+                                                   "description" : "The drive's reported model name, url-encoded, up to 40 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "model",
+                                                   "maxLength" : 120,
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "uptime" : {
-                                                   "description" : "Uptime.",
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
                                                    "optional" : 1,
-                                                   "renderer" : "duration",
-                                                   "type" : "integer"
+                                                   "type" : "boolean"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/status/current",
-                                    "text" : "current"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Start the container.",
-                                          "method" : "POST",
-                                          "name" : "vm_start",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "debug" : {
-                                                   "default" : 0,
-                                                   "description" : "If set, enables very verbose debug log-level on start.",
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "string"
                                                 },
-                                                "skiplock" : {
-                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/status/start",
-                                    "text" : "start"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Stop the container. This will abruptly stop all processes running in the container.",
-                                          "method" : "POST",
-                                          "name" : "vm_stop",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "skiplock" : {
-                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
+                                                   "type" : "string"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/status/stop",
-                                    "text" : "stop"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details.",
-                                          "method" : "POST",
-                                          "name" : "vm_shutdown",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "forceStop" : {
+                                                "shared" : {
                                                    "default" : 0,
-                                                   "description" : "Make sure the Container stops.",
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
                                                    "optional" : 1,
                                                    "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
                                                 },
-                                                "timeout" : {
-                                                   "default" : 60,
-                                                   "description" : "Wait maximal timeout seconds.",
-                                                   "minimum" : 0,
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/status/shutdown",
-                                    "text" : "shutdown"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Suspend the container. This is experimental.",
-                                          "method" : "POST",
-                                          "name" : "vm_suspend",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/status/suspend",
-                                    "text" : "suspend"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Resume the container.",
-                                          "method" : "POST",
-                                          "name" : "vm_resume",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/status/resume",
-                                    "text" : "resume"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Reboot the container by shutting it down, and starting it again. Applies pending changes.",
-                                          "method" : "POST",
-                                          "name" : "vm_reboot",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "string"
                                                 },
-                                                "timeout" : {
-                                                   "description" : "Wait maximal timeout seconds for the shutdown.",
-                                                   "minimum" : 0,
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.PowerMgmt"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "string"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/status/reboot",
-                                    "text" : "reboot"
-                                 }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Directory index",
-                                    "method" : "GET",
-                                    "name" : "vmcmdidx",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "user" : "all"
-                                    },
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {
-                                             "subdir" : {
-                                                "type" : "string"
-                                             }
-                                          },
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{subdir}",
-                                             "rel" : "child"
-                                          }
-                                       ],
-                                       "type" : "array"
-                                    }
-                                 }
-                              },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/lxc/{vmid}/status",
-                              "text" : "status"
-                           },
-                           {
-                              "children" : [
-                                 {
-                                    "children" : [
-                                       {
-                                          "info" : {
-                                             "POST" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Rollback LXC state to specified snapshot.",
-                                                "method" : "POST",
-                                                "name" : "rollback",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "snapname" : {
-                                                         "description" : "The name of the snapshot.",
-                                                         "format" : "pve-configid",
-                                                         "maxLength" : 40,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "start" : {
-                                                         "default" : 0,
-                                                         "description" : "Whether the container should get started after rolling back successfully",
-                                                         "optional" : 1,
-                                                         "type" : "boolean",
-                                                         "typetext" : "<boolean>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Snapshot",
-                                                         "VM.Snapshot.Rollback"
-                                                      ],
-                                                      "any",
-                                                      1
-                                                   ]
+                                                   "type" : "boolean"
                                                 },
-                                                "protected" : 1,
-                                                "proxyto" : "node",
-                                                "returns" : {
-                                                   "description" : "the task ID.",
-                                                   "type" : "string"
-                                                }
-                                             }
-                                          },
-                                          "leaf" : 1,
-                                          "path" : "/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/rollback",
-                                          "text" : "rollback"
-                                       },
-                                       {
-                                          "info" : {
-                                             "GET" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Get snapshot configuration",
-                                                "method" : "GET",
-                                                "name" : "get_snapshot_config",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "snapname" : {
-                                                         "description" : "The name of the snapshot.",
-                                                         "format" : "pve-configid",
-                                                         "maxLength" : 40,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Snapshot",
-                                                         "VM.Snapshot.Rollback",
-                                                         "VM.Audit"
-                                                      ],
-                                                      "any",
-                                                      1
-                                                   ]
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "proxyto" : "node",
-                                                "returns" : {
-                                                   "type" : "object"
-                                                }
-                                             },
-                                             "PUT" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Update snapshot metadata.",
-                                                "method" : "PUT",
-                                                "name" : "update_snapshot_config",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "description" : {
-                                                         "description" : "A textual description or comment.",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "snapname" : {
-                                                         "description" : "The name of the snapshot.",
-                                                         "format" : "pve-configid",
-                                                         "maxLength" : 40,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                                "volume" : {
+                                                   "alias" : "file"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Snapshot"
-                                                      ]
-                                                   ]
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "protected" : 1,
-                                                "proxyto" : "node",
-                                                "returns" : {
-                                                   "type" : "null"
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
                                                 }
-                                             }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
                                           },
-                                          "leaf" : 1,
-                                          "path" : "/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/config",
-                                          "text" : "config"
-                                       }
-                                    ],
-                                    "info" : {
-                                       "DELETE" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Delete a LXC snapshot.",
-                                          "method" : "DELETE",
-                                          "name" : "delsnapshot",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "force" : {
-                                                   "description" : "For removal from config file, even if removing disk snapshots fails.",
+                                          "ipconfig[n]" : {
+                                             "description" : "cloud-init: Specify IP addresses and gateways for the corresponding interface.\n\nIP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.\n\nThe special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit\ngateway should be provided.\nFor IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires\ncloud-init 19.4 or newer.\n\nIf cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using\ndhcp on IPv4.\n",
+                                             "format" : "pve-qm-ipconfig",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]"
+                                          },
+                                          "ivshmem" : {
+                                             "description" : "Inter-VM shared memory. Useful for direct communication between VMs, or to the host.",
+                                             "format" : {
+                                                "name" : {
+                                                   "description" : "The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.",
+                                                   "format_description" : "string",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "snapname" : {
-                                                   "description" : "The name of the snapshot.",
-                                                   "format" : "pve-configid",
-                                                   "maxLength" : 40,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "pattern" : "[a-zA-Z0-9\\-]+",
+                                                   "type" : "string"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
+                                                "size" : {
+                                                   "description" : "The size of the file in MB.",
                                                    "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
+                                                   "type" : "integer"
                                                 }
-                                             }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "size=<integer> [,name=<string>]"
                                           },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Snapshot"
-                                                ]
-                                             ]
+                                          "keephugepages" : {
+                                             "default" : 0,
+                                             "description" : "Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "description" : "the task ID.",
+                                          "keyboard" : {
+                                             "default" : null,
+                                             "description" : "Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.",
+                                             "enum" : [
+                                                "de",
+                                                "de-ch",
+                                                "da",
+                                                "en-gb",
+                                                "en-us",
+                                                "es",
+                                                "fi",
+                                                "fr",
+                                                "fr-be",
+                                                "fr-ca",
+                                                "fr-ch",
+                                                "hu",
+                                                "is",
+                                                "it",
+                                                "ja",
+                                                "lt",
+                                                "mk",
+                                                "nl",
+                                                "no",
+                                                "pl",
+                                                "pt",
+                                                "pt-br",
+                                                "sv",
+                                                "sl",
+                                                "tr"
+                                             ],
+                                             "optional" : 1,
                                              "type" : "string"
-                                          }
-                                       },
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "",
-                                          "method" : "GET",
-                                          "name" : "snapshot_cmd_idx",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "snapname" : {
-                                                   "description" : "The name of the snapshot.",
-                                                   "format" : "pve-configid",
+                                          },
+                                          "kvm" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable KVM hardware virtualization.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "localtime" : {
+                                             "description" : "Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "lock" : {
+                                             "description" : "Lock/unlock the VM.",
+                                             "enum" : [
+                                                "backup",
+                                                "clone",
+                                                "create",
+                                                "migrate",
+                                                "rollback",
+                                                "snapshot",
+                                                "snapshot-delete",
+                                                "suspending",
+                                                "suspended"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "machine" : {
+                                             "description" : "Specify the QEMU machine.",
+                                             "format" : {
+                                                "type" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Specifies the QEMU machine type.",
+                                                   "format_description" : "machine type",
                                                    "maxLength" : 40,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "optional" : 1,
+                                                   "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
+                                                   "type" : "string"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
+                                                "viommu" : {
+                                                   "description" : "Enable and set guest vIOMMU variant (Intel vIOMMU needs q35 to be set as machine type).",
+                                                   "enum" : [
+                                                      "intel",
+                                                      "virtio"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "user" : "all"
-                                          },
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {},
-                                                "type" : "object"
                                              },
-                                             "links" : [
-                                                {
-                                                   "href" : "{cmd}",
-                                                   "rel" : "child"
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[type=]<machine type>] [,viommu=<intel|virtio>]"
+                                          },
+                                          "memory" : {
+                                             "description" : "Memory properties.",
+                                             "format" : {
+                                                "current" : {
+                                                   "default" : 512,
+                                                   "default_key" : 1,
+                                                   "description" : "Current amount of online RAM for the VM in MiB. This is the maximum available memory when you use the balloon device.",
+                                                   "minimum" : 16,
+                                                   "type" : "integer"
                                                 }
-                                             ],
-                                             "type" : "array"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 0,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/snapshot/{snapname}",
-                                    "text" : "{snapname}"
-                                 }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "List all snapshots.",
-                                    "method" : "GET",
-                                    "name" : "list",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
+                                             },
+                                             "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "[current=]<integer>"
                                           },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                          "migrate_downtime" : {
+                                             "default" : 0.1,
+                                             "description" : "Set maximum tolerated downtime (in seconds) for migrations.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - N)"
+                                          },
+                                          "migrate_speed" : {
+                                             "default" : 0,
+                                             "description" : "Set maximum speed (in MB/s) for migrations. Value 0 is no limit.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {
-                                             "description" : {
-                                                "description" : "Snapshot description.",
-                                                "type" : "string"
-                                             },
-                                             "name" : {
-                                                "description" : "Snapshot identifier. Value 'current' identifies the current VM.",
-                                                "type" : "string"
-                                             },
-                                             "parent" : {
-                                                "description" : "Parent snapshot identifier.",
-                                                "optional" : 1,
-                                                "type" : "string"
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "name" : {
+                                             "description" : "Set a name for the VM. Only used on the configuration web interface.",
+                                             "format" : "dns-name",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "nameserver" : {
+                                             "description" : "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
+                                             "format" : "address-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "net[n]" : {
+                                             "description" : "Specify network devices.",
+                                             "format" : {
+                                                "bridge" : {
+                                                   "description" : "Bridge to attach the network device to. The Proxmox VE standard bridge\nis called 'vmbr0'.\n\nIf you do not specify a bridge, we create a kvm user (NATed) network\ndevice, which provides DHCP and DNS services. The following addresses\nare used:\n\n 10.0.2.2   Gateway\n 10.0.2.3   DNS Server\n 10.0.2.4   SMB Server\n\nThe DHCP server assign addresses to the guest starting from 10.0.2.15.\n",
+                                                   "format" : "pve-bridge-id",
+                                                   "format_description" : "bridge",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "e1000" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82540em" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82544gc" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000-82545em" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "e1000e" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "firewall" : {
+                                                   "description" : "Whether this interface should be protected by the firewall.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "i82551" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "i82557b" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "i82559er" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "link_down" : {
+                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "macaddr" : {
+                                                   "description" : "MAC address. That address must be unique withing your network. This is automatically generated if not specified.",
+                                                   "format" : "mac-addr",
+                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                                },
+                                                "model" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.",
+                                                   "enum" : [
+                                                      "e1000",
+                                                      "e1000-82540em",
+                                                      "e1000-82544gc",
+                                                      "e1000-82545em",
+                                                      "e1000e",
+                                                      "i82551",
+                                                      "i82557b",
+                                                      "i82559er",
+                                                      "ne2k_isa",
+                                                      "ne2k_pci",
+                                                      "pcnet",
+                                                      "rtl8139",
+                                                      "virtio",
+                                                      "vmxnet3"
+                                                   ],
+                                                   "type" : "string"
+                                                },
+                                                "mtu" : {
+                                                   "description" : "Force MTU, for VirtIO only. Set to '1' to use the bridge MTU",
+                                                   "maximum" : 65520,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "ne2k_isa" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "ne2k_pci" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "pcnet" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "queues" : {
+                                                   "description" : "Number of packet queues to be used on the device.",
+                                                   "maximum" : 64,
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "rate" : {
+                                                   "description" : "Rate limit in mbps (megabytes per second) as floating point number.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "rtl8139" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "tag" : {
+                                                   "description" : "VLAN tag to apply to packets on this interface.",
+                                                   "maximum" : 4094,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "trunks" : {
+                                                   "description" : "VLAN trunks to pass through this interface.",
+                                                   "format_description" : "vlanid[;vlanid...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
+                                                },
+                                                "virtio" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                },
+                                                "vmxnet3" : {
+                                                   "alias" : "macaddr",
+                                                   "keyAlias" : "model"
+                                                }
                                              },
-                                             "snaptime" : {
-                                                "description" : "Snapshot creation time",
-                                                "optional" : 1,
-                                                "renderer" : "timestamp",
-                                                "type" : "integer"
-                                             }
-                                          },
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{name}",
-                                             "rel" : "child"
-                                          }
-                                       ],
-                                       "type" : "array"
-                                    }
-                                 },
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Snapshot a container.",
-                                    "method" : "POST",
-                                    "name" : "snapshot",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "description" : {
-                                             "description" : "A textual description or comment.",
                                              "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,mtu=<integer>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -27963,2012 +22313,1462 @@ const apiSchema = [
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "snapname" : {
-                                             "description" : "The name of the snapshot.",
-                                             "format" : "pve-configid",
-                                             "maxLength" : 40,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "numa" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable NUMA.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Snapshot"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/lxc/{vmid}/snapshot",
-                              "text" : "snapshot"
-                           },
-                           {
-                              "children" : [
-                                 {
-                                    "children" : [
-                                       {
-                                          "info" : {
-                                             "DELETE" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Delete rule.",
-                                                "method" : "DELETE",
-                                                "name" : "delete_rule",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "digest" : {
-                                                         "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                         "maxLength" : 40,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "pos" : {
-                                                         "description" : "Update rule at position <pos>.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
-                                                },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
+                                          "numa[n]" : {
+                                             "description" : "NUMA topology.",
+                                             "format" : {
+                                                "cpus" : {
+                                                   "description" : "CPUs accessing this NUMA node.",
+                                                   "format_description" : "id[-id];...",
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
                                                 },
-                                                "protected" : 1,
-                                                "proxyto" : null,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             },
-                                             "GET" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Get single rule data.",
-                                                "method" : "GET",
-                                                "name" : "get_rule",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "pos" : {
-                                                         "description" : "Update rule at position <pos>.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                                "hostnodes" : {
+                                                   "description" : "Host NUMA nodes to use.",
+                                                   "format_description" : "id[-id];...",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                                   "type" : "string"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Audit"
-                                                      ]
-                                                   ]
+                                                "memory" : {
+                                                   "description" : "Amount of memory this NUMA node provides.",
+                                                   "optional" : 1,
+                                                   "type" : "number"
                                                 },
-                                                "proxyto" : null,
-                                                "returns" : {
-                                                   "properties" : {
-                                                      "action" : {
-                                                         "type" : "string"
-                                                      },
-                                                      "comment" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "dest" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "dport" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "enable" : {
-                                                         "optional" : 1,
-                                                         "type" : "integer"
-                                                      },
-                                                      "icmp-type" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "iface" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "ipversion" : {
-                                                         "optional" : 1,
-                                                         "type" : "integer"
-                                                      },
-                                                      "log" : {
-                                                         "description" : "Log level for firewall rule",
-                                                         "enum" : [
-                                                            "emerg",
-                                                            "alert",
-                                                            "crit",
-                                                            "err",
-                                                            "warning",
-                                                            "notice",
-                                                            "info",
-                                                            "debug",
-                                                            "nolog"
-                                                         ],
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "macro" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "pos" : {
-                                                         "type" : "integer"
-                                                      },
-                                                      "proto" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "source" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "sport" : {
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "type" : {
-                                                         "type" : "string"
-                                                      }
-                                                   },
-                                                   "type" : "object"
+                                                "policy" : {
+                                                   "description" : "NUMA allocation policy.",
+                                                   "enum" : [
+                                                      "preferred",
+                                                      "bind",
+                                                      "interleave"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 }
                                              },
-                                             "PUT" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Modify rule data.",
-                                                "method" : "PUT",
-                                                "name" : "update_rule",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "action" : {
-                                                         "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
-                                                         "maxLength" : 20,
-                                                         "minLength" : 2,
-                                                         "optional" : 1,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "comment" : {
-                                                         "description" : "Descriptive comment.",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "delete" : {
-                                                         "description" : "A list of settings you want to delete.",
-                                                         "format" : "pve-configid-list",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "dest" : {
-                                                         "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                                         "format" : "pve-fw-addr-spec",
-                                                         "maxLength" : 512,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "digest" : {
-                                                         "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                         "maxLength" : 40,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "dport" : {
-                                                         "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                                         "format" : "pve-fw-dport-spec",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "enable" : {
-                                                         "description" : "Flag to enable/disable a rule.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "icmp-type" : {
-                                                         "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
-                                                         "format" : "pve-fw-icmp-type-spec",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "iface" : {
-                                                         "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
-                                                         "format" : "pve-iface",
-                                                         "maxLength" : 20,
-                                                         "minLength" : 2,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "log" : {
-                                                         "description" : "Log level for firewall rule.",
-                                                         "enum" : [
-                                                            "emerg",
-                                                            "alert",
-                                                            "crit",
-                                                            "err",
-                                                            "warning",
-                                                            "notice",
-                                                            "info",
-                                                            "debug",
-                                                            "nolog"
-                                                         ],
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "macro" : {
-                                                         "description" : "Use predefined standard macro.",
-                                                         "maxLength" : 128,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "moveto" : {
-                                                         "description" : "Move rule to new position <moveto>. Other arguments are ignored.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "pos" : {
-                                                         "description" : "Update rule at position <pos>.",
-                                                         "minimum" : 0,
-                                                         "optional" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (0 - N)"
-                                                      },
-                                                      "proto" : {
-                                                         "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
-                                                         "format" : "pve-fw-protocol-spec",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "source" : {
-                                                         "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                                         "format" : "pve-fw-addr-spec",
-                                                         "maxLength" : 512,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "sport" : {
-                                                         "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                                         "format" : "pve-fw-sport-spec",
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "type" : {
-                                                         "description" : "Rule type.",
-                                                         "enum" : [
-                                                            "in",
-                                                            "out",
-                                                            "group"
-                                                         ],
-                                                         "optional" : 1,
-                                                         "type" : "string"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]"
+                                          },
+                                          "onboot" : {
+                                             "default" : 0,
+                                             "description" : "Specifies whether a VM will be started during system bootup.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "ostype" : {
+                                             "description" : "Specify guest operating system.",
+                                             "enum" : [
+                                                "other",
+                                                "wxp",
+                                                "w2k",
+                                                "w2k3",
+                                                "w2k8",
+                                                "wvista",
+                                                "win7",
+                                                "win8",
+                                                "win10",
+                                                "win11",
+                                                "l24",
+                                                "l26",
+                                                "solaris"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "verbose_description" : "Specify guest operating system. This is used to enable special\noptimization/features for specific operating systems:\n\n[horizontal]\nother;; unspecified OS\nwxp;; Microsoft Windows XP\nw2k;; Microsoft Windows 2000\nw2k3;; Microsoft Windows 2003\nw2k8;; Microsoft Windows 2008\nwvista;; Microsoft Windows Vista\nwin7;; Microsoft Windows 7\nwin8;; Microsoft Windows 8/2012/2012r2\nwin10;; Microsoft Windows 10/2016/2019\nwin11;; Microsoft Windows 11/2022/2025\nl24;; Linux 2.4 Kernel\nl26;; Linux 2.6 - 6.X Kernel\nsolaris;; Solaris/OpenSolaris/OpenIndiania kernel\n"
+                                          },
+                                          "parallel[n]" : {
+                                             "description" : "Map host parallel devices (n is 0 to 2).",
+                                             "optional" : 1,
+                                             "pattern" : "/dev/parport\\d+|/dev/usb/lp\\d+",
+                                             "type" : "string",
+                                             "verbose_description" : "Map host parallel devices (n is 0 to 2).\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                          },
+                                          "protection" : {
+                                             "default" : 0,
+                                             "description" : "Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "reboot" : {
+                                             "default" : 1,
+                                             "description" : "Allow reboot. If set to '0' the VM exit on reboot.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "revert" : {
+                                             "description" : "Revert a pending change.",
+                                             "format" : "pve-configid-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "rng0" : {
+                                             "description" : "Configure a VirtIO-based Random Number Generator.",
+                                             "format" : {
+                                                "max_bytes" : {
+                                                   "default" : 1024,
+                                                   "description" : "Maximum bytes of entropy allowed to get injected into the guest every 'period' milliseconds. Prefer a lower value when using '/dev/random' as source. Use `0` to disable limiting (potentially dangerous!).",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
+                                                "period" : {
+                                                   "default" : 1000,
+                                                   "description" : "Every 'period' milliseconds the entropy-injection quota is reset, allowing the guest to retrieve another 'max_bytes' of entropy.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "protected" : 1,
-                                                "proxyto" : null,
-                                                "returns" : {
-                                                   "type" : "null"
+                                                "source" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The file on the host to gather entropy from. In most cases '/dev/urandom' should be preferred over '/dev/random' to avoid entropy-starvation issues on the host. Using urandom does *not* decrease security in any meaningful way, as it's still seeded from real entropy, and the bytes provided will most likely be mixed with real entropy on the guest as well. '/dev/hwrng' can be used to pass through a hardware RNG from the host.",
+                                                   "enum" : [
+                                                      "/dev/urandom",
+                                                      "/dev/random",
+                                                      "/dev/hwrng"
+                                                   ],
+                                                   "type" : "string"
                                                 }
-                                             }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[source=]</dev/urandom|/dev/random|/dev/hwrng> [,max_bytes=<integer>] [,period=<integer>]"
                                           },
-                                          "leaf" : 1,
-                                          "path" : "/nodes/{node}/lxc/{vmid}/firewall/rules/{pos}",
-                                          "text" : "{pos}"
-                                       }
-                                    ],
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "List rules.",
-                                          "method" : "GET",
-                                          "name" : "get_rules",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                          "sata[n]" : {
+                                             "description" : "Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
                                                    "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
-                                          },
-                                          "proxyto" : null,
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "pos" : {
-                                                      "type" : "integer"
-                                                   }
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "type" : "object"
-                                             },
-                                             "links" : [
-                                                {
-                                                   "href" : "{pos}",
-                                                   "rel" : "child"
-                                                }
-                                             ],
-                                             "type" : "array"
-                                          }
-                                       },
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Create new rule.",
-                                          "method" : "POST",
-                                          "name" : "create_rule",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "action" : {
-                                                   "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
-                                                   "maxLength" : 20,
-                                                   "minLength" : 2,
-                                                   "optional" : 0,
-                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                   "type" : "string"
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "comment" : {
-                                                   "description" : "Descriptive comment.",
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "dest" : {
-                                                   "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                                   "format" : "pve-fw-addr-spec",
-                                                   "maxLength" : 512,
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "digest" : {
-                                                   "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                   "maxLength" : 40,
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "dport" : {
-                                                   "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                                   "format" : "pve-fw-dport-spec",
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "string"
                                                 },
-                                                "enable" : {
-                                                   "description" : "Flag to enable/disable a rule.",
-                                                   "minimum" : 0,
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
+                                                   "type" : "integer"
                                                 },
-                                                "icmp-type" : {
-                                                   "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
-                                                   "format" : "pve-fw-icmp-type-spec",
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "boolean"
                                                 },
-                                                "iface" : {
-                                                   "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
-                                                   "format" : "pve-iface",
-                                                   "maxLength" : 20,
-                                                   "minLength" : 2,
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "string"
                                                 },
-                                                "log" : {
-                                                   "description" : "Log level for firewall rule.",
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
                                                    "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "macro" : {
-                                                   "description" : "Use predefined standard macro.",
-                                                   "maxLength" : 128,
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "pos" : {
-                                                   "description" : "Update rule at position <pos>.",
-                                                   "minimum" : 0,
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
+                                                   "type" : "integer"
                                                 },
-                                                "proto" : {
-                                                   "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
-                                                   "format" : "pve-fw-protocol-spec",
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "source" : {
-                                                   "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
-                                                   "format" : "pve-fw-addr-spec",
-                                                   "maxLength" : 512,
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "sport" : {
-                                                   "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
-                                                   "format" : "pve-fw-sport-spec",
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "type" : {
-                                                   "description" : "Rule type.",
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
                                                    "enum" : [
-                                                      "in",
-                                                      "out",
-                                                      "group"
+                                                      "cdrom",
+                                                      "disk"
                                                    ],
-                                                   "optional" : 0,
+                                                   "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Config.Network"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : null,
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 0,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/rules",
-                                    "text" : "rules"
-                                 },
-                                 {
-                                    "children" : [
-                                       {
-                                          "info" : {
-                                             "DELETE" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Remove IP or Network alias.",
-                                                "method" : "DELETE",
-                                                "name" : "remove_alias",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "digest" : {
-                                                         "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                         "maxLength" : 40,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "Alias name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "protected" : 1,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             },
-                                             "GET" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Read alias.",
-                                                "method" : "GET",
-                                                "name" : "read_alias",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "name" : {
-                                                         "description" : "Alias name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Audit"
-                                                      ]
-                                                   ]
+                                                "volume" : {
+                                                   "alias" : "file"
                                                 },
-                                                "returns" : {
-                                                   "type" : "object"
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
                                                 }
                                              },
-                                             "PUT" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Update IP or Network alias.",
-                                                "method" : "PUT",
-                                                "name" : "update_alias",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "cidr" : {
-                                                         "description" : "Network/IP specification in CIDR format.",
-                                                         "format" : "IPorCIDR",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "comment" : {
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "digest" : {
-                                                         "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                         "maxLength" : 40,
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "Alias name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "rename" : {
-                                                         "description" : "Rename an existing alias.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "optional" : 1,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
+                                          },
+                                          "scsi[n]" : {
+                                             "description" : "Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
+                                                   "enum" : [
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
                                                 },
-                                                "protected" : 1,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             }
-                                          },
-                                          "leaf" : 1,
-                                          "path" : "/nodes/{node}/lxc/{vmid}/firewall/aliases/{name}",
-                                          "text" : "{name}"
-                                       }
-                                    ],
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "List aliases",
-                                          "method" : "GET",
-                                          "name" : "get_aliases",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
                                                    "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
-                                          },
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "cidr" : {
-                                                      "type" : "string"
-                                                   },
-                                                   "comment" : {
-                                                      "optional" : 1,
-                                                      "type" : "string"
-                                                   },
-                                                   "digest" : {
-                                                      "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                      "maxLength" : 40,
-                                                      "optional" : 0,
-                                                      "type" : "string"
-                                                   },
-                                                   "name" : {
-                                                      "type" : "string"
-                                                   }
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "type" : "object"
-                                             },
-                                             "links" : [
-                                                {
-                                                   "href" : "{name}",
-                                                   "rel" : "child"
-                                                }
-                                             ],
-                                             "type" : "array"
-                                          }
-                                       },
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Create IP or Network Alias.",
-                                          "method" : "POST",
-                                          "name" : "create_alias",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "cidr" : {
-                                                   "description" : "Network/IP specification in CIDR format.",
-                                                   "format" : "IPorCIDR",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "comment" : {
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "integer"
                                                 },
-                                                "name" : {
-                                                   "description" : "Alias name.",
-                                                   "maxLength" : 64,
-                                                   "minLength" : 2,
-                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                   "type" : "string"
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
                                                    "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Config.Network"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 0,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/aliases",
-                                    "text" : "aliases"
-                                 },
-                                 {
-                                    "children" : [
-                                       {
-                                          "children" : [
-                                             {
-                                                "info" : {
-                                                   "DELETE" : {
-                                                      "allowtoken" : 1,
-                                                      "description" : "Remove IP or Network from IPSet.",
-                                                      "method" : "DELETE",
-                                                      "name" : "remove_ip",
-                                                      "parameters" : {
-                                                         "additionalProperties" : 0,
-                                                         "properties" : {
-                                                            "cidr" : {
-                                                               "description" : "Network/IP specification in CIDR format.",
-                                                               "format" : "IPorCIDRorAlias",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "digest" : {
-                                                               "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                               "maxLength" : 40,
-                                                               "optional" : 1,
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "name" : {
-                                                               "description" : "IP set name.",
-                                                               "maxLength" : 64,
-                                                               "minLength" : 2,
-                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                               "type" : "string"
-                                                            },
-                                                            "node" : {
-                                                               "description" : "The cluster node name.",
-                                                               "format" : "pve-node",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "vmid" : {
-                                                               "description" : "The (unique) ID of the VM.",
-                                                               "format" : "pve-vmid",
-                                                               "minimum" : 1,
-                                                               "type" : "integer",
-                                                               "typetext" : "<integer> (1 - N)"
-                                                            }
-                                                         }
-                                                      },
-                                                      "permissions" : {
-                                                         "check" : [
-                                                            "perm",
-                                                            "/vms/{vmid}",
-                                                            [
-                                                               "VM.Config.Network"
-                                                            ]
-                                                         ]
-                                                      },
-                                                      "protected" : 1,
-                                                      "returns" : {
-                                                         "type" : "null"
-                                                      }
-                                                   },
-                                                   "GET" : {
-                                                      "allowtoken" : 1,
-                                                      "description" : "Read IP or Network settings from IPSet.",
-                                                      "method" : "GET",
-                                                      "name" : "read_ip",
-                                                      "parameters" : {
-                                                         "additionalProperties" : 0,
-                                                         "properties" : {
-                                                            "cidr" : {
-                                                               "description" : "Network/IP specification in CIDR format.",
-                                                               "format" : "IPorCIDRorAlias",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "name" : {
-                                                               "description" : "IP set name.",
-                                                               "maxLength" : 64,
-                                                               "minLength" : 2,
-                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                               "type" : "string"
-                                                            },
-                                                            "node" : {
-                                                               "description" : "The cluster node name.",
-                                                               "format" : "pve-node",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "vmid" : {
-                                                               "description" : "The (unique) ID of the VM.",
-                                                               "format" : "pve-vmid",
-                                                               "minimum" : 1,
-                                                               "type" : "integer",
-                                                               "typetext" : "<integer> (1 - N)"
-                                                            }
-                                                         }
-                                                      },
-                                                      "permissions" : {
-                                                         "check" : [
-                                                            "perm",
-                                                            "/vms/{vmid}",
-                                                            [
-                                                               "VM.Audit"
-                                                            ]
-                                                         ]
-                                                      },
-                                                      "protected" : 1,
-                                                      "returns" : {
-                                                         "type" : "object"
-                                                      }
-                                                   },
-                                                   "PUT" : {
-                                                      "allowtoken" : 1,
-                                                      "description" : "Update IP or Network settings",
-                                                      "method" : "PUT",
-                                                      "name" : "update_ip",
-                                                      "parameters" : {
-                                                         "additionalProperties" : 0,
-                                                         "properties" : {
-                                                            "cidr" : {
-                                                               "description" : "Network/IP specification in CIDR format.",
-                                                               "format" : "IPorCIDRorAlias",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "comment" : {
-                                                               "optional" : 1,
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "digest" : {
-                                                               "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                               "maxLength" : 40,
-                                                               "optional" : 1,
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "name" : {
-                                                               "description" : "IP set name.",
-                                                               "maxLength" : 64,
-                                                               "minLength" : 2,
-                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                               "type" : "string"
-                                                            },
-                                                            "node" : {
-                                                               "description" : "The cluster node name.",
-                                                               "format" : "pve-node",
-                                                               "type" : "string",
-                                                               "typetext" : "<string>"
-                                                            },
-                                                            "nomatch" : {
-                                                               "optional" : 1,
-                                                               "type" : "boolean",
-                                                               "typetext" : "<boolean>"
-                                                            },
-                                                            "vmid" : {
-                                                               "description" : "The (unique) ID of the VM.",
-                                                               "format" : "pve-vmid",
-                                                               "minimum" : 1,
-                                                               "type" : "integer",
-                                                               "typetext" : "<integer> (1 - N)"
-                                                            }
-                                                         }
-                                                      },
-                                                      "permissions" : {
-                                                         "check" : [
-                                                            "perm",
-                                                            "/vms/{vmid}",
-                                                            [
-                                                               "VM.Config.Network"
-                                                            ]
-                                                         ]
-                                                      },
-                                                      "protected" : 1,
-                                                      "returns" : {
-                                                         "type" : "null"
-                                                      }
-                                                   }
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "on"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
+                                                   "enum" : [
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "leaf" : 1,
-                                                "path" : "/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}/{cidr}",
-                                                "text" : "{cidr}"
-                                             }
-                                          ],
-                                          "info" : {
-                                             "DELETE" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Delete IPSet",
-                                                "method" : "DELETE",
-                                                "name" : "delete_ipset",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "force" : {
-                                                         "description" : "Delete all members of the IPSet, if there are any.",
-                                                         "optional" : 1,
-                                                         "type" : "boolean",
-                                                         "typetext" : "<boolean>"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "IP set name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "protected" : 1,
-                                                "returns" : {
-                                                   "type" : "null"
-                                                }
-                                             },
-                                             "GET" : {
-                                                "allowtoken" : 1,
-                                                "description" : "List IPSet content",
-                                                "method" : "GET",
-                                                "name" : "get_ipset",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "name" : {
-                                                         "description" : "IP set name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Audit"
-                                                      ]
-                                                   ]
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
                                                 },
-                                                "returns" : {
-                                                   "items" : {
-                                                      "properties" : {
-                                                         "cidr" : {
-                                                            "type" : "string"
-                                                         },
-                                                         "comment" : {
-                                                            "optional" : 1,
-                                                            "type" : "string"
-                                                         },
-                                                         "digest" : {
-                                                            "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                            "maxLength" : 40,
-                                                            "optional" : 0,
-                                                            "type" : "string"
-                                                         },
-                                                         "nomatch" : {
-                                                            "optional" : 1,
-                                                            "type" : "boolean"
-                                                         }
-                                                      },
-                                                      "type" : "object"
-                                                   },
-                                                   "links" : [
-                                                      {
-                                                         "href" : "{cidr}",
-                                                         "rel" : "child"
-                                                      }
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iothread" : {
+                                                   "description" : "Whether to use iothreads for this drive",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
+                                                   "enum" : [
+                                                      "cdrom",
+                                                      "disk"
                                                    ],
-                                                   "type" : "array"
-                                                }
-                                             },
-                                             "POST" : {
-                                                "allowtoken" : 1,
-                                                "description" : "Add IP or Network to IPSet.",
-                                                "method" : "POST",
-                                                "name" : "create_ip",
-                                                "parameters" : {
-                                                   "additionalProperties" : 0,
-                                                   "properties" : {
-                                                      "cidr" : {
-                                                         "description" : "Network/IP specification in CIDR format.",
-                                                         "format" : "IPorCIDRorAlias",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "comment" : {
-                                                         "optional" : 1,
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "name" : {
-                                                         "description" : "IP set name.",
-                                                         "maxLength" : 64,
-                                                         "minLength" : 2,
-                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                         "type" : "string"
-                                                      },
-                                                      "node" : {
-                                                         "description" : "The cluster node name.",
-                                                         "format" : "pve-node",
-                                                         "type" : "string",
-                                                         "typetext" : "<string>"
-                                                      },
-                                                      "nomatch" : {
-                                                         "optional" : 1,
-                                                         "type" : "boolean",
-                                                         "typetext" : "<boolean>"
-                                                      },
-                                                      "vmid" : {
-                                                         "description" : "The (unique) ID of the VM.",
-                                                         "format" : "pve-vmid",
-                                                         "minimum" : 1,
-                                                         "type" : "integer",
-                                                         "typetext" : "<integer> (1 - N)"
-                                                      }
-                                                   }
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "permissions" : {
-                                                   "check" : [
-                                                      "perm",
-                                                      "/vms/{vmid}",
-                                                      [
-                                                         "VM.Config.Network"
-                                                      ]
-                                                   ]
+                                                "product" : {
+                                                   "description" : "The drive's product name, up to 16 bytes long.",
+                                                   "format_description" : "product",
+                                                   "optional" : 1,
+                                                   "pattern" : "[A-Za-z0-9\\-_\\s]{,16}",
+                                                   "type" : "string"
                                                 },
-                                                "protected" : 1,
-                                                "returns" : {
-                                                   "type" : "null"
+                                                "queues" : {
+                                                   "description" : "Number of queues.",
+                                                   "minimum" : 2,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Whether the drive should considered for replication jobs.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
+                                                   "enum" : [
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "ro" : {
+                                                   "description" : "Whether the drive is read-only.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "scsiblock" : {
+                                                   "default" : 0,
+                                                   "description" : "whether to use scsi-block for full passthrough of host block device\n\nWARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ssd" : {
+                                                   "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "vendor" : {
+                                                   "description" : "The drive's vendor name, up to 8 bytes long.",
+                                                   "format_description" : "vendor",
+                                                   "optional" : 1,
+                                                   "pattern" : "[A-Za-z0-9\\-_\\s]{,8}",
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "alias" : "file"
+                                                },
+                                                "werror" : {
+                                                   "description" : "Write error action.",
+                                                   "enum" : [
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "wwn" : {
+                                                   "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                                   "format_description" : "wwn",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                                   "type" : "string"
                                                 }
-                                             }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,product=<product>] [,queues=<integer>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,vendor=<vendor>] [,werror=<enum>] [,wwn=<wwn>]"
                                           },
-                                          "leaf" : 0,
-                                          "path" : "/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}",
-                                          "text" : "{name}"
-                                       }
-                                    ],
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "List IPSets",
-                                          "method" : "GET",
-                                          "name" : "ipset_index",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                          "scsihw" : {
+                                             "default" : "lsi",
+                                             "description" : "SCSI controller model",
+                                             "enum" : [
+                                                "lsi",
+                                                "lsi53c810",
+                                                "virtio-scsi-pci",
+                                                "virtio-scsi-single",
+                                                "megasas",
+                                                "pvscsi"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "searchdomain" : {
+                                             "description" : "cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "serial[n]" : {
+                                             "description" : "Create a serial device inside the VM (n is 0 to 3)",
+                                             "optional" : 1,
+                                             "pattern" : "(/dev/.+|socket)",
+                                             "type" : "string",
+                                             "verbose_description" : "Create a serial device inside the VM (n is 0 to 3), and pass through a\nhost serial device (i.e. /dev/ttyS0), or create a unix socket on the\nhost side (use 'qm terminal' to open a terminal connection).\n\nNOTE: If you pass through a host serial device, it is no longer possible to migrate such machines -\nuse with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                                          },
+                                          "shares" : {
+                                             "default" : 1000,
+                                             "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
+                                             "maximum" : 50000,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - 50000)"
+                                          },
+                                          "skiplock" : {
+                                             "description" : "Ignore locks - only root is allowed to use this option.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "smbios1" : {
+                                             "description" : "Specify SMBIOS type 1 fields.",
+                                             "format" : "pve-qm-smbios1",
+                                             "maxLength" : 512,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]"
+                                          },
+                                          "smp" : {
+                                             "default" : 1,
+                                             "description" : "The number of CPUs. Please use option -sockets instead.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - N)"
+                                          },
+                                          "sockets" : {
+                                             "default" : 1,
+                                             "description" : "The number of CPU sockets.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - N)"
+                                          },
+                                          "spice_enhancements" : {
+                                             "description" : "Configure additional enhancements for SPICE.",
+                                             "format" : {
+                                                "foldersharing" : {
+                                                   "default" : "0",
+                                                   "description" : "Enable folder sharing via SPICE. Needs Spice-WebDAV daemon installed in the VM.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
+                                                "videostreaming" : {
+                                                   "default" : "off",
+                                                   "description" : "Enable video streaming. Uses compression for detected video streams.",
+                                                   "enum" : [
+                                                      "off",
+                                                      "all",
+                                                      "filter"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 }
-                                             }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[foldersharing=<1|0>] [,videostreaming=<off|all|filter>]"
+                                          },
+                                          "sshkeys" : {
+                                             "description" : "cloud-init: Setup public SSH keys (one key per line, OpenSSH format).",
+                                             "format" : "urlencoded",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "startdate" : {
+                                             "default" : "now",
+                                             "description" : "Set the initial date of the real time clock. Valid format for date are:'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
+                                             "optional" : 1,
+                                             "pattern" : "(now|\\d{4}-\\d{1,2}-\\d{1,2}(T\\d{1,2}:\\d{1,2}:\\d{1,2})?)",
+                                             "type" : "string",
+                                             "typetext" : "(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)"
+                                          },
+                                          "startup" : {
+                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
+                                             "format" : "pve-startup-order",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
                                           },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
+                                          "tablet" : {
+                                             "default" : 1,
+                                             "description" : "Enable/disable the USB tablet device.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>",
+                                             "verbose_description" : "Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (`qm set <vmid> --vga qxl`)."
                                           },
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "comment" : {
-                                                      "optional" : 1,
-                                                      "type" : "string"
-                                                   },
-                                                   "digest" : {
-                                                      "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                      "maxLength" : 40,
-                                                      "optional" : 0,
-                                                      "type" : "string"
-                                                   },
-                                                   "name" : {
-                                                      "description" : "IP set name.",
-                                                      "maxLength" : 64,
-                                                      "minLength" : 2,
-                                                      "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
-                                                      "type" : "string"
-                                                   }
+                                          "tags" : {
+                                             "description" : "Tags of the VM. This is only meta information.",
+                                             "format" : "pve-tag-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "tdf" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable time drift fix.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "template" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable Template.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "tpmstate0" : {
+                                             "description" : "Configure a Disk for storing TPM state. The format is fixed to 'raw'. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                             "format" : {
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
                                                 },
-                                                "type" : "object"
-                                             },
-                                             "links" : [
-                                                {
-                                                   "href" : "{name}",
-                                                   "rel" : "child"
-                                                }
-                                             ],
-                                             "type" : "array"
-                                          }
-                                       },
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Create new IPSet",
-                                          "method" : "POST",
-                                          "name" : "create_ipset",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "comment" : {
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "string"
                                                 },
-                                                "digest" : {
-                                                   "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                   "maxLength" : 40,
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "name" : {
-                                                   "description" : "IP set name.",
-                                                   "maxLength" : 64,
-                                                   "minLength" : 2,
-                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
                                                    "type" : "string"
                                                 },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "rename" : {
-                                                   "description" : "Rename an existing IPSet. You can set 'rename' to the same value as 'name' to update the 'comment' of an existing IPSet.",
-                                                   "maxLength" : 64,
-                                                   "minLength" : 2,
+                                                "version" : {
+                                                   "default" : "v2.0",
+                                                   "description" : "The TPM interface version. v2.0 is newer and should be preferred. Note that this cannot be changed later on.",
+                                                   "enum" : [
+                                                      "v1.2",
+                                                      "v2.0"
+                                                   ],
                                                    "optional" : 1,
-                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
                                                    "type" : "string"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
+                                                "volume" : {
+                                                   "alias" : "file"
                                                 }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Config.Network"
-                                                ]
-                                             ]
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume> [,import-from=<source volume>] [,size=<DiskSize>] [,version=<v1.2|v2.0>]"
                                           },
-                                          "protected" : 1,
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 0,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/ipset",
-                                    "text" : "ipset"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Get VM firewall options.",
-                                          "method" : "GET",
-                                          "name" : "get_options",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                          "unused[n]" : {
+                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
+                                             "format" : {
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
+                                                "volume" : {
+                                                   "alias" : "file"
                                                 }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[file=]<volume>"
                                           },
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "dhcp" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable DHCP.",
+                                          "usb[n]" : {
+                                             "description" : "Configure an USB device (n is 0 to 4, for machine version >= 7.1 and ostype l26 or windows > 7, n can be up to 14).",
+                                             "format" : {
+                                                "host" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:\n\n 'bus-port(.port)*' (decimal numbers) or\n 'vendor_id:product_id' (hexadeciaml numbers) or\n 'spice'\n\nYou can use the 'lsusb -t' command to list existing usb devices.\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nThe value 'spice' can be used to add a usb redirection devices for spice.\n\nEither this or the 'mapping' key must be set.\n",
+                                                   "format_description" : "HOSTUSBDEVICE|spice",
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "pattern" : "(?^:(?:(?:(?^:(0x)?([0-9A-Fa-f]{4}):(0x)?([0-9A-Fa-f]{4})))|(?:(?^:(\\d+)\\-(\\d+(\\.\\d+)*)))|[Ss][Pp][Ii][Cc][Ee]))",
+                                                   "type" : "string"
                                                 },
-                                                "enable" : {
+                                                "mapping" : {
+                                                   "description" : "The ID of a cluster wide mapping. Either this or the default-key 'host' must be set.",
+                                                   "format" : "pve-configid",
+                                                   "format_description" : "mapping-id",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "usb3" : {
                                                    "default" : 0,
-                                                   "description" : "Enable/disable firewall rules.",
+                                                   "description" : "Specifies whether if given host option is a USB3 device or port. For modern guests (machine version >= 7.1 and ostype l26 and windows > 7), this flag is irrelevant (all devices are plugged into a xhci controller).",
                                                    "optional" : 1,
                                                    "type" : "boolean"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[host=]<HOSTUSBDEVICE|spice>] [,mapping=<mapping-id>] [,usb3=<1|0>]"
+                                          },
+                                          "vcpus" : {
+                                             "default" : 0,
+                                             "description" : "Number of hotplugged vcpus.",
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - N)"
+                                          },
+                                          "vga" : {
+                                             "description" : "Configure the VGA hardware.",
+                                             "format" : {
+                                                "clipboard" : {
+                                                   "description" : "Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added. Migration with VNC clipboard is not yet supported!",
+                                                   "enum" : [
+                                                      "vnc"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "ipfilter" : {
-                                                   "description" : "Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface's MAC address. For containers the configured IP addresses will be implicitly added.",
+                                                "memory" : {
+                                                   "description" : "Sets the VGA memory (in MiB). Has no effect with serial display.",
+                                                   "maximum" : 512,
+                                                   "minimum" : 4,
                                                    "optional" : 1,
-                                                   "type" : "boolean"
+                                                   "type" : "integer"
                                                 },
-                                                "log_level_in" : {
-                                                   "description" : "Log level for incoming traffic.",
+                                                "type" : {
+                                                   "default" : "std",
+                                                   "default_key" : 1,
+                                                   "description" : "Select the VGA type.",
                                                    "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
+                                                      "cirrus",
+                                                      "qxl",
+                                                      "qxl2",
+                                                      "qxl3",
+                                                      "qxl4",
+                                                      "none",
+                                                      "serial0",
+                                                      "serial1",
+                                                      "serial2",
+                                                      "serial3",
+                                                      "std",
+                                                      "virtio",
+                                                      "virtio-gl",
+                                                      "vmware"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
-                                                },
-                                                "log_level_out" : {
-                                                   "description" : "Log level for outgoing traffic.",
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[type=]<enum>] [,clipboard=<vnc>] [,memory=<integer>]",
+                                             "verbose_description" : "Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.\nYou can also run without any graphic card, using a serial device as terminal."
+                                          },
+                                          "virtio[n]" : {
+                                             "description" : "Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                             "format" : {
+                                                "aio" : {
+                                                   "description" : "AIO type to use.",
                                                    "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
+                                                      "native",
+                                                      "threads",
+                                                      "io_uring"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "macfilter" : {
-                                                   "default" : 1,
-                                                   "description" : "Enable/disable MAC address filter.",
+                                                "backup" : {
+                                                   "description" : "Whether the drive should be included when making backups.",
                                                    "optional" : 1,
                                                    "type" : "boolean"
                                                 },
-                                                "ndp" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable NDP (Neighbor Discovery Protocol).",
+                                                "bps" : {
+                                                   "description" : "Maximum r/w speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd" : {
+                                                   "description" : "Maximum read speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_rd_length" : {
+                                                   "alias" : "bps_rd_max_length"
+                                                },
+                                                "bps_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr" : {
+                                                   "description" : "Maximum write speed in bytes per second.",
+                                                   "format_description" : "bps",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "bps_wr_length" : {
+                                                   "alias" : "bps_wr_max_length"
+                                                },
+                                                "bps_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "cache" : {
+                                                   "description" : "The drive's cache mode",
+                                                   "enum" : [
+                                                      "none",
+                                                      "writethrough",
+                                                      "writeback",
+                                                      "unsafe",
+                                                      "directsync"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cyls" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "detect_zeroes" : {
+                                                   "description" : "Controls whether to detect and try to optimize writes of zeroes.",
                                                    "optional" : 1,
                                                    "type" : "boolean"
                                                 },
-                                                "policy_in" : {
-                                                   "description" : "Input policy.",
+                                                "discard" : {
+                                                   "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
                                                    "enum" : [
-                                                      "ACCEPT",
-                                                      "REJECT",
-                                                      "DROP"
+                                                      "ignore",
+                                                      "on"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "policy_out" : {
-                                                   "description" : "Output policy.",
+                                                "file" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The drive's backing volume.",
+                                                   "format" : "pve-volume-id-or-qm-path",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                },
+                                                "format" : {
+                                                   "description" : "The drive's backing file's data format.",
                                                    "enum" : [
-                                                      "ACCEPT",
-                                                      "REJECT",
-                                                      "DROP"
+                                                      "raw",
+                                                      "cow",
+                                                      "qcow",
+                                                      "qed",
+                                                      "qcow2",
+                                                      "vmdk",
+                                                      "cloop"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "radv" : {
-                                                   "description" : "Allow sending Router Advertisement.",
+                                                "heads" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific head count.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "import-from" : {
+                                                   "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                                   "format" : "pve-volume-id-or-absolute-path",
+                                                   "format_description" : "source volume",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "iops" : {
+                                                   "description" : "Maximum r/w I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max" : {
+                                                   "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_max_length" : {
+                                                   "description" : "Maximum length of I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd" : {
+                                                   "description" : "Maximum read I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_length" : {
+                                                   "alias" : "iops_rd_max_length"
+                                                },
+                                                "iops_rd_max" : {
+                                                   "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_rd_max_length" : {
+                                                   "description" : "Maximum length of read I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr" : {
+                                                   "description" : "Maximum write I/O in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_length" : {
+                                                   "alias" : "iops_wr_max_length"
+                                                },
+                                                "iops_wr_max" : {
+                                                   "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                                   "format_description" : "iops",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iops_wr_max_length" : {
+                                                   "description" : "Maximum length of write I/O bursts in seconds.",
+                                                   "format_description" : "seconds",
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "iothread" : {
+                                                   "description" : "Whether to use iothreads for this drive",
                                                    "optional" : 1,
                                                    "type" : "boolean"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       },
-                                       "PUT" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Set Firewall options.",
-                                          "method" : "PUT",
-                                          "name" : "set_options",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "delete" : {
-                                                   "description" : "A list of settings you want to delete.",
-                                                   "format" : "pve-configid-list",
+                                                },
+                                                "mbps" : {
+                                                   "description" : "Maximum r/w speed in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "number"
                                                 },
-                                                "dhcp" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable DHCP.",
+                                                "mbps_max" : {
+                                                   "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
+                                                   "type" : "number"
                                                 },
-                                                "digest" : {
-                                                   "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                                   "maxLength" : 40,
+                                                "mbps_rd" : {
+                                                   "description" : "Maximum read speed in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "number"
                                                 },
-                                                "enable" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable/disable firewall rules.",
+                                                "mbps_rd_max" : {
+                                                   "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
+                                                   "type" : "number"
                                                 },
-                                                "ipfilter" : {
-                                                   "description" : "Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface's MAC address. For containers the configured IP addresses will be implicitly added.",
+                                                "mbps_wr" : {
+                                                   "description" : "Maximum write speed in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
+                                                   "type" : "number"
                                                 },
-                                                "log_level_in" : {
-                                                   "description" : "Log level for incoming traffic.",
-                                                   "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
-                                                   ],
+                                                "mbps_wr_max" : {
+                                                   "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                                   "format_description" : "mbps",
                                                    "optional" : 1,
-                                                   "type" : "string"
+                                                   "type" : "number"
                                                 },
-                                                "log_level_out" : {
-                                                   "description" : "Log level for outgoing traffic.",
+                                                "media" : {
+                                                   "default" : "disk",
+                                                   "description" : "The drive's media type.",
                                                    "enum" : [
-                                                      "emerg",
-                                                      "alert",
-                                                      "crit",
-                                                      "err",
-                                                      "warning",
-                                                      "notice",
-                                                      "info",
-                                                      "debug",
-                                                      "nolog"
+                                                      "cdrom",
+                                                      "disk"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "macfilter" : {
+                                                "replicate" : {
                                                    "default" : 1,
-                                                   "description" : "Enable/disable MAC address filter.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "ndp" : {
-                                                   "default" : 0,
-                                                   "description" : "Enable NDP (Neighbor Discovery Protocol).",
+                                                   "description" : "Whether the drive should considered for replication jobs.",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "boolean"
                                                 },
-                                                "policy_in" : {
-                                                   "description" : "Input policy.",
+                                                "rerror" : {
+                                                   "description" : "Read error action.",
                                                    "enum" : [
-                                                      "ACCEPT",
-                                                      "REJECT",
-                                                      "DROP"
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
                                                 },
-                                                "policy_out" : {
-                                                   "description" : "Output policy.",
-                                                   "enum" : [
-                                                      "ACCEPT",
-                                                      "REJECT",
-                                                      "DROP"
-                                                   ],
+                                                "ro" : {
+                                                   "description" : "Whether the drive is read-only.",
                                                    "optional" : 1,
-                                                   "type" : "string"
+                                                   "type" : "boolean"
                                                 },
-                                                "radv" : {
-                                                   "description" : "Allow sending Router Advertisement.",
+                                                "secs" : {
+                                                   "description" : "Force the drive's physical geometry to have a specific sector count.",
                                                    "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
+                                                   "type" : "integer"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Config.Network"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/options",
-                                    "text" : "options"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Read firewall log",
-                                          "method" : "GET",
-                                          "name" : "log",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "limit" : {
-                                                   "minimum" : 0,
+                                                "serial" : {
+                                                   "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                                   "format" : "urlencoded",
+                                                   "format_description" : "serial",
+                                                   "maxLength" : 60,
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "type" : "string"
                                                 },
-                                                "since" : {
-                                                   "description" : "Display log since this UNIX epoch.",
-                                                   "minimum" : 0,
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this locally-managed volume as available on all nodes",
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
                                                 },
-                                                "start" : {
-                                                   "minimum" : 0,
+                                                "size" : {
+                                                   "description" : "Disk size. This is purely informational and has no effect.",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
+                                                   "type" : "string"
                                                 },
-                                                "until" : {
-                                                   "description" : "Display log until this UNIX epoch.",
-                                                   "minimum" : 0,
+                                                "snapshot" : {
+                                                   "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
                                                    "optional" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (0 - N)"
+                                                   "type" : "boolean"
                                                 },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Console"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "n" : {
-                                                      "description" : "Line number",
-                                                      "type" : "integer"
-                                                   },
-                                                   "t" : {
-                                                      "description" : "Line text",
-                                                      "type" : "string"
-                                                   }
+                                                "trans" : {
+                                                   "description" : "Force disk geometry bios translation mode.",
+                                                   "enum" : [
+                                                      "none",
+                                                      "lba",
+                                                      "auto"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
                                                 },
-                                                "type" : "object"
-                                             },
-                                             "type" : "array"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/log",
-                                    "text" : "log"
-                                 },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Lists possible IPSet/Alias reference which are allowed in source/dest properties.",
-                                          "method" : "GET",
-                                          "name" : "refs",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                "volume" : {
+                                                   "alias" : "file"
                                                 },
-                                                "type" : {
-                                                   "description" : "Only list references of specified type.",
+                                                "werror" : {
+                                                   "description" : "Write error action.",
                                                    "enum" : [
-                                                      "alias",
-                                                      "ipset"
+                                                      "enospc",
+                                                      "ignore",
+                                                      "report",
+                                                      "stop"
                                                    ],
                                                    "optional" : 1,
                                                    "type" : "string"
-                                                },
-                                                "vmid" : {
-                                                   "description" : "The (unique) ID of the VM.",
-                                                   "format" : "pve-vmid",
-                                                   "minimum" : 1,
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer> (1 - N)"
                                                 }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/vms/{vmid}",
-                                                [
-                                                   "VM.Audit"
-                                                ]
-                                             ]
-                                          },
-                                          "returns" : {
-                                             "items" : {
-                                                "properties" : {
-                                                   "comment" : {
-                                                      "optional" : 1,
-                                                      "type" : "string"
-                                                   },
-                                                   "name" : {
-                                                      "type" : "string"
-                                                   },
-                                                   "type" : {
-                                                      "enum" : [
-                                                         "alias",
-                                                         "ipset"
-                                                      ],
-                                                      "type" : "string"
-                                                   }
-                                                },
-                                                "type" : "object"
                                              },
-                                             "type" : "array"
-                                          }
-                                       }
-                                    },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/refs",
-                                    "text" : "refs"
-                                 }
-                              ],
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Directory index.",
-                                    "method" : "GET",
-                                    "name" : "index",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "user" : "all"
-                                    },
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {},
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{name}",
-                                             "rel" : "child"
-                                          }
-                                       ],
-                                       "type" : "array"
-                                    }
-                                 }
-                              },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/lxc/{vmid}/firewall",
-                              "text" : "firewall"
-                           },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Read VM RRD statistics (returns PNG)",
-                                    "method" : "GET",
-                                    "name" : "rrd",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cf" : {
-                                             "description" : "The RRD consolidation function",
-                                             "enum" : [
-                                                "AVERAGE",
-                                                "MAX"
-                                             ],
                                              "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "ds" : {
-                                             "description" : "The list of datasources you want to display.",
-                                             "format" : "pve-configid-list",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]"
                                           },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
+                                          "vmgenid" : {
+                                             "default" : "1 (autogenerated)",
+                                             "description" : "Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.",
+                                             "format_description" : "UUID",
+                                             "optional" : 1,
+                                             "pattern" : "(?:[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}|[01])",
                                              "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "timeframe" : {
-                                             "description" : "Specify the time frame you are interested in.",
-                                             "enum" : [
-                                                "hour",
-                                                "day",
-                                                "week",
-                                                "month",
-                                                "year"
-                                             ],
-                                             "type" : "string"
+                                             "verbose_description" : "The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.\nNote that auto-creation only works when done through API/CLI create or update methods, but not when manually editing the config file."
                                           },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/vms/{vmid}",
-                                          [
-                                             "VM.Audit"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "returns" : {
-                                       "properties" : {
-                                          "filename" : {
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/rrd",
-                              "text" : "rrd"
-                           },
-                           {
-                              "info" : {
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Read VM RRD statistics",
-                                    "method" : "GET",
-                                    "name" : "rrddata",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cf" : {
-                                             "description" : "The RRD consolidation function",
-                                             "enum" : [
-                                                "AVERAGE",
-                                                "MAX"
-                                             ],
-                                             "optional" : 1,
-                                             "type" : "string"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
+                                          "vmstatestorage" : {
+                                             "description" : "Default storage for VM state volumes/files.",
+                                             "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
+                                             "optional" : 1,
                                              "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "timeframe" : {
-                                             "description" : "Specify the time frame you are interested in.",
-                                             "enum" : [
-                                                "hour",
-                                                "day",
-                                                "week",
-                                                "month",
-                                                "year"
-                                             ],
-                                             "type" : "string"
+                                             "typetext" : "<storage ID>"
                                           },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                          "watchdog" : {
+                                             "description" : "Create a virtual hardware watchdog device.",
+                                             "format" : "pve-qm-watchdog",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[model=]<i6300esb|ib700>] [,action=<enum>]",
+                                             "verbose_description" : "Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)"
                                           }
                                        }
                                     },
@@ -29977,42 +23777,40 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Audit"
-                                          ]
+                                             "VM.Config.Disk",
+                                             "VM.Config.CDROM",
+                                             "VM.Config.CPU",
+                                             "VM.Config.Memory",
+                                             "VM.Config.Network",
+                                             "VM.Config.HWType",
+                                             "VM.Config.Options",
+                                             "VM.Config.Cloudinit"
+                                          ],
+                                          "any",
+                                          1
                                        ]
                                     },
                                     "protected" : 1,
+                                    "proxyto" : "node",
                                     "returns" : {
-                                       "items" : {
-                                          "properties" : {},
-                                          "type" : "object"
-                                       },
-                                       "type" : "array"
+                                       "type" : "null"
                                     }
                                  }
                               },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/rrddata",
-                              "text" : "rrddata"
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/config",
+                              "text" : "config"
                            },
                            {
                               "info" : {
-                                 "POST" : {
+                                 "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Creates a TCP VNC proxy connections.",
-                                    "method" : "POST",
-                                    "name" : "vncproxy",
+                                    "description" : "Get the virtual machine configuration with both current and pending values.",
+                                    "method" : "GET",
+                                    "name" : "vm_pending",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "height" : {
-                                             "description" : "sets the height of the console in pixels.",
-                                             "maximum" : 2160,
-                                             "minimum" : 16,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (16 - 2160)"
-                                          },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
@@ -30022,23 +23820,10 @@ const apiSchema = [
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "websocket" : {
-                                             "description" : "use websocket instead of standard VNC.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "width" : {
-                                             "description" : "sets the width of the console in pixels.",
-                                             "maximum" : 4096,
-                                             "minimum" : 16,
-                                             "optional" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (16 - 4096)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -30047,44 +23832,109 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Console"
+                                             "VM.Audit"
                                           ]
                                        ]
                                     },
-                                    "protected" : 1,
+                                    "proxyto" : "node",
                                     "returns" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cert" : {
-                                             "type" : "string"
-                                          },
-                                          "port" : {
-                                             "type" : "integer"
-                                          },
-                                          "ticket" : {
-                                             "type" : "string"
-                                          },
-                                          "upid" : {
-                                             "type" : "string"
+                                       "items" : {
+                                          "properties" : {
+                                             "delete" : {
+                                                "description" : "Indicates a pending delete request if present and not 0. The value 2 indicates a force-delete request.",
+                                                "maximum" : 2,
+                                                "minimum" : 0,
+                                                "optional" : 1,
+                                                "type" : "integer"
+                                             },
+                                             "key" : {
+                                                "description" : "Configuration option name.",
+                                                "type" : "string"
+                                             },
+                                             "pending" : {
+                                                "description" : "Pending value.",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "value" : {
+                                                "description" : "Current value.",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             }
                                           },
-                                          "user" : {
-                                             "type" : "string"
-                                          }
-                                       }
+                                          "type" : "object"
+                                       },
+                                       "type" : "array"
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/vncproxy",
-                              "text" : "vncproxy"
+                              "path" : "/nodes/{node}/qemu/{vmid}/pending",
+                              "text" : "pending"
                            },
                            {
+                              "children" : [
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Get automatically generated cloudinit config.",
+                                          "method" : "GET",
+                                          "name" : "cloudinit_generated_config_dump",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "type" : {
+                                                   "description" : "Config type.",
+                                                   "enum" : [
+                                                      "user",
+                                                      "network",
+                                                      "meta"
+                                                   ],
+                                                   "type" : "string"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/cloudinit/dump",
+                                    "text" : "dump"
+                                 }
+                              ],
                               "info" : {
-                                 "POST" : {
+                                 "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Creates a TCP proxy connection.",
-                                    "method" : "POST",
-                                    "name" : "termproxy",
+                                    "description" : "Get the cloudinit configuration with both current and pending values.",
+                                    "method" : "GET",
+                                    "name" : "cloudinit_pending",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
@@ -30097,9 +23947,10 @@ const apiSchema = [
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -30108,41 +23959,46 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Console"
+                                             "VM.Audit"
                                           ]
                                        ]
                                     },
-                                    "protected" : 1,
+                                    "proxyto" : "node",
                                     "returns" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "port" : {
-                                             "type" : "integer"
-                                          },
-                                          "ticket" : {
-                                             "type" : "string"
-                                          },
-                                          "upid" : {
-                                             "type" : "string"
+                                       "items" : {
+                                          "properties" : {
+                                             "delete" : {
+                                                "description" : "Indicates a pending delete request if present and not 0. ",
+                                                "maximum" : 1,
+                                                "minimum" : 0,
+                                                "optional" : 1,
+                                                "type" : "integer"
+                                             },
+                                             "key" : {
+                                                "description" : "Configuration option name.",
+                                                "type" : "string"
+                                             },
+                                             "pending" : {
+                                                "description" : "The new pending value.",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "value" : {
+                                                "description" : "Value as it was used to generate the current cloudinit image.",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             }
                                           },
-                                          "user" : {
-                                             "type" : "string"
-                                          }
-                                       }
+                                          "type" : "object"
+                                       },
+                                       "type" : "array"
                                     }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/termproxy",
-                              "text" : "termproxy"
-                           },
-                           {
-                              "info" : {
-                                 "GET" : {
+                                 },
+                                 "PUT" : {
                                     "allowtoken" : 1,
-                                    "description" : "Opens a weksocket for VNC traffic.",
-                                    "method" : "GET",
-                                    "name" : "vncwebsocket",
+                                    "description" : "Regenerate and change cloudinit config drive.",
+                                    "method" : "PUT",
+                                    "name" : "cloudinit_update",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
@@ -30152,25 +24008,13 @@ const apiSchema = [
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "port" : {
-                                             "description" : "Port number returned by previous vncproxy call.",
-                                             "maximum" : 5999,
-                                             "minimum" : 5900,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (5900 - 5999)"
-                                          },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "vncticket" : {
-                                             "description" : "Ticket from previous call to vncproxy.",
-                                             "maxLength" : 512,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -30179,54 +24023,56 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Console"
+                                             "VM.Config.Cloudinit"
                                           ]
-                                       ],
-                                       "description" : "You also need to pass a valid ticket (vncticket)."
+                                       ]
                                     },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
                                     "returns" : {
-                                       "properties" : {
-                                          "port" : {
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
+                                       "type" : "null"
                                     }
                                  }
                               },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/vncwebsocket",
-                              "text" : "vncwebsocket"
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/qemu/{vmid}/cloudinit",
+                              "text" : "cloudinit"
                            },
                            {
                               "info" : {
-                                 "POST" : {
+                                 "PUT" : {
                                     "allowtoken" : 1,
-                                    "description" : "Returns a SPICE configuration to connect to the CT.",
-                                    "method" : "POST",
-                                    "name" : "spiceproxy",
+                                    "description" : "Unlink/delete disk images.",
+                                    "method" : "PUT",
+                                    "name" : "unlink",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
+                                          "force" : {
+                                             "description" : "Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called 'unused[n]', which contains the volume ID. Unlink of unused[n] always cause physical removal.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "idlist" : {
+                                             "description" : "A list of disk IDs you want to delete.",
+                                             "format" : "pve-configid-list",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "proxy" : {
-                                             "description" : "SPICE proxy server. This can be used by the client to specify the proxy server. All nodes in a cluster runs 'spiceproxy', so it is up to the client to choose one. By default, we return the node where the VM is currently running. As reasonable setting is to use same node you use to connect to the API (This is window.location.hostname for the JS GUI).",
-                                             "format" : "address",
-                                             "optional" : 1,
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -30235,60 +24081,34 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Console"
+                                             "VM.Config.Disk"
                                           ]
                                        ]
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
                                     "returns" : {
-                                       "additionalProperties" : 1,
-                                       "description" : "Returned values can be directly passed to the 'remote-viewer' application.",
-                                       "properties" : {
-                                          "host" : {
-                                             "type" : "string"
-                                          },
-                                          "password" : {
-                                             "type" : "string"
-                                          },
-                                          "proxy" : {
-                                             "type" : "string"
-                                          },
-                                          "tls-port" : {
-                                             "type" : "integer"
-                                          },
-                                          "type" : {
-                                             "type" : "string"
-                                          }
-                                       }
+                                       "type" : "null"
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/spiceproxy",
-                              "text" : "spiceproxy"
+                              "path" : "/nodes/{node}/qemu/{vmid}/unlink",
+                              "text" : "unlink"
                            },
                            {
                               "info" : {
                                  "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature!",
+                                    "description" : "Creates a TCP VNC proxy connections.",
                                     "method" : "POST",
-                                    "name" : "remote_migrate_vm",
+                                    "name" : "vncproxy",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "bwlimit" : {
-                                             "default" : "migrate limit from datacenter or storage config",
-                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                             "minimum" : "0",
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - N)"
-                                          },
-                                          "delete" : {
+                                          "generate-password" : {
                                              "default" : 0,
-                                             "description" : "Delete the original CT and related data after successful migration. By default the original CT is kept on the source cluster in a stopped state.",
+                                             "description" : "Generates a random password to be used as ticket instead of the API ticket.",
                                              "optional" : 1,
                                              "type" : "boolean",
                                              "typetext" : "<boolean>"
@@ -30299,58 +24119,19 @@ const apiSchema = [
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "online" : {
-                                             "description" : "Use online/live migration.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "restart" : {
-                                             "description" : "Use restart migration",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "target-bridge" : {
-                                             "description" : "Mapping from source to target bridges. Providing only a single bridge ID maps all source bridges to that bridge. Providing the special value '1' will map each source bridge to itself.",
-                                             "format" : "bridge-pair-list",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target-endpoint" : {
-                                             "description" : "Remote target endpoint",
-                                             "format" : "proxmox-remote",
-                                             "type" : "string",
-                                             "typetext" : "apitoken=<A full Proxmox API token including the secret value.> ,host=<Remote Proxmox hostname or IP> [,fingerprint=<Remote host's certificate fingerprint, if not trusted by system store.>] [,port=<integer>]"
-                                          },
-                                          "target-storage" : {
-                                             "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
-                                             "format" : "storage-pair-list",
-                                             "optional" : 0,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target-vmid" : {
+                                          "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "optional" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           },
-                                          "timeout" : {
-                                             "default" : 180,
-                                             "description" : "Timeout in seconds for shutdown for restart migration",
+                                          "websocket" : {
+                                             "description" : "Prepare for websocket upgrade (only required when using serial terminal, otherwise upgrade is always possible).",
                                              "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           }
                                        }
                                     },
@@ -30359,84 +24140,76 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Migrate"
+                                             "VM.Console"
                                           ]
                                        ]
                                     },
                                     "protected" : 1,
-                                    "proxyto" : "node",
                                     "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "cert" : {
+                                             "type" : "string"
+                                          },
+                                          "password" : {
+                                             "description" : "Returned if requested with 'generate-password' param. Consists of printable ASCII characters ('!' .. '~').",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "port" : {
+                                             "type" : "integer"
+                                          },
+                                          "ticket" : {
+                                             "type" : "string"
+                                          },
+                                          "upid" : {
+                                             "type" : "string"
+                                          },
+                                          "user" : {
+                                             "type" : "string"
+                                          }
+                                       }
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/remote_migrate",
-                              "text" : "remote_migrate"
+                              "path" : "/nodes/{node}/qemu/{vmid}/vncproxy",
+                              "text" : "vncproxy"
                            },
                            {
                               "info" : {
                                  "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Migrate the container to another node. Creates a new migration task.",
+                                    "description" : "Creates a TCP proxy connections.",
                                     "method" : "POST",
-                                    "name" : "migrate_vm",
+                                    "name" : "termproxy",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "bwlimit" : {
-                                             "default" : "migrate limit from datacenter or storage config",
-                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                             "minimum" : "0",
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - N)"
-                                          },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "online" : {
-                                             "description" : "Use online/live migration.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "restart" : {
-                                             "description" : "Use restart migration",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "target" : {
-                                             "description" : "Target node.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "target-storage" : {
-                                             "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
-                                             "format" : "storage-pair-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "timeout" : {
-                                             "default" : 180,
-                                             "description" : "Timeout in seconds for shutdown for restart migration",
+                                          "serial" : {
+                                             "description" : "opens a serial terminal (defaults to display)",
+                                             "enum" : [
+                                                "serial0",
+                                                "serial1",
+                                                "serial2",
+                                                "serial3"
+                                             ],
                                              "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer>"
+                                             "type" : "string"
                                           },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -30445,61 +24218,70 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Migrate"
+                                             "VM.Console"
                                           ]
                                        ]
                                     },
                                     "protected" : 1,
-                                    "proxyto" : "node",
                                     "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "port" : {
+                                             "type" : "integer"
+                                          },
+                                          "ticket" : {
+                                             "type" : "string"
+                                          },
+                                          "upid" : {
+                                             "type" : "string"
+                                          },
+                                          "user" : {
+                                             "type" : "string"
+                                          }
+                                       }
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/migrate",
-                              "text" : "migrate"
+                              "path" : "/nodes/{node}/qemu/{vmid}/termproxy",
+                              "text" : "termproxy"
                            },
                            {
                               "info" : {
                                  "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Check if feature for virtual machine is available.",
+                                    "description" : "Opens a weksocket for VNC traffic.",
                                     "method" : "GET",
-                                    "name" : "vm_feature",
+                                    "name" : "vncwebsocket",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "feature" : {
-                                             "description" : "Feature to check.",
-                                             "enum" : [
-                                                "snapshot",
-                                                "clone",
-                                                "copy"
-                                             ],
-                                             "type" : "string"
-                                          },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "snapname" : {
-                                             "description" : "The name of the snapshot.",
-                                             "format" : "pve-configid",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "port" : {
+                                             "description" : "Port number returned by previous vncproxy call.",
+                                             "maximum" : 5999,
+                                             "minimum" : 5900,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (5900 - 5999)"
                                           },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "vncticket" : {
+                                             "description" : "Ticket from previous call to vncproxy.",
+                                             "maxLength" : 512,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           }
                                        }
                                     },
@@ -30508,16 +24290,15 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Audit"
+                                             "VM.Console"
                                           ]
-                                       ]
+                                       ],
+                                       "description" : "You also need to pass a valid ticket (vncticket)."
                                     },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
                                     "returns" : {
                                        "properties" : {
-                                          "hasFeature" : {
-                                             "type" : "boolean"
+                                          "port" : {
+                                             "type" : "string"
                                           }
                                        },
                                        "type" : "object"
@@ -30525,16 +24306,16 @@ const apiSchema = [
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/feature",
-                              "text" : "feature"
+                              "path" : "/nodes/{node}/qemu/{vmid}/vncwebsocket",
+                              "text" : "vncwebsocket"
                            },
                            {
                               "info" : {
                                  "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Create a Template.",
+                                    "description" : "Returns a SPICE configuration to connect to the VM.",
                                     "method" : "POST",
-                                    "name" : "template",
+                                    "name" : "spiceproxy",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
@@ -30544,12 +24325,20 @@ const apiSchema = [
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
+                                          "proxy" : {
+                                             "description" : "SPICE proxy server. This can be used by the client to specify the proxy server. All nodes in a cluster runs 'spiceproxy', so it is up to the client to choose one. By default, we return the node where the VM is currently running. As reasonable setting is to use same node you use to connect to the API (This is window.location.hostname for the JS GUI).",
+                                             "format" : "address",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -30558,430 +24347,823 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Allocate"
+                                             "VM.Console"
                                           ]
-                                       ],
-                                       "description" : "You need 'VM.Allocate' permissions on /vms/{vmid}"
+                                       ]
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
                                     "returns" : {
-                                       "type" : "null"
+                                       "additionalProperties" : 1,
+                                       "description" : "Returned values can be directly passed to the 'remote-viewer' application.",
+                                       "properties" : {
+                                          "host" : {
+                                             "type" : "string"
+                                          },
+                                          "password" : {
+                                             "type" : "string"
+                                          },
+                                          "proxy" : {
+                                             "type" : "string"
+                                          },
+                                          "tls-port" : {
+                                             "type" : "integer"
+                                          },
+                                          "type" : {
+                                             "type" : "string"
+                                          }
+                                       }
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/template",
-                              "text" : "template"
+                              "path" : "/nodes/{node}/qemu/{vmid}/spiceproxy",
+                              "text" : "spiceproxy"
                            },
                            {
-                              "info" : {
-                                 "POST" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Create a container clone/copy",
-                                    "method" : "POST",
-                                    "name" : "clone_vm",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "bwlimit" : {
-                                             "default" : "clone limit from datacenter or storage config",
-                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                             "minimum" : "0",
-                                             "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - N)"
+                              "children" : [
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Get virtual machine status.",
+                                          "method" : "GET",
+                                          "name" : "vm_status",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
                                           },
-                                          "description" : {
-                                             "description" : "Description for the new CT.",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
                                           },
-                                          "full" : {
-                                             "description" : "Create a full copy of all disks. This is always done when you clone a normal CT. For CT templates, we try to create a linked clone by default.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "agent" : {
+                                                   "description" : "QEMU Guest Agent is enabled in config.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "clipboard" : {
+                                                   "description" : "Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added.",
+                                                   "enum" : [
+                                                      "vnc"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "cpus" : {
+                                                   "description" : "Maximum usable CPUs.",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "ha" : {
+                                                   "description" : "HA manager service status.",
+                                                   "type" : "object"
+                                                },
+                                                "lock" : {
+                                                   "description" : "The current config lock, if any.",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "maxdisk" : {
+                                                   "description" : "Root disk size in bytes.",
+                                                   "optional" : 1,
+                                                   "renderer" : "bytes",
+                                                   "type" : "integer"
+                                                },
+                                                "maxmem" : {
+                                                   "description" : "Maximum memory in bytes.",
+                                                   "optional" : 1,
+                                                   "renderer" : "bytes",
+                                                   "type" : "integer"
+                                                },
+                                                "name" : {
+                                                   "description" : "VM name.",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "pid" : {
+                                                   "description" : "PID of running qemu process.",
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "qmpstatus" : {
+                                                   "description" : "VM run state from the 'query-status' QMP monitor command.",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "running-machine" : {
+                                                   "description" : "The currently running machine type (if running).",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "running-qemu" : {
+                                                   "description" : "The currently running QEMU version (if running).",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "spice" : {
+                                                   "description" : "QEMU VGA configuration supports spice.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "status" : {
+                                                   "description" : "QEMU process status.",
+                                                   "enum" : [
+                                                      "stopped",
+                                                      "running"
+                                                   ],
+                                                   "type" : "string"
+                                                },
+                                                "tags" : {
+                                                   "description" : "The current configured tags, if any",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "uptime" : {
+                                                   "description" : "Uptime.",
+                                                   "optional" : 1,
+                                                   "renderer" : "duration",
+                                                   "type" : "integer"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/status/current",
+                                    "text" : "current"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Start virtual machine.",
+                                          "method" : "POST",
+                                          "name" : "vm_start",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "force-cpu" : {
+                                                   "description" : "Override QEMU's -cpu argument with the given string.",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "machine" : {
+                                                   "description" : "Specify the QEMU machine.",
+                                                   "format" : {
+                                                      "type" : {
+                                                         "default_key" : 1,
+                                                         "description" : "Specifies the QEMU machine type.",
+                                                         "format_description" : "machine type",
+                                                         "maxLength" : 40,
+                                                         "optional" : 1,
+                                                         "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
+                                                         "type" : "string"
+                                                      },
+                                                      "viommu" : {
+                                                         "description" : "Enable and set guest vIOMMU variant (Intel vIOMMU needs q35 to be set as machine type).",
+                                                         "enum" : [
+                                                            "intel",
+                                                            "virtio"
+                                                         ],
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      }
+                                                   },
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "[[type=]<machine type>] [,viommu=<intel|virtio>]"
+                                                },
+                                                "migratedfrom" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "migration_network" : {
+                                                   "description" : "CIDR of the (sub) network that is used for migration.",
+                                                   "format" : "CIDR",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "migration_type" : {
+                                                   "description" : "Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.",
+                                                   "enum" : [
+                                                      "secure",
+                                                      "insecure"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "skiplock" : {
+                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "stateuri" : {
+                                                   "description" : "Some command save/restore state from this location.",
+                                                   "maxLength" : 128,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "targetstorage" : {
+                                                   "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
+                                                   "format" : "storage-pair-list",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "timeout" : {
+                                                   "default" : "max(30, vm memory in GiB)",
+                                                   "description" : "Wait maximal timeout seconds.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
                                           },
-                                          "hostname" : {
-                                             "description" : "Set a hostname for the new CT.",
-                                             "format" : "dns-name",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
                                           },
-                                          "newid" : {
-                                             "description" : "VMID for the clone.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/status/start",
+                                    "text" : "start"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data.",
+                                          "method" : "POST",
+                                          "name" : "vm_stop",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "keepActive" : {
+                                                   "default" : 0,
+                                                   "description" : "Do not deactivate storage volumes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "migratedfrom" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "overrule-shutdown" : {
+                                                   "default" : 0,
+                                                   "description" : "Try to abort active 'qmshutdown' tasks before stopping.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "skiplock" : {
+                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "timeout" : {
+                                                   "description" : "Wait maximal timeout seconds.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
                                           },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
                                           },
-                                          "pool" : {
-                                             "description" : "Add the new CT to the specified pool.",
-                                             "format" : "pve-poolid",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/status/stop",
+                                    "text" : "stop"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Reset virtual machine.",
+                                          "method" : "POST",
+                                          "name" : "vm_reset",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "skiplock" : {
+                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/status/reset",
+                                    "text" : "reset"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown.",
+                                          "method" : "POST",
+                                          "name" : "vm_shutdown",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "forceStop" : {
+                                                   "default" : 0,
+                                                   "description" : "Make sure the VM stops.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "keepActive" : {
+                                                   "default" : 0,
+                                                   "description" : "Do not deactivate storage volumes.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "skiplock" : {
+                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "timeout" : {
+                                                   "description" : "Wait maximal timeout seconds.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
                                           },
-                                          "snapname" : {
-                                             "description" : "The name of the snapshot.",
-                                             "format" : "pve-configid",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
                                           },
-                                          "storage" : {
-                                             "description" : "Target storage for full clone.",
-                                             "format" : "pve-storage-id",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/status/shutdown",
+                                    "text" : "shutdown"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Reboot the VM by shutting it down, and starting it again. Applies pending changes.",
+                                          "method" : "POST",
+                                          "name" : "vm_reboot",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "timeout" : {
+                                                   "description" : "Wait maximal timeout seconds for the shutdown.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
                                           },
-                                          "target" : {
-                                             "description" : "Target node. Only allowed if the original VM is on shared storage.",
-                                             "format" : "pve-node",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
                                           },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
                                           }
                                        }
                                     },
-                                    "permissions" : {
-                                       "check" : [
-                                          "and",
-                                          [
-                                             "perm",
-                                             "/vms/{vmid}",
-                                             [
-                                                "VM.Clone"
-                                             ]
-                                          ],
-                                          [
-                                             "or",
-                                             [
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/status/reboot",
+                                    "text" : "reboot"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Suspend virtual machine.",
+                                          "method" : "POST",
+                                          "name" : "vm_suspend",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "skiplock" : {
+                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "statestorage" : {
+                                                   "description" : "The storage for the VM state",
+                                                   "format" : "pve-storage-id",
+                                                   "format_description" : "storage ID",
+                                                   "optional" : 1,
+                                                   "requires" : "todisk",
+                                                   "type" : "string",
+                                                   "typetext" : "<storage ID>"
+                                                },
+                                                "todisk" : {
+                                                   "default" : 0,
+                                                   "description" : "If set, suspends the VM to disk. Will be resumed on next VM start.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
                                                 "perm",
-                                                "/vms/{newid}",
+                                                "/vms/{vmid}",
                                                 [
-                                                   "VM.Allocate"
+                                                   "VM.PowerMgmt"
                                                 ]
                                              ],
-                                             [
+                                             "description" : "You need 'VM.PowerMgmt' on /vms/{vmid}, and if you have set 'todisk', you need also 'VM.Config.Disk' on /vms/{vmid} and 'Datastore.AllocateSpace' on the storage for the vmstate."
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/status/suspend",
+                                    "text" : "suspend"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Resume virtual machine.",
+                                          "method" : "POST",
+                                          "name" : "vm_resume",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "nocheck" : {
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "skiplock" : {
+                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
                                                 "perm",
-                                                "/pool/{pool}",
+                                                "/vms/{vmid}",
                                                 [
-                                                   "VM.Allocate"
-                                                ],
-                                                "require_param",
-                                                "pool"
+                                                   "VM.PowerMgmt"
+                                                ]
                                              ]
-                                          ]
-                                       ],
-                                       "description" : "You need 'VM.Clone' permissions on /vms/{vmid}, and 'VM.Allocate' permissions on /vms/{newid} (or on the VM pool /pool/{pool}). You also need 'Datastore.AllocateSpace' on any used storage."
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
                                     },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "string"
-                                    }
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/status/resume",
+                                    "text" : "resume"
                                  }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/clone",
-                              "text" : "clone"
-                           },
-                           {
-                              "info" : {
-                                 "PUT" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Resize a container mount point.",
-                                    "method" : "PUT",
-                                    "name" : "resize_vm",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "disk" : {
-                                             "description" : "The disk you want to resize.",
-                                             "enum" : [
-                                                "rootfs",
-                                                "mp0",
-                                                "mp1",
-                                                "mp2",
-                                                "mp3",
-                                                "mp4",
-                                                "mp5",
-                                                "mp6",
-                                                "mp7",
-                                                "mp8",
-                                                "mp9",
-                                                "mp10",
-                                                "mp11",
-                                                "mp12",
-                                                "mp13",
-                                                "mp14",
-                                                "mp15",
-                                                "mp16",
-                                                "mp17",
-                                                "mp18",
-                                                "mp19",
-                                                "mp20",
-                                                "mp21",
-                                                "mp22",
-                                                "mp23",
-                                                "mp24",
-                                                "mp25",
-                                                "mp26",
-                                                "mp27",
-                                                "mp28",
-                                                "mp29",
-                                                "mp30",
-                                                "mp31",
-                                                "mp32",
-                                                "mp33",
-                                                "mp34",
-                                                "mp35",
-                                                "mp36",
-                                                "mp37",
-                                                "mp38",
-                                                "mp39",
-                                                "mp40",
-                                                "mp41",
-                                                "mp42",
-                                                "mp43",
-                                                "mp44",
-                                                "mp45",
-                                                "mp46",
-                                                "mp47",
-                                                "mp48",
-                                                "mp49",
-                                                "mp50",
-                                                "mp51",
-                                                "mp52",
-                                                "mp53",
-                                                "mp54",
-                                                "mp55",
-                                                "mp56",
-                                                "mp57",
-                                                "mp58",
-                                                "mp59",
-                                                "mp60",
-                                                "mp61",
-                                                "mp62",
-                                                "mp63",
-                                                "mp64",
-                                                "mp65",
-                                                "mp66",
-                                                "mp67",
-                                                "mp68",
-                                                "mp69",
-                                                "mp70",
-                                                "mp71",
-                                                "mp72",
-                                                "mp73",
-                                                "mp74",
-                                                "mp75",
-                                                "mp76",
-                                                "mp77",
-                                                "mp78",
-                                                "mp79",
-                                                "mp80",
-                                                "mp81",
-                                                "mp82",
-                                                "mp83",
-                                                "mp84",
-                                                "mp85",
-                                                "mp86",
-                                                "mp87",
-                                                "mp88",
-                                                "mp89",
-                                                "mp90",
-                                                "mp91",
-                                                "mp92",
-                                                "mp93",
-                                                "mp94",
-                                                "mp95",
-                                                "mp96",
-                                                "mp97",
-                                                "mp98",
-                                                "mp99",
-                                                "mp100",
-                                                "mp101",
-                                                "mp102",
-                                                "mp103",
-                                                "mp104",
-                                                "mp105",
-                                                "mp106",
-                                                "mp107",
-                                                "mp108",
-                                                "mp109",
-                                                "mp110",
-                                                "mp111",
-                                                "mp112",
-                                                "mp113",
-                                                "mp114",
-                                                "mp115",
-                                                "mp116",
-                                                "mp117",
-                                                "mp118",
-                                                "mp119",
-                                                "mp120",
-                                                "mp121",
-                                                "mp122",
-                                                "mp123",
-                                                "mp124",
-                                                "mp125",
-                                                "mp126",
-                                                "mp127",
-                                                "mp128",
-                                                "mp129",
-                                                "mp130",
-                                                "mp131",
-                                                "mp132",
-                                                "mp133",
-                                                "mp134",
-                                                "mp135",
-                                                "mp136",
-                                                "mp137",
-                                                "mp138",
-                                                "mp139",
-                                                "mp140",
-                                                "mp141",
-                                                "mp142",
-                                                "mp143",
-                                                "mp144",
-                                                "mp145",
-                                                "mp146",
-                                                "mp147",
-                                                "mp148",
-                                                "mp149",
-                                                "mp150",
-                                                "mp151",
-                                                "mp152",
-                                                "mp153",
-                                                "mp154",
-                                                "mp155",
-                                                "mp156",
-                                                "mp157",
-                                                "mp158",
-                                                "mp159",
-                                                "mp160",
-                                                "mp161",
-                                                "mp162",
-                                                "mp163",
-                                                "mp164",
-                                                "mp165",
-                                                "mp166",
-                                                "mp167",
-                                                "mp168",
-                                                "mp169",
-                                                "mp170",
-                                                "mp171",
-                                                "mp172",
-                                                "mp173",
-                                                "mp174",
-                                                "mp175",
-                                                "mp176",
-                                                "mp177",
-                                                "mp178",
-                                                "mp179",
-                                                "mp180",
-                                                "mp181",
-                                                "mp182",
-                                                "mp183",
-                                                "mp184",
-                                                "mp185",
-                                                "mp186",
-                                                "mp187",
-                                                "mp188",
-                                                "mp189",
-                                                "mp190",
-                                                "mp191",
-                                                "mp192",
-                                                "mp193",
-                                                "mp194",
-                                                "mp195",
-                                                "mp196",
-                                                "mp197",
-                                                "mp198",
-                                                "mp199",
-                                                "mp200",
-                                                "mp201",
-                                                "mp202",
-                                                "mp203",
-                                                "mp204",
-                                                "mp205",
-                                                "mp206",
-                                                "mp207",
-                                                "mp208",
-                                                "mp209",
-                                                "mp210",
-                                                "mp211",
-                                                "mp212",
-                                                "mp213",
-                                                "mp214",
-                                                "mp215",
-                                                "mp216",
-                                                "mp217",
-                                                "mp218",
-                                                "mp219",
-                                                "mp220",
-                                                "mp221",
-                                                "mp222",
-                                                "mp223",
-                                                "mp224",
-                                                "mp225",
-                                                "mp226",
-                                                "mp227",
-                                                "mp228",
-                                                "mp229",
-                                                "mp230",
-                                                "mp231",
-                                                "mp232",
-                                                "mp233",
-                                                "mp234",
-                                                "mp235",
-                                                "mp236",
-                                                "mp237",
-                                                "mp238",
-                                                "mp239",
-                                                "mp240",
-                                                "mp241",
-                                                "mp242",
-                                                "mp243",
-                                                "mp244",
-                                                "mp245",
-                                                "mp246",
-                                                "mp247",
-                                                "mp248",
-                                                "mp249",
-                                                "mp250",
-                                                "mp251",
-                                                "mp252",
-                                                "mp253",
-                                                "mp254",
-                                                "mp255"
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Directory index",
+                                    "method" : "GET",
+                                    "name" : "vmcmdidx",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "user" : "all"
+                                    },
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {
+                                             "subdir" : {
+                                                "type" : "string"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{subdir}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/qemu/{vmid}/status",
+                              "text" : "status"
+                           },
+                           {
+                              "info" : {
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Send key event to virtual machine.",
+                                    "method" : "PUT",
+                                    "name" : "vm_sendkey",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "key" : {
+                                             "description" : "The key (qemu monitor encoding).",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "skiplock" : {
+                                             "description" : "Ignore locks - only root is allowed to use this option.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Console"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/sendkey",
+                              "text" : "sendkey"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Check if feature for virtual machine is available.",
+                                    "method" : "GET",
+                                    "name" : "vm_feature",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "feature" : {
+                                             "description" : "Feature to check.",
+                                             "enum" : [
+                                                "snapshot",
+                                                "clone",
+                                                "copy"
                                              ],
                                              "type" : "string"
                                           },
@@ -30991,17 +25173,21 @@ const apiSchema = [
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "size" : {
-                                             "description" : "The new size. With the '+' sign the value is added to the actual size of the volume and without it, the value is taken as an absolute one. Shrinking disk size is not supported.",
-                                             "pattern" : "\\+?\\d+(\\.\\d+)?[KMGT]?",
-                                             "type" : "string"
+                                          "snapname" : {
+                                             "description" : "The name of the snapshot.",
+                                             "format" : "pve-configid",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -31010,31 +25196,39 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Config.Disk"
-                                          ],
-                                          "any",
-                                          1
+                                             "VM.Audit"
+                                          ]
                                        ]
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
                                     "returns" : {
-                                       "description" : "the task ID.",
-                                       "type" : "string"
+                                       "properties" : {
+                                          "hasFeature" : {
+                                             "type" : "boolean"
+                                          },
+                                          "nodes" : {
+                                             "items" : {
+                                                "type" : "string"
+                                             },
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "type" : "object"
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/resize",
-                              "text" : "resize"
+                              "path" : "/nodes/{node}/qemu/{vmid}/feature",
+                              "text" : "feature"
                            },
                            {
                               "info" : {
                                  "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Move a rootfs-/mp-volume to a different storage or to a different container.",
+                                    "description" : "Create a copy of virtual machine/template.",
                                     "method" : "POST",
-                                    "name" : "move_volume",
+                                    "name" : "clone_vm",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
@@ -31043,311 +25237,229 @@ const apiSchema = [
                                              "description" : "Override I/O bandwidth limit (in KiB/s).",
                                              "minimum" : "0",
                                              "optional" : 1,
-                                             "type" : "number",
-                                             "typetext" : "<number> (0 - N)"
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
                                           },
-                                          "delete" : {
-                                             "default" : 0,
-                                             "description" : "Delete the original volume after successful copy. By default the original is kept as an unused volume entry.",
+                                          "description" : {
+                                             "description" : "Description for the new VM.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "format" : {
+                                             "description" : "Target format for file storage. Only valid for full clone.",
+                                             "enum" : [
+                                                "raw",
+                                                "qcow2",
+                                                "vmdk"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "full" : {
+                                             "description" : "Create a full copy of all disks. This is always done when you clone a normal VM. For VM templates, we try to create a linked clone by default.",
                                              "optional" : 1,
                                              "type" : "boolean",
                                              "typetext" : "<boolean>"
                                           },
-                                          "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 \" .\n\t\t    \"digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
+                                          "name" : {
+                                             "description" : "Set a name for the new VM.",
+                                             "format" : "dns-name",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
+                                          "newid" : {
+                                             "description" : "VMID for the clone.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "storage" : {
-                                             "description" : "Target Storage.",
-                                             "format" : "pve-storage-id",
+                                          "pool" : {
+                                             "description" : "Add the new VM to the specified pool.",
+                                             "format" : "pve-poolid",
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "target-digest" : {
-                                             "description" : "Prevent changes if current configuration file of the target \" .\n\t\t    \"container has a different SHA1 digest. This can be used to prevent \" .\n\t\t    \"concurrent modifications.",
+                                          "snapname" : {
+                                             "description" : "The name of the snapshot.",
+                                             "format" : "pve-configid",
                                              "maxLength" : 40,
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "target-vmid" : {
+                                          "storage" : {
+                                             "description" : "Target storage for full clone.",
+                                             "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<storage ID>"
+                                          },
+                                          "target" : {
+                                             "description" : "Target node. Only allowed if the original VM is on shared storage.",
+                                             "format" : "pve-node",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "optional" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          },
-                                          "target-volume" : {
-                                             "description" : "The config key the volume will be moved to. Default is the source volume key.",
-                                             "enum" : [
-                                                "rootfs",
-                                                "mp0",
-                                                "mp1",
-                                                "mp2",
-                                                "mp3",
-                                                "mp4",
-                                                "mp5",
-                                                "mp6",
-                                                "mp7",
-                                                "mp8",
-                                                "mp9",
-                                                "mp10",
-                                                "mp11",
-                                                "mp12",
-                                                "mp13",
-                                                "mp14",
-                                                "mp15",
-                                                "mp16",
-                                                "mp17",
-                                                "mp18",
-                                                "mp19",
-                                                "mp20",
-                                                "mp21",
-                                                "mp22",
-                                                "mp23",
-                                                "mp24",
-                                                "mp25",
-                                                "mp26",
-                                                "mp27",
-                                                "mp28",
-                                                "mp29",
-                                                "mp30",
-                                                "mp31",
-                                                "mp32",
-                                                "mp33",
-                                                "mp34",
-                                                "mp35",
-                                                "mp36",
-                                                "mp37",
-                                                "mp38",
-                                                "mp39",
-                                                "mp40",
-                                                "mp41",
-                                                "mp42",
-                                                "mp43",
-                                                "mp44",
-                                                "mp45",
-                                                "mp46",
-                                                "mp47",
-                                                "mp48",
-                                                "mp49",
-                                                "mp50",
-                                                "mp51",
-                                                "mp52",
-                                                "mp53",
-                                                "mp54",
-                                                "mp55",
-                                                "mp56",
-                                                "mp57",
-                                                "mp58",
-                                                "mp59",
-                                                "mp60",
-                                                "mp61",
-                                                "mp62",
-                                                "mp63",
-                                                "mp64",
-                                                "mp65",
-                                                "mp66",
-                                                "mp67",
-                                                "mp68",
-                                                "mp69",
-                                                "mp70",
-                                                "mp71",
-                                                "mp72",
-                                                "mp73",
-                                                "mp74",
-                                                "mp75",
-                                                "mp76",
-                                                "mp77",
-                                                "mp78",
-                                                "mp79",
-                                                "mp80",
-                                                "mp81",
-                                                "mp82",
-                                                "mp83",
-                                                "mp84",
-                                                "mp85",
-                                                "mp86",
-                                                "mp87",
-                                                "mp88",
-                                                "mp89",
-                                                "mp90",
-                                                "mp91",
-                                                "mp92",
-                                                "mp93",
-                                                "mp94",
-                                                "mp95",
-                                                "mp96",
-                                                "mp97",
-                                                "mp98",
-                                                "mp99",
-                                                "mp100",
-                                                "mp101",
-                                                "mp102",
-                                                "mp103",
-                                                "mp104",
-                                                "mp105",
-                                                "mp106",
-                                                "mp107",
-                                                "mp108",
-                                                "mp109",
-                                                "mp110",
-                                                "mp111",
-                                                "mp112",
-                                                "mp113",
-                                                "mp114",
-                                                "mp115",
-                                                "mp116",
-                                                "mp117",
-                                                "mp118",
-                                                "mp119",
-                                                "mp120",
-                                                "mp121",
-                                                "mp122",
-                                                "mp123",
-                                                "mp124",
-                                                "mp125",
-                                                "mp126",
-                                                "mp127",
-                                                "mp128",
-                                                "mp129",
-                                                "mp130",
-                                                "mp131",
-                                                "mp132",
-                                                "mp133",
-                                                "mp134",
-                                                "mp135",
-                                                "mp136",
-                                                "mp137",
-                                                "mp138",
-                                                "mp139",
-                                                "mp140",
-                                                "mp141",
-                                                "mp142",
-                                                "mp143",
-                                                "mp144",
-                                                "mp145",
-                                                "mp146",
-                                                "mp147",
-                                                "mp148",
-                                                "mp149",
-                                                "mp150",
-                                                "mp151",
-                                                "mp152",
-                                                "mp153",
-                                                "mp154",
-                                                "mp155",
-                                                "mp156",
-                                                "mp157",
-                                                "mp158",
-                                                "mp159",
-                                                "mp160",
-                                                "mp161",
-                                                "mp162",
-                                                "mp163",
-                                                "mp164",
-                                                "mp165",
-                                                "mp166",
-                                                "mp167",
-                                                "mp168",
-                                                "mp169",
-                                                "mp170",
-                                                "mp171",
-                                                "mp172",
-                                                "mp173",
-                                                "mp174",
-                                                "mp175",
-                                                "mp176",
-                                                "mp177",
-                                                "mp178",
-                                                "mp179",
-                                                "mp180",
-                                                "mp181",
-                                                "mp182",
-                                                "mp183",
-                                                "mp184",
-                                                "mp185",
-                                                "mp186",
-                                                "mp187",
-                                                "mp188",
-                                                "mp189",
-                                                "mp190",
-                                                "mp191",
-                                                "mp192",
-                                                "mp193",
-                                                "mp194",
-                                                "mp195",
-                                                "mp196",
-                                                "mp197",
-                                                "mp198",
-                                                "mp199",
-                                                "mp200",
-                                                "mp201",
-                                                "mp202",
-                                                "mp203",
-                                                "mp204",
-                                                "mp205",
-                                                "mp206",
-                                                "mp207",
-                                                "mp208",
-                                                "mp209",
-                                                "mp210",
-                                                "mp211",
-                                                "mp212",
-                                                "mp213",
-                                                "mp214",
-                                                "mp215",
-                                                "mp216",
-                                                "mp217",
-                                                "mp218",
-                                                "mp219",
-                                                "mp220",
-                                                "mp221",
-                                                "mp222",
-                                                "mp223",
-                                                "mp224",
-                                                "mp225",
-                                                "mp226",
-                                                "mp227",
-                                                "mp228",
-                                                "mp229",
-                                                "mp230",
-                                                "mp231",
-                                                "mp232",
-                                                "mp233",
-                                                "mp234",
-                                                "mp235",
-                                                "mp236",
-                                                "mp237",
-                                                "mp238",
-                                                "mp239",
-                                                "mp240",
-                                                "mp241",
-                                                "mp242",
-                                                "mp243",
-                                                "mp244",
-                                                "mp245",
-                                                "mp246",
-                                                "mp247",
-                                                "mp248",
-                                                "mp249",
-                                                "mp250",
-                                                "mp251",
-                                                "mp252",
-                                                "mp253",
-                                                "mp254",
-                                                "mp255",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "and",
+                                          [
+                                             "perm",
+                                             "/vms/{vmid}",
+                                             [
+                                                "VM.Clone"
+                                             ]
+                                          ],
+                                          [
+                                             "or",
+                                             [
+                                                "perm",
+                                                "/vms/{newid}",
+                                                [
+                                                   "VM.Allocate"
+                                                ]
+                                             ],
+                                             [
+                                                "perm",
+                                                "/pool/{pool}",
+                                                [
+                                                   "VM.Allocate"
+                                                ],
+                                                "require_param",
+                                                "pool"
+                                             ]
+                                          ]
+                                       ],
+                                       "description" : "You need 'VM.Clone' permissions on /vms/{vmid}, and 'VM.Allocate' permissions on /vms/{newid} (or on the VM pool /pool/{pool}). You also need 'Datastore.AllocateSpace' on any used storage and 'SDN.Use' on any used bridge/vnet"
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/clone",
+                              "text" : "clone"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Move volume to different storage or to a different VM.",
+                                    "method" : "POST",
+                                    "name" : "move_vm_disk",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "bwlimit" : {
+                                             "default" : "move limit from datacenter or storage config",
+                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                             "minimum" : "0",
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "delete" : {
+                                             "default" : 0,
+                                             "description" : "Delete the original disk after successful copy. By default the original disk is kept as unused disk.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has different SHA1\"\n\t\t    .\" digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "disk" : {
+                                             "description" : "The disk you want to move.",
+                                             "enum" : [
+                                                "ide0",
+                                                "ide1",
+                                                "ide2",
+                                                "ide3",
+                                                "scsi0",
+                                                "scsi1",
+                                                "scsi2",
+                                                "scsi3",
+                                                "scsi4",
+                                                "scsi5",
+                                                "scsi6",
+                                                "scsi7",
+                                                "scsi8",
+                                                "scsi9",
+                                                "scsi10",
+                                                "scsi11",
+                                                "scsi12",
+                                                "scsi13",
+                                                "scsi14",
+                                                "scsi15",
+                                                "scsi16",
+                                                "scsi17",
+                                                "scsi18",
+                                                "scsi19",
+                                                "scsi20",
+                                                "scsi21",
+                                                "scsi22",
+                                                "scsi23",
+                                                "scsi24",
+                                                "scsi25",
+                                                "scsi26",
+                                                "scsi27",
+                                                "scsi28",
+                                                "scsi29",
+                                                "scsi30",
+                                                "virtio0",
+                                                "virtio1",
+                                                "virtio2",
+                                                "virtio3",
+                                                "virtio4",
+                                                "virtio5",
+                                                "virtio6",
+                                                "virtio7",
+                                                "virtio8",
+                                                "virtio9",
+                                                "virtio10",
+                                                "virtio11",
+                                                "virtio12",
+                                                "virtio13",
+                                                "virtio14",
+                                                "virtio15",
+                                                "sata0",
+                                                "sata1",
+                                                "sata2",
+                                                "sata3",
+                                                "sata4",
+                                                "sata5",
+                                                "efidisk0",
+                                                "tpmstate0",
                                                 "unused0",
                                                 "unused1",
                                                 "unused2",
@@ -31605,276 +25717,101 @@ const apiSchema = [
                                                 "unused254",
                                                 "unused255"
                                              ],
+                                             "type" : "string"
+                                          },
+                                          "format" : {
+                                             "description" : "Target Format.",
+                                             "enum" : [
+                                                "raw",
+                                                "qcow2",
+                                                "vmdk"
+                                             ],
                                              "optional" : 1,
                                              "type" : "string"
                                           },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "volume" : {
-                                             "description" : "Volume which will be moved.",
+                                          "storage" : {
+                                             "description" : "Target storage.",
+                                             "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<storage ID>"
+                                          },
+                                          "target-digest" : {
+                                             "description" : "Prevent changes if the current config file of the target VM has a\"\n\t\t    .\" different SHA1 digest. This can be used to detect concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "target-disk" : {
+                                             "description" : "The config key the disk will be moved to on the target VM (for example, ide0 or scsi1). Default is the source disk key.",
                                              "enum" : [
-                                                "rootfs",
-                                                "mp0",
-                                                "mp1",
-                                                "mp2",
-                                                "mp3",
-                                                "mp4",
-                                                "mp5",
-                                                "mp6",
-                                                "mp7",
-                                                "mp8",
-                                                "mp9",
-                                                "mp10",
-                                                "mp11",
-                                                "mp12",
-                                                "mp13",
-                                                "mp14",
-                                                "mp15",
-                                                "mp16",
-                                                "mp17",
-                                                "mp18",
-                                                "mp19",
-                                                "mp20",
-                                                "mp21",
-                                                "mp22",
-                                                "mp23",
-                                                "mp24",
-                                                "mp25",
-                                                "mp26",
-                                                "mp27",
-                                                "mp28",
-                                                "mp29",
-                                                "mp30",
-                                                "mp31",
-                                                "mp32",
-                                                "mp33",
-                                                "mp34",
-                                                "mp35",
-                                                "mp36",
-                                                "mp37",
-                                                "mp38",
-                                                "mp39",
-                                                "mp40",
-                                                "mp41",
-                                                "mp42",
-                                                "mp43",
-                                                "mp44",
-                                                "mp45",
-                                                "mp46",
-                                                "mp47",
-                                                "mp48",
-                                                "mp49",
-                                                "mp50",
-                                                "mp51",
-                                                "mp52",
-                                                "mp53",
-                                                "mp54",
-                                                "mp55",
-                                                "mp56",
-                                                "mp57",
-                                                "mp58",
-                                                "mp59",
-                                                "mp60",
-                                                "mp61",
-                                                "mp62",
-                                                "mp63",
-                                                "mp64",
-                                                "mp65",
-                                                "mp66",
-                                                "mp67",
-                                                "mp68",
-                                                "mp69",
-                                                "mp70",
-                                                "mp71",
-                                                "mp72",
-                                                "mp73",
-                                                "mp74",
-                                                "mp75",
-                                                "mp76",
-                                                "mp77",
-                                                "mp78",
-                                                "mp79",
-                                                "mp80",
-                                                "mp81",
-                                                "mp82",
-                                                "mp83",
-                                                "mp84",
-                                                "mp85",
-                                                "mp86",
-                                                "mp87",
-                                                "mp88",
-                                                "mp89",
-                                                "mp90",
-                                                "mp91",
-                                                "mp92",
-                                                "mp93",
-                                                "mp94",
-                                                "mp95",
-                                                "mp96",
-                                                "mp97",
-                                                "mp98",
-                                                "mp99",
-                                                "mp100",
-                                                "mp101",
-                                                "mp102",
-                                                "mp103",
-                                                "mp104",
-                                                "mp105",
-                                                "mp106",
-                                                "mp107",
-                                                "mp108",
-                                                "mp109",
-                                                "mp110",
-                                                "mp111",
-                                                "mp112",
-                                                "mp113",
-                                                "mp114",
-                                                "mp115",
-                                                "mp116",
-                                                "mp117",
-                                                "mp118",
-                                                "mp119",
-                                                "mp120",
-                                                "mp121",
-                                                "mp122",
-                                                "mp123",
-                                                "mp124",
-                                                "mp125",
-                                                "mp126",
-                                                "mp127",
-                                                "mp128",
-                                                "mp129",
-                                                "mp130",
-                                                "mp131",
-                                                "mp132",
-                                                "mp133",
-                                                "mp134",
-                                                "mp135",
-                                                "mp136",
-                                                "mp137",
-                                                "mp138",
-                                                "mp139",
-                                                "mp140",
-                                                "mp141",
-                                                "mp142",
-                                                "mp143",
-                                                "mp144",
-                                                "mp145",
-                                                "mp146",
-                                                "mp147",
-                                                "mp148",
-                                                "mp149",
-                                                "mp150",
-                                                "mp151",
-                                                "mp152",
-                                                "mp153",
-                                                "mp154",
-                                                "mp155",
-                                                "mp156",
-                                                "mp157",
-                                                "mp158",
-                                                "mp159",
-                                                "mp160",
-                                                "mp161",
-                                                "mp162",
-                                                "mp163",
-                                                "mp164",
-                                                "mp165",
-                                                "mp166",
-                                                "mp167",
-                                                "mp168",
-                                                "mp169",
-                                                "mp170",
-                                                "mp171",
-                                                "mp172",
-                                                "mp173",
-                                                "mp174",
-                                                "mp175",
-                                                "mp176",
-                                                "mp177",
-                                                "mp178",
-                                                "mp179",
-                                                "mp180",
-                                                "mp181",
-                                                "mp182",
-                                                "mp183",
-                                                "mp184",
-                                                "mp185",
-                                                "mp186",
-                                                "mp187",
-                                                "mp188",
-                                                "mp189",
-                                                "mp190",
-                                                "mp191",
-                                                "mp192",
-                                                "mp193",
-                                                "mp194",
-                                                "mp195",
-                                                "mp196",
-                                                "mp197",
-                                                "mp198",
-                                                "mp199",
-                                                "mp200",
-                                                "mp201",
-                                                "mp202",
-                                                "mp203",
-                                                "mp204",
-                                                "mp205",
-                                                "mp206",
-                                                "mp207",
-                                                "mp208",
-                                                "mp209",
-                                                "mp210",
-                                                "mp211",
-                                                "mp212",
-                                                "mp213",
-                                                "mp214",
-                                                "mp215",
-                                                "mp216",
-                                                "mp217",
-                                                "mp218",
-                                                "mp219",
-                                                "mp220",
-                                                "mp221",
-                                                "mp222",
-                                                "mp223",
-                                                "mp224",
-                                                "mp225",
-                                                "mp226",
-                                                "mp227",
-                                                "mp228",
-                                                "mp229",
-                                                "mp230",
-                                                "mp231",
-                                                "mp232",
-                                                "mp233",
-                                                "mp234",
-                                                "mp235",
-                                                "mp236",
-                                                "mp237",
-                                                "mp238",
-                                                "mp239",
-                                                "mp240",
-                                                "mp241",
-                                                "mp242",
-                                                "mp243",
-                                                "mp244",
-                                                "mp245",
-                                                "mp246",
-                                                "mp247",
-                                                "mp248",
-                                                "mp249",
-                                                "mp250",
-                                                "mp251",
-                                                "mp252",
-                                                "mp253",
-                                                "mp254",
-                                                "mp255",
+                                                "ide0",
+                                                "ide1",
+                                                "ide2",
+                                                "ide3",
+                                                "scsi0",
+                                                "scsi1",
+                                                "scsi2",
+                                                "scsi3",
+                                                "scsi4",
+                                                "scsi5",
+                                                "scsi6",
+                                                "scsi7",
+                                                "scsi8",
+                                                "scsi9",
+                                                "scsi10",
+                                                "scsi11",
+                                                "scsi12",
+                                                "scsi13",
+                                                "scsi14",
+                                                "scsi15",
+                                                "scsi16",
+                                                "scsi17",
+                                                "scsi18",
+                                                "scsi19",
+                                                "scsi20",
+                                                "scsi21",
+                                                "scsi22",
+                                                "scsi23",
+                                                "scsi24",
+                                                "scsi25",
+                                                "scsi26",
+                                                "scsi27",
+                                                "scsi28",
+                                                "scsi29",
+                                                "scsi30",
+                                                "virtio0",
+                                                "virtio1",
+                                                "virtio2",
+                                                "virtio3",
+                                                "virtio4",
+                                                "virtio5",
+                                                "virtio6",
+                                                "virtio7",
+                                                "virtio8",
+                                                "virtio9",
+                                                "virtio10",
+                                                "virtio11",
+                                                "virtio12",
+                                                "virtio13",
+                                                "virtio14",
+                                                "virtio15",
+                                                "sata0",
+                                                "sata1",
+                                                "sata2",
+                                                "sata3",
+                                                "sata4",
+                                                "sata5",
+                                                "efidisk0",
+                                                "tpmstate0",
                                                 "unused0",
                                                 "unused1",
                                                 "unused2",
@@ -32132,7 +26069,7931 @@ const apiSchema = [
                                                 "unused254",
                                                 "unused255"
                                              ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "target-vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Config.Disk"
+                                          ]
+                                       ],
+                                       "description" : "You need 'VM.Config.Disk' permissions on /vms/{vmid}, and 'Datastore.AllocateSpace' permissions on the storage. To move a disk to another VM, you need the permissions on the target VM as well."
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/move_disk",
+                              "text" : "move_disk"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Get preconditions for migration.",
+                                    "method" : "GET",
+                                    "name" : "migrate_vm_precondition",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "target" : {
+                                             "description" : "Target node.",
+                                             "format" : "pve-node",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Migrate"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "properties" : {
+                                          "allowed_nodes" : {
+                                             "description" : "List nodes allowed for offline migration, only passed if VM is offline",
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          },
+                                          "local_disks" : {
+                                             "description" : "List local disks including CD-Rom, unsused and not referenced disks",
+                                             "type" : "array"
+                                          },
+                                          "local_resources" : {
+                                             "description" : "List local resources e.g. pci, usb",
+                                             "type" : "array"
+                                          },
+                                          "mapped-resources" : {
+                                             "description" : "List of mapped resources e.g. pci, usb",
+                                             "type" : "array"
+                                          },
+                                          "not_allowed_nodes" : {
+                                             "description" : "List not allowed nodes with additional informations, only passed if VM is offline",
+                                             "optional" : 1,
+                                             "type" : "object"
+                                          },
+                                          "running" : {
+                                             "type" : "boolean"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Migrate virtual machine. Creates a new migration task.",
+                                    "method" : "POST",
+                                    "name" : "migrate_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "bwlimit" : {
+                                             "default" : "migrate limit from datacenter or storage config",
+                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                             "minimum" : "0",
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "force" : {
+                                             "description" : "Allow to migrate VMs which use local devices. Only root may use this option.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "migration_network" : {
+                                             "description" : "CIDR of the (sub) network that is used for migration.",
+                                             "format" : "CIDR",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "migration_type" : {
+                                             "description" : "Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.",
+                                             "enum" : [
+                                                "secure",
+                                                "insecure"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "online" : {
+                                             "description" : "Use online/live migration if VM is running. Ignored if VM is stopped.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "target" : {
+                                             "description" : "Target node.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "targetstorage" : {
+                                             "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
+                                             "format" : "storage-pair-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "with-local-disks" : {
+                                             "description" : "Enable live storage migration for local disk",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Migrate"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/migrate",
+                              "text" : "migrate"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature!",
+                                    "method" : "POST",
+                                    "name" : "remote_migrate_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "bwlimit" : {
+                                             "default" : "migrate limit from datacenter or storage config",
+                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                             "minimum" : "0",
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "delete" : {
+                                             "default" : 0,
+                                             "description" : "Delete the original VM and related data after successful migration. By default the original VM is kept on the source cluster in a stopped state.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "online" : {
+                                             "description" : "Use online/live migration if VM is running. Ignored if VM is stopped.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "target-bridge" : {
+                                             "description" : "Mapping from source to target bridges. Providing only a single bridge ID maps all source bridges to that bridge. Providing the special value '1' will map each source bridge to itself.",
+                                             "format" : "bridge-pair-list",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "target-endpoint" : {
+                                             "description" : "Remote target endpoint",
+                                             "format" : "proxmox-remote",
+                                             "type" : "string",
+                                             "typetext" : "apitoken=<PVEAPIToken=user@realm!token=SECRET> ,host=<ADDRESS> [,fingerprint=<FINGERPRINT>] [,port=<PORT>]"
+                                          },
+                                          "target-storage" : {
+                                             "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
+                                             "format" : "storage-pair-list",
+                                             "optional" : 0,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "target-vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Migrate"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/remote_migrate",
+                              "text" : "remote_migrate"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Execute QEMU monitor commands.",
+                                    "method" : "POST",
+                                    "name" : "monitor",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "command" : {
+                                             "description" : "The monitor command.",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Monitor"
+                                          ]
+                                       ],
+                                       "description" : "Sys.Modify is required for (sub)commands which are not read-only ('info *' and 'help')"
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/monitor",
+                              "text" : "monitor"
+                           },
+                           {
+                              "info" : {
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Extend volume size.",
+                                    "method" : "PUT",
+                                    "name" : "resize_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "disk" : {
+                                             "description" : "The disk you want to resize.",
+                                             "enum" : [
+                                                "ide0",
+                                                "ide1",
+                                                "ide2",
+                                                "ide3",
+                                                "scsi0",
+                                                "scsi1",
+                                                "scsi2",
+                                                "scsi3",
+                                                "scsi4",
+                                                "scsi5",
+                                                "scsi6",
+                                                "scsi7",
+                                                "scsi8",
+                                                "scsi9",
+                                                "scsi10",
+                                                "scsi11",
+                                                "scsi12",
+                                                "scsi13",
+                                                "scsi14",
+                                                "scsi15",
+                                                "scsi16",
+                                                "scsi17",
+                                                "scsi18",
+                                                "scsi19",
+                                                "scsi20",
+                                                "scsi21",
+                                                "scsi22",
+                                                "scsi23",
+                                                "scsi24",
+                                                "scsi25",
+                                                "scsi26",
+                                                "scsi27",
+                                                "scsi28",
+                                                "scsi29",
+                                                "scsi30",
+                                                "virtio0",
+                                                "virtio1",
+                                                "virtio2",
+                                                "virtio3",
+                                                "virtio4",
+                                                "virtio5",
+                                                "virtio6",
+                                                "virtio7",
+                                                "virtio8",
+                                                "virtio9",
+                                                "virtio10",
+                                                "virtio11",
+                                                "virtio12",
+                                                "virtio13",
+                                                "virtio14",
+                                                "virtio15",
+                                                "sata0",
+                                                "sata1",
+                                                "sata2",
+                                                "sata3",
+                                                "sata4",
+                                                "sata5",
+                                                "efidisk0",
+                                                "tpmstate0"
+                                             ],
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "size" : {
+                                             "description" : "The new size. With the `+` sign the value is added to the actual size of the volume and without it, the value is taken as an absolute one. Shrinking disk size is not supported.",
+                                             "pattern" : "\\+?\\d+(\\.\\d+)?[KMGT]?",
+                                             "type" : "string"
+                                          },
+                                          "skiplock" : {
+                                             "description" : "Ignore locks - only root is allowed to use this option.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Config.Disk"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/resize",
+                              "text" : "resize"
+                           },
+                           {
+                              "children" : [
+                                 {
+                                    "children" : [
+                                       {
+                                          "info" : {
+                                             "GET" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Get snapshot configuration",
+                                                "method" : "GET",
+                                                "name" : "get_snapshot_config",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "snapname" : {
+                                                         "description" : "The name of the snapshot.",
+                                                         "format" : "pve-configid",
+                                                         "maxLength" : 40,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Snapshot",
+                                                         "VM.Snapshot.Rollback",
+                                                         "VM.Audit"
+                                                      ],
+                                                      "any",
+                                                      1
+                                                   ]
+                                                },
+                                                "proxyto" : "node",
+                                                "returns" : {
+                                                   "type" : "object"
+                                                }
+                                             },
+                                             "PUT" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Update snapshot metadata.",
+                                                "method" : "PUT",
+                                                "name" : "update_snapshot_config",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "description" : {
+                                                         "description" : "A textual description or comment.",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "snapname" : {
+                                                         "description" : "The name of the snapshot.",
+                                                         "format" : "pve-configid",
+                                                         "maxLength" : 40,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Snapshot"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : "node",
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/config",
+                                          "text" : "config"
+                                       },
+                                       {
+                                          "info" : {
+                                             "POST" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Rollback VM state to specified snapshot.",
+                                                "method" : "POST",
+                                                "name" : "rollback",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "snapname" : {
+                                                         "description" : "The name of the snapshot.",
+                                                         "format" : "pve-configid",
+                                                         "maxLength" : 40,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "start" : {
+                                                         "default" : 0,
+                                                         "description" : "Whether the VM should get started after rolling back successfully. (Note: VMs will be automatically started if the snapshot includes RAM.)",
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Snapshot",
+                                                         "VM.Snapshot.Rollback"
+                                                      ],
+                                                      "any",
+                                                      1
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : "node",
+                                                "returns" : {
+                                                   "description" : "the task ID.",
+                                                   "type" : "string"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/rollback",
+                                          "text" : "rollback"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "DELETE" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Delete a VM snapshot.",
+                                          "method" : "DELETE",
+                                          "name" : "delsnapshot",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "force" : {
+                                                   "description" : "For removal from config file, even if removing disk snapshots fails.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "snapname" : {
+                                                   "description" : "The name of the snapshot.",
+                                                   "format" : "pve-configid",
+                                                   "maxLength" : 40,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Snapshot"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "the task ID.",
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "",
+                                          "method" : "GET",
+                                          "name" : "snapshot_cmd_idx",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "snapname" : {
+                                                   "description" : "The name of the snapshot.",
+                                                   "format" : "pve-configid",
+                                                   "maxLength" : 40,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "user" : "all"
+                                          },
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {},
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{cmd}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/qemu/{vmid}/snapshot/{snapname}",
+                                    "text" : "{snapname}"
+                                 }
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "List all snapshots.",
+                                    "method" : "GET",
+                                    "name" : "snapshot_list",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {
+                                             "description" : {
+                                                "description" : "Snapshot description.",
+                                                "type" : "string"
+                                             },
+                                             "name" : {
+                                                "description" : "Snapshot identifier. Value 'current' identifies the current VM.",
+                                                "type" : "string"
+                                             },
+                                             "parent" : {
+                                                "description" : "Parent snapshot identifier.",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "snaptime" : {
+                                                "description" : "Snapshot creation time",
+                                                "optional" : 1,
+                                                "renderer" : "timestamp",
+                                                "type" : "integer"
+                                             },
+                                             "vmstate" : {
+                                                "description" : "Snapshot includes RAM.",
+                                                "optional" : 1,
+                                                "type" : "boolean"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{name}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
+                                    }
+                                 },
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Snapshot a VM.",
+                                    "method" : "POST",
+                                    "name" : "snapshot",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "description" : {
+                                             "description" : "A textual description or comment.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "snapname" : {
+                                             "description" : "The name of the snapshot.",
+                                             "format" : "pve-configid",
+                                             "maxLength" : 40,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "vmstate" : {
+                                             "description" : "Save the vmstate",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Snapshot"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/qemu/{vmid}/snapshot",
+                              "text" : "snapshot"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create a Template.",
+                                    "method" : "POST",
+                                    "name" : "template",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "disk" : {
+                                             "description" : "If you want to convert only 1 disk to base image.",
+                                             "enum" : [
+                                                "ide0",
+                                                "ide1",
+                                                "ide2",
+                                                "ide3",
+                                                "scsi0",
+                                                "scsi1",
+                                                "scsi2",
+                                                "scsi3",
+                                                "scsi4",
+                                                "scsi5",
+                                                "scsi6",
+                                                "scsi7",
+                                                "scsi8",
+                                                "scsi9",
+                                                "scsi10",
+                                                "scsi11",
+                                                "scsi12",
+                                                "scsi13",
+                                                "scsi14",
+                                                "scsi15",
+                                                "scsi16",
+                                                "scsi17",
+                                                "scsi18",
+                                                "scsi19",
+                                                "scsi20",
+                                                "scsi21",
+                                                "scsi22",
+                                                "scsi23",
+                                                "scsi24",
+                                                "scsi25",
+                                                "scsi26",
+                                                "scsi27",
+                                                "scsi28",
+                                                "scsi29",
+                                                "scsi30",
+                                                "virtio0",
+                                                "virtio1",
+                                                "virtio2",
+                                                "virtio3",
+                                                "virtio4",
+                                                "virtio5",
+                                                "virtio6",
+                                                "virtio7",
+                                                "virtio8",
+                                                "virtio9",
+                                                "virtio10",
+                                                "virtio11",
+                                                "virtio12",
+                                                "virtio13",
+                                                "virtio14",
+                                                "virtio15",
+                                                "sata0",
+                                                "sata1",
+                                                "sata2",
+                                                "sata3",
+                                                "sata4",
+                                                "sata5",
+                                                "efidisk0",
+                                                "tpmstate0"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Allocate"
+                                          ]
+                                       ],
+                                       "description" : "You need 'VM.Allocate' permissions on /vms/{vmid}"
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/template",
+                              "text" : "template"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Migration tunnel endpoint - only for internal use by VM migration.",
+                                    "method" : "POST",
+                                    "name" : "mtunnel",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "bridges" : {
+                                             "description" : "List of network bridges to check availability. Will be checked again for actually used bridges during migration.",
+                                             "format" : "pve-bridge-id-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "storages" : {
+                                             "description" : "List of storages to check permission and availability. Will be checked again for all actually used storages during migration.",
+                                             "format" : "pve-storage-id-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "and",
+                                          [
+                                             "perm",
+                                             "/vms/{vmid}",
+                                             [
+                                                "VM.Allocate"
+                                             ]
+                                          ],
+                                          [
+                                             "perm",
+                                             "/",
+                                             [
+                                                "Sys.Incoming"
+                                             ]
+                                          ]
+                                       ],
+                                       "description" : "You need 'VM.Allocate' permissions on '/vms/{vmid}' and Sys.Incoming on '/'. Further permission checks happen during the actual migration."
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "socket" : {
+                                             "type" : "string"
+                                          },
+                                          "ticket" : {
+                                             "type" : "string"
+                                          },
+                                          "upid" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/mtunnel",
+                              "text" : "mtunnel"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration.",
+                                    "method" : "GET",
+                                    "name" : "mtunnelwebsocket",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "socket" : {
+                                             "description" : "unix socket to forward to",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "ticket" : {
+                                             "description" : "ticket return by initial 'mtunnel' API call, or retrieved via 'ticket' tunnel command",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "description" : "You need to pass a ticket valid for the selected socket. Tickets can be created via the mtunnel API call, which will check permissions accordingly.",
+                                       "user" : "all"
+                                    },
+                                    "returns" : {
+                                       "properties" : {
+                                          "port" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "socket" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/qemu/{vmid}/mtunnelwebsocket",
+                              "text" : "mtunnelwebsocket"
+                           }
+                        ],
+                        "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Destroy the VM and  all used/owned volumes. Removes any VM specific permissions and firewall rules",
+                              "method" : "DELETE",
+                              "name" : "destroy_vm",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "destroy-unreferenced-disks" : {
+                                       "default" : 0,
+                                       "description" : "If set, destroy additionally all disks not referenced in the config but with a matching VMID from all enabled storages.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "purge" : {
+                                       "description" : "Remove VMID from configurations, like backup & replication jobs and HA.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "skiplock" : {
+                                       "description" : "Ignore locks - only root is allowed to use this option.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "vmid" : {
+                                       "description" : "The (unique) ID of the VM.",
+                                       "format" : "pve-vmid",
+                                       "maximum" : 999999999,
+                                       "minimum" : 100,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (100 - 999999999)"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/vms/{vmid}",
+                                    [
+                                       "VM.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "type" : "string"
+                              }
+                           },
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Directory index",
+                              "method" : "GET",
+                              "name" : "vmdiridx",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "vmid" : {
+                                       "description" : "The (unique) ID of the VM.",
+                                       "format" : "pve-vmid",
+                                       "maximum" : 999999999,
+                                       "minimum" : 100,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (100 - 999999999)"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "user" : "all"
+                              },
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "items" : {
+                                    "properties" : {
+                                       "subdir" : {
+                                          "type" : "string"
+                                       }
+                                    },
+                                    "type" : "object"
+                                 },
+                                 "links" : [
+                                    {
+                                       "href" : "{subdir}",
+                                       "rel" : "child"
+                                    }
+                                 ],
+                                 "type" : "array"
+                              }
+                           }
+                        },
+                        "leaf" : 0,
+                        "path" : "/nodes/{node}/qemu/{vmid}",
+                        "text" : "{vmid}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "Virtual machine index (per node).",
+                        "method" : "GET",
+                        "name" : "vmlist",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "full" : {
+                                 "description" : "Determine the full status of active VMs.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "Only list VMs where you have VM.Audit permissons on /vms/<vmid>.",
+                           "user" : "all"
+                        },
+                        "protected" : 1,
+                        "proxyto" : "node",
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "cpus" : {
+                                    "description" : "Maximum usable CPUs.",
+                                    "optional" : 1,
+                                    "type" : "number"
+                                 },
+                                 "lock" : {
+                                    "description" : "The current config lock, if any.",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "maxdisk" : {
+                                    "description" : "Root disk size in bytes.",
+                                    "optional" : 1,
+                                    "renderer" : "bytes",
+                                    "type" : "integer"
+                                 },
+                                 "maxmem" : {
+                                    "description" : "Maximum memory in bytes.",
+                                    "optional" : 1,
+                                    "renderer" : "bytes",
+                                    "type" : "integer"
+                                 },
+                                 "name" : {
+                                    "description" : "VM name.",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "pid" : {
+                                    "description" : "PID of running qemu process.",
+                                    "optional" : 1,
+                                    "type" : "integer"
+                                 },
+                                 "qmpstatus" : {
+                                    "description" : "VM run state from the 'query-status' QMP monitor command.",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "running-machine" : {
+                                    "description" : "The currently running machine type (if running).",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "running-qemu" : {
+                                    "description" : "The currently running QEMU version (if running).",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "status" : {
+                                    "description" : "QEMU process status.",
+                                    "enum" : [
+                                       "stopped",
+                                       "running"
+                                    ],
+                                    "type" : "string"
+                                 },
+                                 "tags" : {
+                                    "description" : "The current configured tags, if any",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "uptime" : {
+                                    "description" : "Uptime.",
+                                    "optional" : 1,
+                                    "renderer" : "duration",
+                                    "type" : "integer"
+                                 },
+                                 "vmid" : {
+                                    "description" : "The (unique) ID of the VM.",
+                                    "format" : "pve-vmid",
+                                    "maximum" : 999999999,
+                                    "minimum" : 100,
+                                    "type" : "integer"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{vmid}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create or restore a virtual machine.",
+                        "method" : "POST",
+                        "name" : "create_vm",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "acpi" : {
+                                 "default" : 1,
+                                 "description" : "Enable/disable ACPI.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "affinity" : {
+                                 "description" : "List of host cores used to execute guest processes, for example: 0,5,8-11",
+                                 "format" : "pve-cpuset",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "agent" : {
+                                 "description" : "Enable/disable communication with the QEMU Guest Agent and its properties.",
+                                 "format" : {
+                                    "enabled" : {
+                                       "default" : 0,
+                                       "default_key" : 1,
+                                       "description" : "Enable/disable communication with a QEMU Guest Agent (QGA) running in the VM.",
+                                       "type" : "boolean"
+                                    },
+                                    "freeze-fs-on-backup" : {
+                                       "default" : 1,
+                                       "description" : "Freeze/thaw guest filesystems on backup for consistency.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "fstrim_cloned_disks" : {
+                                       "default" : 0,
+                                       "description" : "Run fstrim after moving a disk or migrating the VM.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "type" : {
+                                       "default" : "virtio",
+                                       "description" : "Select the agent type",
+                                       "enum" : [
+                                          "virtio",
+                                          "isa"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[enabled=]<1|0> [,freeze-fs-on-backup=<1|0>] [,fstrim_cloned_disks=<1|0>] [,type=<virtio|isa>]"
+                              },
+                              "arch" : {
+                                 "description" : "Virtual processor architecture. Defaults to the host.",
+                                 "enum" : [
+                                    "x86_64",
+                                    "aarch64"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "archive" : {
+                                 "description" : "The backup archive. Either the file system path to a .tar or .vma file (use '-' to pipe data from stdin) or a proxmox storage backup volume identifier.",
+                                 "maxLength" : 255,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "args" : {
+                                 "description" : "Arbitrary arguments passed to kvm.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>",
+                                 "verbose_description" : "Arbitrary arguments passed to kvm, for example:\n\nargs: -no-reboot -smbios 'type=0,vendor=FOO'\n\nNOTE: this option is for experts only.\n"
+                              },
+                              "audio0" : {
+                                 "description" : "Configure a audio device, useful in combination with QXL/Spice.",
+                                 "format" : {
+                                    "device" : {
+                                       "description" : "Configure an audio device.",
+                                       "enum" : [
+                                          "ich9-intel-hda",
+                                          "intel-hda",
+                                          "AC97"
+                                       ],
+                                       "type" : "string"
+                                    },
+                                    "driver" : {
+                                       "default" : "spice",
+                                       "description" : "Driver backend for the audio device.",
+                                       "enum" : [
+                                          "spice",
+                                          "none"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "device=<ich9-intel-hda|intel-hda|AC97> [,driver=<spice|none>]"
+                              },
+                              "autostart" : {
+                                 "default" : 0,
+                                 "description" : "Automatic restart after crash (currently ignored).",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "balloon" : {
+                                 "description" : "Amount of target RAM for the VM in MiB. Using zero disables the ballon driver.",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
+                              },
+                              "bios" : {
+                                 "default" : "seabios",
+                                 "description" : "Select BIOS implementation.",
+                                 "enum" : [
+                                    "seabios",
+                                    "ovmf"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "boot" : {
+                                 "description" : "Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.",
+                                 "format" : "pve-qm-boot",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[legacy=]<[acdn]{1,4}>] [,order=<device[;device...]>]"
+                              },
+                              "bootdisk" : {
+                                 "description" : "Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.",
+                                 "format" : "pve-qm-bootdisk",
+                                 "optional" : 1,
+                                 "pattern" : "(ide|sata|scsi|virtio)\\d+",
+                                 "type" : "string"
+                              },
+                              "bwlimit" : {
+                                 "default" : "restore limit from datacenter or storage config",
+                                 "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
+                              },
+                              "cdrom" : {
+                                 "description" : "This is an alias for option -ide2",
+                                 "format" : "pve-qm-ide",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<volume>"
+                              },
+                              "cicustom" : {
+                                 "description" : "cloud-init: Specify custom files to replace the automatically generated ones at start.",
+                                 "format" : "pve-qm-cicustom",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]"
+                              },
+                              "cipassword" : {
+                                 "description" : "cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "citype" : {
+                                 "description" : "Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.",
+                                 "enum" : [
+                                    "configdrive2",
+                                    "nocloud",
+                                    "opennebula"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "ciupgrade" : {
+                                 "default" : 1,
+                                 "description" : "cloud-init: do an automatic package upgrade after the first boot.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "ciuser" : {
+                                 "description" : "cloud-init: User name to change ssh keys and password for instead of the image's configured default user.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "cores" : {
+                                 "default" : 1,
+                                 "description" : "The number of cores per socket.",
+                                 "minimum" : 1,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - N)"
+                              },
+                              "cpu" : {
+                                 "description" : "Emulated CPU type.",
+                                 "format" : "pve-vm-cpu-conf",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[cputype=]<string>] [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>] [,phys-bits=<8-64|host>] [,reported-model=<enum>]"
+                              },
+                              "cpulimit" : {
+                                 "default" : 0,
+                                 "description" : "Limit of CPU usage.",
+                                 "maximum" : 128,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "number",
+                                 "typetext" : "<number> (0 - 128)",
+                                 "verbose_description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit."
+                              },
+                              "cpuunits" : {
+                                 "default" : "cgroup v1: 1024, cgroup v2: 100",
+                                 "description" : "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
+                                 "maximum" : 262144,
+                                 "minimum" : 1,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - 262144)",
+                                 "verbose_description" : "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs."
+                              },
+                              "description" : {
+                                 "description" : "Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.",
+                                 "maxLength" : 8192,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "efidisk0" : {
+                                 "description" : "Configure a disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                 "format" : {
+                                    "efitype" : {
+                                       "default" : "2m",
+                                       "description" : "Size and type of the OVMF EFI vars. '4m' is newer and recommended, and required for Secure Boot. For backwards compatibility, '2m' is used if not otherwise specified. Ignored for VMs with arch=aarch64 (ARM).",
+                                       "enum" : [
+                                          "2m",
+                                          "4m"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "file" : {
+                                       "default_key" : 1,
+                                       "description" : "The drive's backing volume.",
+                                       "format" : "pve-volume-id-or-qm-path",
+                                       "format_description" : "volume",
+                                       "type" : "string"
+                                    },
+                                    "format" : {
+                                       "description" : "The drive's backing file's data format.",
+                                       "enum" : [
+                                          "raw",
+                                          "cow",
+                                          "qcow",
+                                          "qed",
+                                          "qcow2",
+                                          "vmdk",
+                                          "cloop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "import-from" : {
+                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                       "format" : "pve-volume-id-or-absolute-path",
+                                       "format_description" : "source volume",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "pre-enrolled-keys" : {
+                                       "default" : 0,
+                                       "description" : "Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by default, though it can still be turned off from within the VM.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "size" : {
+                                       "description" : "Disk size. This is purely informational and has no effect.",
+                                       "format" : "disk-size",
+                                       "format_description" : "DiskSize",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "volume" : {
+                                       "alias" : "file"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[file=]<volume> [,efitype=<2m|4m>] [,format=<enum>] [,import-from=<source volume>] [,pre-enrolled-keys=<1|0>] [,size=<DiskSize>]"
+                              },
+                              "force" : {
+                                 "description" : "Allow to overwrite existing VM.",
+                                 "optional" : 1,
+                                 "requires" : "archive",
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "freeze" : {
+                                 "description" : "Freeze CPU at startup (use 'c' monitor command to start execution).",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "hookscript" : {
+                                 "description" : "Script that will be executed during various steps in the vms lifetime.",
+                                 "format" : "pve-volume-id",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "hostpci[n]" : {
+                                 "description" : "Map host PCI devices into guest.",
+                                 "format" : "pve-qm-hostpci",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[host=]<HOSTPCIID[;HOSTPCIID2...]>] [,device-id=<hex id>] [,legacy-igd=<1|0>] [,mapping=<mapping-id>] [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,sub-device-id=<hex id>] [,sub-vendor-id=<hex id>] [,vendor-id=<hex id>] [,x-vga=<1|0>]",
+                                 "verbose_description" : "Map host PCI devices into guest.\n\nNOTE: This option allows direct access to host hardware. So it is no longer\npossible to migrate such machines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                              },
+                              "hotplug" : {
+                                 "default" : "network,disk,usb",
+                                 "description" : "Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory', 'usb' and 'cloudinit'. Use '0' to disable hotplug completely. Using '1' as value is an alias for the default `network,disk,usb`. USB hotplugging is possible for guests with machine version >= 7.1 and ostype l26 or windows > 7.",
+                                 "format" : "pve-hotplug-features",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "hugepages" : {
+                                 "description" : "Enable/disable hugepages memory.",
+                                 "enum" : [
+                                    "any",
+                                    "2",
+                                    "1024"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "ide[n]" : {
+                                 "description" : "Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                 "format" : {
+                                    "aio" : {
+                                       "description" : "AIO type to use.",
+                                       "enum" : [
+                                          "native",
+                                          "threads",
+                                          "io_uring"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "backup" : {
+                                       "description" : "Whether the drive should be included when making backups.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "bps" : {
+                                       "description" : "Maximum r/w speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_max_length" : {
+                                       "description" : "Maximum length of I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_rd" : {
+                                       "description" : "Maximum read speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_rd_length" : {
+                                       "alias" : "bps_rd_max_length"
+                                    },
+                                    "bps_rd_max_length" : {
+                                       "description" : "Maximum length of read I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_wr" : {
+                                       "description" : "Maximum write speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_wr_length" : {
+                                       "alias" : "bps_wr_max_length"
+                                    },
+                                    "bps_wr_max_length" : {
+                                       "description" : "Maximum length of write I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "cache" : {
+                                       "description" : "The drive's cache mode",
+                                       "enum" : [
+                                          "none",
+                                          "writethrough",
+                                          "writeback",
+                                          "unsafe",
+                                          "directsync"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "cyls" : {
+                                       "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "detect_zeroes" : {
+                                       "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "discard" : {
+                                       "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                       "enum" : [
+                                          "ignore",
+                                          "on"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "file" : {
+                                       "default_key" : 1,
+                                       "description" : "The drive's backing volume.",
+                                       "format" : "pve-volume-id-or-qm-path",
+                                       "format_description" : "volume",
+                                       "type" : "string"
+                                    },
+                                    "format" : {
+                                       "description" : "The drive's backing file's data format.",
+                                       "enum" : [
+                                          "raw",
+                                          "cow",
+                                          "qcow",
+                                          "qed",
+                                          "qcow2",
+                                          "vmdk",
+                                          "cloop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "heads" : {
+                                       "description" : "Force the drive's physical geometry to have a specific head count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "import-from" : {
+                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                       "format" : "pve-volume-id-or-absolute-path",
+                                       "format_description" : "source volume",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "iops" : {
+                                       "description" : "Maximum r/w I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_max" : {
+                                       "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_max_length" : {
+                                       "description" : "Maximum length of I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd" : {
+                                       "description" : "Maximum read I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd_length" : {
+                                       "alias" : "iops_rd_max_length"
+                                    },
+                                    "iops_rd_max" : {
+                                       "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd_max_length" : {
+                                       "description" : "Maximum length of read I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr" : {
+                                       "description" : "Maximum write I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr_length" : {
+                                       "alias" : "iops_wr_max_length"
+                                    },
+                                    "iops_wr_max" : {
+                                       "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr_max_length" : {
+                                       "description" : "Maximum length of write I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "mbps" : {
+                                       "description" : "Maximum r/w speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_max" : {
+                                       "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_rd" : {
+                                       "description" : "Maximum read speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_rd_max" : {
+                                       "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_wr" : {
+                                       "description" : "Maximum write speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_wr_max" : {
+                                       "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "media" : {
+                                       "default" : "disk",
+                                       "description" : "The drive's media type.",
+                                       "enum" : [
+                                          "cdrom",
+                                          "disk"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "model" : {
+                                       "description" : "The drive's reported model name, url-encoded, up to 40 bytes long.",
+                                       "format" : "urlencoded",
+                                       "format_description" : "model",
+                                       "maxLength" : 120,
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "replicate" : {
+                                       "default" : 1,
+                                       "description" : "Whether the drive should considered for replication jobs.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "rerror" : {
+                                       "description" : "Read error action.",
+                                       "enum" : [
+                                          "ignore",
+                                          "report",
+                                          "stop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "secs" : {
+                                       "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "serial" : {
+                                       "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                       "format" : "urlencoded",
+                                       "format_description" : "serial",
+                                       "maxLength" : 60,
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "shared" : {
+                                       "default" : 0,
+                                       "description" : "Mark this locally-managed volume as available on all nodes",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                    },
+                                    "size" : {
+                                       "description" : "Disk size. This is purely informational and has no effect.",
+                                       "format" : "disk-size",
+                                       "format_description" : "DiskSize",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "snapshot" : {
+                                       "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "ssd" : {
+                                       "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "trans" : {
+                                       "description" : "Force disk geometry bios translation mode.",
+                                       "enum" : [
+                                          "none",
+                                          "lba",
+                                          "auto"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "volume" : {
+                                       "alias" : "file"
+                                    },
+                                    "werror" : {
+                                       "description" : "Write error action.",
+                                       "enum" : [
+                                          "enospc",
+                                          "ignore",
+                                          "report",
+                                          "stop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "wwn" : {
+                                       "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                       "format_description" : "wwn",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
+                              },
+                              "ipconfig[n]" : {
+                                 "description" : "cloud-init: Specify IP addresses and gateways for the corresponding interface.\n\nIP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.\n\nThe special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit\ngateway should be provided.\nFor IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires\ncloud-init 19.4 or newer.\n\nIf cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using\ndhcp on IPv4.\n",
+                                 "format" : "pve-qm-ipconfig",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]"
+                              },
+                              "ivshmem" : {
+                                 "description" : "Inter-VM shared memory. Useful for direct communication between VMs, or to the host.",
+                                 "format" : {
+                                    "name" : {
+                                       "description" : "The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.",
+                                       "format_description" : "string",
+                                       "optional" : 1,
+                                       "pattern" : "[a-zA-Z0-9\\-]+",
+                                       "type" : "string"
+                                    },
+                                    "size" : {
+                                       "description" : "The size of the file in MB.",
+                                       "minimum" : 1,
+                                       "type" : "integer"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "size=<integer> [,name=<string>]"
+                              },
+                              "keephugepages" : {
+                                 "default" : 0,
+                                 "description" : "Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "keyboard" : {
+                                 "default" : null,
+                                 "description" : "Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.",
+                                 "enum" : [
+                                    "de",
+                                    "de-ch",
+                                    "da",
+                                    "en-gb",
+                                    "en-us",
+                                    "es",
+                                    "fi",
+                                    "fr",
+                                    "fr-be",
+                                    "fr-ca",
+                                    "fr-ch",
+                                    "hu",
+                                    "is",
+                                    "it",
+                                    "ja",
+                                    "lt",
+                                    "mk",
+                                    "nl",
+                                    "no",
+                                    "pl",
+                                    "pt",
+                                    "pt-br",
+                                    "sv",
+                                    "sl",
+                                    "tr"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "kvm" : {
+                                 "default" : 1,
+                                 "description" : "Enable/disable KVM hardware virtualization.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "live-restore" : {
+                                 "description" : "Start the VM immediately while importing or restoring in the background.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "localtime" : {
+                                 "description" : "Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "lock" : {
+                                 "description" : "Lock/unlock the VM.",
+                                 "enum" : [
+                                    "backup",
+                                    "clone",
+                                    "create",
+                                    "migrate",
+                                    "rollback",
+                                    "snapshot",
+                                    "snapshot-delete",
+                                    "suspending",
+                                    "suspended"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "machine" : {
+                                 "description" : "Specify the QEMU machine.",
+                                 "format" : {
+                                    "type" : {
+                                       "default_key" : 1,
+                                       "description" : "Specifies the QEMU machine type.",
+                                       "format_description" : "machine type",
+                                       "maxLength" : 40,
+                                       "optional" : 1,
+                                       "pattern" : "(pc|pc(-i440fx)?-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|q35|pc-q35-\\d+(\\.\\d+)+(\\+pve\\d+)?(\\.pxe)?|virt(?:-\\d+(\\.\\d+)+)?(\\+pve\\d+)?)",
+                                       "type" : "string"
+                                    },
+                                    "viommu" : {
+                                       "description" : "Enable and set guest vIOMMU variant (Intel vIOMMU needs q35 to be set as machine type).",
+                                       "enum" : [
+                                          "intel",
+                                          "virtio"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[type=]<machine type>] [,viommu=<intel|virtio>]"
+                              },
+                              "memory" : {
+                                 "description" : "Memory properties.",
+                                 "format" : {
+                                    "current" : {
+                                       "default" : 512,
+                                       "default_key" : 1,
+                                       "description" : "Current amount of online RAM for the VM in MiB. This is the maximum available memory when you use the balloon device.",
+                                       "minimum" : 16,
+                                       "type" : "integer"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[current=]<integer>"
+                              },
+                              "migrate_downtime" : {
+                                 "default" : 0.1,
+                                 "description" : "Set maximum tolerated downtime (in seconds) for migrations.",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "number",
+                                 "typetext" : "<number> (0 - N)"
+                              },
+                              "migrate_speed" : {
+                                 "default" : 0,
+                                 "description" : "Set maximum speed (in MB/s) for migrations. Value 0 is no limit.",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
+                              },
+                              "name" : {
+                                 "description" : "Set a name for the VM. Only used on the configuration web interface.",
+                                 "format" : "dns-name",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "nameserver" : {
+                                 "description" : "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
+                                 "format" : "address-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "net[n]" : {
+                                 "description" : "Specify network devices.",
+                                 "format" : {
+                                    "bridge" : {
+                                       "description" : "Bridge to attach the network device to. The Proxmox VE standard bridge\nis called 'vmbr0'.\n\nIf you do not specify a bridge, we create a kvm user (NATed) network\ndevice, which provides DHCP and DNS services. The following addresses\nare used:\n\n 10.0.2.2   Gateway\n 10.0.2.3   DNS Server\n 10.0.2.4   SMB Server\n\nThe DHCP server assign addresses to the guest starting from 10.0.2.15.\n",
+                                       "format" : "pve-bridge-id",
+                                       "format_description" : "bridge",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "e1000" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "e1000-82540em" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "e1000-82544gc" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "e1000-82545em" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "e1000e" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "firewall" : {
+                                       "description" : "Whether this interface should be protected by the firewall.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "i82551" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "i82557b" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "i82559er" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "link_down" : {
+                                       "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "macaddr" : {
+                                       "description" : "MAC address. That address must be unique withing your network. This is automatically generated if not specified.",
+                                       "format" : "mac-addr",
+                                       "format_description" : "XX:XX:XX:XX:XX:XX",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                    },
+                                    "model" : {
+                                       "default_key" : 1,
+                                       "description" : "Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.",
+                                       "enum" : [
+                                          "e1000",
+                                          "e1000-82540em",
+                                          "e1000-82544gc",
+                                          "e1000-82545em",
+                                          "e1000e",
+                                          "i82551",
+                                          "i82557b",
+                                          "i82559er",
+                                          "ne2k_isa",
+                                          "ne2k_pci",
+                                          "pcnet",
+                                          "rtl8139",
+                                          "virtio",
+                                          "vmxnet3"
+                                       ],
+                                       "type" : "string"
+                                    },
+                                    "mtu" : {
+                                       "description" : "Force MTU, for VirtIO only. Set to '1' to use the bridge MTU",
+                                       "maximum" : 65520,
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "ne2k_isa" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "ne2k_pci" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "pcnet" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "queues" : {
+                                       "description" : "Number of packet queues to be used on the device.",
+                                       "maximum" : 64,
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "rate" : {
+                                       "description" : "Rate limit in mbps (megabytes per second) as floating point number.",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "rtl8139" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "tag" : {
+                                       "description" : "VLAN tag to apply to packets on this interface.",
+                                       "maximum" : 4094,
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "trunks" : {
+                                       "description" : "VLAN trunks to pass through this interface.",
+                                       "format_description" : "vlanid[;vlanid...]",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                       "type" : "string"
+                                    },
+                                    "virtio" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    },
+                                    "vmxnet3" : {
+                                       "alias" : "macaddr",
+                                       "keyAlias" : "model"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,mtu=<integer>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]"
+                              },
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "numa" : {
+                                 "default" : 0,
+                                 "description" : "Enable/disable NUMA.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "numa[n]" : {
+                                 "description" : "NUMA topology.",
+                                 "format" : {
+                                    "cpus" : {
+                                       "description" : "CPUs accessing this NUMA node.",
+                                       "format_description" : "id[-id];...",
+                                       "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                       "type" : "string"
+                                    },
+                                    "hostnodes" : {
+                                       "description" : "Host NUMA nodes to use.",
+                                       "format_description" : "id[-id];...",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:\\d+(?:-\\d+)?(?:;\\d+(?:-\\d+)?)*)",
+                                       "type" : "string"
+                                    },
+                                    "memory" : {
+                                       "description" : "Amount of memory this NUMA node provides.",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "policy" : {
+                                       "description" : "NUMA allocation policy.",
+                                       "enum" : [
+                                          "preferred",
+                                          "bind",
+                                          "interleave"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]"
+                              },
+                              "onboot" : {
+                                 "default" : 0,
+                                 "description" : "Specifies whether a VM will be started during system bootup.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "ostype" : {
+                                 "description" : "Specify guest operating system.",
+                                 "enum" : [
+                                    "other",
+                                    "wxp",
+                                    "w2k",
+                                    "w2k3",
+                                    "w2k8",
+                                    "wvista",
+                                    "win7",
+                                    "win8",
+                                    "win10",
+                                    "win11",
+                                    "l24",
+                                    "l26",
+                                    "solaris"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "verbose_description" : "Specify guest operating system. This is used to enable special\noptimization/features for specific operating systems:\n\n[horizontal]\nother;; unspecified OS\nwxp;; Microsoft Windows XP\nw2k;; Microsoft Windows 2000\nw2k3;; Microsoft Windows 2003\nw2k8;; Microsoft Windows 2008\nwvista;; Microsoft Windows Vista\nwin7;; Microsoft Windows 7\nwin8;; Microsoft Windows 8/2012/2012r2\nwin10;; Microsoft Windows 10/2016/2019\nwin11;; Microsoft Windows 11/2022/2025\nl24;; Linux 2.4 Kernel\nl26;; Linux 2.6 - 6.X Kernel\nsolaris;; Solaris/OpenSolaris/OpenIndiania kernel\n"
+                              },
+                              "parallel[n]" : {
+                                 "description" : "Map host parallel devices (n is 0 to 2).",
+                                 "optional" : 1,
+                                 "pattern" : "/dev/parport\\d+|/dev/usb/lp\\d+",
+                                 "type" : "string",
+                                 "verbose_description" : "Map host parallel devices (n is 0 to 2).\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                              },
+                              "pool" : {
+                                 "description" : "Add the VM to the specified pool.",
+                                 "format" : "pve-poolid",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "protection" : {
+                                 "default" : 0,
+                                 "description" : "Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "reboot" : {
+                                 "default" : 1,
+                                 "description" : "Allow reboot. If set to '0' the VM exit on reboot.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "rng0" : {
+                                 "description" : "Configure a VirtIO-based Random Number Generator.",
+                                 "format" : {
+                                    "max_bytes" : {
+                                       "default" : 1024,
+                                       "description" : "Maximum bytes of entropy allowed to get injected into the guest every 'period' milliseconds. Prefer a lower value when using '/dev/random' as source. Use `0` to disable limiting (potentially dangerous!).",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "period" : {
+                                       "default" : 1000,
+                                       "description" : "Every 'period' milliseconds the entropy-injection quota is reset, allowing the guest to retrieve another 'max_bytes' of entropy.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "source" : {
+                                       "default_key" : 1,
+                                       "description" : "The file on the host to gather entropy from. In most cases '/dev/urandom' should be preferred over '/dev/random' to avoid entropy-starvation issues on the host. Using urandom does *not* decrease security in any meaningful way, as it's still seeded from real entropy, and the bytes provided will most likely be mixed with real entropy on the guest as well. '/dev/hwrng' can be used to pass through a hardware RNG from the host.",
+                                       "enum" : [
+                                          "/dev/urandom",
+                                          "/dev/random",
+                                          "/dev/hwrng"
+                                       ],
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[source=]</dev/urandom|/dev/random|/dev/hwrng> [,max_bytes=<integer>] [,period=<integer>]"
+                              },
+                              "sata[n]" : {
+                                 "description" : "Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                 "format" : {
+                                    "aio" : {
+                                       "description" : "AIO type to use.",
+                                       "enum" : [
+                                          "native",
+                                          "threads",
+                                          "io_uring"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "backup" : {
+                                       "description" : "Whether the drive should be included when making backups.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "bps" : {
+                                       "description" : "Maximum r/w speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_max_length" : {
+                                       "description" : "Maximum length of I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_rd" : {
+                                       "description" : "Maximum read speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_rd_length" : {
+                                       "alias" : "bps_rd_max_length"
+                                    },
+                                    "bps_rd_max_length" : {
+                                       "description" : "Maximum length of read I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_wr" : {
+                                       "description" : "Maximum write speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_wr_length" : {
+                                       "alias" : "bps_wr_max_length"
+                                    },
+                                    "bps_wr_max_length" : {
+                                       "description" : "Maximum length of write I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "cache" : {
+                                       "description" : "The drive's cache mode",
+                                       "enum" : [
+                                          "none",
+                                          "writethrough",
+                                          "writeback",
+                                          "unsafe",
+                                          "directsync"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "cyls" : {
+                                       "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "detect_zeroes" : {
+                                       "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "discard" : {
+                                       "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                       "enum" : [
+                                          "ignore",
+                                          "on"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "file" : {
+                                       "default_key" : 1,
+                                       "description" : "The drive's backing volume.",
+                                       "format" : "pve-volume-id-or-qm-path",
+                                       "format_description" : "volume",
+                                       "type" : "string"
+                                    },
+                                    "format" : {
+                                       "description" : "The drive's backing file's data format.",
+                                       "enum" : [
+                                          "raw",
+                                          "cow",
+                                          "qcow",
+                                          "qed",
+                                          "qcow2",
+                                          "vmdk",
+                                          "cloop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "heads" : {
+                                       "description" : "Force the drive's physical geometry to have a specific head count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "import-from" : {
+                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                       "format" : "pve-volume-id-or-absolute-path",
+                                       "format_description" : "source volume",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "iops" : {
+                                       "description" : "Maximum r/w I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_max" : {
+                                       "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_max_length" : {
+                                       "description" : "Maximum length of I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd" : {
+                                       "description" : "Maximum read I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd_length" : {
+                                       "alias" : "iops_rd_max_length"
+                                    },
+                                    "iops_rd_max" : {
+                                       "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd_max_length" : {
+                                       "description" : "Maximum length of read I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr" : {
+                                       "description" : "Maximum write I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr_length" : {
+                                       "alias" : "iops_wr_max_length"
+                                    },
+                                    "iops_wr_max" : {
+                                       "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr_max_length" : {
+                                       "description" : "Maximum length of write I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "mbps" : {
+                                       "description" : "Maximum r/w speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_max" : {
+                                       "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_rd" : {
+                                       "description" : "Maximum read speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_rd_max" : {
+                                       "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_wr" : {
+                                       "description" : "Maximum write speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_wr_max" : {
+                                       "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "media" : {
+                                       "default" : "disk",
+                                       "description" : "The drive's media type.",
+                                       "enum" : [
+                                          "cdrom",
+                                          "disk"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "replicate" : {
+                                       "default" : 1,
+                                       "description" : "Whether the drive should considered for replication jobs.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "rerror" : {
+                                       "description" : "Read error action.",
+                                       "enum" : [
+                                          "ignore",
+                                          "report",
+                                          "stop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "secs" : {
+                                       "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "serial" : {
+                                       "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                       "format" : "urlencoded",
+                                       "format_description" : "serial",
+                                       "maxLength" : 60,
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "shared" : {
+                                       "default" : 0,
+                                       "description" : "Mark this locally-managed volume as available on all nodes",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                    },
+                                    "size" : {
+                                       "description" : "Disk size. This is purely informational and has no effect.",
+                                       "format" : "disk-size",
+                                       "format_description" : "DiskSize",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "snapshot" : {
+                                       "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "ssd" : {
+                                       "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "trans" : {
+                                       "description" : "Force disk geometry bios translation mode.",
+                                       "enum" : [
+                                          "none",
+                                          "lba",
+                                          "auto"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "volume" : {
+                                       "alias" : "file"
+                                    },
+                                    "werror" : {
+                                       "description" : "Write error action.",
+                                       "enum" : [
+                                          "enospc",
+                                          "ignore",
+                                          "report",
+                                          "stop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "wwn" : {
+                                       "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                       "format_description" : "wwn",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]"
+                              },
+                              "scsi[n]" : {
+                                 "description" : "Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                 "format" : {
+                                    "aio" : {
+                                       "description" : "AIO type to use.",
+                                       "enum" : [
+                                          "native",
+                                          "threads",
+                                          "io_uring"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "backup" : {
+                                       "description" : "Whether the drive should be included when making backups.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "bps" : {
+                                       "description" : "Maximum r/w speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_max_length" : {
+                                       "description" : "Maximum length of I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_rd" : {
+                                       "description" : "Maximum read speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_rd_length" : {
+                                       "alias" : "bps_rd_max_length"
+                                    },
+                                    "bps_rd_max_length" : {
+                                       "description" : "Maximum length of read I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_wr" : {
+                                       "description" : "Maximum write speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_wr_length" : {
+                                       "alias" : "bps_wr_max_length"
+                                    },
+                                    "bps_wr_max_length" : {
+                                       "description" : "Maximum length of write I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "cache" : {
+                                       "description" : "The drive's cache mode",
+                                       "enum" : [
+                                          "none",
+                                          "writethrough",
+                                          "writeback",
+                                          "unsafe",
+                                          "directsync"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "cyls" : {
+                                       "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "detect_zeroes" : {
+                                       "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "discard" : {
+                                       "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                       "enum" : [
+                                          "ignore",
+                                          "on"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "file" : {
+                                       "default_key" : 1,
+                                       "description" : "The drive's backing volume.",
+                                       "format" : "pve-volume-id-or-qm-path",
+                                       "format_description" : "volume",
+                                       "type" : "string"
+                                    },
+                                    "format" : {
+                                       "description" : "The drive's backing file's data format.",
+                                       "enum" : [
+                                          "raw",
+                                          "cow",
+                                          "qcow",
+                                          "qed",
+                                          "qcow2",
+                                          "vmdk",
+                                          "cloop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "heads" : {
+                                       "description" : "Force the drive's physical geometry to have a specific head count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "import-from" : {
+                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                       "format" : "pve-volume-id-or-absolute-path",
+                                       "format_description" : "source volume",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "iops" : {
+                                       "description" : "Maximum r/w I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_max" : {
+                                       "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_max_length" : {
+                                       "description" : "Maximum length of I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd" : {
+                                       "description" : "Maximum read I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd_length" : {
+                                       "alias" : "iops_rd_max_length"
+                                    },
+                                    "iops_rd_max" : {
+                                       "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd_max_length" : {
+                                       "description" : "Maximum length of read I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr" : {
+                                       "description" : "Maximum write I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr_length" : {
+                                       "alias" : "iops_wr_max_length"
+                                    },
+                                    "iops_wr_max" : {
+                                       "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr_max_length" : {
+                                       "description" : "Maximum length of write I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iothread" : {
+                                       "description" : "Whether to use iothreads for this drive",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "mbps" : {
+                                       "description" : "Maximum r/w speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_max" : {
+                                       "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_rd" : {
+                                       "description" : "Maximum read speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_rd_max" : {
+                                       "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_wr" : {
+                                       "description" : "Maximum write speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_wr_max" : {
+                                       "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "media" : {
+                                       "default" : "disk",
+                                       "description" : "The drive's media type.",
+                                       "enum" : [
+                                          "cdrom",
+                                          "disk"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "product" : {
+                                       "description" : "The drive's product name, up to 16 bytes long.",
+                                       "format_description" : "product",
+                                       "optional" : 1,
+                                       "pattern" : "[A-Za-z0-9\\-_\\s]{,16}",
+                                       "type" : "string"
+                                    },
+                                    "queues" : {
+                                       "description" : "Number of queues.",
+                                       "minimum" : 2,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "replicate" : {
+                                       "default" : 1,
+                                       "description" : "Whether the drive should considered for replication jobs.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "rerror" : {
+                                       "description" : "Read error action.",
+                                       "enum" : [
+                                          "ignore",
+                                          "report",
+                                          "stop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "ro" : {
+                                       "description" : "Whether the drive is read-only.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "scsiblock" : {
+                                       "default" : 0,
+                                       "description" : "whether to use scsi-block for full passthrough of host block device\n\nWARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "secs" : {
+                                       "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "serial" : {
+                                       "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                       "format" : "urlencoded",
+                                       "format_description" : "serial",
+                                       "maxLength" : 60,
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "shared" : {
+                                       "default" : 0,
+                                       "description" : "Mark this locally-managed volume as available on all nodes",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                    },
+                                    "size" : {
+                                       "description" : "Disk size. This is purely informational and has no effect.",
+                                       "format" : "disk-size",
+                                       "format_description" : "DiskSize",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "snapshot" : {
+                                       "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "ssd" : {
+                                       "description" : "Whether to expose this drive as an SSD, rather than a rotational hard disk.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "trans" : {
+                                       "description" : "Force disk geometry bios translation mode.",
+                                       "enum" : [
+                                          "none",
+                                          "lba",
+                                          "auto"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "vendor" : {
+                                       "description" : "The drive's vendor name, up to 8 bytes long.",
+                                       "format_description" : "vendor",
+                                       "optional" : 1,
+                                       "pattern" : "[A-Za-z0-9\\-_\\s]{,8}",
+                                       "type" : "string"
+                                    },
+                                    "volume" : {
+                                       "alias" : "file"
+                                    },
+                                    "werror" : {
+                                       "description" : "Write error action.",
+                                       "enum" : [
+                                          "enospc",
+                                          "ignore",
+                                          "report",
+                                          "stop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "wwn" : {
+                                       "description" : "The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.",
+                                       "format_description" : "wwn",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:^(0x)[0-9a-fA-F]{16})",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,product=<product>] [,queues=<integer>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,vendor=<vendor>] [,werror=<enum>] [,wwn=<wwn>]"
+                              },
+                              "scsihw" : {
+                                 "default" : "lsi",
+                                 "description" : "SCSI controller model",
+                                 "enum" : [
+                                    "lsi",
+                                    "lsi53c810",
+                                    "virtio-scsi-pci",
+                                    "virtio-scsi-single",
+                                    "megasas",
+                                    "pvscsi"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "searchdomain" : {
+                                 "description" : "cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "serial[n]" : {
+                                 "description" : "Create a serial device inside the VM (n is 0 to 3)",
+                                 "optional" : 1,
+                                 "pattern" : "(/dev/.+|socket)",
+                                 "type" : "string",
+                                 "verbose_description" : "Create a serial device inside the VM (n is 0 to 3), and pass through a\nhost serial device (i.e. /dev/ttyS0), or create a unix socket on the\nhost side (use 'qm terminal' to open a terminal connection).\n\nNOTE: If you pass through a host serial device, it is no longer possible to migrate such machines -\nuse with special care.\n\nCAUTION: Experimental! User reported problems with this option.\n"
+                              },
+                              "shares" : {
+                                 "default" : 1000,
+                                 "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
+                                 "maximum" : 50000,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - 50000)"
+                              },
+                              "smbios1" : {
+                                 "description" : "Specify SMBIOS type 1 fields.",
+                                 "format" : "pve-qm-smbios1",
+                                 "maxLength" : 512,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]"
+                              },
+                              "smp" : {
+                                 "default" : 1,
+                                 "description" : "The number of CPUs. Please use option -sockets instead.",
+                                 "minimum" : 1,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - N)"
+                              },
+                              "sockets" : {
+                                 "default" : 1,
+                                 "description" : "The number of CPU sockets.",
+                                 "minimum" : 1,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - N)"
+                              },
+                              "spice_enhancements" : {
+                                 "description" : "Configure additional enhancements for SPICE.",
+                                 "format" : {
+                                    "foldersharing" : {
+                                       "default" : "0",
+                                       "description" : "Enable folder sharing via SPICE. Needs Spice-WebDAV daemon installed in the VM.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "videostreaming" : {
+                                       "default" : "off",
+                                       "description" : "Enable video streaming. Uses compression for detected video streams.",
+                                       "enum" : [
+                                          "off",
+                                          "all",
+                                          "filter"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[foldersharing=<1|0>] [,videostreaming=<off|all|filter>]"
+                              },
+                              "sshkeys" : {
+                                 "description" : "cloud-init: Setup public SSH keys (one key per line, OpenSSH format).",
+                                 "format" : "urlencoded",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "start" : {
+                                 "default" : 0,
+                                 "description" : "Start VM after it was created successfully.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "startdate" : {
+                                 "default" : "now",
+                                 "description" : "Set the initial date of the real time clock. Valid format for date are:'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
+                                 "optional" : 1,
+                                 "pattern" : "(now|\\d{4}-\\d{1,2}-\\d{1,2}(T\\d{1,2}:\\d{1,2}:\\d{1,2})?)",
+                                 "type" : "string",
+                                 "typetext" : "(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)"
+                              },
+                              "startup" : {
+                                 "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
+                                 "format" : "pve-startup-order",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
+                              },
+                              "storage" : {
+                                 "description" : "Default storage.",
+                                 "format" : "pve-storage-id",
+                                 "format_description" : "storage ID",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<storage ID>"
+                              },
+                              "tablet" : {
+                                 "default" : 1,
+                                 "description" : "Enable/disable the USB tablet device.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>",
+                                 "verbose_description" : "Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (`qm set <vmid> --vga qxl`)."
+                              },
+                              "tags" : {
+                                 "description" : "Tags of the VM. This is only meta information.",
+                                 "format" : "pve-tag-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "tdf" : {
+                                 "default" : 0,
+                                 "description" : "Enable/disable time drift fix.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "template" : {
+                                 "default" : 0,
+                                 "description" : "Enable/disable Template.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "tpmstate0" : {
+                                 "description" : "Configure a Disk for storing TPM state. The format is fixed to 'raw'. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                 "format" : {
+                                    "file" : {
+                                       "default_key" : 1,
+                                       "description" : "The drive's backing volume.",
+                                       "format" : "pve-volume-id-or-qm-path",
+                                       "format_description" : "volume",
+                                       "type" : "string"
+                                    },
+                                    "import-from" : {
+                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                       "format" : "pve-volume-id-or-absolute-path",
+                                       "format_description" : "source volume",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "size" : {
+                                       "description" : "Disk size. This is purely informational and has no effect.",
+                                       "format" : "disk-size",
+                                       "format_description" : "DiskSize",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "version" : {
+                                       "default" : "v2.0",
+                                       "description" : "The TPM interface version. v2.0 is newer and should be preferred. Note that this cannot be changed later on.",
+                                       "enum" : [
+                                          "v1.2",
+                                          "v2.0"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "volume" : {
+                                       "alias" : "file"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[file=]<volume> [,import-from=<source volume>] [,size=<DiskSize>] [,version=<v1.2|v2.0>]"
+                              },
+                              "unique" : {
+                                 "description" : "Assign a unique random ethernet address.",
+                                 "optional" : 1,
+                                 "requires" : "archive",
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "unused[n]" : {
+                                 "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
+                                 "format" : {
+                                    "file" : {
+                                       "default_key" : 1,
+                                       "description" : "The drive's backing volume.",
+                                       "format" : "pve-volume-id",
+                                       "format_description" : "volume",
+                                       "type" : "string"
+                                    },
+                                    "volume" : {
+                                       "alias" : "file"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[file=]<volume>"
+                              },
+                              "usb[n]" : {
+                                 "description" : "Configure an USB device (n is 0 to 4, for machine version >= 7.1 and ostype l26 or windows > 7, n can be up to 14).",
+                                 "format" : {
+                                    "host" : {
+                                       "default_key" : 1,
+                                       "description" : "The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:\n\n 'bus-port(.port)*' (decimal numbers) or\n 'vendor_id:product_id' (hexadeciaml numbers) or\n 'spice'\n\nYou can use the 'lsusb -t' command to list existing usb devices.\n\nNOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such\nmachines - use with special care.\n\nThe value 'spice' can be used to add a usb redirection devices for spice.\n\nEither this or the 'mapping' key must be set.\n",
+                                       "format_description" : "HOSTUSBDEVICE|spice",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:(?:(?:(?^:(0x)?([0-9A-Fa-f]{4}):(0x)?([0-9A-Fa-f]{4})))|(?:(?^:(\\d+)\\-(\\d+(\\.\\d+)*)))|[Ss][Pp][Ii][Cc][Ee]))",
+                                       "type" : "string"
+                                    },
+                                    "mapping" : {
+                                       "description" : "The ID of a cluster wide mapping. Either this or the default-key 'host' must be set.",
+                                       "format" : "pve-configid",
+                                       "format_description" : "mapping-id",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "usb3" : {
+                                       "default" : 0,
+                                       "description" : "Specifies whether if given host option is a USB3 device or port. For modern guests (machine version >= 7.1 and ostype l26 and windows > 7), this flag is irrelevant (all devices are plugged into a xhci controller).",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[host=]<HOSTUSBDEVICE|spice>] [,mapping=<mapping-id>] [,usb3=<1|0>]"
+                              },
+                              "vcpus" : {
+                                 "default" : 0,
+                                 "description" : "Number of hotplugged vcpus.",
+                                 "minimum" : 1,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - N)"
+                              },
+                              "vga" : {
+                                 "description" : "Configure the VGA hardware.",
+                                 "format" : {
+                                    "clipboard" : {
+                                       "description" : "Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added. Migration with VNC clipboard is not yet supported!",
+                                       "enum" : [
+                                          "vnc"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "memory" : {
+                                       "description" : "Sets the VGA memory (in MiB). Has no effect with serial display.",
+                                       "maximum" : 512,
+                                       "minimum" : 4,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "type" : {
+                                       "default" : "std",
+                                       "default_key" : 1,
+                                       "description" : "Select the VGA type.",
+                                       "enum" : [
+                                          "cirrus",
+                                          "qxl",
+                                          "qxl2",
+                                          "qxl3",
+                                          "qxl4",
+                                          "none",
+                                          "serial0",
+                                          "serial1",
+                                          "serial2",
+                                          "serial3",
+                                          "std",
+                                          "virtio",
+                                          "virtio-gl",
+                                          "vmware"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[type=]<enum>] [,clipboard=<vnc>] [,memory=<integer>]",
+                                 "verbose_description" : "Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.\nYou can also run without any graphic card, using a serial device as terminal."
+                              },
+                              "virtio[n]" : {
+                                 "description" : "Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.",
+                                 "format" : {
+                                    "aio" : {
+                                       "description" : "AIO type to use.",
+                                       "enum" : [
+                                          "native",
+                                          "threads",
+                                          "io_uring"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "backup" : {
+                                       "description" : "Whether the drive should be included when making backups.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "bps" : {
+                                       "description" : "Maximum r/w speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_max_length" : {
+                                       "description" : "Maximum length of I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_rd" : {
+                                       "description" : "Maximum read speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_rd_length" : {
+                                       "alias" : "bps_rd_max_length"
+                                    },
+                                    "bps_rd_max_length" : {
+                                       "description" : "Maximum length of read I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_wr" : {
+                                       "description" : "Maximum write speed in bytes per second.",
+                                       "format_description" : "bps",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "bps_wr_length" : {
+                                       "alias" : "bps_wr_max_length"
+                                    },
+                                    "bps_wr_max_length" : {
+                                       "description" : "Maximum length of write I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "cache" : {
+                                       "description" : "The drive's cache mode",
+                                       "enum" : [
+                                          "none",
+                                          "writethrough",
+                                          "writeback",
+                                          "unsafe",
+                                          "directsync"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "cyls" : {
+                                       "description" : "Force the drive's physical geometry to have a specific cylinder count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "detect_zeroes" : {
+                                       "description" : "Controls whether to detect and try to optimize writes of zeroes.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "discard" : {
+                                       "description" : "Controls whether to pass discard/trim requests to the underlying storage.",
+                                       "enum" : [
+                                          "ignore",
+                                          "on"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "file" : {
+                                       "default_key" : 1,
+                                       "description" : "The drive's backing volume.",
+                                       "format" : "pve-volume-id-or-qm-path",
+                                       "format_description" : "volume",
+                                       "type" : "string"
+                                    },
+                                    "format" : {
+                                       "description" : "The drive's backing file's data format.",
+                                       "enum" : [
+                                          "raw",
+                                          "cow",
+                                          "qcow",
+                                          "qed",
+                                          "qcow2",
+                                          "vmdk",
+                                          "cloop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "heads" : {
+                                       "description" : "Force the drive's physical geometry to have a specific head count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "import-from" : {
+                                       "description" : "Create a new disk, importing from this source (volume ID or absolute path). When an absolute path is specified, it's up to you to ensure that the source is not actively used by another process during the import!",
+                                       "format" : "pve-volume-id-or-absolute-path",
+                                       "format_description" : "source volume",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "iops" : {
+                                       "description" : "Maximum r/w I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_max" : {
+                                       "description" : "Maximum unthrottled r/w I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_max_length" : {
+                                       "description" : "Maximum length of I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd" : {
+                                       "description" : "Maximum read I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd_length" : {
+                                       "alias" : "iops_rd_max_length"
+                                    },
+                                    "iops_rd_max" : {
+                                       "description" : "Maximum unthrottled read I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_rd_max_length" : {
+                                       "description" : "Maximum length of read I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr" : {
+                                       "description" : "Maximum write I/O in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr_length" : {
+                                       "alias" : "iops_wr_max_length"
+                                    },
+                                    "iops_wr_max" : {
+                                       "description" : "Maximum unthrottled write I/O pool in operations per second.",
+                                       "format_description" : "iops",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iops_wr_max_length" : {
+                                       "description" : "Maximum length of write I/O bursts in seconds.",
+                                       "format_description" : "seconds",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "iothread" : {
+                                       "description" : "Whether to use iothreads for this drive",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "mbps" : {
+                                       "description" : "Maximum r/w speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_max" : {
+                                       "description" : "Maximum unthrottled r/w pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_rd" : {
+                                       "description" : "Maximum read speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_rd_max" : {
+                                       "description" : "Maximum unthrottled read pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_wr" : {
+                                       "description" : "Maximum write speed in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "mbps_wr_max" : {
+                                       "description" : "Maximum unthrottled write pool in megabytes per second.",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
+                                    },
+                                    "media" : {
+                                       "default" : "disk",
+                                       "description" : "The drive's media type.",
+                                       "enum" : [
+                                          "cdrom",
+                                          "disk"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "replicate" : {
+                                       "default" : 1,
+                                       "description" : "Whether the drive should considered for replication jobs.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "rerror" : {
+                                       "description" : "Read error action.",
+                                       "enum" : [
+                                          "ignore",
+                                          "report",
+                                          "stop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "ro" : {
+                                       "description" : "Whether the drive is read-only.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "secs" : {
+                                       "description" : "Force the drive's physical geometry to have a specific sector count.",
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "serial" : {
+                                       "description" : "The drive's reported serial number, url-encoded, up to 20 bytes long.",
+                                       "format" : "urlencoded",
+                                       "format_description" : "serial",
+                                       "maxLength" : 60,
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "shared" : {
+                                       "default" : 0,
+                                       "description" : "Mark this locally-managed volume as available on all nodes",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "verbose_description" : "Mark this locally-managed volume as available on all nodes.\n\nWARNING: This option does not share the volume automatically, it assumes it is shared already!"
+                                    },
+                                    "size" : {
+                                       "description" : "Disk size. This is purely informational and has no effect.",
+                                       "format" : "disk-size",
+                                       "format_description" : "DiskSize",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "snapshot" : {
+                                       "description" : "Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "trans" : {
+                                       "description" : "Force disk geometry bios translation mode.",
+                                       "enum" : [
+                                          "none",
+                                          "lba",
+                                          "auto"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "volume" : {
+                                       "alias" : "file"
+                                    },
+                                    "werror" : {
+                                       "description" : "Write error action.",
+                                       "enum" : [
+                                          "enospc",
+                                          "ignore",
+                                          "report",
+                                          "stop"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[file=]<volume> [,aio=<native|threads|io_uring>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,import-from=<source volume>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,ro=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]"
+                              },
+                              "vmgenid" : {
+                                 "default" : "1 (autogenerated)",
+                                 "description" : "Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.",
+                                 "format_description" : "UUID",
+                                 "optional" : 1,
+                                 "pattern" : "(?:[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}|[01])",
+                                 "type" : "string",
+                                 "verbose_description" : "The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.\nNote that auto-creation only works when done through API/CLI create or update methods, but not when manually editing the config file."
+                              },
+                              "vmid" : {
+                                 "description" : "The (unique) ID of the VM.",
+                                 "format" : "pve-vmid",
+                                 "maximum" : 999999999,
+                                 "minimum" : 100,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (100 - 999999999)"
+                              },
+                              "vmstatestorage" : {
+                                 "description" : "Default storage for VM state volumes/files.",
+                                 "format" : "pve-storage-id",
+                                 "format_description" : "storage ID",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<storage ID>"
+                              },
+                              "watchdog" : {
+                                 "description" : "Create a virtual hardware watchdog device.",
+                                 "format" : "pve-qm-watchdog",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[model=]<i6300esb|ib700>] [,action=<enum>]",
+                                 "verbose_description" : "Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "You need 'VM.Allocate' permissions on /vms/{vmid} or on the VM pool /pool/{pool}. For restore (option 'archive'), it is enough if the user has 'VM.Backup' permission and the VM already exists. If you create disks you need 'Datastore.AllocateSpace' on any used storage.If you use a bridge/vlan, you need 'SDN.Use' on any used bridge/vlan.",
+                           "user" : "all"
+                        },
+                        "protected" : 1,
+                        "proxyto" : "node",
+                        "returns" : {
+                           "type" : "string"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/nodes/{node}/qemu",
+                  "text" : "qemu"
+               },
+               {
+                  "children" : [
+                     {
+                        "children" : [
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Get container configuration.",
+                                    "method" : "GET",
+                                    "name" : "vm_config",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "current" : {
+                                             "default" : 0,
+                                             "description" : "Get current values (instead of pending values).",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "snapshot" : {
+                                             "description" : "Fetch config values from given snapshot.",
+                                             "format" : "pve-configid",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
+                                    },
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "properties" : {
+                                          "arch" : {
+                                             "default" : "amd64",
+                                             "description" : "OS architecture type.",
+                                             "enum" : [
+                                                "amd64",
+                                                "i386",
+                                                "arm64",
+                                                "armhf",
+                                                "riscv32",
+                                                "riscv64"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "cmode" : {
+                                             "default" : "tty",
+                                             "description" : "Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).",
+                                             "enum" : [
+                                                "shell",
+                                                "console",
+                                                "tty"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "console" : {
+                                             "default" : 1,
+                                             "description" : "Attach a console device (/dev/console) to the container.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "cores" : {
+                                             "description" : "The number of cores assigned to the container. A container can use all available cores by default.",
+                                             "maximum" : 8192,
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "cpulimit" : {
+                                             "default" : 0,
+                                             "description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.",
+                                             "maximum" : 8192,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "number"
+                                          },
+                                          "cpuunits" : {
+                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
+                                             "description" : "CPU weight for a container, will be clamped to [1, 10000] in cgroup v2.",
+                                             "maximum" : 500000,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "verbose_description" : "CPU weight for a container. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this container gets. Number is relative to the weights of all the other running guests."
+                                          },
+                                          "debug" : {
+                                             "default" : 0,
+                                             "description" : "Try to be more verbose. For now this only enables debug log-level on start.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "description" : {
+                                             "description" : "Description for the Container. Shown in the web-interface CT's summary. This is saved as comment inside the configuration file.",
+                                             "maxLength" : 8192,
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "dev[n]" : {
+                                             "description" : "Device to pass through to the container",
+                                             "format" : {
+                                                "gid" : {
+                                                   "description" : "Group ID to be assigned to the device node",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "mode" : {
+                                                   "description" : "Access mode to be set on the device node",
+                                                   "format_description" : "Octal access mode",
+                                                   "optional" : 1,
+                                                   "pattern" : "0[0-7]{3}",
+                                                   "type" : "string"
+                                                },
+                                                "path" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Device to pass through to the container",
+                                                   "format" : "pve-lxc-dev-string",
+                                                   "format_description" : "Path",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "verbose_description" : "Path to the device to pass through to the container"
+                                                },
+                                                "uid" : {
+                                                   "description" : "User ID to be assigned to the device node",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "digest" : {
+                                             "description" : "SHA1 digest of configuration file. This can be used to prevent concurrent modifications.",
+                                             "type" : "string"
+                                          },
+                                          "features" : {
+                                             "description" : "Allow containers access to advanced features.",
+                                             "format" : {
+                                                "force_rw_sys" : {
+                                                   "default" : 0,
+                                                   "description" : "Mount /sys in unprivileged containers as `rw` instead of `mixed`. This can break networking under newer (>= v245) systemd-network use.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "fuse" : {
+                                                   "default" : 0,
+                                                   "description" : "Allow using 'fuse' file systems in a container. Note that interactions between fuse and the freezer cgroup can potentially cause I/O deadlocks.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "keyctl" : {
+                                                   "default" : 0,
+                                                   "description" : "For unprivileged containers only: Allow the use of the keyctl() system call. This is required to use docker inside a container. By default unprivileged containers will see this system call as non-existent. This is mostly a workaround for systemd-networkd, as it will treat it as a fatal error when some keyctl() operations are denied by the kernel due to lacking permissions. Essentially, you can choose between running systemd-networkd or docker.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mknod" : {
+                                                   "default" : 0,
+                                                   "description" : "Allow unprivileged containers to use mknod() to add certain device nodes. This requires a kernel with seccomp trap to user space support (5.3 or newer). This is experimental.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mount" : {
+                                                   "description" : "Allow mounting file systems of specific types. This should be a list of file system types as used with the mount command. Note that this can have negative effects on the container's security. With access to a loop device, mounting a file can circumvent the mknod permission of the devices cgroup, mounting an NFS file system can block the host's I/O completely and prevent it from rebooting, etc.",
+                                                   "format_description" : "fstype;fstype;...",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:[a-zA-Z0-9_; ]+)",
+                                                   "type" : "string"
+                                                },
+                                                "nesting" : {
+                                                   "default" : 0,
+                                                   "description" : "Allow nesting. Best used with unprivileged containers with additional id mapping. Note that this will expose procfs and sysfs contents of the host to the guest.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "hookscript" : {
+                                             "description" : "Script that will be exectued during various steps in the containers lifetime.",
+                                             "format" : "pve-volume-id",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "hostname" : {
+                                             "description" : "Set a host name for the container.",
+                                             "format" : "dns-name",
+                                             "maxLength" : 255,
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "lock" : {
+                                             "description" : "Lock/unlock the container.",
+                                             "enum" : [
+                                                "backup",
+                                                "create",
+                                                "destroyed",
+                                                "disk",
+                                                "fstrim",
+                                                "migrate",
+                                                "mounted",
+                                                "rollback",
+                                                "snapshot",
+                                                "snapshot-delete"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "lxc" : {
+                                             "description" : "Array of lxc low-level configurations ([[key1, value1], [key2, value2] ...]).",
+                                             "items" : {
+                                                "items" : {
+                                                   "type" : "string"
+                                                },
+                                                "type" : "array"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          },
+                                          "memory" : {
+                                             "default" : 512,
+                                             "description" : "Amount of RAM for the container in MB.",
+                                             "minimum" : 16,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "mp[n]" : {
+                                             "description" : "Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.",
+                                             "format" : {
+                                                "acl" : {
+                                                   "description" : "Explicitly enable or disable ACL support.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether to include the mount point in backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Whether to include the mount point in backups (only used for volume mount points)."
+                                                },
+                                                "mountoptions" : {
+                                                   "description" : "Extra mount options for rootfs/mps.",
+                                                   "format_description" : "opt[;opt...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
+                                                   "type" : "string"
+                                                },
+                                                "mp" : {
+                                                   "description" : "Path to the mount point as seen from inside the container (must not contain symlinks).",
+                                                   "format" : "pve-lxc-mp-string",
+                                                   "format_description" : "Path",
+                                                   "type" : "string",
+                                                   "verbose_description" : "Path to the mount point as seen from inside the container.\n\nNOTE: Must not contain any symlinks for security reasons."
+                                                },
+                                                "quota" : {
+                                                   "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Will include this volume to a storage replica job.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ro" : {
+                                                   "description" : "Read-only mount point",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Volume size (read only value).",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Volume, device or directory to mount into the container.",
+                                                   "format" : "pve-lxc-mp-string",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "nameserver" : {
+                                             "description" : "Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
+                                             "format" : "lxc-ip-with-ll-iface-list",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "net[n]" : {
+                                             "description" : "Specifies network interfaces for the container.",
+                                             "format" : {
+                                                "bridge" : {
+                                                   "description" : "Bridge to attach the network device to.",
+                                                   "format_description" : "bridge",
+                                                   "optional" : 1,
+                                                   "pattern" : "[-_.\\w\\d]+",
+                                                   "type" : "string"
+                                                },
+                                                "firewall" : {
+                                                   "description" : "Controls whether this interface's firewall rules should be used.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "gw" : {
+                                                   "description" : "Default gateway for IPv4 traffic.",
+                                                   "format" : "ipv4",
+                                                   "format_description" : "GatewayIPv4",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "gw6" : {
+                                                   "description" : "Default gateway for IPv6 traffic.",
+                                                   "format" : "ipv6",
+                                                   "format_description" : "GatewayIPv6",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "hwaddr" : {
+                                                   "description" : "The interface MAC address. This is dynamically allocated by default, but you can set that statically if needed, for example to always have the same link-local IPv6 address. (lxc.network.hwaddr)",
+                                                   "format" : "mac-addr",
+                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                                },
+                                                "ip" : {
+                                                   "description" : "IPv4 address in CIDR format.",
+                                                   "format" : "pve-ipv4-config",
+                                                   "format_description" : "(IPv4/CIDR|dhcp|manual)",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "ip6" : {
+                                                   "description" : "IPv6 address in CIDR format.",
+                                                   "format" : "pve-ipv6-config",
+                                                   "format_description" : "(IPv6/CIDR|auto|dhcp|manual)",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "link_down" : {
+                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mtu" : {
+                                                   "description" : "Maximum transfer unit of the interface. (lxc.network.mtu)",
+                                                   "maximum" : 65535,
+                                                   "minimum" : 64,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "name" : {
+                                                   "description" : "Name of the network device as seen from inside the container. (lxc.network.name)",
+                                                   "format_description" : "string",
+                                                   "pattern" : "[-_.\\w\\d]+",
+                                                   "type" : "string"
+                                                },
+                                                "rate" : {
+                                                   "description" : "Apply rate limiting to the interface",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "tag" : {
+                                                   "description" : "VLAN tag for this interface.",
+                                                   "maximum" : 4094,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "trunks" : {
+                                                   "description" : "VLAN ids to pass through the interface",
+                                                   "format_description" : "vlanid[;vlanid...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:\\d+(?:;\\d+)*)",
+                                                   "type" : "string"
+                                                },
+                                                "type" : {
+                                                   "description" : "Network interface type.",
+                                                   "enum" : [
+                                                      "veth"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "onboot" : {
+                                             "default" : 0,
+                                             "description" : "Specifies whether a container will be started during system bootup.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "ostype" : {
+                                             "description" : "OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.",
+                                             "enum" : [
+                                                "debian",
+                                                "devuan",
+                                                "ubuntu",
+                                                "centos",
+                                                "fedora",
+                                                "opensuse",
+                                                "archlinux",
+                                                "alpine",
+                                                "gentoo",
+                                                "nixos",
+                                                "unmanaged"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "protection" : {
+                                             "default" : 0,
+                                             "description" : "Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "rootfs" : {
+                                             "description" : "Use volume as container root.",
+                                             "format" : {
+                                                "acl" : {
+                                                   "description" : "Explicitly enable or disable ACL support.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mountoptions" : {
+                                                   "description" : "Extra mount options for rootfs/mps.",
+                                                   "format_description" : "opt[;opt...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
+                                                   "type" : "string"
+                                                },
+                                                "quota" : {
+                                                   "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Will include this volume to a storage replica job.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ro" : {
+                                                   "description" : "Read-only mount point",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Volume size (read only value).",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Volume, device or directory to mount into the container.",
+                                                   "format" : "pve-lxc-mp-string",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "searchdomain" : {
+                                             "description" : "Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
+                                             "format" : "dns-name-list",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "startup" : {
+                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
+                                             "format" : "pve-startup-order",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
+                                          },
+                                          "swap" : {
+                                             "default" : 512,
+                                             "description" : "Amount of SWAP for the container in MB.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "tags" : {
+                                             "description" : "Tags of the Container. This is only meta information.",
+                                             "format" : "pve-tag-list",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "template" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable Template.",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "timezone" : {
+                                             "description" : "Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab",
+                                             "format" : "pve-ct-timezone",
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "tty" : {
+                                             "default" : 2,
+                                             "description" : "Specify the number of tty available to the container",
+                                             "maximum" : 6,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer"
+                                          },
+                                          "unprivileged" : {
+                                             "default" : 0,
+                                             "description" : "Makes the container run as unprivileged user. (Should not be modified manually.)",
+                                             "optional" : 1,
+                                             "type" : "boolean"
+                                          },
+                                          "unused[n]" : {
+                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
+                                             "format" : {
+                                                "volume" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The volume that is not used currently.",
+                                                   "format" : "pve-volume-id",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 },
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Set container options.",
+                                    "method" : "PUT",
+                                    "name" : "update_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "arch" : {
+                                             "default" : "amd64",
+                                             "description" : "OS architecture type.",
+                                             "enum" : [
+                                                "amd64",
+                                                "i386",
+                                                "arm64",
+                                                "armhf",
+                                                "riscv32",
+                                                "riscv64"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "cmode" : {
+                                             "default" : "tty",
+                                             "description" : "Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).",
+                                             "enum" : [
+                                                "shell",
+                                                "console",
+                                                "tty"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "console" : {
+                                             "default" : 1,
+                                             "description" : "Attach a console device (/dev/console) to the container.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "cores" : {
+                                             "description" : "The number of cores assigned to the container. A container can use all available cores by default.",
+                                             "maximum" : 8192,
+                                             "minimum" : 1,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (1 - 8192)"
+                                          },
+                                          "cpulimit" : {
+                                             "default" : 0,
+                                             "description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.",
+                                             "maximum" : 8192,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - 8192)"
+                                          },
+                                          "cpuunits" : {
+                                             "default" : "cgroup v1: 1024, cgroup v2: 100",
+                                             "description" : "CPU weight for a container, will be clamped to [1, 10000] in cgroup v2.",
+                                             "maximum" : 500000,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - 500000)",
+                                             "verbose_description" : "CPU weight for a container. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this container gets. Number is relative to the weights of all the other running guests."
+                                          },
+                                          "debug" : {
+                                             "default" : 0,
+                                             "description" : "Try to be more verbose. For now this only enables debug log-level on start.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "delete" : {
+                                             "description" : "A list of settings you want to delete.",
+                                             "format" : "pve-configid-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "description" : {
+                                             "description" : "Description for the Container. Shown in the web-interface CT's summary. This is saved as comment inside the configuration file.",
+                                             "maxLength" : 8192,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "dev[n]" : {
+                                             "description" : "Device to pass through to the container",
+                                             "format" : {
+                                                "gid" : {
+                                                   "description" : "Group ID to be assigned to the device node",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "mode" : {
+                                                   "description" : "Access mode to be set on the device node",
+                                                   "format_description" : "Octal access mode",
+                                                   "optional" : 1,
+                                                   "pattern" : "0[0-7]{3}",
+                                                   "type" : "string"
+                                                },
+                                                "path" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Device to pass through to the container",
+                                                   "format" : "pve-lxc-dev-string",
+                                                   "format_description" : "Path",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "verbose_description" : "Path to the device to pass through to the container"
+                                                },
+                                                "uid" : {
+                                                   "description" : "User ID to be assigned to the device node",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[path=]<Path>] [,gid=<integer>] [,mode=<Octal access mode>] [,uid=<integer>]"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "features" : {
+                                             "description" : "Allow containers access to advanced features.",
+                                             "format" : {
+                                                "force_rw_sys" : {
+                                                   "default" : 0,
+                                                   "description" : "Mount /sys in unprivileged containers as `rw` instead of `mixed`. This can break networking under newer (>= v245) systemd-network use.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "fuse" : {
+                                                   "default" : 0,
+                                                   "description" : "Allow using 'fuse' file systems in a container. Note that interactions between fuse and the freezer cgroup can potentially cause I/O deadlocks.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "keyctl" : {
+                                                   "default" : 0,
+                                                   "description" : "For unprivileged containers only: Allow the use of the keyctl() system call. This is required to use docker inside a container. By default unprivileged containers will see this system call as non-existent. This is mostly a workaround for systemd-networkd, as it will treat it as a fatal error when some keyctl() operations are denied by the kernel due to lacking permissions. Essentially, you can choose between running systemd-networkd or docker.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mknod" : {
+                                                   "default" : 0,
+                                                   "description" : "Allow unprivileged containers to use mknod() to add certain device nodes. This requires a kernel with seccomp trap to user space support (5.3 or newer). This is experimental.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mount" : {
+                                                   "description" : "Allow mounting file systems of specific types. This should be a list of file system types as used with the mount command. Note that this can have negative effects on the container's security. With access to a loop device, mounting a file can circumvent the mknod permission of the devices cgroup, mounting an NFS file system can block the host's I/O completely and prevent it from rebooting, etc.",
+                                                   "format_description" : "fstype;fstype;...",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:[a-zA-Z0-9_; ]+)",
+                                                   "type" : "string"
+                                                },
+                                                "nesting" : {
+                                                   "default" : 0,
+                                                   "description" : "Allow nesting. Best used with unprivileged containers with additional id mapping. Note that this will expose procfs and sysfs contents of the host to the guest.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[force_rw_sys=<1|0>] [,fuse=<1|0>] [,keyctl=<1|0>] [,mknod=<1|0>] [,mount=<fstype;fstype;...>] [,nesting=<1|0>]"
+                                          },
+                                          "hookscript" : {
+                                             "description" : "Script that will be exectued during various steps in the containers lifetime.",
+                                             "format" : "pve-volume-id",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "hostname" : {
+                                             "description" : "Set a host name for the container.",
+                                             "format" : "dns-name",
+                                             "maxLength" : 255,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "lock" : {
+                                             "description" : "Lock/unlock the container.",
+                                             "enum" : [
+                                                "backup",
+                                                "create",
+                                                "destroyed",
+                                                "disk",
+                                                "fstrim",
+                                                "migrate",
+                                                "mounted",
+                                                "rollback",
+                                                "snapshot",
+                                                "snapshot-delete"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "memory" : {
+                                             "default" : 512,
+                                             "description" : "Amount of RAM for the container in MB.",
+                                             "minimum" : 16,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (16 - N)"
+                                          },
+                                          "mp[n]" : {
+                                             "description" : "Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.",
+                                             "format" : {
+                                                "acl" : {
+                                                   "description" : "Explicitly enable or disable ACL support.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "backup" : {
+                                                   "description" : "Whether to include the mount point in backups.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Whether to include the mount point in backups (only used for volume mount points)."
+                                                },
+                                                "mountoptions" : {
+                                                   "description" : "Extra mount options for rootfs/mps.",
+                                                   "format_description" : "opt[;opt...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
+                                                   "type" : "string"
+                                                },
+                                                "mp" : {
+                                                   "description" : "Path to the mount point as seen from inside the container (must not contain symlinks).",
+                                                   "format" : "pve-lxc-mp-string",
+                                                   "format_description" : "Path",
+                                                   "type" : "string",
+                                                   "verbose_description" : "Path to the mount point as seen from inside the container.\n\nNOTE: Must not contain any symlinks for security reasons."
+                                                },
+                                                "quota" : {
+                                                   "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Will include this volume to a storage replica job.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ro" : {
+                                                   "description" : "Read-only mount point",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Volume size (read only value).",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Volume, device or directory to mount into the container.",
+                                                   "format" : "pve-lxc-mp-string",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]"
+                                          },
+                                          "nameserver" : {
+                                             "description" : "Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
+                                             "format" : "lxc-ip-with-ll-iface-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "net[n]" : {
+                                             "description" : "Specifies network interfaces for the container.",
+                                             "format" : {
+                                                "bridge" : {
+                                                   "description" : "Bridge to attach the network device to.",
+                                                   "format_description" : "bridge",
+                                                   "optional" : 1,
+                                                   "pattern" : "[-_.\\w\\d]+",
+                                                   "type" : "string"
+                                                },
+                                                "firewall" : {
+                                                   "description" : "Controls whether this interface's firewall rules should be used.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "gw" : {
+                                                   "description" : "Default gateway for IPv4 traffic.",
+                                                   "format" : "ipv4",
+                                                   "format_description" : "GatewayIPv4",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "gw6" : {
+                                                   "description" : "Default gateway for IPv6 traffic.",
+                                                   "format" : "ipv6",
+                                                   "format_description" : "GatewayIPv6",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "hwaddr" : {
+                                                   "description" : "The interface MAC address. This is dynamically allocated by default, but you can set that statically if needed, for example to always have the same link-local IPv6 address. (lxc.network.hwaddr)",
+                                                   "format" : "mac-addr",
+                                                   "format_description" : "XX:XX:XX:XX:XX:XX",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                                },
+                                                "ip" : {
+                                                   "description" : "IPv4 address in CIDR format.",
+                                                   "format" : "pve-ipv4-config",
+                                                   "format_description" : "(IPv4/CIDR|dhcp|manual)",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "ip6" : {
+                                                   "description" : "IPv6 address in CIDR format.",
+                                                   "format" : "pve-ipv6-config",
+                                                   "format_description" : "(IPv6/CIDR|auto|dhcp|manual)",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "link_down" : {
+                                                   "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mtu" : {
+                                                   "description" : "Maximum transfer unit of the interface. (lxc.network.mtu)",
+                                                   "maximum" : 65535,
+                                                   "minimum" : 64,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "name" : {
+                                                   "description" : "Name of the network device as seen from inside the container. (lxc.network.name)",
+                                                   "format_description" : "string",
+                                                   "pattern" : "[-_.\\w\\d]+",
+                                                   "type" : "string"
+                                                },
+                                                "rate" : {
+                                                   "description" : "Apply rate limiting to the interface",
+                                                   "format_description" : "mbps",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "tag" : {
+                                                   "description" : "VLAN tag for this interface.",
+                                                   "maximum" : 4094,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "type" : "integer"
+                                                },
+                                                "trunks" : {
+                                                   "description" : "VLAN ids to pass through the interface",
+                                                   "format_description" : "vlanid[;vlanid...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:\\d+(?:;\\d+)*)",
+                                                   "type" : "string"
+                                                },
+                                                "type" : {
+                                                   "description" : "Network interface type.",
+                                                   "enum" : [
+                                                      "veth"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,link_down=<1|0>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "onboot" : {
+                                             "default" : 0,
+                                             "description" : "Specifies whether a container will be started during system bootup.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "ostype" : {
+                                             "description" : "OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.",
+                                             "enum" : [
+                                                "debian",
+                                                "devuan",
+                                                "ubuntu",
+                                                "centos",
+                                                "fedora",
+                                                "opensuse",
+                                                "archlinux",
+                                                "alpine",
+                                                "gentoo",
+                                                "nixos",
+                                                "unmanaged"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "protection" : {
+                                             "default" : 0,
+                                             "description" : "Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "revert" : {
+                                             "description" : "Revert a pending change.",
+                                             "format" : "pve-configid-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "rootfs" : {
+                                             "description" : "Use volume as container root.",
+                                             "format" : {
+                                                "acl" : {
+                                                   "description" : "Explicitly enable or disable ACL support.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "mountoptions" : {
+                                                   "description" : "Extra mount options for rootfs/mps.",
+                                                   "format_description" : "opt[;opt...]",
+                                                   "optional" : 1,
+                                                   "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
+                                                   "type" : "string"
+                                                },
+                                                "quota" : {
+                                                   "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "replicate" : {
+                                                   "default" : 1,
+                                                   "description" : "Will include this volume to a storage replica job.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ro" : {
+                                                   "description" : "Read-only mount point",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "shared" : {
+                                                   "default" : 0,
+                                                   "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                                },
+                                                "size" : {
+                                                   "description" : "Volume size (read only value).",
+                                                   "format" : "disk-size",
+                                                   "format_description" : "DiskSize",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "volume" : {
+                                                   "default_key" : 1,
+                                                   "description" : "Volume, device or directory to mount into the container.",
+                                                   "format" : "pve-lxc-mp-string",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]"
+                                          },
+                                          "searchdomain" : {
+                                             "description" : "Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
+                                             "format" : "dns-name-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "startup" : {
+                                             "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
+                                             "format" : "pve-startup-order",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
+                                          },
+                                          "swap" : {
+                                             "default" : 512,
+                                             "description" : "Amount of SWAP for the container in MB.",
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - N)"
+                                          },
+                                          "tags" : {
+                                             "description" : "Tags of the Container. This is only meta information.",
+                                             "format" : "pve-tag-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "template" : {
+                                             "default" : 0,
+                                             "description" : "Enable/disable Template.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "timezone" : {
+                                             "description" : "Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab",
+                                             "format" : "pve-ct-timezone",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "tty" : {
+                                             "default" : 2,
+                                             "description" : "Specify the number of tty available to the container",
+                                             "maximum" : 6,
+                                             "minimum" : 0,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (0 - 6)"
+                                          },
+                                          "unprivileged" : {
+                                             "default" : 0,
+                                             "description" : "Makes the container run as unprivileged user. (Should not be modified manually.)",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "unused[n]" : {
+                                             "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
+                                             "format" : {
+                                                "volume" : {
+                                                   "default_key" : 1,
+                                                   "description" : "The volume that is not used currently.",
+                                                   "format" : "pve-volume-id",
+                                                   "format_description" : "volume",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "[volume=]<volume>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Config.Disk",
+                                             "VM.Config.CPU",
+                                             "VM.Config.Memory",
+                                             "VM.Config.Network",
+                                             "VM.Config.Options"
+                                          ],
+                                          "any",
+                                          1
+                                       ],
+                                       "description" : "non-volume mount points in rootfs and mp[n] are restricted to root@pam"
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/config",
+                              "text" : "config"
+                           },
+                           {
+                              "children" : [
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Get virtual machine status.",
+                                          "method" : "GET",
+                                          "name" : "vm_status",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "cpus" : {
+                                                   "description" : "Maximum usable CPUs.",
+                                                   "optional" : 1,
+                                                   "type" : "number"
+                                                },
+                                                "ha" : {
+                                                   "description" : "HA manager service status.",
+                                                   "type" : "object"
+                                                },
+                                                "lock" : {
+                                                   "description" : "The current config lock, if any.",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "maxdisk" : {
+                                                   "description" : "Root disk size in bytes.",
+                                                   "optional" : 1,
+                                                   "renderer" : "bytes",
+                                                   "type" : "integer"
+                                                },
+                                                "maxmem" : {
+                                                   "description" : "Maximum memory in bytes.",
+                                                   "optional" : 1,
+                                                   "renderer" : "bytes",
+                                                   "type" : "integer"
+                                                },
+                                                "maxswap" : {
+                                                   "description" : "Maximum SWAP memory in bytes.",
+                                                   "optional" : 1,
+                                                   "renderer" : "bytes",
+                                                   "type" : "integer"
+                                                },
+                                                "name" : {
+                                                   "description" : "Container name.",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "status" : {
+                                                   "description" : "LXC Container status.",
+                                                   "enum" : [
+                                                      "stopped",
+                                                      "running"
+                                                   ],
+                                                   "type" : "string"
+                                                },
+                                                "tags" : {
+                                                   "description" : "The current configured tags, if any.",
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "uptime" : {
+                                                   "description" : "Uptime.",
+                                                   "optional" : 1,
+                                                   "renderer" : "duration",
+                                                   "type" : "integer"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/status/current",
+                                    "text" : "current"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Start the container.",
+                                          "method" : "POST",
+                                          "name" : "vm_start",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "debug" : {
+                                                   "default" : 0,
+                                                   "description" : "If set, enables very verbose debug log-level on start.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "skiplock" : {
+                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/status/start",
+                                    "text" : "start"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Stop the container. This will abruptly stop all processes running in the container.",
+                                          "method" : "POST",
+                                          "name" : "vm_stop",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "overrule-shutdown" : {
+                                                   "default" : 0,
+                                                   "description" : "Try to abort active 'vzshutdown' tasks before stopping.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "skiplock" : {
+                                                   "description" : "Ignore locks - only root is allowed to use this option.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/status/stop",
+                                    "text" : "stop"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details.",
+                                          "method" : "POST",
+                                          "name" : "vm_shutdown",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "forceStop" : {
+                                                   "default" : 0,
+                                                   "description" : "Make sure the Container stops.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "timeout" : {
+                                                   "default" : 60,
+                                                   "description" : "Wait maximal timeout seconds.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/status/shutdown",
+                                    "text" : "shutdown"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Suspend the container. This is experimental.",
+                                          "method" : "POST",
+                                          "name" : "vm_suspend",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/status/suspend",
+                                    "text" : "suspend"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Resume the container.",
+                                          "method" : "POST",
+                                          "name" : "vm_resume",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/status/resume",
+                                    "text" : "resume"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Reboot the container by shutting it down, and starting it again. Applies pending changes.",
+                                          "method" : "POST",
+                                          "name" : "vm_reboot",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "timeout" : {
+                                                   "description" : "Wait maximal timeout seconds for the shutdown.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.PowerMgmt"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/status/reboot",
+                                    "text" : "reboot"
+                                 }
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Directory index",
+                                    "method" : "GET",
+                                    "name" : "vmcmdidx",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "user" : "all"
+                                    },
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {
+                                             "subdir" : {
+                                                "type" : "string"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{subdir}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/lxc/{vmid}/status",
+                              "text" : "status"
+                           },
+                           {
+                              "children" : [
+                                 {
+                                    "children" : [
+                                       {
+                                          "info" : {
+                                             "POST" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Rollback LXC state to specified snapshot.",
+                                                "method" : "POST",
+                                                "name" : "rollback",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "snapname" : {
+                                                         "description" : "The name of the snapshot.",
+                                                         "format" : "pve-configid",
+                                                         "maxLength" : 40,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "start" : {
+                                                         "default" : 0,
+                                                         "description" : "Whether the container should get started after rolling back successfully",
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Snapshot",
+                                                         "VM.Snapshot.Rollback"
+                                                      ],
+                                                      "any",
+                                                      1
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : "node",
+                                                "returns" : {
+                                                   "description" : "the task ID.",
+                                                   "type" : "string"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/rollback",
+                                          "text" : "rollback"
+                                       },
+                                       {
+                                          "info" : {
+                                             "GET" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Get snapshot configuration",
+                                                "method" : "GET",
+                                                "name" : "get_snapshot_config",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "snapname" : {
+                                                         "description" : "The name of the snapshot.",
+                                                         "format" : "pve-configid",
+                                                         "maxLength" : 40,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Snapshot",
+                                                         "VM.Snapshot.Rollback",
+                                                         "VM.Audit"
+                                                      ],
+                                                      "any",
+                                                      1
+                                                   ]
+                                                },
+                                                "proxyto" : "node",
+                                                "returns" : {
+                                                   "type" : "object"
+                                                }
+                                             },
+                                             "PUT" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Update snapshot metadata.",
+                                                "method" : "PUT",
+                                                "name" : "update_snapshot_config",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "description" : {
+                                                         "description" : "A textual description or comment.",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "snapname" : {
+                                                         "description" : "The name of the snapshot.",
+                                                         "format" : "pve-configid",
+                                                         "maxLength" : 40,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Snapshot"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : "node",
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/lxc/{vmid}/snapshot/{snapname}/config",
+                                          "text" : "config"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "DELETE" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Delete a LXC snapshot.",
+                                          "method" : "DELETE",
+                                          "name" : "delsnapshot",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "force" : {
+                                                   "description" : "For removal from config file, even if removing disk snapshots fails.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "snapname" : {
+                                                   "description" : "The name of the snapshot.",
+                                                   "format" : "pve-configid",
+                                                   "maxLength" : 40,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Snapshot"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "description" : "the task ID.",
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "",
+                                          "method" : "GET",
+                                          "name" : "snapshot_cmd_idx",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "snapname" : {
+                                                   "description" : "The name of the snapshot.",
+                                                   "format" : "pve-configid",
+                                                   "maxLength" : 40,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "user" : "all"
+                                          },
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {},
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{cmd}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/snapshot/{snapname}",
+                                    "text" : "{snapname}"
+                                 }
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "List all snapshots.",
+                                    "method" : "GET",
+                                    "name" : "list",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {
+                                             "description" : {
+                                                "description" : "Snapshot description.",
+                                                "type" : "string"
+                                             },
+                                             "name" : {
+                                                "description" : "Snapshot identifier. Value 'current' identifies the current VM.",
+                                                "type" : "string"
+                                             },
+                                             "parent" : {
+                                                "description" : "Parent snapshot identifier.",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "snaptime" : {
+                                                "description" : "Snapshot creation time",
+                                                "optional" : 1,
+                                                "renderer" : "timestamp",
+                                                "type" : "integer"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{name}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
+                                    }
+                                 },
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Snapshot a container.",
+                                    "method" : "POST",
+                                    "name" : "snapshot",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "description" : {
+                                             "description" : "A textual description or comment.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "snapname" : {
+                                             "description" : "The name of the snapshot.",
+                                             "format" : "pve-configid",
+                                             "maxLength" : 40,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Snapshot"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/lxc/{vmid}/snapshot",
+                              "text" : "snapshot"
+                           },
+                           {
+                              "children" : [
+                                 {
+                                    "children" : [
+                                       {
+                                          "info" : {
+                                             "DELETE" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Delete rule.",
+                                                "method" : "DELETE",
+                                                "name" : "delete_rule",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "digest" : {
+                                                         "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                         "maxLength" : 64,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "pos" : {
+                                                         "description" : "Update rule at position <pos>.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : null,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             },
+                                             "GET" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Get single rule data.",
+                                                "method" : "GET",
+                                                "name" : "get_rule",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "pos" : {
+                                                         "description" : "Update rule at position <pos>.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Audit"
+                                                      ]
+                                                   ]
+                                                },
+                                                "proxyto" : null,
+                                                "returns" : {
+                                                   "properties" : {
+                                                      "action" : {
+                                                         "type" : "string"
+                                                      },
+                                                      "comment" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "dest" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "dport" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "enable" : {
+                                                         "optional" : 1,
+                                                         "type" : "integer"
+                                                      },
+                                                      "icmp-type" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "iface" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "ipversion" : {
+                                                         "optional" : 1,
+                                                         "type" : "integer"
+                                                      },
+                                                      "log" : {
+                                                         "description" : "Log level for firewall rule",
+                                                         "enum" : [
+                                                            "emerg",
+                                                            "alert",
+                                                            "crit",
+                                                            "err",
+                                                            "warning",
+                                                            "notice",
+                                                            "info",
+                                                            "debug",
+                                                            "nolog"
+                                                         ],
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "macro" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "pos" : {
+                                                         "type" : "integer"
+                                                      },
+                                                      "proto" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "source" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "sport" : {
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "type" : {
+                                                         "type" : "string"
+                                                      }
+                                                   },
+                                                   "type" : "object"
+                                                }
+                                             },
+                                             "PUT" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Modify rule data.",
+                                                "method" : "PUT",
+                                                "name" : "update_rule",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "action" : {
+                                                         "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
+                                                         "maxLength" : 20,
+                                                         "minLength" : 2,
+                                                         "optional" : 1,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "comment" : {
+                                                         "description" : "Descriptive comment.",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "delete" : {
+                                                         "description" : "A list of settings you want to delete.",
+                                                         "format" : "pve-configid-list",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "dest" : {
+                                                         "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                                         "format" : "pve-fw-addr-spec",
+                                                         "maxLength" : 512,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "digest" : {
+                                                         "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                         "maxLength" : 64,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "dport" : {
+                                                         "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                                         "format" : "pve-fw-dport-spec",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "enable" : {
+                                                         "description" : "Flag to enable/disable a rule.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "icmp-type" : {
+                                                         "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
+                                                         "format" : "pve-fw-icmp-type-spec",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "iface" : {
+                                                         "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
+                                                         "format" : "pve-iface",
+                                                         "maxLength" : 20,
+                                                         "minLength" : 2,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "log" : {
+                                                         "description" : "Log level for firewall rule.",
+                                                         "enum" : [
+                                                            "emerg",
+                                                            "alert",
+                                                            "crit",
+                                                            "err",
+                                                            "warning",
+                                                            "notice",
+                                                            "info",
+                                                            "debug",
+                                                            "nolog"
+                                                         ],
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "macro" : {
+                                                         "description" : "Use predefined standard macro.",
+                                                         "maxLength" : 128,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "moveto" : {
+                                                         "description" : "Move rule to new position <moveto>. Other arguments are ignored.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "pos" : {
+                                                         "description" : "Update rule at position <pos>.",
+                                                         "minimum" : 0,
+                                                         "optional" : 1,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (0 - N)"
+                                                      },
+                                                      "proto" : {
+                                                         "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
+                                                         "format" : "pve-fw-protocol-spec",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "source" : {
+                                                         "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                                         "format" : "pve-fw-addr-spec",
+                                                         "maxLength" : 512,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "sport" : {
+                                                         "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                                         "format" : "pve-fw-sport-spec",
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "type" : {
+                                                         "description" : "Rule type.",
+                                                         "enum" : [
+                                                            "in",
+                                                            "out",
+                                                            "group"
+                                                         ],
+                                                         "optional" : 1,
+                                                         "type" : "string"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "proxyto" : null,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/lxc/{vmid}/firewall/rules/{pos}",
+                                          "text" : "{pos}"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "List rules.",
+                                          "method" : "GET",
+                                          "name" : "get_rules",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "proxyto" : null,
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "pos" : {
+                                                      "type" : "integer"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{pos}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Create new rule.",
+                                          "method" : "POST",
+                                          "name" : "create_rule",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "action" : {
+                                                   "description" : "Rule action ('ACCEPT', 'DROP', 'REJECT') or security group name.",
+                                                   "maxLength" : 20,
+                                                   "minLength" : 2,
+                                                   "optional" : 0,
+                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                   "type" : "string"
+                                                },
+                                                "comment" : {
+                                                   "description" : "Descriptive comment.",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "dest" : {
+                                                   "description" : "Restrict packet destination address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                                   "format" : "pve-fw-addr-spec",
+                                                   "maxLength" : 512,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "digest" : {
+                                                   "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                   "maxLength" : 64,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "dport" : {
+                                                   "description" : "Restrict TCP/UDP destination port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                                   "format" : "pve-fw-dport-spec",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "enable" : {
+                                                   "description" : "Flag to enable/disable a rule.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "icmp-type" : {
+                                                   "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
+                                                   "format" : "pve-fw-icmp-type-spec",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "iface" : {
+                                                   "description" : "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
+                                                   "format" : "pve-iface",
+                                                   "maxLength" : 20,
+                                                   "minLength" : 2,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "log" : {
+                                                   "description" : "Log level for firewall rule.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "macro" : {
+                                                   "description" : "Use predefined standard macro.",
+                                                   "maxLength" : 128,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "pos" : {
+                                                   "description" : "Update rule at position <pos>.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "proto" : {
+                                                   "description" : "IP protocol. You can use protocol names ('tcp'/'udp') or simple numbers, as defined in '/etc/protocols'.",
+                                                   "format" : "pve-fw-protocol-spec",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "source" : {
+                                                   "description" : "Restrict packet source address. This can refer to a single IP address, an IP set ('+ipsetname') or an IP alias definition. You can also specify an address range like '20.34.101.207-201.3.9.99', or a list of IP addresses and networks (entries are separated by comma). Please do not mix IPv4 and IPv6 addresses inside such lists.",
+                                                   "format" : "pve-fw-addr-spec",
+                                                   "maxLength" : 512,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "sport" : {
+                                                   "description" : "Restrict TCP/UDP source port. You can use service names or simple numbers (0-65535), as defined in '/etc/services'. Port ranges can be specified with '\\d+:\\d+', for example '80:85', and you can use comma separated list to match several ports or ranges.",
+                                                   "format" : "pve-fw-sport-spec",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "type" : {
+                                                   "description" : "Rule type.",
+                                                   "enum" : [
+                                                      "in",
+                                                      "out",
+                                                      "group"
+                                                   ],
+                                                   "optional" : 0,
+                                                   "type" : "string"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Config.Network"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : null,
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/rules",
+                                    "text" : "rules"
+                                 },
+                                 {
+                                    "children" : [
+                                       {
+                                          "info" : {
+                                             "DELETE" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Remove IP or Network alias.",
+                                                "method" : "DELETE",
+                                                "name" : "remove_alias",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "digest" : {
+                                                         "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                         "maxLength" : 64,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "Alias name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             },
+                                             "GET" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Read alias.",
+                                                "method" : "GET",
+                                                "name" : "read_alias",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "name" : {
+                                                         "description" : "Alias name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Audit"
+                                                      ]
+                                                   ]
+                                                },
+                                                "returns" : {
+                                                   "type" : "object"
+                                                }
+                                             },
+                                             "PUT" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Update IP or Network alias.",
+                                                "method" : "PUT",
+                                                "name" : "update_alias",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "cidr" : {
+                                                         "description" : "Network/IP specification in CIDR format.",
+                                                         "format" : "IPorCIDR",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "comment" : {
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "digest" : {
+                                                         "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                         "maxLength" : 64,
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "Alias name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "rename" : {
+                                                         "description" : "Rename an existing alias.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "optional" : 1,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 1,
+                                          "path" : "/nodes/{node}/lxc/{vmid}/firewall/aliases/{name}",
+                                          "text" : "{name}"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "List aliases",
+                                          "method" : "GET",
+                                          "name" : "get_aliases",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "cidr" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "comment" : {
+                                                      "optional" : 1,
+                                                      "type" : "string"
+                                                   },
+                                                   "digest" : {
+                                                      "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                      "maxLength" : 64,
+                                                      "optional" : 0,
+                                                      "type" : "string"
+                                                   },
+                                                   "name" : {
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{name}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Create IP or Network Alias.",
+                                          "method" : "POST",
+                                          "name" : "create_alias",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "cidr" : {
+                                                   "description" : "Network/IP specification in CIDR format.",
+                                                   "format" : "IPorCIDR",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "comment" : {
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "name" : {
+                                                   "description" : "Alias name.",
+                                                   "maxLength" : 64,
+                                                   "minLength" : 2,
+                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                   "type" : "string"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Config.Network"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/aliases",
+                                    "text" : "aliases"
+                                 },
+                                 {
+                                    "children" : [
+                                       {
+                                          "children" : [
+                                             {
+                                                "info" : {
+                                                   "DELETE" : {
+                                                      "allowtoken" : 1,
+                                                      "description" : "Remove IP or Network from IPSet.",
+                                                      "method" : "DELETE",
+                                                      "name" : "remove_ip",
+                                                      "parameters" : {
+                                                         "additionalProperties" : 0,
+                                                         "properties" : {
+                                                            "cidr" : {
+                                                               "description" : "Network/IP specification in CIDR format.",
+                                                               "format" : "IPorCIDRorAlias",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "digest" : {
+                                                               "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                               "maxLength" : 64,
+                                                               "optional" : 1,
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "name" : {
+                                                               "description" : "IP set name.",
+                                                               "maxLength" : 64,
+                                                               "minLength" : 2,
+                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                               "type" : "string"
+                                                            },
+                                                            "node" : {
+                                                               "description" : "The cluster node name.",
+                                                               "format" : "pve-node",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "vmid" : {
+                                                               "description" : "The (unique) ID of the VM.",
+                                                               "format" : "pve-vmid",
+                                                               "maximum" : 999999999,
+                                                               "minimum" : 100,
+                                                               "type" : "integer",
+                                                               "typetext" : "<integer> (100 - 999999999)"
+                                                            }
+                                                         }
+                                                      },
+                                                      "permissions" : {
+                                                         "check" : [
+                                                            "perm",
+                                                            "/vms/{vmid}",
+                                                            [
+                                                               "VM.Config.Network"
+                                                            ]
+                                                         ]
+                                                      },
+                                                      "protected" : 1,
+                                                      "returns" : {
+                                                         "type" : "null"
+                                                      }
+                                                   },
+                                                   "GET" : {
+                                                      "allowtoken" : 1,
+                                                      "description" : "Read IP or Network settings from IPSet.",
+                                                      "method" : "GET",
+                                                      "name" : "read_ip",
+                                                      "parameters" : {
+                                                         "additionalProperties" : 0,
+                                                         "properties" : {
+                                                            "cidr" : {
+                                                               "description" : "Network/IP specification in CIDR format.",
+                                                               "format" : "IPorCIDRorAlias",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "name" : {
+                                                               "description" : "IP set name.",
+                                                               "maxLength" : 64,
+                                                               "minLength" : 2,
+                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                               "type" : "string"
+                                                            },
+                                                            "node" : {
+                                                               "description" : "The cluster node name.",
+                                                               "format" : "pve-node",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "vmid" : {
+                                                               "description" : "The (unique) ID of the VM.",
+                                                               "format" : "pve-vmid",
+                                                               "maximum" : 999999999,
+                                                               "minimum" : 100,
+                                                               "type" : "integer",
+                                                               "typetext" : "<integer> (100 - 999999999)"
+                                                            }
+                                                         }
+                                                      },
+                                                      "permissions" : {
+                                                         "check" : [
+                                                            "perm",
+                                                            "/vms/{vmid}",
+                                                            [
+                                                               "VM.Audit"
+                                                            ]
+                                                         ]
+                                                      },
+                                                      "protected" : 1,
+                                                      "returns" : {
+                                                         "type" : "object"
+                                                      }
+                                                   },
+                                                   "PUT" : {
+                                                      "allowtoken" : 1,
+                                                      "description" : "Update IP or Network settings",
+                                                      "method" : "PUT",
+                                                      "name" : "update_ip",
+                                                      "parameters" : {
+                                                         "additionalProperties" : 0,
+                                                         "properties" : {
+                                                            "cidr" : {
+                                                               "description" : "Network/IP specification in CIDR format.",
+                                                               "format" : "IPorCIDRorAlias",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "comment" : {
+                                                               "optional" : 1,
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "digest" : {
+                                                               "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                               "maxLength" : 64,
+                                                               "optional" : 1,
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "name" : {
+                                                               "description" : "IP set name.",
+                                                               "maxLength" : 64,
+                                                               "minLength" : 2,
+                                                               "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                               "type" : "string"
+                                                            },
+                                                            "node" : {
+                                                               "description" : "The cluster node name.",
+                                                               "format" : "pve-node",
+                                                               "type" : "string",
+                                                               "typetext" : "<string>"
+                                                            },
+                                                            "nomatch" : {
+                                                               "optional" : 1,
+                                                               "type" : "boolean",
+                                                               "typetext" : "<boolean>"
+                                                            },
+                                                            "vmid" : {
+                                                               "description" : "The (unique) ID of the VM.",
+                                                               "format" : "pve-vmid",
+                                                               "maximum" : 999999999,
+                                                               "minimum" : 100,
+                                                               "type" : "integer",
+                                                               "typetext" : "<integer> (100 - 999999999)"
+                                                            }
+                                                         }
+                                                      },
+                                                      "permissions" : {
+                                                         "check" : [
+                                                            "perm",
+                                                            "/vms/{vmid}",
+                                                            [
+                                                               "VM.Config.Network"
+                                                            ]
+                                                         ]
+                                                      },
+                                                      "protected" : 1,
+                                                      "returns" : {
+                                                         "type" : "null"
+                                                      }
+                                                   }
+                                                },
+                                                "leaf" : 1,
+                                                "path" : "/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}/{cidr}",
+                                                "text" : "{cidr}"
+                                             }
+                                          ],
+                                          "info" : {
+                                             "DELETE" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Delete IPSet",
+                                                "method" : "DELETE",
+                                                "name" : "delete_ipset",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "force" : {
+                                                         "description" : "Delete all members of the IPSet, if there are any.",
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "IP set name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             },
+                                             "GET" : {
+                                                "allowtoken" : 1,
+                                                "description" : "List IPSet content",
+                                                "method" : "GET",
+                                                "name" : "get_ipset",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "name" : {
+                                                         "description" : "IP set name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Audit"
+                                                      ]
+                                                   ]
+                                                },
+                                                "returns" : {
+                                                   "items" : {
+                                                      "properties" : {
+                                                         "cidr" : {
+                                                            "type" : "string"
+                                                         },
+                                                         "comment" : {
+                                                            "optional" : 1,
+                                                            "type" : "string"
+                                                         },
+                                                         "digest" : {
+                                                            "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                            "maxLength" : 64,
+                                                            "optional" : 0,
+                                                            "type" : "string"
+                                                         },
+                                                         "nomatch" : {
+                                                            "optional" : 1,
+                                                            "type" : "boolean"
+                                                         }
+                                                      },
+                                                      "type" : "object"
+                                                   },
+                                                   "links" : [
+                                                      {
+                                                         "href" : "{cidr}",
+                                                         "rel" : "child"
+                                                      }
+                                                   ],
+                                                   "type" : "array"
+                                                }
+                                             },
+                                             "POST" : {
+                                                "allowtoken" : 1,
+                                                "description" : "Add IP or Network to IPSet.",
+                                                "method" : "POST",
+                                                "name" : "create_ip",
+                                                "parameters" : {
+                                                   "additionalProperties" : 0,
+                                                   "properties" : {
+                                                      "cidr" : {
+                                                         "description" : "Network/IP specification in CIDR format.",
+                                                         "format" : "IPorCIDRorAlias",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "comment" : {
+                                                         "optional" : 1,
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "name" : {
+                                                         "description" : "IP set name.",
+                                                         "maxLength" : 64,
+                                                         "minLength" : 2,
+                                                         "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                         "type" : "string"
+                                                      },
+                                                      "node" : {
+                                                         "description" : "The cluster node name.",
+                                                         "format" : "pve-node",
+                                                         "type" : "string",
+                                                         "typetext" : "<string>"
+                                                      },
+                                                      "nomatch" : {
+                                                         "optional" : 1,
+                                                         "type" : "boolean",
+                                                         "typetext" : "<boolean>"
+                                                      },
+                                                      "vmid" : {
+                                                         "description" : "The (unique) ID of the VM.",
+                                                         "format" : "pve-vmid",
+                                                         "maximum" : 999999999,
+                                                         "minimum" : 100,
+                                                         "type" : "integer",
+                                                         "typetext" : "<integer> (100 - 999999999)"
+                                                      }
+                                                   }
+                                                },
+                                                "permissions" : {
+                                                   "check" : [
+                                                      "perm",
+                                                      "/vms/{vmid}",
+                                                      [
+                                                         "VM.Config.Network"
+                                                      ]
+                                                   ]
+                                                },
+                                                "protected" : 1,
+                                                "returns" : {
+                                                   "type" : "null"
+                                                }
+                                             }
+                                          },
+                                          "leaf" : 0,
+                                          "path" : "/nodes/{node}/lxc/{vmid}/firewall/ipset/{name}",
+                                          "text" : "{name}"
+                                       }
+                                    ],
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "List IPSets",
+                                          "method" : "GET",
+                                          "name" : "ipset_index",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "comment" : {
+                                                      "optional" : 1,
+                                                      "type" : "string"
+                                                   },
+                                                   "digest" : {
+                                                      "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                      "maxLength" : 64,
+                                                      "optional" : 0,
+                                                      "type" : "string"
+                                                   },
+                                                   "name" : {
+                                                      "description" : "IP set name.",
+                                                      "maxLength" : 64,
+                                                      "minLength" : 2,
+                                                      "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "links" : [
+                                                {
+                                                   "href" : "{name}",
+                                                   "rel" : "child"
+                                                }
+                                             ],
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Create new IPSet",
+                                          "method" : "POST",
+                                          "name" : "create_ipset",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "comment" : {
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "digest" : {
+                                                   "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                   "maxLength" : 64,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "name" : {
+                                                   "description" : "IP set name.",
+                                                   "maxLength" : 64,
+                                                   "minLength" : 2,
+                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                   "type" : "string"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "rename" : {
+                                                   "description" : "Rename an existing IPSet. You can set 'rename' to the same value as 'name' to update the 'comment' of an existing IPSet.",
+                                                   "maxLength" : 64,
+                                                   "minLength" : 2,
+                                                   "optional" : 1,
+                                                   "pattern" : "[A-Za-z][A-Za-z0-9\\-\\_]+",
+                                                   "type" : "string"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Config.Network"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 0,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/ipset",
+                                    "text" : "ipset"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Get VM firewall options.",
+                                          "method" : "GET",
+                                          "name" : "get_options",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "dhcp" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable DHCP.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "enable" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable/disable firewall rules.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ipfilter" : {
+                                                   "description" : "Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface's MAC address. For containers the configured IP addresses will be implicitly added.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "log_level_in" : {
+                                                   "description" : "Log level for incoming traffic.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "log_level_out" : {
+                                                   "description" : "Log level for outgoing traffic.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "macfilter" : {
+                                                   "default" : 1,
+                                                   "description" : "Enable/disable MAC address filter.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "ndp" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable NDP (Neighbor Discovery Protocol).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                },
+                                                "policy_in" : {
+                                                   "description" : "Input policy.",
+                                                   "enum" : [
+                                                      "ACCEPT",
+                                                      "REJECT",
+                                                      "DROP"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "policy_out" : {
+                                                   "description" : "Output policy.",
+                                                   "enum" : [
+                                                      "ACCEPT",
+                                                      "REJECT",
+                                                      "DROP"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "radv" : {
+                                                   "description" : "Allow sending Router Advertisement.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       },
+                                       "PUT" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Set Firewall options.",
+                                          "method" : "PUT",
+                                          "name" : "set_options",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "delete" : {
+                                                   "description" : "A list of settings you want to delete.",
+                                                   "format" : "pve-configid-list",
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "dhcp" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable DHCP.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "digest" : {
+                                                   "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                                   "maxLength" : 64,
+                                                   "optional" : 1,
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "enable" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable/disable firewall rules.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "ipfilter" : {
+                                                   "description" : "Enable default IP filters. This is equivalent to adding an empty ipfilter-net<id> ipset for every interface. Such ipsets implicitly contain sane default restrictions such as restricting IPv6 link local addresses to the one derived from the interface's MAC address. For containers the configured IP addresses will be implicitly added.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "log_level_in" : {
+                                                   "description" : "Log level for incoming traffic.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "log_level_out" : {
+                                                   "description" : "Log level for outgoing traffic.",
+                                                   "enum" : [
+                                                      "emerg",
+                                                      "alert",
+                                                      "crit",
+                                                      "err",
+                                                      "warning",
+                                                      "notice",
+                                                      "info",
+                                                      "debug",
+                                                      "nolog"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "macfilter" : {
+                                                   "default" : 1,
+                                                   "description" : "Enable/disable MAC address filter.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "ndp" : {
+                                                   "default" : 0,
+                                                   "description" : "Enable NDP (Neighbor Discovery Protocol).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "policy_in" : {
+                                                   "description" : "Input policy.",
+                                                   "enum" : [
+                                                      "ACCEPT",
+                                                      "REJECT",
+                                                      "DROP"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "policy_out" : {
+                                                   "description" : "Output policy.",
+                                                   "enum" : [
+                                                      "ACCEPT",
+                                                      "REJECT",
+                                                      "DROP"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "radv" : {
+                                                   "description" : "Allow sending Router Advertisement.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Config.Network"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/options",
+                                    "text" : "options"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Read firewall log",
+                                          "method" : "GET",
+                                          "name" : "log",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "limit" : {
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "since" : {
+                                                   "description" : "Display log since this UNIX epoch.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "start" : {
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "until" : {
+                                                   "description" : "Display log until this UNIX epoch.",
+                                                   "minimum" : 0,
+                                                   "optional" : 1,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (0 - N)"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Console"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "n" : {
+                                                      "description" : "Line number",
+                                                      "type" : "integer"
+                                                   },
+                                                   "t" : {
+                                                      "description" : "Line text",
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "type" : "array"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/log",
+                                    "text" : "log"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Lists possible IPSet/Alias reference which are allowed in source/dest properties.",
+                                          "method" : "GET",
+                                          "name" : "refs",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "type" : {
+                                                   "description" : "Only list references of specified type.",
+                                                   "enum" : [
+                                                      "alias",
+                                                      "ipset"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                },
+                                                "vmid" : {
+                                                   "description" : "The (unique) ID of the VM.",
+                                                   "format" : "pve-vmid",
+                                                   "maximum" : 999999999,
+                                                   "minimum" : 100,
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer> (100 - 999999999)"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/vms/{vmid}",
+                                                [
+                                                   "VM.Audit"
+                                                ]
+                                             ]
+                                          },
+                                          "returns" : {
+                                             "items" : {
+                                                "properties" : {
+                                                   "comment" : {
+                                                      "optional" : 1,
+                                                      "type" : "string"
+                                                   },
+                                                   "name" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "ref" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "scope" : {
+                                                      "type" : "string"
+                                                   },
+                                                   "type" : {
+                                                      "enum" : [
+                                                         "alias",
+                                                         "ipset"
+                                                      ],
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "type" : "array"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/lxc/{vmid}/firewall/refs",
+                                    "text" : "refs"
+                                 }
+                              ],
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Directory index.",
+                                    "method" : "GET",
+                                    "name" : "index",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "user" : "all"
+                                    },
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {},
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{name}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
+                                    }
+                                 }
+                              },
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/lxc/{vmid}/firewall",
+                              "text" : "firewall"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Read VM RRD statistics (returns PNG)",
+                                    "method" : "GET",
+                                    "name" : "rrd",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "cf" : {
+                                             "description" : "The RRD consolidation function",
+                                             "enum" : [
+                                                "AVERAGE",
+                                                "MAX"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "ds" : {
+                                             "description" : "The list of datasources you want to display.",
+                                             "format" : "pve-configid-list",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "timeframe" : {
+                                             "description" : "Specify the time frame you are interested in.",
+                                             "enum" : [
+                                                "hour",
+                                                "day",
+                                                "week",
+                                                "month",
+                                                "year"
+                                             ],
                                              "type" : "string"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -32141,44 +34002,68 @@ const apiSchema = [
                                           "perm",
                                           "/vms/{vmid}",
                                           [
-                                             "VM.Config.Disk"
+                                             "VM.Audit"
                                           ]
-                                       ],
-                                       "description" : "You need 'VM.Config.Disk' permissions on /vms/{vmid}, and 'Datastore.AllocateSpace' permissions on the storage. To move a volume to another container, you need the permissions on the target container as well."
+                                       ]
                                     },
                                     "protected" : 1,
-                                    "proxyto" : "node",
                                     "returns" : {
-                                       "type" : "string"
+                                       "properties" : {
+                                          "filename" : {
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/move_volume",
-                              "text" : "move_volume"
+                              "path" : "/nodes/{node}/lxc/{vmid}/rrd",
+                              "text" : "rrd"
                            },
                            {
                               "info" : {
                                  "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Get container configuration, including pending changes.",
+                                    "description" : "Read VM RRD statistics",
                                     "method" : "GET",
-                                    "name" : "vm_pending",
+                                    "name" : "rrddata",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
+                                          "cf" : {
+                                             "description" : "The RRD consolidation function",
+                                             "enum" : [
+                                                "AVERAGE",
+                                                "MAX"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
+                                          "timeframe" : {
+                                             "description" : "Specify the time frame you are interested in.",
+                                             "enum" : [
+                                                "hour",
+                                                "day",
+                                                "week",
+                                                "month",
+                                                "year"
+                                             ],
+                                             "type" : "string"
+                                          },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -32191,32 +34076,10 @@ const apiSchema = [
                                           ]
                                        ]
                                     },
-                                    "proxyto" : "node",
+                                    "protected" : 1,
                                     "returns" : {
                                        "items" : {
-                                          "properties" : {
-                                             "delete" : {
-                                                "description" : "Indicates a pending delete request if present and not 0.",
-                                                "maximum" : 2,
-                                                "minimum" : 0,
-                                                "optional" : 1,
-                                                "type" : "integer"
-                                             },
-                                             "key" : {
-                                                "description" : "Configuration option name.",
-                                                "type" : "string"
-                                             },
-                                             "pending" : {
-                                                "description" : "Pending value.",
-                                                "optional" : 1,
-                                                "type" : "string"
-                                             },
-                                             "value" : {
-                                                "description" : "Current value.",
-                                                "optional" : 1,
-                                                "type" : "string"
-                                             }
-                                          },
+                                          "properties" : {},
                                           "type" : "object"
                                        },
                                        "type" : "array"
@@ -32224,25 +34087,26 @@ const apiSchema = [
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/pending",
-                              "text" : "pending"
+                              "path" : "/nodes/{node}/lxc/{vmid}/rrddata",
+                              "text" : "rrddata"
                            },
                            {
                               "info" : {
                                  "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Migration tunnel endpoint - only for internal use by CT migration.",
+                                    "description" : "Creates a TCP VNC proxy connections.",
                                     "method" : "POST",
-                                    "name" : "mtunnel",
+                                    "name" : "vncproxy",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "bridges" : {
-                                             "description" : "List of network bridges to check availability. Will be checked again for actually used bridges during migration.",
-                                             "format" : "pve-bridge-id-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "height" : {
+                                             "description" : "sets the height of the console in pixels.",
+                                             "maximum" : 2160,
+                                             "minimum" : 16,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (16 - 2160)"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -32250,70 +34114,73 @@ const apiSchema = [
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "storages" : {
-                                             "description" : "List of storages to check permission and availability. Will be checked again for all actually used storages during migration.",
-                                             "format" : "pve-storage-id-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
                                           "vmid" : {
                                              "description" : "The (unique) ID of the VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "websocket" : {
+                                             "description" : "use websocket instead of standard VNC.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "width" : {
+                                             "description" : "sets the width of the console in pixels.",
+                                             "maximum" : 4096,
+                                             "minimum" : 16,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (16 - 4096)"
                                           }
                                        }
                                     },
                                     "permissions" : {
                                        "check" : [
-                                          "and",
-                                          [
-                                             "perm",
-                                             "/vms/{vmid}",
-                                             [
-                                                "VM.Allocate"
-                                             ]
-                                          ],
+                                          "perm",
+                                          "/vms/{vmid}",
                                           [
-                                             "perm",
-                                             "/",
-                                             [
-                                                "Sys.Incoming"
-                                             ]
+                                             "VM.Console"
                                           ]
-                                       ],
-                                       "description" : "You need 'VM.Allocate' permissions on '/vms/{vmid}' and Sys.Incoming on '/'. Further permission checks happen during the actual migration."
+                                       ]
                                     },
                                     "protected" : 1,
                                     "returns" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "socket" : {
+                                          "cert" : {
                                              "type" : "string"
                                           },
+                                          "port" : {
+                                             "type" : "integer"
+                                          },
                                           "ticket" : {
                                              "type" : "string"
                                           },
                                           "upid" : {
                                              "type" : "string"
+                                          },
+                                          "user" : {
+                                             "type" : "string"
                                           }
                                        }
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/mtunnel",
-                              "text" : "mtunnel"
+                              "path" : "/nodes/{node}/lxc/{vmid}/vncproxy",
+                              "text" : "vncproxy"
                            },
                            {
                               "info" : {
-                                 "GET" : {
+                                 "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration.",
-                                    "method" : "GET",
-                                    "name" : "mtunnelwebsocket",
+                                    "description" : "Creates a TCP proxy connection.",
+                                    "method" : "POST",
+                                    "name" : "termproxy",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
@@ -32323,918 +34190,2313 @@ const apiSchema = [
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "socket" : {
-                                             "description" : "unix socket to forward to",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "ticket" : {
-                                             "description" : "ticket return by initial 'mtunnel' API call, or retrieved via 'ticket' tunnel command",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "vmid" : {
-                                             "description" : "The (unique) ID of the VM.",
-                                             "format" : "pve-vmid",
-                                             "minimum" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "description" : "You need to pass a ticket valid for the selected socket. Tickets can be created via the mtunnel API call, which will check permissions accordingly.",
-                                       "user" : "all"
-                                    },
-                                    "returns" : {
-                                       "properties" : {
-                                          "port" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "socket" : {
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          }
-                                       },
-                                       "type" : "object"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/lxc/{vmid}/mtunnelwebsocket",
-                              "text" : "mtunnelwebsocket"
-                           }
-                        ],
-                        "info" : {
-                           "DELETE" : {
-                              "allowtoken" : 1,
-                              "description" : "Destroy the container (also delete all uses files).",
-                              "method" : "DELETE",
-                              "name" : "destroy_vm",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "destroy-unreferenced-disks" : {
-                                       "description" : "If set, destroy additionally all disks with the VMID from all enabled storages which are not referenced in the config.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "force" : {
-                                       "default" : 0,
-                                       "description" : "Force destroy, even if running.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "purge" : {
-                                       "default" : 0,
-                                       "description" : "Remove container from all related configurations. For example, backup jobs, replication jobs or HA. Related ACLs and Firewall entries will *always* be removed.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "vmid" : {
-                                       "description" : "The (unique) ID of the VM.",
-                                       "format" : "pve-vmid",
-                                       "minimum" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (1 - N)"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/vms/{vmid}",
-                                    [
-                                       "VM.Allocate"
-                                    ]
-                                 ]
-                              },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "type" : "string"
-                              }
-                           },
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Directory index",
-                              "method" : "GET",
-                              "name" : "vmdiridx",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "vmid" : {
-                                       "description" : "The (unique) ID of the VM.",
-                                       "format" : "pve-vmid",
-                                       "minimum" : 1,
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (1 - N)"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "user" : "all"
-                              },
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "items" : {
-                                    "properties" : {
-                                       "subdir" : {
-                                          "type" : "string"
-                                       }
-                                    },
-                                    "type" : "object"
-                                 },
-                                 "links" : [
-                                    {
-                                       "href" : "{subdir}",
-                                       "rel" : "child"
-                                    }
-                                 ],
-                                 "type" : "array"
-                              }
-                           }
-                        },
-                        "leaf" : 0,
-                        "path" : "/nodes/{node}/lxc/{vmid}",
-                        "text" : "{vmid}"
-                     }
-                  ],
-                  "info" : {
-                     "GET" : {
-                        "allowtoken" : 1,
-                        "description" : "LXC container index (per node).",
-                        "method" : "GET",
-                        "name" : "vmlist",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "node" : {
-                                 "description" : "The cluster node name.",
-                                 "format" : "pve-node",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              }
-                           }
-                        },
-                        "permissions" : {
-                           "description" : "Only list CTs where you have VM.Audit permissons on /vms/<vmid>.",
-                           "user" : "all"
-                        },
-                        "protected" : 1,
-                        "proxyto" : "node",
-                        "returns" : {
-                           "items" : {
-                              "properties" : {
-                                 "cpus" : {
-                                    "description" : "Maximum usable CPUs.",
-                                    "optional" : 1,
-                                    "type" : "number"
-                                 },
-                                 "lock" : {
-                                    "description" : "The current config lock, if any.",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "maxdisk" : {
-                                    "description" : "Root disk size in bytes.",
-                                    "optional" : 1,
-                                    "renderer" : "bytes",
-                                    "type" : "integer"
-                                 },
-                                 "maxmem" : {
-                                    "description" : "Maximum memory in bytes.",
-                                    "optional" : 1,
-                                    "renderer" : "bytes",
-                                    "type" : "integer"
-                                 },
-                                 "maxswap" : {
-                                    "description" : "Maximum SWAP memory in bytes.",
-                                    "optional" : 1,
-                                    "renderer" : "bytes",
-                                    "type" : "integer"
-                                 },
-                                 "name" : {
-                                    "description" : "Container name.",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "status" : {
-                                    "description" : "LXC Container status.",
-                                    "enum" : [
-                                       "stopped",
-                                       "running"
-                                    ],
-                                    "type" : "string"
-                                 },
-                                 "tags" : {
-                                    "description" : "The current configured tags, if any.",
-                                    "optional" : 1,
-                                    "type" : "string"
-                                 },
-                                 "uptime" : {
-                                    "description" : "Uptime.",
-                                    "optional" : 1,
-                                    "renderer" : "duration",
-                                    "type" : "integer"
-                                 },
-                                 "vmid" : {
-                                    "description" : "The (unique) ID of the VM.",
-                                    "format" : "pve-vmid",
-                                    "minimum" : 1,
-                                    "type" : "integer"
-                                 }
-                              },
-                              "type" : "object"
-                           },
-                           "links" : [
-                              {
-                                 "href" : "{vmid}",
-                                 "rel" : "child"
-                              }
-                           ],
-                           "type" : "array"
-                        }
-                     },
-                     "POST" : {
-                        "allowtoken" : 1,
-                        "description" : "Create or restore a container.",
-                        "method" : "POST",
-                        "name" : "create_vm",
-                        "parameters" : {
-                           "additionalProperties" : 0,
-                           "properties" : {
-                              "arch" : {
-                                 "default" : "amd64",
-                                 "description" : "OS architecture type.",
-                                 "enum" : [
-                                    "amd64",
-                                    "i386",
-                                    "arm64",
-                                    "armhf",
-                                    "riscv32",
-                                    "riscv64"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "bwlimit" : {
-                                 "default" : "restore limit from datacenter or storage config",
-                                 "description" : "Override I/O bandwidth limit (in KiB/s).",
-                                 "minimum" : "0",
-                                 "optional" : 1,
-                                 "type" : "number",
-                                 "typetext" : "<number> (0 - N)"
-                              },
-                              "cmode" : {
-                                 "default" : "tty",
-                                 "description" : "Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).",
-                                 "enum" : [
-                                    "shell",
-                                    "console",
-                                    "tty"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "console" : {
-                                 "default" : 1,
-                                 "description" : "Attach a console device (/dev/console) to the container.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "cores" : {
-                                 "description" : "The number of cores assigned to the container. A container can use all available cores by default.",
-                                 "maximum" : 8192,
-                                 "minimum" : 1,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - 8192)"
-                              },
-                              "cpulimit" : {
-                                 "default" : 0,
-                                 "description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.",
-                                 "maximum" : 8192,
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "number",
-                                 "typetext" : "<number> (0 - 8192)"
-                              },
-                              "cpuunits" : {
-                                 "default" : "cgroup v1: 1024, cgroup v2: 100",
-                                 "description" : "CPU weight for a container, will be clamped to [1, 10000] in cgroup v2.",
-                                 "maximum" : 500000,
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - 500000)",
-                                 "verbose_description" : "CPU weight for a container. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this container gets. Number is relative to the weights of all the other running guests."
-                              },
-                              "debug" : {
-                                 "default" : 0,
-                                 "description" : "Try to be more verbose. For now this only enables debug log-level on start.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "description" : {
-                                 "description" : "Description for the Container. Shown in the web-interface CT's summary. This is saved as comment inside the configuration file.",
-                                 "maxLength" : 8192,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "features" : {
-                                 "description" : "Allow containers access to advanced features.",
-                                 "format" : {
-                                    "force_rw_sys" : {
-                                       "default" : 0,
-                                       "description" : "Mount /sys in unprivileged containers as `rw` instead of `mixed`. This can break networking under newer (>= v245) systemd-network use.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "fuse" : {
-                                       "default" : 0,
-                                       "description" : "Allow using 'fuse' file systems in a container. Note that interactions between fuse and the freezer cgroup can potentially cause I/O deadlocks.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "keyctl" : {
-                                       "default" : 0,
-                                       "description" : "For unprivileged containers only: Allow the use of the keyctl() system call. This is required to use docker inside a container. By default unprivileged containers will see this system call as non-existent. This is mostly a workaround for systemd-networkd, as it will treat it as a fatal error when some keyctl() operations are denied by the kernel due to lacking permissions. Essentially, you can choose between running systemd-networkd or docker.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "mknod" : {
-                                       "default" : 0,
-                                       "description" : "Allow unprivileged containers to use mknod() to add certain device nodes. This requires a kernel with seccomp trap to user space support (5.3 or newer). This is experimental.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "mount" : {
-                                       "description" : "Allow mounting file systems of specific types. This should be a list of file system types as used with the mount command. Note that this can have negative effects on the container's security. With access to a loop device, mounting a file can circumvent the mknod permission of the devices cgroup, mounting an NFS file system can block the host's I/O completely and prevent it from rebooting, etc.",
-                                       "format_description" : "fstype;fstype;...",
-                                       "optional" : 1,
-                                       "pattern" : "(?^:[a-zA-Z0-9_; ]+)",
-                                       "type" : "string"
-                                    },
-                                    "nesting" : {
-                                       "default" : 0,
-                                       "description" : "Allow nesting. Best used with unprivileged containers with additional id mapping. Note that this will expose procfs and sysfs contents of the host to the guest.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[force_rw_sys=<1|0>] [,fuse=<1|0>] [,keyctl=<1|0>] [,mknod=<1|0>] [,mount=<fstype;fstype;...>] [,nesting=<1|0>]"
-                              },
-                              "force" : {
-                                 "description" : "Allow to overwrite existing container.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "hookscript" : {
-                                 "description" : "Script that will be exectued during various steps in the containers lifetime.",
-                                 "format" : "pve-volume-id",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "hostname" : {
-                                 "description" : "Set a host name for the container.",
-                                 "format" : "dns-name",
-                                 "maxLength" : 255,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "ignore-unpack-errors" : {
-                                 "description" : "Ignore errors when extracting the template.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "lock" : {
-                                 "description" : "Lock/unlock the container.",
-                                 "enum" : [
-                                    "backup",
-                                    "create",
-                                    "destroyed",
-                                    "disk",
-                                    "fstrim",
-                                    "migrate",
-                                    "mounted",
-                                    "rollback",
-                                    "snapshot",
-                                    "snapshot-delete"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "memory" : {
-                                 "default" : 512,
-                                 "description" : "Amount of RAM for the container in MB.",
-                                 "minimum" : 16,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (16 - N)"
-                              },
-                              "mp[n]" : {
-                                 "description" : "Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.",
-                                 "format" : {
-                                    "acl" : {
-                                       "description" : "Explicitly enable or disable ACL support.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "backup" : {
-                                       "description" : "Whether to include the mount point in backups.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "verbose_description" : "Whether to include the mount point in backups (only used for volume mount points)."
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "mountoptions" : {
-                                       "description" : "Extra mount options for rootfs/mps.",
-                                       "format_description" : "opt[;opt...]",
-                                       "optional" : 1,
-                                       "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Console"
+                                          ]
+                                       ]
                                     },
-                                    "mp" : {
-                                       "description" : "Path to the mount point as seen from inside the container (must not contain symlinks).",
-                                       "format" : "pve-lxc-mp-string",
-                                       "format_description" : "Path",
-                                       "type" : "string",
-                                       "verbose_description" : "Path to the mount point as seen from inside the container.\n\nNOTE: Must not contain any symlinks for security reasons."
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "port" : {
+                                             "type" : "integer"
+                                          },
+                                          "ticket" : {
+                                             "type" : "string"
+                                          },
+                                          "upid" : {
+                                             "type" : "string"
+                                          },
+                                          "user" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/termproxy",
+                              "text" : "termproxy"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Opens a weksocket for VNC traffic.",
+                                    "method" : "GET",
+                                    "name" : "vncwebsocket",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "port" : {
+                                             "description" : "Port number returned by previous vncproxy call.",
+                                             "maximum" : 5999,
+                                             "minimum" : 5900,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (5900 - 5999)"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "vncticket" : {
+                                             "description" : "Ticket from previous call to vncproxy.",
+                                             "maxLength" : 512,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
                                     },
-                                    "quota" : {
-                                       "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Console"
+                                          ]
+                                       ],
+                                       "description" : "You also need to pass a valid ticket (vncticket)."
                                     },
-                                    "replicate" : {
-                                       "default" : 1,
-                                       "description" : "Will include this volume to a storage replica job.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "returns" : {
+                                       "properties" : {
+                                          "port" : {
+                                             "type" : "string"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/vncwebsocket",
+                              "text" : "vncwebsocket"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Returns a SPICE configuration to connect to the CT.",
+                                    "method" : "POST",
+                                    "name" : "spiceproxy",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "proxy" : {
+                                             "description" : "SPICE proxy server. This can be used by the client to specify the proxy server. All nodes in a cluster runs 'spiceproxy', so it is up to the client to choose one. By default, we return the node where the VM is currently running. As reasonable setting is to use same node you use to connect to the API (This is window.location.hostname for the JS GUI).",
+                                             "format" : "address",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "ro" : {
-                                       "description" : "Read-only mount point",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Console"
+                                          ]
+                                       ]
                                     },
-                                    "shared" : {
-                                       "default" : 0,
-                                       "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "additionalProperties" : 1,
+                                       "description" : "Returned values can be directly passed to the 'remote-viewer' application.",
+                                       "properties" : {
+                                          "host" : {
+                                             "type" : "string"
+                                          },
+                                          "password" : {
+                                             "type" : "string"
+                                          },
+                                          "proxy" : {
+                                             "type" : "string"
+                                          },
+                                          "tls-port" : {
+                                             "type" : "integer"
+                                          },
+                                          "type" : {
+                                             "type" : "string"
+                                          }
+                                       }
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/spiceproxy",
+                              "text" : "spiceproxy"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Migrate the container to another cluster. Creates a new migration task. EXPERIMENTAL feature!",
+                                    "method" : "POST",
+                                    "name" : "remote_migrate_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "bwlimit" : {
+                                             "default" : "migrate limit from datacenter or storage config",
+                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                             "minimum" : "0",
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - N)"
+                                          },
+                                          "delete" : {
+                                             "default" : 0,
+                                             "description" : "Delete the original CT and related data after successful migration. By default the original CT is kept on the source cluster in a stopped state.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "online" : {
+                                             "description" : "Use online/live migration.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "restart" : {
+                                             "description" : "Use restart migration",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "target-bridge" : {
+                                             "description" : "Mapping from source to target bridges. Providing only a single bridge ID maps all source bridges to that bridge. Providing the special value '1' will map each source bridge to itself.",
+                                             "format" : "bridge-pair-list",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "target-endpoint" : {
+                                             "description" : "Remote target endpoint",
+                                             "format" : "proxmox-remote",
+                                             "type" : "string",
+                                             "typetext" : "apitoken=<PVEAPIToken=user@realm!token=SECRET> ,host=<ADDRESS> [,fingerprint=<FINGERPRINT>] [,port=<PORT>]"
+                                          },
+                                          "target-storage" : {
+                                             "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
+                                             "format" : "storage-pair-list",
+                                             "optional" : 0,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "target-vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "timeout" : {
+                                             "default" : 180,
+                                             "description" : "Timeout in seconds for shutdown for restart migration",
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "size" : {
-                                       "description" : "Volume size (read only value).",
-                                       "format" : "disk-size",
-                                       "format_description" : "DiskSize",
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Migrate"
+                                          ]
+                                       ]
                                     },
-                                    "volume" : {
-                                       "default_key" : 1,
-                                       "description" : "Volume, device or directory to mount into the container.",
-                                       "format" : "pve-lxc-mp-string",
-                                       "format_description" : "volume",
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
                                        "type" : "string"
                                     }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]"
-                              },
-                              "nameserver" : {
-                                 "description" : "Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
-                                 "format" : "lxc-ip-with-ll-iface-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 }
                               },
-                              "net[n]" : {
-                                 "description" : "Specifies network interfaces for the container.",
-                                 "format" : {
-                                    "bridge" : {
-                                       "description" : "Bridge to attach the network device to.",
-                                       "format_description" : "bridge",
-                                       "optional" : 1,
-                                       "pattern" : "[-_.\\w\\d]+",
-                                       "type" : "string"
-                                    },
-                                    "firewall" : {
-                                       "description" : "Controls whether this interface's firewall rules should be used.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/remote_migrate",
+                              "text" : "remote_migrate"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Migrate the container to another node. Creates a new migration task.",
+                                    "method" : "POST",
+                                    "name" : "migrate_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "bwlimit" : {
+                                             "default" : "migrate limit from datacenter or storage config",
+                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                             "minimum" : "0",
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - N)"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "online" : {
+                                             "description" : "Use online/live migration.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "restart" : {
+                                             "description" : "Use restart migration",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "target" : {
+                                             "description" : "Target node.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "target-storage" : {
+                                             "description" : "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
+                                             "format" : "storage-pair-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "timeout" : {
+                                             "default" : 180,
+                                             "description" : "Timeout in seconds for shutdown for restart migration",
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "gw" : {
-                                       "description" : "Default gateway for IPv4 traffic.",
-                                       "format" : "ipv4",
-                                       "format_description" : "GatewayIPv4",
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Migrate"
+                                          ]
+                                       ]
                                     },
-                                    "gw6" : {
-                                       "description" : "Default gateway for IPv6 traffic.",
-                                       "format" : "ipv6",
-                                       "format_description" : "GatewayIPv6",
-                                       "optional" : 1,
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
                                        "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/migrate",
+                              "text" : "migrate"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Check if feature for virtual machine is available.",
+                                    "method" : "GET",
+                                    "name" : "vm_feature",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "feature" : {
+                                             "description" : "Feature to check.",
+                                             "enum" : [
+                                                "snapshot",
+                                                "clone",
+                                                "copy"
+                                             ],
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "snapname" : {
+                                             "description" : "The name of the snapshot.",
+                                             "format" : "pve-configid",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "hwaddr" : {
-                                       "description" : "The interface MAC address. This is dynamically allocated by default, but you can set that statically if needed, for example to always have the same link-local IPv6 address. (lxc.network.hwaddr)",
-                                       "format" : "mac-addr",
-                                       "format_description" : "XX:XX:XX:XX:XX:XX",
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
                                     },
-                                    "ip" : {
-                                       "description" : "IPv4 address in CIDR format.",
-                                       "format" : "pve-ipv4-config",
-                                       "format_description" : "(IPv4/CIDR|dhcp|manual)",
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "properties" : {
+                                          "hasFeature" : {
+                                             "type" : "boolean"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/feature",
+                              "text" : "feature"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create a Template.",
+                                    "method" : "POST",
+                                    "name" : "template",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "ip6" : {
-                                       "description" : "IPv6 address in CIDR format.",
-                                       "format" : "pve-ipv6-config",
-                                       "format_description" : "(IPv6/CIDR|auto|dhcp|manual)",
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Allocate"
+                                          ]
+                                       ],
+                                       "description" : "You need 'VM.Allocate' permissions on /vms/{vmid}"
                                     },
-                                    "link_down" : {
-                                       "description" : "Whether this interface should be disconnected (like pulling the plug).",
-                                       "optional" : 1,
-                                       "type" : "boolean"
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "null"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/template",
+                              "text" : "template"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create a container clone/copy",
+                                    "method" : "POST",
+                                    "name" : "clone_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "bwlimit" : {
+                                             "default" : "clone limit from datacenter or storage config",
+                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                             "minimum" : "0",
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - N)"
+                                          },
+                                          "description" : {
+                                             "description" : "Description for the new CT.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "full" : {
+                                             "description" : "Create a full copy of all disks. This is always done when you clone a normal CT. For CT templates, we try to create a linked clone by default.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "hostname" : {
+                                             "description" : "Set a hostname for the new CT.",
+                                             "format" : "dns-name",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "newid" : {
+                                             "description" : "VMID for the clone.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "pool" : {
+                                             "description" : "Add the new CT to the specified pool.",
+                                             "format" : "pve-poolid",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "snapname" : {
+                                             "description" : "The name of the snapshot.",
+                                             "format" : "pve-configid",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "storage" : {
+                                             "description" : "Target storage for full clone.",
+                                             "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<storage ID>"
+                                          },
+                                          "target" : {
+                                             "description" : "Target node. Only allowed if the original VM is on shared storage.",
+                                             "format" : "pve-node",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "mtu" : {
-                                       "description" : "Maximum transfer unit of the interface. (lxc.network.mtu)",
-                                       "maximum" : 65535,
-                                       "minimum" : 64,
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "permissions" : {
+                                       "check" : [
+                                          "and",
+                                          [
+                                             "perm",
+                                             "/vms/{vmid}",
+                                             [
+                                                "VM.Clone"
+                                             ]
+                                          ],
+                                          [
+                                             "or",
+                                             [
+                                                "perm",
+                                                "/vms/{newid}",
+                                                [
+                                                   "VM.Allocate"
+                                                ]
+                                             ],
+                                             [
+                                                "perm",
+                                                "/pool/{pool}",
+                                                [
+                                                   "VM.Allocate"
+                                                ],
+                                                "require_param",
+                                                "pool"
+                                             ]
+                                          ]
+                                       ],
+                                       "description" : "You need 'VM.Clone' permissions on /vms/{vmid}, and 'VM.Allocate' permissions on /vms/{newid} (or on the VM pool /pool/{pool}). You also need 'Datastore.AllocateSpace' on any used storage, and 'SDN.Use' on any bridge."
                                     },
-                                    "name" : {
-                                       "description" : "Name of the network device as seen from inside the container. (lxc.network.name)",
-                                       "format_description" : "string",
-                                       "pattern" : "[-_.\\w\\d]+",
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
                                        "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/clone",
+                              "text" : "clone"
+                           },
+                           {
+                              "info" : {
+                                 "PUT" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Resize a container mount point.",
+                                    "method" : "PUT",
+                                    "name" : "resize_vm",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "disk" : {
+                                             "description" : "The disk you want to resize.",
+                                             "enum" : [
+                                                "rootfs",
+                                                "mp0",
+                                                "mp1",
+                                                "mp2",
+                                                "mp3",
+                                                "mp4",
+                                                "mp5",
+                                                "mp6",
+                                                "mp7",
+                                                "mp8",
+                                                "mp9",
+                                                "mp10",
+                                                "mp11",
+                                                "mp12",
+                                                "mp13",
+                                                "mp14",
+                                                "mp15",
+                                                "mp16",
+                                                "mp17",
+                                                "mp18",
+                                                "mp19",
+                                                "mp20",
+                                                "mp21",
+                                                "mp22",
+                                                "mp23",
+                                                "mp24",
+                                                "mp25",
+                                                "mp26",
+                                                "mp27",
+                                                "mp28",
+                                                "mp29",
+                                                "mp30",
+                                                "mp31",
+                                                "mp32",
+                                                "mp33",
+                                                "mp34",
+                                                "mp35",
+                                                "mp36",
+                                                "mp37",
+                                                "mp38",
+                                                "mp39",
+                                                "mp40",
+                                                "mp41",
+                                                "mp42",
+                                                "mp43",
+                                                "mp44",
+                                                "mp45",
+                                                "mp46",
+                                                "mp47",
+                                                "mp48",
+                                                "mp49",
+                                                "mp50",
+                                                "mp51",
+                                                "mp52",
+                                                "mp53",
+                                                "mp54",
+                                                "mp55",
+                                                "mp56",
+                                                "mp57",
+                                                "mp58",
+                                                "mp59",
+                                                "mp60",
+                                                "mp61",
+                                                "mp62",
+                                                "mp63",
+                                                "mp64",
+                                                "mp65",
+                                                "mp66",
+                                                "mp67",
+                                                "mp68",
+                                                "mp69",
+                                                "mp70",
+                                                "mp71",
+                                                "mp72",
+                                                "mp73",
+                                                "mp74",
+                                                "mp75",
+                                                "mp76",
+                                                "mp77",
+                                                "mp78",
+                                                "mp79",
+                                                "mp80",
+                                                "mp81",
+                                                "mp82",
+                                                "mp83",
+                                                "mp84",
+                                                "mp85",
+                                                "mp86",
+                                                "mp87",
+                                                "mp88",
+                                                "mp89",
+                                                "mp90",
+                                                "mp91",
+                                                "mp92",
+                                                "mp93",
+                                                "mp94",
+                                                "mp95",
+                                                "mp96",
+                                                "mp97",
+                                                "mp98",
+                                                "mp99",
+                                                "mp100",
+                                                "mp101",
+                                                "mp102",
+                                                "mp103",
+                                                "mp104",
+                                                "mp105",
+                                                "mp106",
+                                                "mp107",
+                                                "mp108",
+                                                "mp109",
+                                                "mp110",
+                                                "mp111",
+                                                "mp112",
+                                                "mp113",
+                                                "mp114",
+                                                "mp115",
+                                                "mp116",
+                                                "mp117",
+                                                "mp118",
+                                                "mp119",
+                                                "mp120",
+                                                "mp121",
+                                                "mp122",
+                                                "mp123",
+                                                "mp124",
+                                                "mp125",
+                                                "mp126",
+                                                "mp127",
+                                                "mp128",
+                                                "mp129",
+                                                "mp130",
+                                                "mp131",
+                                                "mp132",
+                                                "mp133",
+                                                "mp134",
+                                                "mp135",
+                                                "mp136",
+                                                "mp137",
+                                                "mp138",
+                                                "mp139",
+                                                "mp140",
+                                                "mp141",
+                                                "mp142",
+                                                "mp143",
+                                                "mp144",
+                                                "mp145",
+                                                "mp146",
+                                                "mp147",
+                                                "mp148",
+                                                "mp149",
+                                                "mp150",
+                                                "mp151",
+                                                "mp152",
+                                                "mp153",
+                                                "mp154",
+                                                "mp155",
+                                                "mp156",
+                                                "mp157",
+                                                "mp158",
+                                                "mp159",
+                                                "mp160",
+                                                "mp161",
+                                                "mp162",
+                                                "mp163",
+                                                "mp164",
+                                                "mp165",
+                                                "mp166",
+                                                "mp167",
+                                                "mp168",
+                                                "mp169",
+                                                "mp170",
+                                                "mp171",
+                                                "mp172",
+                                                "mp173",
+                                                "mp174",
+                                                "mp175",
+                                                "mp176",
+                                                "mp177",
+                                                "mp178",
+                                                "mp179",
+                                                "mp180",
+                                                "mp181",
+                                                "mp182",
+                                                "mp183",
+                                                "mp184",
+                                                "mp185",
+                                                "mp186",
+                                                "mp187",
+                                                "mp188",
+                                                "mp189",
+                                                "mp190",
+                                                "mp191",
+                                                "mp192",
+                                                "mp193",
+                                                "mp194",
+                                                "mp195",
+                                                "mp196",
+                                                "mp197",
+                                                "mp198",
+                                                "mp199",
+                                                "mp200",
+                                                "mp201",
+                                                "mp202",
+                                                "mp203",
+                                                "mp204",
+                                                "mp205",
+                                                "mp206",
+                                                "mp207",
+                                                "mp208",
+                                                "mp209",
+                                                "mp210",
+                                                "mp211",
+                                                "mp212",
+                                                "mp213",
+                                                "mp214",
+                                                "mp215",
+                                                "mp216",
+                                                "mp217",
+                                                "mp218",
+                                                "mp219",
+                                                "mp220",
+                                                "mp221",
+                                                "mp222",
+                                                "mp223",
+                                                "mp224",
+                                                "mp225",
+                                                "mp226",
+                                                "mp227",
+                                                "mp228",
+                                                "mp229",
+                                                "mp230",
+                                                "mp231",
+                                                "mp232",
+                                                "mp233",
+                                                "mp234",
+                                                "mp235",
+                                                "mp236",
+                                                "mp237",
+                                                "mp238",
+                                                "mp239",
+                                                "mp240",
+                                                "mp241",
+                                                "mp242",
+                                                "mp243",
+                                                "mp244",
+                                                "mp245",
+                                                "mp246",
+                                                "mp247",
+                                                "mp248",
+                                                "mp249",
+                                                "mp250",
+                                                "mp251",
+                                                "mp252",
+                                                "mp253",
+                                                "mp254",
+                                                "mp255"
+                                             ],
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "size" : {
+                                             "description" : "The new size. With the '+' sign the value is added to the actual size of the volume and without it, the value is taken as an absolute one. Shrinking disk size is not supported.",
+                                             "pattern" : "\\+?\\d+(\\.\\d+)?[KMGT]?",
+                                             "type" : "string"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "rate" : {
-                                       "description" : "Apply rate limiting to the interface",
-                                       "format_description" : "mbps",
-                                       "optional" : 1,
-                                       "type" : "number"
-                                    },
-                                    "tag" : {
-                                       "description" : "VLAN tag for this interface.",
-                                       "maximum" : 4094,
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "type" : "integer"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Config.Disk"
+                                          ],
+                                          "any",
+                                          1
+                                       ]
                                     },
-                                    "trunks" : {
-                                       "description" : "VLAN ids to pass through the interface",
-                                       "format_description" : "vlanid[;vlanid...]",
-                                       "optional" : 1,
-                                       "pattern" : "(?^:\\d+(?:;\\d+)*)",
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "description" : "the task ID.",
                                        "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/resize",
+                              "text" : "resize"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Move a rootfs-/mp-volume to a different storage or to a different container.",
+                                    "method" : "POST",
+                                    "name" : "move_volume",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "bwlimit" : {
+                                             "default" : "clone limit from datacenter or storage config",
+                                             "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                             "minimum" : "0",
+                                             "optional" : 1,
+                                             "type" : "number",
+                                             "typetext" : "<number> (0 - N)"
+                                          },
+                                          "delete" : {
+                                             "default" : 0,
+                                             "description" : "Delete the original volume after successful copy. By default the original is kept as an unused volume entry.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
+                                          "digest" : {
+                                             "description" : "Prevent changes if current configuration file has different SHA1 \" .\n\t\t    \"digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "storage" : {
+                                             "description" : "Target Storage.",
+                                             "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<storage ID>"
+                                          },
+                                          "target-digest" : {
+                                             "description" : "Prevent changes if current configuration file of the target \" .\n\t\t    \"container has a different SHA1 digest. This can be used to prevent \" .\n\t\t    \"concurrent modifications.",
+                                             "maxLength" : 40,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "target-vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "optional" : 1,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "target-volume" : {
+                                             "description" : "The config key the volume will be moved to. Default is the source volume key.",
+                                             "enum" : [
+                                                "rootfs",
+                                                "mp0",
+                                                "mp1",
+                                                "mp2",
+                                                "mp3",
+                                                "mp4",
+                                                "mp5",
+                                                "mp6",
+                                                "mp7",
+                                                "mp8",
+                                                "mp9",
+                                                "mp10",
+                                                "mp11",
+                                                "mp12",
+                                                "mp13",
+                                                "mp14",
+                                                "mp15",
+                                                "mp16",
+                                                "mp17",
+                                                "mp18",
+                                                "mp19",
+                                                "mp20",
+                                                "mp21",
+                                                "mp22",
+                                                "mp23",
+                                                "mp24",
+                                                "mp25",
+                                                "mp26",
+                                                "mp27",
+                                                "mp28",
+                                                "mp29",
+                                                "mp30",
+                                                "mp31",
+                                                "mp32",
+                                                "mp33",
+                                                "mp34",
+                                                "mp35",
+                                                "mp36",
+                                                "mp37",
+                                                "mp38",
+                                                "mp39",
+                                                "mp40",
+                                                "mp41",
+                                                "mp42",
+                                                "mp43",
+                                                "mp44",
+                                                "mp45",
+                                                "mp46",
+                                                "mp47",
+                                                "mp48",
+                                                "mp49",
+                                                "mp50",
+                                                "mp51",
+                                                "mp52",
+                                                "mp53",
+                                                "mp54",
+                                                "mp55",
+                                                "mp56",
+                                                "mp57",
+                                                "mp58",
+                                                "mp59",
+                                                "mp60",
+                                                "mp61",
+                                                "mp62",
+                                                "mp63",
+                                                "mp64",
+                                                "mp65",
+                                                "mp66",
+                                                "mp67",
+                                                "mp68",
+                                                "mp69",
+                                                "mp70",
+                                                "mp71",
+                                                "mp72",
+                                                "mp73",
+                                                "mp74",
+                                                "mp75",
+                                                "mp76",
+                                                "mp77",
+                                                "mp78",
+                                                "mp79",
+                                                "mp80",
+                                                "mp81",
+                                                "mp82",
+                                                "mp83",
+                                                "mp84",
+                                                "mp85",
+                                                "mp86",
+                                                "mp87",
+                                                "mp88",
+                                                "mp89",
+                                                "mp90",
+                                                "mp91",
+                                                "mp92",
+                                                "mp93",
+                                                "mp94",
+                                                "mp95",
+                                                "mp96",
+                                                "mp97",
+                                                "mp98",
+                                                "mp99",
+                                                "mp100",
+                                                "mp101",
+                                                "mp102",
+                                                "mp103",
+                                                "mp104",
+                                                "mp105",
+                                                "mp106",
+                                                "mp107",
+                                                "mp108",
+                                                "mp109",
+                                                "mp110",
+                                                "mp111",
+                                                "mp112",
+                                                "mp113",
+                                                "mp114",
+                                                "mp115",
+                                                "mp116",
+                                                "mp117",
+                                                "mp118",
+                                                "mp119",
+                                                "mp120",
+                                                "mp121",
+                                                "mp122",
+                                                "mp123",
+                                                "mp124",
+                                                "mp125",
+                                                "mp126",
+                                                "mp127",
+                                                "mp128",
+                                                "mp129",
+                                                "mp130",
+                                                "mp131",
+                                                "mp132",
+                                                "mp133",
+                                                "mp134",
+                                                "mp135",
+                                                "mp136",
+                                                "mp137",
+                                                "mp138",
+                                                "mp139",
+                                                "mp140",
+                                                "mp141",
+                                                "mp142",
+                                                "mp143",
+                                                "mp144",
+                                                "mp145",
+                                                "mp146",
+                                                "mp147",
+                                                "mp148",
+                                                "mp149",
+                                                "mp150",
+                                                "mp151",
+                                                "mp152",
+                                                "mp153",
+                                                "mp154",
+                                                "mp155",
+                                                "mp156",
+                                                "mp157",
+                                                "mp158",
+                                                "mp159",
+                                                "mp160",
+                                                "mp161",
+                                                "mp162",
+                                                "mp163",
+                                                "mp164",
+                                                "mp165",
+                                                "mp166",
+                                                "mp167",
+                                                "mp168",
+                                                "mp169",
+                                                "mp170",
+                                                "mp171",
+                                                "mp172",
+                                                "mp173",
+                                                "mp174",
+                                                "mp175",
+                                                "mp176",
+                                                "mp177",
+                                                "mp178",
+                                                "mp179",
+                                                "mp180",
+                                                "mp181",
+                                                "mp182",
+                                                "mp183",
+                                                "mp184",
+                                                "mp185",
+                                                "mp186",
+                                                "mp187",
+                                                "mp188",
+                                                "mp189",
+                                                "mp190",
+                                                "mp191",
+                                                "mp192",
+                                                "mp193",
+                                                "mp194",
+                                                "mp195",
+                                                "mp196",
+                                                "mp197",
+                                                "mp198",
+                                                "mp199",
+                                                "mp200",
+                                                "mp201",
+                                                "mp202",
+                                                "mp203",
+                                                "mp204",
+                                                "mp205",
+                                                "mp206",
+                                                "mp207",
+                                                "mp208",
+                                                "mp209",
+                                                "mp210",
+                                                "mp211",
+                                                "mp212",
+                                                "mp213",
+                                                "mp214",
+                                                "mp215",
+                                                "mp216",
+                                                "mp217",
+                                                "mp218",
+                                                "mp219",
+                                                "mp220",
+                                                "mp221",
+                                                "mp222",
+                                                "mp223",
+                                                "mp224",
+                                                "mp225",
+                                                "mp226",
+                                                "mp227",
+                                                "mp228",
+                                                "mp229",
+                                                "mp230",
+                                                "mp231",
+                                                "mp232",
+                                                "mp233",
+                                                "mp234",
+                                                "mp235",
+                                                "mp236",
+                                                "mp237",
+                                                "mp238",
+                                                "mp239",
+                                                "mp240",
+                                                "mp241",
+                                                "mp242",
+                                                "mp243",
+                                                "mp244",
+                                                "mp245",
+                                                "mp246",
+                                                "mp247",
+                                                "mp248",
+                                                "mp249",
+                                                "mp250",
+                                                "mp251",
+                                                "mp252",
+                                                "mp253",
+                                                "mp254",
+                                                "mp255",
+                                                "unused0",
+                                                "unused1",
+                                                "unused2",
+                                                "unused3",
+                                                "unused4",
+                                                "unused5",
+                                                "unused6",
+                                                "unused7",
+                                                "unused8",
+                                                "unused9",
+                                                "unused10",
+                                                "unused11",
+                                                "unused12",
+                                                "unused13",
+                                                "unused14",
+                                                "unused15",
+                                                "unused16",
+                                                "unused17",
+                                                "unused18",
+                                                "unused19",
+                                                "unused20",
+                                                "unused21",
+                                                "unused22",
+                                                "unused23",
+                                                "unused24",
+                                                "unused25",
+                                                "unused26",
+                                                "unused27",
+                                                "unused28",
+                                                "unused29",
+                                                "unused30",
+                                                "unused31",
+                                                "unused32",
+                                                "unused33",
+                                                "unused34",
+                                                "unused35",
+                                                "unused36",
+                                                "unused37",
+                                                "unused38",
+                                                "unused39",
+                                                "unused40",
+                                                "unused41",
+                                                "unused42",
+                                                "unused43",
+                                                "unused44",
+                                                "unused45",
+                                                "unused46",
+                                                "unused47",
+                                                "unused48",
+                                                "unused49",
+                                                "unused50",
+                                                "unused51",
+                                                "unused52",
+                                                "unused53",
+                                                "unused54",
+                                                "unused55",
+                                                "unused56",
+                                                "unused57",
+                                                "unused58",
+                                                "unused59",
+                                                "unused60",
+                                                "unused61",
+                                                "unused62",
+                                                "unused63",
+                                                "unused64",
+                                                "unused65",
+                                                "unused66",
+                                                "unused67",
+                                                "unused68",
+                                                "unused69",
+                                                "unused70",
+                                                "unused71",
+                                                "unused72",
+                                                "unused73",
+                                                "unused74",
+                                                "unused75",
+                                                "unused76",
+                                                "unused77",
+                                                "unused78",
+                                                "unused79",
+                                                "unused80",
+                                                "unused81",
+                                                "unused82",
+                                                "unused83",
+                                                "unused84",
+                                                "unused85",
+                                                "unused86",
+                                                "unused87",
+                                                "unused88",
+                                                "unused89",
+                                                "unused90",
+                                                "unused91",
+                                                "unused92",
+                                                "unused93",
+                                                "unused94",
+                                                "unused95",
+                                                "unused96",
+                                                "unused97",
+                                                "unused98",
+                                                "unused99",
+                                                "unused100",
+                                                "unused101",
+                                                "unused102",
+                                                "unused103",
+                                                "unused104",
+                                                "unused105",
+                                                "unused106",
+                                                "unused107",
+                                                "unused108",
+                                                "unused109",
+                                                "unused110",
+                                                "unused111",
+                                                "unused112",
+                                                "unused113",
+                                                "unused114",
+                                                "unused115",
+                                                "unused116",
+                                                "unused117",
+                                                "unused118",
+                                                "unused119",
+                                                "unused120",
+                                                "unused121",
+                                                "unused122",
+                                                "unused123",
+                                                "unused124",
+                                                "unused125",
+                                                "unused126",
+                                                "unused127",
+                                                "unused128",
+                                                "unused129",
+                                                "unused130",
+                                                "unused131",
+                                                "unused132",
+                                                "unused133",
+                                                "unused134",
+                                                "unused135",
+                                                "unused136",
+                                                "unused137",
+                                                "unused138",
+                                                "unused139",
+                                                "unused140",
+                                                "unused141",
+                                                "unused142",
+                                                "unused143",
+                                                "unused144",
+                                                "unused145",
+                                                "unused146",
+                                                "unused147",
+                                                "unused148",
+                                                "unused149",
+                                                "unused150",
+                                                "unused151",
+                                                "unused152",
+                                                "unused153",
+                                                "unused154",
+                                                "unused155",
+                                                "unused156",
+                                                "unused157",
+                                                "unused158",
+                                                "unused159",
+                                                "unused160",
+                                                "unused161",
+                                                "unused162",
+                                                "unused163",
+                                                "unused164",
+                                                "unused165",
+                                                "unused166",
+                                                "unused167",
+                                                "unused168",
+                                                "unused169",
+                                                "unused170",
+                                                "unused171",
+                                                "unused172",
+                                                "unused173",
+                                                "unused174",
+                                                "unused175",
+                                                "unused176",
+                                                "unused177",
+                                                "unused178",
+                                                "unused179",
+                                                "unused180",
+                                                "unused181",
+                                                "unused182",
+                                                "unused183",
+                                                "unused184",
+                                                "unused185",
+                                                "unused186",
+                                                "unused187",
+                                                "unused188",
+                                                "unused189",
+                                                "unused190",
+                                                "unused191",
+                                                "unused192",
+                                                "unused193",
+                                                "unused194",
+                                                "unused195",
+                                                "unused196",
+                                                "unused197",
+                                                "unused198",
+                                                "unused199",
+                                                "unused200",
+                                                "unused201",
+                                                "unused202",
+                                                "unused203",
+                                                "unused204",
+                                                "unused205",
+                                                "unused206",
+                                                "unused207",
+                                                "unused208",
+                                                "unused209",
+                                                "unused210",
+                                                "unused211",
+                                                "unused212",
+                                                "unused213",
+                                                "unused214",
+                                                "unused215",
+                                                "unused216",
+                                                "unused217",
+                                                "unused218",
+                                                "unused219",
+                                                "unused220",
+                                                "unused221",
+                                                "unused222",
+                                                "unused223",
+                                                "unused224",
+                                                "unused225",
+                                                "unused226",
+                                                "unused227",
+                                                "unused228",
+                                                "unused229",
+                                                "unused230",
+                                                "unused231",
+                                                "unused232",
+                                                "unused233",
+                                                "unused234",
+                                                "unused235",
+                                                "unused236",
+                                                "unused237",
+                                                "unused238",
+                                                "unused239",
+                                                "unused240",
+                                                "unused241",
+                                                "unused242",
+                                                "unused243",
+                                                "unused244",
+                                                "unused245",
+                                                "unused246",
+                                                "unused247",
+                                                "unused248",
+                                                "unused249",
+                                                "unused250",
+                                                "unused251",
+                                                "unused252",
+                                                "unused253",
+                                                "unused254",
+                                                "unused255"
+                                             ],
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          },
+                                          "volume" : {
+                                             "description" : "Volume which will be moved.",
+                                             "enum" : [
+                                                "rootfs",
+                                                "mp0",
+                                                "mp1",
+                                                "mp2",
+                                                "mp3",
+                                                "mp4",
+                                                "mp5",
+                                                "mp6",
+                                                "mp7",
+                                                "mp8",
+                                                "mp9",
+                                                "mp10",
+                                                "mp11",
+                                                "mp12",
+                                                "mp13",
+                                                "mp14",
+                                                "mp15",
+                                                "mp16",
+                                                "mp17",
+                                                "mp18",
+                                                "mp19",
+                                                "mp20",
+                                                "mp21",
+                                                "mp22",
+                                                "mp23",
+                                                "mp24",
+                                                "mp25",
+                                                "mp26",
+                                                "mp27",
+                                                "mp28",
+                                                "mp29",
+                                                "mp30",
+                                                "mp31",
+                                                "mp32",
+                                                "mp33",
+                                                "mp34",
+                                                "mp35",
+                                                "mp36",
+                                                "mp37",
+                                                "mp38",
+                                                "mp39",
+                                                "mp40",
+                                                "mp41",
+                                                "mp42",
+                                                "mp43",
+                                                "mp44",
+                                                "mp45",
+                                                "mp46",
+                                                "mp47",
+                                                "mp48",
+                                                "mp49",
+                                                "mp50",
+                                                "mp51",
+                                                "mp52",
+                                                "mp53",
+                                                "mp54",
+                                                "mp55",
+                                                "mp56",
+                                                "mp57",
+                                                "mp58",
+                                                "mp59",
+                                                "mp60",
+                                                "mp61",
+                                                "mp62",
+                                                "mp63",
+                                                "mp64",
+                                                "mp65",
+                                                "mp66",
+                                                "mp67",
+                                                "mp68",
+                                                "mp69",
+                                                "mp70",
+                                                "mp71",
+                                                "mp72",
+                                                "mp73",
+                                                "mp74",
+                                                "mp75",
+                                                "mp76",
+                                                "mp77",
+                                                "mp78",
+                                                "mp79",
+                                                "mp80",
+                                                "mp81",
+                                                "mp82",
+                                                "mp83",
+                                                "mp84",
+                                                "mp85",
+                                                "mp86",
+                                                "mp87",
+                                                "mp88",
+                                                "mp89",
+                                                "mp90",
+                                                "mp91",
+                                                "mp92",
+                                                "mp93",
+                                                "mp94",
+                                                "mp95",
+                                                "mp96",
+                                                "mp97",
+                                                "mp98",
+                                                "mp99",
+                                                "mp100",
+                                                "mp101",
+                                                "mp102",
+                                                "mp103",
+                                                "mp104",
+                                                "mp105",
+                                                "mp106",
+                                                "mp107",
+                                                "mp108",
+                                                "mp109",
+                                                "mp110",
+                                                "mp111",
+                                                "mp112",
+                                                "mp113",
+                                                "mp114",
+                                                "mp115",
+                                                "mp116",
+                                                "mp117",
+                                                "mp118",
+                                                "mp119",
+                                                "mp120",
+                                                "mp121",
+                                                "mp122",
+                                                "mp123",
+                                                "mp124",
+                                                "mp125",
+                                                "mp126",
+                                                "mp127",
+                                                "mp128",
+                                                "mp129",
+                                                "mp130",
+                                                "mp131",
+                                                "mp132",
+                                                "mp133",
+                                                "mp134",
+                                                "mp135",
+                                                "mp136",
+                                                "mp137",
+                                                "mp138",
+                                                "mp139",
+                                                "mp140",
+                                                "mp141",
+                                                "mp142",
+                                                "mp143",
+                                                "mp144",
+                                                "mp145",
+                                                "mp146",
+                                                "mp147",
+                                                "mp148",
+                                                "mp149",
+                                                "mp150",
+                                                "mp151",
+                                                "mp152",
+                                                "mp153",
+                                                "mp154",
+                                                "mp155",
+                                                "mp156",
+                                                "mp157",
+                                                "mp158",
+                                                "mp159",
+                                                "mp160",
+                                                "mp161",
+                                                "mp162",
+                                                "mp163",
+                                                "mp164",
+                                                "mp165",
+                                                "mp166",
+                                                "mp167",
+                                                "mp168",
+                                                "mp169",
+                                                "mp170",
+                                                "mp171",
+                                                "mp172",
+                                                "mp173",
+                                                "mp174",
+                                                "mp175",
+                                                "mp176",
+                                                "mp177",
+                                                "mp178",
+                                                "mp179",
+                                                "mp180",
+                                                "mp181",
+                                                "mp182",
+                                                "mp183",
+                                                "mp184",
+                                                "mp185",
+                                                "mp186",
+                                                "mp187",
+                                                "mp188",
+                                                "mp189",
+                                                "mp190",
+                                                "mp191",
+                                                "mp192",
+                                                "mp193",
+                                                "mp194",
+                                                "mp195",
+                                                "mp196",
+                                                "mp197",
+                                                "mp198",
+                                                "mp199",
+                                                "mp200",
+                                                "mp201",
+                                                "mp202",
+                                                "mp203",
+                                                "mp204",
+                                                "mp205",
+                                                "mp206",
+                                                "mp207",
+                                                "mp208",
+                                                "mp209",
+                                                "mp210",
+                                                "mp211",
+                                                "mp212",
+                                                "mp213",
+                                                "mp214",
+                                                "mp215",
+                                                "mp216",
+                                                "mp217",
+                                                "mp218",
+                                                "mp219",
+                                                "mp220",
+                                                "mp221",
+                                                "mp222",
+                                                "mp223",
+                                                "mp224",
+                                                "mp225",
+                                                "mp226",
+                                                "mp227",
+                                                "mp228",
+                                                "mp229",
+                                                "mp230",
+                                                "mp231",
+                                                "mp232",
+                                                "mp233",
+                                                "mp234",
+                                                "mp235",
+                                                "mp236",
+                                                "mp237",
+                                                "mp238",
+                                                "mp239",
+                                                "mp240",
+                                                "mp241",
+                                                "mp242",
+                                                "mp243",
+                                                "mp244",
+                                                "mp245",
+                                                "mp246",
+                                                "mp247",
+                                                "mp248",
+                                                "mp249",
+                                                "mp250",
+                                                "mp251",
+                                                "mp252",
+                                                "mp253",
+                                                "mp254",
+                                                "mp255",
+                                                "unused0",
+                                                "unused1",
+                                                "unused2",
+                                                "unused3",
+                                                "unused4",
+                                                "unused5",
+                                                "unused6",
+                                                "unused7",
+                                                "unused8",
+                                                "unused9",
+                                                "unused10",
+                                                "unused11",
+                                                "unused12",
+                                                "unused13",
+                                                "unused14",
+                                                "unused15",
+                                                "unused16",
+                                                "unused17",
+                                                "unused18",
+                                                "unused19",
+                                                "unused20",
+                                                "unused21",
+                                                "unused22",
+                                                "unused23",
+                                                "unused24",
+                                                "unused25",
+                                                "unused26",
+                                                "unused27",
+                                                "unused28",
+                                                "unused29",
+                                                "unused30",
+                                                "unused31",
+                                                "unused32",
+                                                "unused33",
+                                                "unused34",
+                                                "unused35",
+                                                "unused36",
+                                                "unused37",
+                                                "unused38",
+                                                "unused39",
+                                                "unused40",
+                                                "unused41",
+                                                "unused42",
+                                                "unused43",
+                                                "unused44",
+                                                "unused45",
+                                                "unused46",
+                                                "unused47",
+                                                "unused48",
+                                                "unused49",
+                                                "unused50",
+                                                "unused51",
+                                                "unused52",
+                                                "unused53",
+                                                "unused54",
+                                                "unused55",
+                                                "unused56",
+                                                "unused57",
+                                                "unused58",
+                                                "unused59",
+                                                "unused60",
+                                                "unused61",
+                                                "unused62",
+                                                "unused63",
+                                                "unused64",
+                                                "unused65",
+                                                "unused66",
+                                                "unused67",
+                                                "unused68",
+                                                "unused69",
+                                                "unused70",
+                                                "unused71",
+                                                "unused72",
+                                                "unused73",
+                                                "unused74",
+                                                "unused75",
+                                                "unused76",
+                                                "unused77",
+                                                "unused78",
+                                                "unused79",
+                                                "unused80",
+                                                "unused81",
+                                                "unused82",
+                                                "unused83",
+                                                "unused84",
+                                                "unused85",
+                                                "unused86",
+                                                "unused87",
+                                                "unused88",
+                                                "unused89",
+                                                "unused90",
+                                                "unused91",
+                                                "unused92",
+                                                "unused93",
+                                                "unused94",
+                                                "unused95",
+                                                "unused96",
+                                                "unused97",
+                                                "unused98",
+                                                "unused99",
+                                                "unused100",
+                                                "unused101",
+                                                "unused102",
+                                                "unused103",
+                                                "unused104",
+                                                "unused105",
+                                                "unused106",
+                                                "unused107",
+                                                "unused108",
+                                                "unused109",
+                                                "unused110",
+                                                "unused111",
+                                                "unused112",
+                                                "unused113",
+                                                "unused114",
+                                                "unused115",
+                                                "unused116",
+                                                "unused117",
+                                                "unused118",
+                                                "unused119",
+                                                "unused120",
+                                                "unused121",
+                                                "unused122",
+                                                "unused123",
+                                                "unused124",
+                                                "unused125",
+                                                "unused126",
+                                                "unused127",
+                                                "unused128",
+                                                "unused129",
+                                                "unused130",
+                                                "unused131",
+                                                "unused132",
+                                                "unused133",
+                                                "unused134",
+                                                "unused135",
+                                                "unused136",
+                                                "unused137",
+                                                "unused138",
+                                                "unused139",
+                                                "unused140",
+                                                "unused141",
+                                                "unused142",
+                                                "unused143",
+                                                "unused144",
+                                                "unused145",
+                                                "unused146",
+                                                "unused147",
+                                                "unused148",
+                                                "unused149",
+                                                "unused150",
+                                                "unused151",
+                                                "unused152",
+                                                "unused153",
+                                                "unused154",
+                                                "unused155",
+                                                "unused156",
+                                                "unused157",
+                                                "unused158",
+                                                "unused159",
+                                                "unused160",
+                                                "unused161",
+                                                "unused162",
+                                                "unused163",
+                                                "unused164",
+                                                "unused165",
+                                                "unused166",
+                                                "unused167",
+                                                "unused168",
+                                                "unused169",
+                                                "unused170",
+                                                "unused171",
+                                                "unused172",
+                                                "unused173",
+                                                "unused174",
+                                                "unused175",
+                                                "unused176",
+                                                "unused177",
+                                                "unused178",
+                                                "unused179",
+                                                "unused180",
+                                                "unused181",
+                                                "unused182",
+                                                "unused183",
+                                                "unused184",
+                                                "unused185",
+                                                "unused186",
+                                                "unused187",
+                                                "unused188",
+                                                "unused189",
+                                                "unused190",
+                                                "unused191",
+                                                "unused192",
+                                                "unused193",
+                                                "unused194",
+                                                "unused195",
+                                                "unused196",
+                                                "unused197",
+                                                "unused198",
+                                                "unused199",
+                                                "unused200",
+                                                "unused201",
+                                                "unused202",
+                                                "unused203",
+                                                "unused204",
+                                                "unused205",
+                                                "unused206",
+                                                "unused207",
+                                                "unused208",
+                                                "unused209",
+                                                "unused210",
+                                                "unused211",
+                                                "unused212",
+                                                "unused213",
+                                                "unused214",
+                                                "unused215",
+                                                "unused216",
+                                                "unused217",
+                                                "unused218",
+                                                "unused219",
+                                                "unused220",
+                                                "unused221",
+                                                "unused222",
+                                                "unused223",
+                                                "unused224",
+                                                "unused225",
+                                                "unused226",
+                                                "unused227",
+                                                "unused228",
+                                                "unused229",
+                                                "unused230",
+                                                "unused231",
+                                                "unused232",
+                                                "unused233",
+                                                "unused234",
+                                                "unused235",
+                                                "unused236",
+                                                "unused237",
+                                                "unused238",
+                                                "unused239",
+                                                "unused240",
+                                                "unused241",
+                                                "unused242",
+                                                "unused243",
+                                                "unused244",
+                                                "unused245",
+                                                "unused246",
+                                                "unused247",
+                                                "unused248",
+                                                "unused249",
+                                                "unused250",
+                                                "unused251",
+                                                "unused252",
+                                                "unused253",
+                                                "unused254",
+                                                "unused255"
+                                             ],
+                                             "type" : "string"
+                                          }
+                                       }
                                     },
-                                    "type" : {
-                                       "description" : "Network interface type.",
-                                       "enum" : [
-                                          "veth"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Config.Disk"
+                                          ]
                                        ],
-                                       "optional" : 1,
+                                       "description" : "You need 'VM.Config.Disk' permissions on /vms/{vmid}, and 'Datastore.AllocateSpace' permissions on the storage. To move a volume to another container, you need the permissions on the target container as well."
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
                                        "type" : "string"
                                     }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,link_down=<1|0>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]"
-                              },
-                              "node" : {
-                                 "description" : "The cluster node name.",
-                                 "format" : "pve-node",
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "onboot" : {
-                                 "default" : 0,
-                                 "description" : "Specifies whether a container will be started during system bootup.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "ostemplate" : {
-                                 "description" : "The OS template or backup file.",
-                                 "maxLength" : 255,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "ostype" : {
-                                 "description" : "OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.",
-                                 "enum" : [
-                                    "debian",
-                                    "devuan",
-                                    "ubuntu",
-                                    "centos",
-                                    "fedora",
-                                    "opensuse",
-                                    "archlinux",
-                                    "alpine",
-                                    "gentoo",
-                                    "nixos",
-                                    "unmanaged"
-                                 ],
-                                 "optional" : 1,
-                                 "type" : "string"
-                              },
-                              "password" : {
-                                 "description" : "Sets root password inside container.",
-                                 "minLength" : 5,
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "pool" : {
-                                 "description" : "Add the VM to the specified pool.",
-                                 "format" : "pve-poolid",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "protection" : {
-                                 "default" : 0,
-                                 "description" : "Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "restore" : {
-                                 "description" : "Mark this as restore task.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
+                                 }
                               },
-                              "rootfs" : {
-                                 "description" : "Use volume as container root.",
-                                 "format" : {
-                                    "acl" : {
-                                       "description" : "Explicitly enable or disable ACL support.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "mountoptions" : {
-                                       "description" : "Extra mount options for rootfs/mps.",
-                                       "format_description" : "opt[;opt...]",
-                                       "optional" : 1,
-                                       "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
-                                       "type" : "string"
-                                    },
-                                    "quota" : {
-                                       "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "replicate" : {
-                                       "default" : 1,
-                                       "description" : "Will include this volume to a storage replica job.",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "ro" : {
-                                       "description" : "Read-only mount point",
-                                       "optional" : 1,
-                                       "type" : "boolean"
-                                    },
-                                    "shared" : {
-                                       "default" : 0,
-                                       "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/move_volume",
+                              "text" : "move_volume"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Get container configuration, including pending changes.",
+                                    "method" : "GET",
+                                    "name" : "vm_pending",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
                                     },
-                                    "size" : {
-                                       "description" : "Volume size (read only value).",
-                                       "format" : "disk-size",
-                                       "format_description" : "DiskSize",
-                                       "optional" : 1,
-                                       "type" : "string"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
                                     },
-                                    "volume" : {
-                                       "default_key" : 1,
-                                       "description" : "Volume, device or directory to mount into the container.",
-                                       "format" : "pve-lxc-mp-string",
-                                       "format_description" : "volume",
-                                       "type" : "string"
-                                    }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]"
-                              },
-                              "searchdomain" : {
-                                 "description" : "Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
-                                 "format" : "dns-name-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "ssh-public-keys" : {
-                                 "description" : "Setup public SSH keys (one key per line, OpenSSH format).",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "start" : {
-                                 "default" : 0,
-                                 "description" : "Start the CT after its creation finished successfully.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "startup" : {
-                                 "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
-                                 "format" : "pve-startup-order",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
-                              },
-                              "storage" : {
-                                 "default" : "local",
-                                 "description" : "Default Storage.",
-                                 "format" : "pve-storage-id",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "swap" : {
-                                 "default" : 512,
-                                 "description" : "Amount of SWAP for the container in MB.",
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - N)"
-                              },
-                              "tags" : {
-                                 "description" : "Tags of the Container. This is only meta information.",
-                                 "format" : "pve-tag-list",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "template" : {
-                                 "default" : 0,
-                                 "description" : "Enable/disable Template.",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "timezone" : {
-                                 "description" : "Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab",
-                                 "format" : "pve-ct-timezone",
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
-                              },
-                              "tty" : {
-                                 "default" : 2,
-                                 "description" : "Specify the number of tty available to the container",
-                                 "maximum" : 6,
-                                 "minimum" : 0,
-                                 "optional" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (0 - 6)"
-                              },
-                              "unique" : {
-                                 "description" : "Assign a unique random ethernet address.",
-                                 "optional" : 1,
-                                 "requires" : "restore",
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "unprivileged" : {
-                                 "default" : 0,
-                                 "description" : "Makes the container run as unprivileged user. (Should not be modified manually.)",
-                                 "optional" : 1,
-                                 "type" : "boolean",
-                                 "typetext" : "<boolean>"
-                              },
-                              "unused[n]" : {
-                                 "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
-                                 "format" : {
-                                    "volume" : {
-                                       "default_key" : 1,
-                                       "description" : "The volume that is not used currently.",
-                                       "format" : "pve-volume-id",
-                                       "format_description" : "volume",
-                                       "type" : "string"
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {
+                                             "delete" : {
+                                                "description" : "Indicates a pending delete request if present and not 0.",
+                                                "maximum" : 2,
+                                                "minimum" : 0,
+                                                "optional" : 1,
+                                                "type" : "integer"
+                                             },
+                                             "key" : {
+                                                "description" : "Configuration option name.",
+                                                "type" : "string"
+                                             },
+                                             "pending" : {
+                                                "description" : "Pending value.",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "value" : {
+                                                "description" : "Current value.",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "type" : "array"
                                     }
-                                 },
-                                 "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "[volume=]<volume>"
+                                 }
                               },
-                              "vmid" : {
-                                 "description" : "The (unique) ID of the VM.",
-                                 "format" : "pve-vmid",
-                                 "minimum" : 1,
-                                 "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
-                              }
-                           }
-                        },
-                        "permissions" : {
-                           "description" : "You need 'VM.Allocate' permissions on /vms/{vmid} or on the VM pool /pool/{pool}. For restore, it is enough if the user has 'VM.Backup' permission and the VM already exists. You also need 'Datastore.AllocateSpace' permissions on the storage.",
-                           "user" : "all"
-                        },
-                        "protected" : 1,
-                        "proxyto" : "node",
-                        "returns" : {
-                           "type" : "string"
-                        }
-                     }
-                  },
-                  "leaf" : 0,
-                  "path" : "/nodes/{node}/lxc",
-                  "text" : "lxc"
-               },
-               {
-                  "children" : [
-                     {
-                        "children" : [
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/pending",
+                              "text" : "pending"
+                           },
                            {
                               "info" : {
                                  "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Get the Ceph configuration file.",
+                                    "description" : "Get IP addresses of the specified container interface.",
                                     "method" : "GET",
-                                    "name" : "raw",
+                                    "name" : "ip",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/vms/{vmid}",
+                                          [
+                                             "VM.Audit"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "items" : {
+                                          "properties" : {
+                                             "hwaddr" : {
+                                                "description" : "The MAC address of the interface",
+                                                "optional" : 0,
+                                                "type" : "string"
+                                             },
+                                             "inet" : {
+                                                "description" : "The IPv4 address of the interface",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "inet6" : {
+                                                "description" : "The IPv6 address of the interface",
+                                                "optional" : 1,
+                                                "type" : "string"
+                                             },
+                                             "name" : {
+                                                "description" : "The name of the interface",
+                                                "optional" : 0,
+                                                "type" : "string"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "type" : "array"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/lxc/{vmid}/interfaces",
+                              "text" : "interfaces"
+                           },
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Migration tunnel endpoint - only for internal use by CT migration.",
+                                    "method" : "POST",
+                                    "name" : "mtunnel",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "bridges" : {
+                                             "description" : "List of network bridges to check availability. Will be checked again for actually used bridges during migration.",
+                                             "format" : "pve-bridge-id-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "storages" : {
+                                             "description" : "List of storages to check permission and availability. Will be checked again for all actually used storages during migration.",
+                                             "format" : "pve-storage-id-list",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "and",
+                                          [
+                                             "perm",
+                                             "/vms/{vmid}",
+                                             [
+                                                "VM.Allocate"
+                                             ]
+                                          ],
+                                          [
+                                             "perm",
+                                             "/",
+                                             [
+                                                "Sys.Incoming"
+                                             ]
+                                          ]
+                                       ],
+                                       "description" : "You need 'VM.Allocate' permissions on '/vms/{vmid}' and Sys.Incoming on '/'. Further permission checks happen during the actual migration."
+                                    },
+                                    "protected" : 1,
+                                    "returns" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "socket" : {
+                                             "type" : "string"
+                                          },
+                                          "ticket" : {
+                                             "type" : "string"
+                                          },
+                                          "upid" : {
+                                             "type" : "string"
                                           }
                                        }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/",
-                                          [
-                                             "Sys.Audit",
-                                             "Datastore.Audit"
-                                          ],
-                                          "any",
-                                          1
-                                       ]
-                                    },
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "string"
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/ceph/cfg/raw",
-                              "text" : "raw"
+                              "path" : "/nodes/{node}/lxc/{vmid}/mtunnel",
+                              "text" : "mtunnel"
                            },
                            {
                               "info" : {
                                  "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Get the Ceph configuration database.",
+                                    "description" : "Migration tunnel endpoint for websocket upgrade - only for internal use by VM migration.",
                                     "method" : "GET",
-                                    "name" : "db",
+                                    "name" : "mtunnelwebsocket",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
@@ -33243,62 +36505,116 @@ const apiSchema = [
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
+                                          },
+                                          "socket" : {
+                                             "description" : "unix socket to forward to",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "ticket" : {
+                                             "description" : "ticket return by initial 'mtunnel' API call, or retrieved via 'ticket' tunnel command",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "vmid" : {
+                                             "description" : "The (unique) ID of the VM.",
+                                             "format" : "pve-vmid",
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
                                     "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/",
-                                          [
-                                             "Sys.Audit",
-                                             "Datastore.Audit"
-                                          ],
-                                          "any",
-                                          1
-                                       ]
+                                       "description" : "You need to pass a ticket valid for the selected socket. Tickets can be created via the mtunnel API call, which will check permissions accordingly.",
+                                       "user" : "all"
                                     },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
                                     "returns" : {
-                                       "items" : {
-                                          "properties" : {
-                                             "can_update_at_runtime" : {
-                                                "type" : "boolean"
-                                             },
-                                             "level" : {
-                                                "type" : "string"
-                                             },
-                                             "mask" : {
-                                                "type" : "string"
-                                             },
-                                             "name" : {
-                                                "type" : "string"
-                                             },
-                                             "section" : {
-                                                "type" : "string"
-                                             },
-                                             "value" : {
-                                                "type" : "string"
-                                             }
+                                       "properties" : {
+                                          "port" : {
+                                             "optional" : 1,
+                                             "type" : "string"
                                           },
-                                          "type" : "object"
+                                          "socket" : {
+                                             "optional" : 1,
+                                             "type" : "string"
+                                          }
                                        },
-                                       "type" : "array"
+                                       "type" : "object"
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/ceph/cfg/db",
-                              "text" : "db"
+                              "path" : "/nodes/{node}/lxc/{vmid}/mtunnelwebsocket",
+                              "text" : "mtunnelwebsocket"
                            }
                         ],
                         "info" : {
+                           "DELETE" : {
+                              "allowtoken" : 1,
+                              "description" : "Destroy the container (also delete all uses files).",
+                              "method" : "DELETE",
+                              "name" : "destroy_vm",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "destroy-unreferenced-disks" : {
+                                       "description" : "If set, destroy additionally all disks with the VMID from all enabled storages which are not referenced in the config.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "force" : {
+                                       "default" : 0,
+                                       "description" : "Force destroy, even if running.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "purge" : {
+                                       "default" : 0,
+                                       "description" : "Remove container from all related configurations. For example, backup jobs, replication jobs or HA. Related ACLs and Firewall entries will *always* be removed.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "vmid" : {
+                                       "description" : "The (unique) ID of the VM.",
+                                       "format" : "pve-vmid",
+                                       "maximum" : 999999999,
+                                       "minimum" : 100,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (100 - 999999999)"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/vms/{vmid}",
+                                    [
+                                       "VM.Allocate"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "type" : "string"
+                              }
+                           },
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Directory index.",
+                              "description" : "Directory index",
                               "method" : "GET",
-                              "name" : "index",
+                              "name" : "vmdiridx",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
@@ -33307,20 +36623,33 @@ const apiSchema = [
                                        "format" : "pve-node",
                                        "type" : "string",
                                        "typetext" : "<string>"
+                                    },
+                                    "vmid" : {
+                                       "description" : "The (unique) ID of the VM.",
+                                       "format" : "pve-vmid",
+                                       "maximum" : 999999999,
+                                       "minimum" : 100,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (100 - 999999999)"
                                     }
                                  }
                               },
                               "permissions" : {
                                  "user" : "all"
                               },
+                              "proxyto" : "node",
                               "returns" : {
                                  "items" : {
-                                    "properties" : {},
+                                    "properties" : {
+                                       "subdir" : {
+                                          "type" : "string"
+                                       }
+                                    },
                                     "type" : "object"
                                  },
                                  "links" : [
                                     {
-                                       "href" : "{name}",
+                                       "href" : "{subdir}",
                                        "rel" : "child"
                                     }
                                  ],
@@ -33329,633 +36658,771 @@ const apiSchema = [
                            }
                         },
                         "leaf" : 0,
-                        "path" : "/nodes/{node}/ceph/cfg",
-                        "text" : "cfg"
+                        "path" : "/nodes/{node}/lxc/{vmid}",
+                        "text" : "{vmid}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "allowtoken" : 1,
+                        "description" : "LXC container index (per node).",
+                        "method" : "GET",
+                        "name" : "vmlist",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "Only list CTs where you have VM.Audit permissons on /vms/<vmid>.",
+                           "user" : "all"
+                        },
+                        "protected" : 1,
+                        "proxyto" : "node",
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "cpus" : {
+                                    "description" : "Maximum usable CPUs.",
+                                    "optional" : 1,
+                                    "type" : "number"
+                                 },
+                                 "lock" : {
+                                    "description" : "The current config lock, if any.",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "maxdisk" : {
+                                    "description" : "Root disk size in bytes.",
+                                    "optional" : 1,
+                                    "renderer" : "bytes",
+                                    "type" : "integer"
+                                 },
+                                 "maxmem" : {
+                                    "description" : "Maximum memory in bytes.",
+                                    "optional" : 1,
+                                    "renderer" : "bytes",
+                                    "type" : "integer"
+                                 },
+                                 "maxswap" : {
+                                    "description" : "Maximum SWAP memory in bytes.",
+                                    "optional" : 1,
+                                    "renderer" : "bytes",
+                                    "type" : "integer"
+                                 },
+                                 "name" : {
+                                    "description" : "Container name.",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "status" : {
+                                    "description" : "LXC Container status.",
+                                    "enum" : [
+                                       "stopped",
+                                       "running"
+                                    ],
+                                    "type" : "string"
+                                 },
+                                 "tags" : {
+                                    "description" : "The current configured tags, if any.",
+                                    "optional" : 1,
+                                    "type" : "string"
+                                 },
+                                 "uptime" : {
+                                    "description" : "Uptime.",
+                                    "optional" : 1,
+                                    "renderer" : "duration",
+                                    "type" : "integer"
+                                 },
+                                 "vmid" : {
+                                    "description" : "The (unique) ID of the VM.",
+                                    "format" : "pve-vmid",
+                                    "maximum" : 999999999,
+                                    "minimum" : 100,
+                                    "type" : "integer"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{vmid}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
                      },
-                     {
-                        "children" : [
-                           {
-                              "children" : [
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Get OSD details",
-                                          "method" : "GET",
-                                          "name" : "osddetails",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "osdid" : {
-                                                   "description" : "OSD ID",
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer>"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/",
-                                                [
-                                                   "Sys.Audit"
-                                                ],
-                                                "any",
-                                                1
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "devices" : {
-                                                   "description" : "Array containing data about devices",
-                                                   "items" : {
-                                                      "properties" : {
-                                                         "dev_node" : {
-                                                            "description" : "Device node",
-                                                            "type" : "string"
-                                                         },
-                                                         "device" : {
-                                                            "description" : "Kind of OSD device",
-                                                            "enum" : [
-                                                               "block",
-                                                               "db",
-                                                               "wal"
-                                                            ],
-                                                            "type" : "string"
-                                                         },
-                                                         "devices" : {
-                                                            "description" : "Physical disks used",
-                                                            "type" : "string"
-                                                         },
-                                                         "size" : {
-                                                            "description" : "Size in bytes",
-                                                            "type" : "integer"
-                                                         },
-                                                         "support_discard" : {
-                                                            "description" : "Discard support of the physical device",
-                                                            "type" : "boolean"
-                                                         },
-                                                         "type" : {
-                                                            "description" : "Type of device. For example, hdd or ssd",
-                                                            "type" : "string"
-                                                         }
-                                                      },
-                                                      "type" : "object"
-                                                   },
-                                                   "type" : "array"
-                                                },
-                                                "osd" : {
-                                                   "description" : "General information about the OSD",
-                                                   "properties" : {
-                                                      "back_addr" : {
-                                                         "description" : "Address and port used to talk to other OSDs.",
-                                                         "type" : "string"
-                                                      },
-                                                      "front_addr" : {
-                                                         "description" : "Address and port used to talk to clients and monitors.",
-                                                         "type" : "string"
-                                                      },
-                                                      "hb_back_addr" : {
-                                                         "description" : "Heartbeat address and port for other OSDs.",
-                                                         "type" : "string"
-                                                      },
-                                                      "hb_front_addr" : {
-                                                         "description" : "Heartbeat address and port for clients and monitors.",
-                                                         "type" : "string"
-                                                      },
-                                                      "hostname" : {
-                                                         "description" : "Name of the host containing the OSD.",
-                                                         "type" : "string"
-                                                      },
-                                                      "id" : {
-                                                         "description" : "ID of the OSD.",
-                                                         "type" : "integer"
-                                                      },
-                                                      "mem_usage" : {
-                                                         "description" : "Memory usage of the OSD service.",
-                                                         "type" : "integer"
-                                                      },
-                                                      "osd_data" : {
-                                                         "description" : "Path to the OSD's data directory.",
-                                                         "type" : "string"
-                                                      },
-                                                      "osd_objectstore" : {
-                                                         "description" : "The type of object store used.",
-                                                         "type" : "string"
-                                                      },
-                                                      "pid" : {
-                                                         "description" : "OSD process ID.",
-                                                         "type" : "integer"
-                                                      },
-                                                      "version" : {
-                                                         "description" : "Ceph version of the OSD service.",
-                                                         "type" : "string"
-                                                      }
-                                                   },
-                                                   "type" : "object"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       }
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Create or restore a container.",
+                        "method" : "POST",
+                        "name" : "create_vm",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "arch" : {
+                                 "default" : "amd64",
+                                 "description" : "OS architecture type.",
+                                 "enum" : [
+                                    "amd64",
+                                    "i386",
+                                    "arm64",
+                                    "armhf",
+                                    "riscv32",
+                                    "riscv64"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "bwlimit" : {
+                                 "default" : "restore limit from datacenter or storage config",
+                                 "description" : "Override I/O bandwidth limit (in KiB/s).",
+                                 "minimum" : "0",
+                                 "optional" : 1,
+                                 "type" : "number",
+                                 "typetext" : "<number> (0 - N)"
+                              },
+                              "cmode" : {
+                                 "default" : "tty",
+                                 "description" : "Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).",
+                                 "enum" : [
+                                    "shell",
+                                    "console",
+                                    "tty"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "console" : {
+                                 "default" : 1,
+                                 "description" : "Attach a console device (/dev/console) to the container.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "cores" : {
+                                 "description" : "The number of cores assigned to the container. A container can use all available cores by default.",
+                                 "maximum" : 8192,
+                                 "minimum" : 1,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1 - 8192)"
+                              },
+                              "cpulimit" : {
+                                 "default" : 0,
+                                 "description" : "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.",
+                                 "maximum" : 8192,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "number",
+                                 "typetext" : "<number> (0 - 8192)"
+                              },
+                              "cpuunits" : {
+                                 "default" : "cgroup v1: 1024, cgroup v2: 100",
+                                 "description" : "CPU weight for a container, will be clamped to [1, 10000] in cgroup v2.",
+                                 "maximum" : 500000,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - 500000)",
+                                 "verbose_description" : "CPU weight for a container. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this container gets. Number is relative to the weights of all the other running guests."
+                              },
+                              "debug" : {
+                                 "default" : 0,
+                                 "description" : "Try to be more verbose. For now this only enables debug log-level on start.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "description" : {
+                                 "description" : "Description for the Container. Shown in the web-interface CT's summary. This is saved as comment inside the configuration file.",
+                                 "maxLength" : 8192,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "dev[n]" : {
+                                 "description" : "Device to pass through to the container",
+                                 "format" : {
+                                    "gid" : {
+                                       "description" : "Group ID to be assigned to the device node",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "mode" : {
+                                       "description" : "Access mode to be set on the device node",
+                                       "format_description" : "Octal access mode",
+                                       "optional" : 1,
+                                       "pattern" : "0[0-7]{3}",
+                                       "type" : "string"
+                                    },
+                                    "path" : {
+                                       "default_key" : 1,
+                                       "description" : "Device to pass through to the container",
+                                       "format" : "pve-lxc-dev-string",
+                                       "format_description" : "Path",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "verbose_description" : "Path to the device to pass through to the container"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/metadata",
-                                    "text" : "metadata"
+                                    "uid" : {
+                                       "description" : "User ID to be assigned to the device node",
+                                       "minimum" : 0,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    }
                                  },
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Get OSD volume details",
-                                          "method" : "GET",
-                                          "name" : "osdvolume",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "osdid" : {
-                                                   "description" : "OSD ID",
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer>"
-                                                },
-                                                "type" : {
-                                                   "default" : "block",
-                                                   "description" : "OSD device type",
-                                                   "enum" : [
-                                                      "block",
-                                                      "db",
-                                                      "wal"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "type" : "string"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/",
-                                                [
-                                                   "Sys.Audit"
-                                                ],
-                                                "any",
-                                                1
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "creation_time" : {
-                                                   "description" : "Creation time as reported by `lvs`.",
-                                                   "type" : "string"
-                                                },
-                                                "lv_name" : {
-                                                   "description" : "Name of the logical volume (LV).",
-                                                   "type" : "string"
-                                                },
-                                                "lv_path" : {
-                                                   "description" : "Path to the logical volume (LV).",
-                                                   "type" : "string"
-                                                },
-                                                "lv_size" : {
-                                                   "description" : "Size of the logical volume (LV).",
-                                                   "type" : "integer"
-                                                },
-                                                "lv_uuid" : {
-                                                   "description" : "UUID of the logical volume (LV).",
-                                                   "type" : "string"
-                                                },
-                                                "vg_name" : {
-                                                   "description" : "Name of the volume group (VG).",
-                                                   "type" : "string"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
-                                       }
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[path=]<Path>] [,gid=<integer>] [,mode=<Octal access mode>] [,uid=<integer>]"
+                              },
+                              "features" : {
+                                 "description" : "Allow containers access to advanced features.",
+                                 "format" : {
+                                    "force_rw_sys" : {
+                                       "default" : 0,
+                                       "description" : "Mount /sys in unprivileged containers as `rw` instead of `mixed`. This can break networking under newer (>= v245) systemd-network use.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/lv-info",
-                                    "text" : "lv-info"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "ceph osd in",
-                                          "method" : "POST",
-                                          "name" : "in",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "osdid" : {
-                                                   "description" : "OSD ID",
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer>"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/",
-                                                [
-                                                   "Sys.Modify"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
+                                    "fuse" : {
+                                       "default" : 0,
+                                       "description" : "Allow using 'fuse' file systems in a container. Note that interactions between fuse and the freezer cgroup can potentially cause I/O deadlocks.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/in",
-                                    "text" : "in"
-                                 },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "ceph osd out",
-                                          "method" : "POST",
-                                          "name" : "out",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "osdid" : {
-                                                   "description" : "OSD ID",
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer>"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/",
-                                                [
-                                                   "Sys.Modify"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
+                                    "keyctl" : {
+                                       "default" : 0,
+                                       "description" : "For unprivileged containers only: Allow the use of the keyctl() system call. This is required to use docker inside a container. By default unprivileged containers will see this system call as non-existent. This is mostly a workaround for systemd-networkd, as it will treat it as a fatal error when some keyctl() operations are denied by the kernel due to lacking permissions. Essentially, you can choose between running systemd-networkd or docker.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/out",
-                                    "text" : "out"
+                                    "mknod" : {
+                                       "default" : 0,
+                                       "description" : "Allow unprivileged containers to use mknod() to add certain device nodes. This requires a kernel with seccomp trap to user space support (5.3 or newer). This is experimental.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "mount" : {
+                                       "description" : "Allow mounting file systems of specific types. This should be a list of file system types as used with the mount command. Note that this can have negative effects on the container's security. With access to a loop device, mounting a file can circumvent the mknod permission of the devices cgroup, mounting an NFS file system can block the host's I/O completely and prevent it from rebooting, etc.",
+                                       "format_description" : "fstype;fstype;...",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:[a-zA-Z0-9_; ]+)",
+                                       "type" : "string"
+                                    },
+                                    "nesting" : {
+                                       "default" : 0,
+                                       "description" : "Allow nesting. Best used with unprivileged containers with additional id mapping. Note that this will expose procfs and sysfs contents of the host to the guest.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    }
                                  },
-                                 {
-                                    "info" : {
-                                       "POST" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Instruct the OSD to scrub.",
-                                          "method" : "POST",
-                                          "name" : "scrub",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "deep" : {
-                                                   "default" : 0,
-                                                   "description" : "If set, instructs a deep scrub instead of a normal one.",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "osdid" : {
-                                                   "description" : "OSD ID",
-                                                   "type" : "integer",
-                                                   "typetext" : "<integer>"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/",
-                                                [
-                                                   "Sys.Modify"
-                                                ]
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "type" : "null"
-                                          }
-                                       }
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[force_rw_sys=<1|0>] [,fuse=<1|0>] [,keyctl=<1|0>] [,mknod=<1|0>] [,mount=<fstype;fstype;...>] [,nesting=<1|0>]"
+                              },
+                              "force" : {
+                                 "description" : "Allow to overwrite existing container.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "hookscript" : {
+                                 "description" : "Script that will be exectued during various steps in the containers lifetime.",
+                                 "format" : "pve-volume-id",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "hostname" : {
+                                 "description" : "Set a host name for the container.",
+                                 "format" : "dns-name",
+                                 "maxLength" : 255,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "ignore-unpack-errors" : {
+                                 "description" : "Ignore errors when extracting the template.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "lock" : {
+                                 "description" : "Lock/unlock the container.",
+                                 "enum" : [
+                                    "backup",
+                                    "create",
+                                    "destroyed",
+                                    "disk",
+                                    "fstrim",
+                                    "migrate",
+                                    "mounted",
+                                    "rollback",
+                                    "snapshot",
+                                    "snapshot-delete"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "memory" : {
+                                 "default" : 512,
+                                 "description" : "Amount of RAM for the container in MB.",
+                                 "minimum" : 16,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (16 - N)"
+                              },
+                              "mp[n]" : {
+                                 "description" : "Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume.",
+                                 "format" : {
+                                    "acl" : {
+                                       "description" : "Explicitly enable or disable ACL support.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/scrub",
-                                    "text" : "scrub"
-                                 }
-                              ],
-                              "info" : {
-                                 "DELETE" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Destroy OSD",
-                                    "method" : "DELETE",
-                                    "name" : "destroyosd",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "cleanup" : {
-                                             "default" : 0,
-                                             "description" : "If set, we remove partition table entries.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "osdid" : {
-                                             "description" : "OSD ID",
-                                             "type" : "integer",
-                                             "typetext" : "<integer>"
-                                          }
-                                       }
+                                    "backup" : {
+                                       "description" : "Whether to include the mount point in backups.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "verbose_description" : "Whether to include the mount point in backups (only used for volume mount points)."
                                     },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
+                                    "mountoptions" : {
+                                       "description" : "Extra mount options for rootfs/mps.",
+                                       "format_description" : "opt[;opt...]",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
+                                       "type" : "string"
+                                    },
+                                    "mp" : {
+                                       "description" : "Path to the mount point as seen from inside the container (must not contain symlinks).",
+                                       "format" : "pve-lxc-mp-string",
+                                       "format_description" : "Path",
+                                       "type" : "string",
+                                       "verbose_description" : "Path to the mount point as seen from inside the container.\n\nNOTE: Must not contain any symlinks for security reasons."
+                                    },
+                                    "quota" : {
+                                       "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "replicate" : {
+                                       "default" : 1,
+                                       "description" : "Will include this volume to a storage replica job.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "ro" : {
+                                       "description" : "Read-only mount point",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "shared" : {
+                                       "default" : 0,
+                                       "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
+                                    },
+                                    "size" : {
+                                       "description" : "Volume size (read only value).",
+                                       "format" : "disk-size",
+                                       "format_description" : "DiskSize",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "volume" : {
+                                       "default_key" : 1,
+                                       "description" : "Volume, device or directory to mount into the container.",
+                                       "format" : "pve-lxc-mp-string",
+                                       "format_description" : "volume",
                                        "type" : "string"
                                     }
                                  },
-                                 "GET" : {
-                                    "allowtoken" : 1,
-                                    "description" : "OSD index.",
-                                    "method" : "GET",
-                                    "name" : "osdindex",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "osdid" : {
-                                             "description" : "OSD ID",
-                                             "type" : "integer",
-                                             "typetext" : "<integer>"
-                                          }
-                                       }
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]"
+                              },
+                              "nameserver" : {
+                                 "description" : "Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
+                                 "format" : "lxc-ip-with-ll-iface-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "net[n]" : {
+                                 "description" : "Specifies network interfaces for the container.",
+                                 "format" : {
+                                    "bridge" : {
+                                       "description" : "Bridge to attach the network device to.",
+                                       "format_description" : "bridge",
+                                       "optional" : 1,
+                                       "pattern" : "[-_.\\w\\d]+",
+                                       "type" : "string"
+                                    },
+                                    "firewall" : {
+                                       "description" : "Controls whether this interface's firewall rules should be used.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "gw" : {
+                                       "description" : "Default gateway for IPv4 traffic.",
+                                       "format" : "ipv4",
+                                       "format_description" : "GatewayIPv4",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "gw6" : {
+                                       "description" : "Default gateway for IPv6 traffic.",
+                                       "format" : "ipv6",
+                                       "format_description" : "GatewayIPv6",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "hwaddr" : {
+                                       "description" : "The interface MAC address. This is dynamically allocated by default, but you can set that statically if needed, for example to always have the same link-local IPv6 address. (lxc.network.hwaddr)",
+                                       "format" : "mac-addr",
+                                       "format_description" : "XX:XX:XX:XX:XX:XX",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "verbose_description" : "A common MAC address with the I/G (Individual/Group) bit not set."
+                                    },
+                                    "ip" : {
+                                       "description" : "IPv4 address in CIDR format.",
+                                       "format" : "pve-ipv4-config",
+                                       "format_description" : "(IPv4/CIDR|dhcp|manual)",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "ip6" : {
+                                       "description" : "IPv6 address in CIDR format.",
+                                       "format" : "pve-ipv6-config",
+                                       "format_description" : "(IPv6/CIDR|auto|dhcp|manual)",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "link_down" : {
+                                       "description" : "Whether this interface should be disconnected (like pulling the plug).",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
+                                    "mtu" : {
+                                       "description" : "Maximum transfer unit of the interface. (lxc.network.mtu)",
+                                       "maximum" : 65535,
+                                       "minimum" : 64,
+                                       "optional" : 1,
+                                       "type" : "integer"
+                                    },
+                                    "name" : {
+                                       "description" : "Name of the network device as seen from inside the container. (lxc.network.name)",
+                                       "format_description" : "string",
+                                       "pattern" : "[-_.\\w\\d]+",
+                                       "type" : "string"
+                                    },
+                                    "rate" : {
+                                       "description" : "Apply rate limiting to the interface",
+                                       "format_description" : "mbps",
+                                       "optional" : 1,
+                                       "type" : "number"
                                     },
-                                    "permissions" : {
-                                       "user" : "all"
+                                    "tag" : {
+                                       "description" : "VLAN tag for this interface.",
+                                       "maximum" : 4094,
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "type" : "integer"
                                     },
-                                    "returns" : {
-                                       "items" : {
-                                          "properties" : {},
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{name}",
-                                             "rel" : "child"
-                                          }
+                                    "trunks" : {
+                                       "description" : "VLAN ids to pass through the interface",
+                                       "format_description" : "vlanid[;vlanid...]",
+                                       "optional" : 1,
+                                       "pattern" : "(?^:\\d+(?:;\\d+)*)",
+                                       "type" : "string"
+                                    },
+                                    "type" : {
+                                       "description" : "Network interface type.",
+                                       "enum" : [
+                                          "veth"
                                        ],
-                                       "type" : "array"
+                                       "optional" : 1,
+                                       "type" : "string"
                                     }
-                                 }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,link_down=<1|0>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]"
                               },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/ceph/osd/{osdid}",
-                              "text" : "{osdid}"
-                           }
-                        ],
-                        "info" : {
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Get Ceph osd list/tree.",
-                              "method" : "GET",
-                              "name" : "index",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 }
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
-                                 ]
+                              "onboot" : {
+                                 "default" : 0,
+                                 "description" : "Specifies whether a container will be started during system bootup.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
                               },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "items" : {
-                                    "properties" : {
-                                       "flags" : {
-                                          "type" : "string"
-                                       },
-                                       "root" : {
-                                          "description" : "Tree with OSDs in the CRUSH map structure.",
-                                          "type" : "object"
-                                       }
+                              "ostemplate" : {
+                                 "description" : "The OS template or backup file.",
+                                 "maxLength" : 255,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "ostype" : {
+                                 "description" : "OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.",
+                                 "enum" : [
+                                    "debian",
+                                    "devuan",
+                                    "ubuntu",
+                                    "centos",
+                                    "fedora",
+                                    "opensuse",
+                                    "archlinux",
+                                    "alpine",
+                                    "gentoo",
+                                    "nixos",
+                                    "unmanaged"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "password" : {
+                                 "description" : "Sets root password inside container.",
+                                 "minLength" : 5,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "pool" : {
+                                 "description" : "Add the VM to the specified pool.",
+                                 "format" : "pve-poolid",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "protection" : {
+                                 "default" : 0,
+                                 "description" : "Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "restore" : {
+                                 "description" : "Mark this as restore task.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "rootfs" : {
+                                 "description" : "Use volume as container root.",
+                                 "format" : {
+                                    "acl" : {
+                                       "description" : "Explicitly enable or disable ACL support.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
                                     },
-                                    "type" : "object"
-                                 },
-                                 "type" : "object"
-                              }
-                           },
-                           "POST" : {
-                              "allowtoken" : 1,
-                              "description" : "Create OSD",
-                              "method" : "POST",
-                              "name" : "createosd",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "crush-device-class" : {
-                                       "description" : "Set the device class of the OSD in crush.",
+                                    "mountoptions" : {
+                                       "description" : "Extra mount options for rootfs/mps.",
+                                       "format_description" : "opt[;opt...]",
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "pattern" : "(?^:(?^:(noatime|lazytime|nodev|nosuid|noexec))(;(?^:(noatime|lazytime|nodev|nosuid|noexec)))*)",
+                                       "type" : "string"
                                     },
-                                    "db_dev" : {
-                                       "description" : "Block device name for block.db.",
+                                    "quota" : {
+                                       "description" : "Enable user quotas inside the container (not supported with zfs subvolumes)",
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "boolean"
                                     },
-                                    "db_dev_size" : {
-                                       "default" : "bluestore_block_db_size or 10% of OSD size",
-                                       "description" : "Size in GiB for block.db.",
-                                       "minimum" : 1,
+                                    "replicate" : {
+                                       "default" : 1,
+                                       "description" : "Will include this volume to a storage replica job.",
                                        "optional" : 1,
-                                       "requires" : "db_dev",
-                                       "type" : "number",
-                                       "typetext" : "<number> (1 - N)",
-                                       "verbose_description" : "If a block.db is requested but the size is not given, will be automatically selected by: bluestore_block_db_size from the ceph database (osd or global section) or config (osd or global section)in that order. If this is not available, it will be sized 10% of the size of the OSD device. Fails if the available size is not enough."
+                                       "type" : "boolean"
                                     },
-                                    "dev" : {
-                                       "description" : "Block device name.",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                    "ro" : {
+                                       "description" : "Read-only mount point",
+                                       "optional" : 1,
+                                       "type" : "boolean"
                                     },
-                                    "encrypted" : {
+                                    "shared" : {
                                        "default" : 0,
-                                       "description" : "Enables encryption of the OSD.",
+                                       "description" : "Mark this non-volume mount point as available on multiple nodes (see 'nodes')",
                                        "optional" : 1,
                                        "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "verbose_description" : "Mark this non-volume mount point as available on all nodes.\n\nWARNING: This option does not share the mount point automatically, it assumes it is shared already!"
                                     },
-                                    "wal_dev" : {
-                                       "description" : "Block device name for block.wal.",
+                                    "size" : {
+                                       "description" : "Volume size (read only value).",
+                                       "format" : "disk-size",
+                                       "format_description" : "DiskSize",
                                        "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                       "type" : "string"
                                     },
-                                    "wal_dev_size" : {
-                                       "default" : "bluestore_block_wal_size or 1% of OSD size",
-                                       "description" : "Size in GiB for block.wal.",
-                                       "minimum" : 0.5,
-                                       "optional" : 1,
-                                       "requires" : "wal_dev",
-                                       "type" : "number",
-                                       "typetext" : "<number> (0.5 - N)",
-                                       "verbose_description" : "If a block.wal is requested but the size is not given, will be automatically selected by: bluestore_block_wal_size from the ceph database (osd or global section) or config (osd or global section)in that order. If this is not available, it will be sized 1% of the size of the OSD device. Fails if the available size is not enough."
+                                    "volume" : {
+                                       "default_key" : 1,
+                                       "description" : "Volume, device or directory to mount into the container.",
+                                       "format" : "pve-lxc-mp-string",
+                                       "format_description" : "volume",
+                                       "type" : "string"
                                     }
-                                 }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]"
                               },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "type" : "string"
+                              "searchdomain" : {
+                                 "description" : "Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.",
+                                 "format" : "dns-name-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "ssh-public-keys" : {
+                                 "description" : "Setup public SSH keys (one key per line, OpenSSH format).",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "start" : {
+                                 "default" : 0,
+                                 "description" : "Start the CT after its creation finished successfully.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "startup" : {
+                                 "description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
+                                 "format" : "pve-startup-order",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[[order=]\\d+] [,up=\\d+] [,down=\\d+] "
+                              },
+                              "storage" : {
+                                 "default" : "local",
+                                 "description" : "Default Storage.",
+                                 "format" : "pve-storage-id",
+                                 "format_description" : "storage ID",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<storage ID>"
+                              },
+                              "swap" : {
+                                 "default" : 512,
+                                 "description" : "Amount of SWAP for the container in MB.",
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - N)"
+                              },
+                              "tags" : {
+                                 "description" : "Tags of the Container. This is only meta information.",
+                                 "format" : "pve-tag-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "template" : {
+                                 "default" : 0,
+                                 "description" : "Enable/disable Template.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "timezone" : {
+                                 "description" : "Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab",
+                                 "format" : "pve-ct-timezone",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "tty" : {
+                                 "default" : 2,
+                                 "description" : "Specify the number of tty available to the container",
+                                 "maximum" : 6,
+                                 "minimum" : 0,
+                                 "optional" : 1,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (0 - 6)"
+                              },
+                              "unique" : {
+                                 "description" : "Assign a unique random ethernet address.",
+                                 "optional" : 1,
+                                 "requires" : "restore",
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "unprivileged" : {
+                                 "default" : 0,
+                                 "description" : "Makes the container run as unprivileged user. (Should not be modified manually.)",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
+                              "unused[n]" : {
+                                 "description" : "Reference to unused volumes. This is used internally, and should not be modified manually.",
+                                 "format" : {
+                                    "volume" : {
+                                       "default_key" : 1,
+                                       "description" : "The volume that is not used currently.",
+                                       "format" : "pve-volume-id",
+                                       "format_description" : "volume",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "[volume=]<volume>"
+                              },
+                              "vmid" : {
+                                 "description" : "The (unique) ID of the VM.",
+                                 "format" : "pve-vmid",
+                                 "maximum" : 999999999,
+                                 "minimum" : 100,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (100 - 999999999)"
                               }
                            }
                         },
-                        "leaf" : 0,
-                        "path" : "/nodes/{node}/ceph/osd",
-                        "text" : "osd"
-                     },
+                        "permissions" : {
+                           "description" : "You need 'VM.Allocate' permissions on /vms/{vmid} or on the VM pool /pool/{pool}. For restore, it is enough if the user has 'VM.Backup' permission and the VM already exists. You also need 'Datastore.AllocateSpace' permissions on the storage.",
+                           "user" : "all"
+                        },
+                        "protected" : 1,
+                        "proxyto" : "node",
+                        "returns" : {
+                           "type" : "string"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/nodes/{node}/lxc",
+                  "text" : "lxc"
+               },
+               {
+                  "children" : [
                      {
                         "children" : [
                            {
                               "info" : {
-                                 "DELETE" : {
-                                    "allowtoken" : 1,
-                                    "description" : "Destroy Ceph Metadata Server",
-                                    "method" : "DELETE",
-                                    "name" : "destroymds",
-                                    "parameters" : {
-                                       "additionalProperties" : 0,
-                                       "properties" : {
-                                          "name" : {
-                                             "description" : "The name (ID) of the mds",
-                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
-                                             "type" : "string"
-                                          },
-                                          "node" : {
-                                             "description" : "The cluster node name.",
-                                             "format" : "pve-node",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/",
-                                          [
-                                             "Sys.Modify"
-                                          ]
-                                       ]
-                                    },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
-                                    "returns" : {
-                                       "type" : "string"
-                                    }
-                                 },
-                                 "POST" : {
+                                 "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Create Ceph Metadata Server (MDS)",
-                                    "method" : "POST",
-                                    "name" : "createmds",
+                                    "description" : "Get the Ceph configuration file.",
+                                    "method" : "GET",
+                                    "name" : "raw",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "hotstandby" : {
-                                             "default" : "0",
-                                             "description" : "Determines whether a ceph-mds daemon should poll and replay the log of an active MDS. Faster switch on MDS failure, but needs more idle resources.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "name" : {
-                                             "default" : "nodename",
-                                             "description" : "The ID for the mds, when omitted the same as the nodename",
-                                             "maxLength" : 200,
-                                             "optional" : 1,
-                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
-                                             "type" : "string"
-                                          },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
@@ -33969,114 +37436,33 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Modify"
-                                          ]
+                                             "Sys.Audit",
+                                             "Datastore.Audit"
+                                          ],
+                                          "any",
+                                          1
                                        ]
                                     },
-                                    "protected" : 1,
                                     "proxyto" : "node",
                                     "returns" : {
-                                       "type" : "string"
-                                    }
-                                 }
-                              },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/ceph/mds/{name}",
-                              "text" : "{name}"
-                           }
-                        ],
-                        "info" : {
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "MDS directory index.",
-                              "method" : "GET",
-                              "name" : "index",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
-                                 ]
-                              },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "items" : {
-                                    "properties" : {
-                                       "addr" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "host" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "name" : {
-                                          "description" : "The name (ID) for the MDS"
-                                       },
-                                       "rank" : {
-                                          "optional" : 1,
-                                          "type" : "integer"
-                                       },
-                                       "standby_replay" : {
-                                          "description" : "If true, the standby MDS is polling the active MDS for faster recovery (hot standby).",
-                                          "optional" : 1,
-                                          "type" : "boolean"
-                                       },
-                                       "state" : {
-                                          "description" : "State of the MDS",
-                                          "type" : "string"
-                                       }
-                                    },
-                                    "type" : "object"
-                                 },
-                                 "links" : [
-                                    {
-                                       "href" : "{name}",
-                                       "rel" : "child"
+                                       "type" : "string"
                                     }
-                                 ],
-                                 "type" : "array"
-                              }
-                           }
-                        },
-                        "leaf" : 0,
-                        "path" : "/nodes/{node}/ceph/mds",
-                        "text" : "mds"
-                     },
-                     {
-                        "children" : [
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/ceph/cfg/raw",
+                              "text" : "raw"
+                           },
                            {
                               "info" : {
-                                 "DELETE" : {
+                                 "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Destroy Ceph Manager.",
-                                    "method" : "DELETE",
-                                    "name" : "destroymgr",
+                                    "description" : "Get the Ceph configuration database.",
+                                    "method" : "GET",
+                                    "name" : "db",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "id" : {
-                                             "description" : "The ID of the manager",
-                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
-                                             "type" : "string"
-                                          },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
@@ -34090,30 +37476,62 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Modify"
-                                          ]
+                                             "Sys.Audit",
+                                             "Datastore.Audit"
+                                          ],
+                                          "any",
+                                          1
                                        ]
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
                                     "returns" : {
-                                       "type" : "string"
+                                       "items" : {
+                                          "properties" : {
+                                             "can_update_at_runtime" : {
+                                                "type" : "boolean"
+                                             },
+                                             "level" : {
+                                                "type" : "string"
+                                             },
+                                             "mask" : {
+                                                "type" : "string"
+                                             },
+                                             "name" : {
+                                                "type" : "string"
+                                             },
+                                             "section" : {
+                                                "type" : "string"
+                                             },
+                                             "value" : {
+                                                "type" : "string"
+                                             }
+                                          },
+                                          "type" : "object"
+                                       },
+                                       "type" : "array"
                                     }
-                                 },
-                                 "POST" : {
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/ceph/cfg/db",
+                              "text" : "db"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Create Ceph Manager",
-                                    "method" : "POST",
-                                    "name" : "createmgr",
+                                    "description" : "Get configured values from either the config file or config DB.",
+                                    "method" : "GET",
+                                    "name" : "value",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "id" : {
-                                             "description" : "The ID for the manager, when omitted the same as the nodename",
-                                             "maxLength" : 200,
-                                             "optional" : 1,
-                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
-                                             "type" : "string"
+                                          "config-keys" : {
+                                             "description" : "List of <section>:<config key> items.",
+                                             "pattern" : "(?^:^(:?(?^i:[0-9a-z\\-_\\.]+:[0-9a-zA-Z\\-_]+))(:?[;, ](?^i:[0-9a-z\\-_\\.]+:[0-9a-zA-Z\\-_]+))*$)",
+                                             "type" : "string",
+                                             "typetext" : "<section>:<config key>[;<section>:<config key>]"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -34128,26 +37546,27 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Modify"
+                                             "Sys.Audit"
                                           ]
                                        ]
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
                                     "returns" : {
-                                       "type" : "string"
+                                       "description" : "Contains {section}->{key} children with the values",
+                                       "type" : "object"
                                     }
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/ceph/mgr/{id}",
-                              "text" : "{id}"
+                              "path" : "/nodes/{node}/ceph/cfg/value",
+                              "text" : "value"
                            }
                         ],
                         "info" : {
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "MGR directory index.",
+                              "description" : "Directory index.",
                               "method" : "GET",
                               "name" : "index",
                               "parameters" : {
@@ -34162,38 +37581,11 @@ const apiSchema = [
                                  }
                               },
                               "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
-                                 ]
+                                 "user" : "all"
                               },
-                              "protected" : 1,
-                              "proxyto" : "node",
                               "returns" : {
                                  "items" : {
-                                    "properties" : {
-                                       "addr" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "host" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "name" : {
-                                          "description" : "The name (ID) for the MGR"
-                                       },
-                                       "state" : {
-                                          "description" : "State of the MGR",
-                                          "type" : "string"
-                                       }
-                                    },
+                                    "properties" : {},
                                     "type" : "object"
                                  },
                                  "links" : [
@@ -34207,42 +37599,395 @@ const apiSchema = [
                            }
                         },
                         "leaf" : 0,
-                        "path" : "/nodes/{node}/ceph/mgr",
-                        "text" : "mgr"
+                        "path" : "/nodes/{node}/ceph/cfg",
+                        "text" : "cfg"
                      },
                      {
                         "children" : [
                            {
+                              "children" : [
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Get OSD details",
+                                          "method" : "GET",
+                                          "name" : "osddetails",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "osdid" : {
+                                                   "description" : "OSD ID",
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer>"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/",
+                                                [
+                                                   "Sys.Audit"
+                                                ],
+                                                "any",
+                                                1
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "devices" : {
+                                                   "description" : "Array containing data about devices",
+                                                   "items" : {
+                                                      "properties" : {
+                                                         "dev_node" : {
+                                                            "description" : "Device node",
+                                                            "type" : "string"
+                                                         },
+                                                         "device" : {
+                                                            "description" : "Kind of OSD device",
+                                                            "enum" : [
+                                                               "block",
+                                                               "db",
+                                                               "wal"
+                                                            ],
+                                                            "type" : "string"
+                                                         },
+                                                         "devices" : {
+                                                            "description" : "Physical disks used",
+                                                            "type" : "string"
+                                                         },
+                                                         "size" : {
+                                                            "description" : "Size in bytes",
+                                                            "type" : "integer"
+                                                         },
+                                                         "support_discard" : {
+                                                            "description" : "Discard support of the physical device",
+                                                            "type" : "boolean"
+                                                         },
+                                                         "type" : {
+                                                            "description" : "Type of device. For example, hdd or ssd",
+                                                            "type" : "string"
+                                                         }
+                                                      },
+                                                      "type" : "object"
+                                                   },
+                                                   "type" : "array"
+                                                },
+                                                "osd" : {
+                                                   "description" : "General information about the OSD",
+                                                   "properties" : {
+                                                      "back_addr" : {
+                                                         "description" : "Address and port used to talk to other OSDs.",
+                                                         "type" : "string"
+                                                      },
+                                                      "front_addr" : {
+                                                         "description" : "Address and port used to talk to clients and monitors.",
+                                                         "type" : "string"
+                                                      },
+                                                      "hb_back_addr" : {
+                                                         "description" : "Heartbeat address and port for other OSDs.",
+                                                         "type" : "string"
+                                                      },
+                                                      "hb_front_addr" : {
+                                                         "description" : "Heartbeat address and port for clients and monitors.",
+                                                         "type" : "string"
+                                                      },
+                                                      "hostname" : {
+                                                         "description" : "Name of the host containing the OSD.",
+                                                         "type" : "string"
+                                                      },
+                                                      "id" : {
+                                                         "description" : "ID of the OSD.",
+                                                         "type" : "integer"
+                                                      },
+                                                      "mem_usage" : {
+                                                         "description" : "Memory usage of the OSD service.",
+                                                         "type" : "integer"
+                                                      },
+                                                      "osd_data" : {
+                                                         "description" : "Path to the OSD's data directory.",
+                                                         "type" : "string"
+                                                      },
+                                                      "osd_objectstore" : {
+                                                         "description" : "The type of object store used.",
+                                                         "type" : "string"
+                                                      },
+                                                      "pid" : {
+                                                         "description" : "OSD process ID.",
+                                                         "type" : "integer"
+                                                      },
+                                                      "version" : {
+                                                         "description" : "Ceph version of the OSD service.",
+                                                         "type" : "string"
+                                                      }
+                                                   },
+                                                   "type" : "object"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/metadata",
+                                    "text" : "metadata"
+                                 },
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Get OSD volume details",
+                                          "method" : "GET",
+                                          "name" : "osdvolume",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "osdid" : {
+                                                   "description" : "OSD ID",
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer>"
+                                                },
+                                                "type" : {
+                                                   "default" : "block",
+                                                   "description" : "OSD device type",
+                                                   "enum" : [
+                                                      "block",
+                                                      "db",
+                                                      "wal"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "type" : "string"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/",
+                                                [
+                                                   "Sys.Audit"
+                                                ],
+                                                "any",
+                                                1
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "creation_time" : {
+                                                   "description" : "Creation time as reported by `lvs`.",
+                                                   "type" : "string"
+                                                },
+                                                "lv_name" : {
+                                                   "description" : "Name of the logical volume (LV).",
+                                                   "type" : "string"
+                                                },
+                                                "lv_path" : {
+                                                   "description" : "Path to the logical volume (LV).",
+                                                   "type" : "string"
+                                                },
+                                                "lv_size" : {
+                                                   "description" : "Size of the logical volume (LV).",
+                                                   "type" : "integer"
+                                                },
+                                                "lv_uuid" : {
+                                                   "description" : "UUID of the logical volume (LV).",
+                                                   "type" : "string"
+                                                },
+                                                "vg_name" : {
+                                                   "description" : "Name of the volume group (VG).",
+                                                   "type" : "string"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/lv-info",
+                                    "text" : "lv-info"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "ceph osd in",
+                                          "method" : "POST",
+                                          "name" : "in",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "osdid" : {
+                                                   "description" : "OSD ID",
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer>"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/",
+                                                [
+                                                   "Sys.Modify"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/in",
+                                    "text" : "in"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "ceph osd out",
+                                          "method" : "POST",
+                                          "name" : "out",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "osdid" : {
+                                                   "description" : "OSD ID",
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer>"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/",
+                                                [
+                                                   "Sys.Modify"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/out",
+                                    "text" : "out"
+                                 },
+                                 {
+                                    "info" : {
+                                       "POST" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Instruct the OSD to scrub.",
+                                          "method" : "POST",
+                                          "name" : "scrub",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "deep" : {
+                                                   "default" : 0,
+                                                   "description" : "If set, instructs a deep scrub instead of a normal one.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "osdid" : {
+                                                   "description" : "OSD ID",
+                                                   "type" : "integer",
+                                                   "typetext" : "<integer>"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/",
+                                                [
+                                                   "Sys.Modify"
+                                                ]
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "type" : "null"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/ceph/osd/{osdid}/scrub",
+                                    "text" : "scrub"
+                                 }
+                              ],
                               "info" : {
                                  "DELETE" : {
                                     "allowtoken" : 1,
-                                    "description" : "Destroy Ceph Monitor and Manager.",
+                                    "description" : "Destroy OSD",
                                     "method" : "DELETE",
-                                    "name" : "destroymon",
+                                    "name" : "destroyosd",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "monid" : {
-                                             "description" : "Monitor ID",
-                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
-                                             "type" : "string"
+                                          "cleanup" : {
+                                             "default" : 0,
+                                             "description" : "If set, we remove partition table entries.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
-                                          }
-                                       }
-                                    },
-                                    "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/",
-                                          [
-                                             "Sys.Modify"
-                                          ]
-                                       ]
+                                          },
+                                          "osdid" : {
+                                             "description" : "OSD ID",
+                                             "type" : "integer",
+                                             "typetext" : "<integer>"
+                                          }
+                                       }
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
@@ -34250,63 +37995,56 @@ const apiSchema = [
                                        "type" : "string"
                                     }
                                  },
-                                 "POST" : {
+                                 "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "Create Ceph Monitor and Manager",
-                                    "method" : "POST",
-                                    "name" : "createmon",
+                                    "description" : "OSD index.",
+                                    "method" : "GET",
+                                    "name" : "osdindex",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "mon-address" : {
-                                             "description" : "Overwrites autodetected monitor IP address(es). Must be in the public network(s) of Ceph.",
-                                             "format" : "ip-list",
-                                             "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
-                                          },
-                                          "monid" : {
-                                             "description" : "The ID for the monitor, when omitted the same as the nodename",
-                                             "maxLength" : 200,
-                                             "optional" : 1,
-                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
-                                             "type" : "string"
-                                          },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
+                                          },
+                                          "osdid" : {
+                                             "description" : "OSD ID",
+                                             "type" : "integer",
+                                             "typetext" : "<integer>"
                                           }
                                        }
                                     },
                                     "permissions" : {
-                                       "check" : [
-                                          "perm",
-                                          "/",
-                                          [
-                                             "Sys.Modify"
-                                          ]
-                                       ]
+                                       "user" : "all"
                                     },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
                                     "returns" : {
-                                       "type" : "string"
+                                       "items" : {
+                                          "properties" : {},
+                                          "type" : "object"
+                                       },
+                                       "links" : [
+                                          {
+                                             "href" : "{name}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
                                     }
                                  }
                               },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/ceph/mon/{monid}",
-                              "text" : "{monid}"
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/ceph/osd/{osdid}",
+                              "text" : "{osdid}"
                            }
                         ],
                         "info" : {
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "Get Ceph monitor list.",
+                              "description" : "Get Ceph osd list/tree.",
                               "method" : "GET",
-                              "name" : "listmon",
+                              "name" : "index",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
@@ -34335,102 +38073,171 @@ const apiSchema = [
                               "returns" : {
                                  "items" : {
                                     "properties" : {
-                                       "addr" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "ceph_version" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "ceph_version_short" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "direxists" : {
-                                          "optional" : 1,
-                                          "type" : "string"
-                                       },
-                                       "host" : {
-                                          "optional" : 1,
-                                          "type" : "boolean"
-                                       },
-                                       "name" : {
+                                       "flags" : {
                                           "type" : "string"
                                        },
-                                       "quorum" : {
-                                          "optional" : 1,
-                                          "type" : "boolean"
-                                       },
-                                       "rank" : {
-                                          "optional" : 1,
-                                          "type" : "integer"
-                                       },
-                                       "service" : {
-                                          "optional" : 1,
-                                          "type" : "integer"
-                                       },
-                                       "state" : {
-                                          "optional" : 1,
-                                          "type" : "string"
+                                       "root" : {
+                                          "description" : "Tree with OSDs in the CRUSH map structure.",
+                                          "type" : "object"
                                        }
                                     },
                                     "type" : "object"
                                  },
-                                 "links" : [
-                                    {
-                                       "href" : "{name}",
-                                       "rel" : "child"
+                                 "type" : "object"
+                              }
+                           },
+                           "POST" : {
+                              "allowtoken" : 1,
+                              "description" : "Create OSD",
+                              "method" : "POST",
+                              "name" : "createosd",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "crush-device-class" : {
+                                       "description" : "Set the device class of the OSD in crush.",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "db_dev" : {
+                                       "description" : "Block device name for block.db.",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "db_dev_size" : {
+                                       "default" : "bluestore_block_db_size or 10% of OSD size",
+                                       "description" : "Size in GiB for block.db.",
+                                       "minimum" : 1,
+                                       "optional" : 1,
+                                       "requires" : "db_dev",
+                                       "type" : "number",
+                                       "typetext" : "<number> (1 - N)",
+                                       "verbose_description" : "If a block.db is requested but the size is not given, will be automatically selected by: bluestore_block_db_size from the ceph database (osd or global section) or config (osd or global section) in that order. If this is not available, it will be sized 10% of the size of the OSD device. Fails if the available size is not enough."
+                                    },
+                                    "dev" : {
+                                       "description" : "Block device name.",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "encrypted" : {
+                                       "default" : 0,
+                                       "description" : "Enables encryption of the OSD.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "osds-per-device" : {
+                                       "description" : "OSD services per physical device. Only useful for fast NVMe devices\"\n\t\t    .\" to utilize their performance better.",
+                                       "minimum" : "1",
+                                       "optional" : 1,
+                                       "type" : "integer",
+                                       "typetext" : "<integer> (1 - N)"
+                                    },
+                                    "wal_dev" : {
+                                       "description" : "Block device name for block.wal.",
+                                       "optional" : 1,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "wal_dev_size" : {
+                                       "default" : "bluestore_block_wal_size or 1% of OSD size",
+                                       "description" : "Size in GiB for block.wal.",
+                                       "minimum" : 0.5,
+                                       "optional" : 1,
+                                       "requires" : "wal_dev",
+                                       "type" : "number",
+                                       "typetext" : "<number> (0.5 - N)",
+                                       "verbose_description" : "If a block.wal is requested but the size is not given, will be automatically selected by: bluestore_block_wal_size from the ceph database (osd or global section) or config (osd or global section) in that order. If this is not available, it will be sized 1% of the size of the OSD device. Fails if the available size is not enough."
                                     }
-                                 ],
-                                 "type" : "array"
+                                 }
+                              },
+                              "protected" : 1,
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "type" : "string"
                               }
                            }
                         },
                         "leaf" : 0,
-                        "path" : "/nodes/{node}/ceph/mon",
-                        "text" : "mon"
+                        "path" : "/nodes/{node}/ceph/osd",
+                        "text" : "osd"
                      },
                      {
                         "children" : [
                            {
                               "info" : {
+                                 "DELETE" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Destroy Ceph Metadata Server",
+                                    "method" : "DELETE",
+                                    "name" : "destroymds",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "name" : {
+                                             "description" : "The name (ID) of the mds",
+                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
+                                             "type" : "string"
+                                          },
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Modify"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "string"
+                                    }
+                                 },
                                  "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Create a Ceph filesystem",
+                                    "description" : "Create Ceph Metadata Server (MDS)",
                                     "method" : "POST",
-                                    "name" : "createfs",
+                                    "name" : "createmds",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "add-storage" : {
-                                             "default" : 0,
-                                             "description" : "Configure the created CephFS as storage for this cluster.",
+                                          "hotstandby" : {
+                                             "default" : "0",
+                                             "description" : "Determines whether a ceph-mds daemon should poll and replay the log of an active MDS. Faster switch on MDS failure, but needs more idle resources.",
                                              "optional" : 1,
                                              "type" : "boolean",
                                              "typetext" : "<boolean>"
                                           },
                                           "name" : {
-                                             "default" : "cephfs",
-                                             "description" : "The ceph filesystem name.",
+                                             "default" : "nodename",
+                                             "description" : "The ID for the mds, when omitted the same as the nodename",
+                                             "maxLength" : 200,
                                              "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
+                                             "type" : "string"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
-                                          },
-                                          "pg_num" : {
-                                             "default" : 128,
-                                             "description" : "Number of placement groups for the backing data pool. The metadata pool will use a quarter of this.",
-                                             "maximum" : 32768,
-                                             "minimum" : 8,
-                                             "optional" : 1,
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (8 - 32768)"
                                           }
                                        }
                                     },
@@ -34451,314 +38258,145 @@ const apiSchema = [
                                  }
                               },
                               "leaf" : 1,
-                              "path" : "/nodes/{node}/ceph/fs/{name}",
-                              "text" : "{name}"
-                           }
-                        ],
-                        "info" : {
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Directory index.",
-                              "method" : "GET",
-                              "name" : "index",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
-                                 ]
-                              },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "items" : {
-                                    "properties" : {
-                                       "data_pool" : {
-                                          "description" : "The name of the data pool.",
-                                          "type" : "string"
-                                       },
-                                       "metadata_pool" : {
-                                          "description" : "The name of the metadata pool.",
-                                          "type" : "string"
-                                       },
-                                       "name" : {
-                                          "description" : "The ceph filesystem name.",
-                                          "type" : "string"
-                                       }
-                                    },
-                                    "type" : "object"
-                                 },
-                                 "links" : [
-                                    {
-                                       "href" : "{name}",
-                                       "rel" : "child"
-                                    }
-                                 ],
-                                 "type" : "array"
-                              }
-                           }
-                        },
-                        "leaf" : 0,
-                        "path" : "/nodes/{node}/ceph/fs",
-                        "text" : "fs"
-                     },
-                     {
-                        "children" : [
-                           {
-                              "children" : [
-                                 {
-                                    "info" : {
-                                       "GET" : {
-                                          "allowtoken" : 1,
-                                          "description" : "Show the current pool status.",
-                                          "method" : "GET",
-                                          "name" : "getpool",
-                                          "parameters" : {
-                                             "additionalProperties" : 0,
-                                             "properties" : {
-                                                "name" : {
-                                                   "description" : "The name of the pool. It must be unique.",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "node" : {
-                                                   "description" : "The cluster node name.",
-                                                   "format" : "pve-node",
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
-                                                },
-                                                "verbose" : {
-                                                   "default" : 0,
-                                                   "description" : "If enabled, will display additional data(eg. statistics).",
-                                                   "optional" : 1,
-                                                   "type" : "boolean",
-                                                   "typetext" : "<boolean>"
-                                                }
-                                             }
-                                          },
-                                          "permissions" : {
-                                             "check" : [
-                                                "perm",
-                                                "/",
-                                                [
-                                                   "Sys.Audit",
-                                                   "Datastore.Audit"
-                                                ],
-                                                "any",
-                                                1
-                                             ]
-                                          },
-                                          "protected" : 1,
-                                          "proxyto" : "node",
-                                          "returns" : {
-                                             "properties" : {
-                                                "application" : {
-                                                   "default" : "rbd",
-                                                   "description" : "The application of the pool.",
-                                                   "enum" : [
-                                                      "rbd",
-                                                      "cephfs",
-                                                      "rgw"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "title" : "Application",
-                                                   "type" : "string"
-                                                },
-                                                "application_list" : {
-                                                   "optional" : 1,
-                                                   "title" : "Application",
-                                                   "type" : "array"
-                                                },
-                                                "autoscale_status" : {
-                                                   "optional" : 1,
-                                                   "title" : "Autoscale Status",
-                                                   "type" : "object"
-                                                },
-                                                "crush_rule" : {
-                                                   "description" : "The rule to use for mapping object placement in the cluster.",
-                                                   "optional" : 1,
-                                                   "title" : "Crush Rule Name",
-                                                   "type" : "string"
-                                                },
-                                                "fast_read" : {
-                                                   "title" : "Fast Read",
-                                                   "type" : "boolean"
-                                                },
-                                                "hashpspool" : {
-                                                   "title" : "hashpspool",
-                                                   "type" : "boolean"
-                                                },
-                                                "id" : {
-                                                   "title" : "ID",
-                                                   "type" : "integer"
-                                                },
-                                                "min_size" : {
-                                                   "default" : 2,
-                                                   "description" : "Minimum number of replicas per object",
-                                                   "maximum" : 7,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "title" : "Min Size",
-                                                   "type" : "integer"
-                                                },
-                                                "name" : {
-                                                   "description" : "The name of the pool. It must be unique.",
-                                                   "title" : "Name",
-                                                   "type" : "string"
-                                                },
-                                                "nodeep-scrub" : {
-                                                   "title" : "nodeep-scrub",
-                                                   "type" : "boolean"
-                                                },
-                                                "nodelete" : {
-                                                   "title" : "nodelete",
-                                                   "type" : "boolean"
-                                                },
-                                                "nopgchange" : {
-                                                   "title" : "nopgchange",
-                                                   "type" : "boolean"
-                                                },
-                                                "noscrub" : {
-                                                   "title" : "noscrub",
-                                                   "type" : "boolean"
-                                                },
-                                                "nosizechange" : {
-                                                   "title" : "nosizechange",
-                                                   "type" : "boolean"
-                                                },
-                                                "pg_autoscale_mode" : {
-                                                   "default" : "warn",
-                                                   "description" : "The automatic PG scaling mode of the pool.",
-                                                   "enum" : [
-                                                      "on",
-                                                      "off",
-                                                      "warn"
-                                                   ],
-                                                   "optional" : 1,
-                                                   "title" : "PG Autoscale Mode",
-                                                   "type" : "string"
-                                                },
-                                                "pg_num" : {
-                                                   "default" : 128,
-                                                   "description" : "Number of placement groups.",
-                                                   "maximum" : 32768,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "title" : "PG Num",
-                                                   "type" : "integer"
-                                                },
-                                                "pg_num_min" : {
-                                                   "description" : "Minimal number of placement groups.",
-                                                   "maximum" : 32768,
-                                                   "optional" : 1,
-                                                   "title" : "min. PG Num",
-                                                   "type" : "integer"
-                                                },
-                                                "pgp_num" : {
-                                                   "title" : "PGP num",
-                                                   "type" : "integer"
-                                                },
-                                                "size" : {
-                                                   "default" : 3,
-                                                   "description" : "Number of replicas per object",
-                                                   "maximum" : 7,
-                                                   "minimum" : 1,
-                                                   "optional" : 1,
-                                                   "title" : "Size",
-                                                   "type" : "integer"
-                                                },
-                                                "statistics" : {
-                                                   "optional" : 1,
-                                                   "title" : "Statistics",
-                                                   "type" : "object"
-                                                },
-                                                "target_size" : {
-                                                   "description" : "The estimated target size of the pool for the PG autoscaler.",
-                                                   "optional" : 1,
-                                                   "pattern" : "^(\\d+(\\.\\d+)?)([KMGT])?$",
-                                                   "title" : "PG Autoscale Target Size",
-                                                   "type" : "string"
-                                                },
-                                                "target_size_ratio" : {
-                                                   "description" : "The estimated target ratio of the pool for the PG autoscaler.",
-                                                   "optional" : 1,
-                                                   "title" : "PG Autoscale Target Ratio",
-                                                   "type" : "number"
-                                                },
-                                                "use_gmt_hitset" : {
-                                                   "title" : "use_gmt_hitset",
-                                                   "type" : "boolean"
-                                                },
-                                                "write_fadvise_dontneed" : {
-                                                   "title" : "write_fadvise_dontneed",
-                                                   "type" : "boolean"
-                                                }
-                                             },
-                                             "type" : "object"
-                                          }
+                              "path" : "/nodes/{node}/ceph/mds/{name}",
+                              "text" : "{name}"
+                           }
+                        ],
+                        "info" : {
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "MDS directory index.",
+                              "method" : "GET",
+                              "name" : "index",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Audit",
+                                       "Datastore.Audit"
+                                    ],
+                                    "any",
+                                    1
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "items" : {
+                                    "properties" : {
+                                       "addr" : {
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "host" : {
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "name" : {
+                                          "description" : "The name (ID) for the MDS"
+                                       },
+                                       "rank" : {
+                                          "optional" : 1,
+                                          "type" : "integer"
+                                       },
+                                       "standby_replay" : {
+                                          "description" : "If true, the standby MDS is polling the active MDS for faster recovery (hot standby).",
+                                          "optional" : 1,
+                                          "type" : "boolean"
+                                       },
+                                       "state" : {
+                                          "description" : "State of the MDS",
+                                          "type" : "string"
                                        }
                                     },
-                                    "leaf" : 1,
-                                    "path" : "/nodes/{node}/ceph/pool/{name}/status",
-                                    "text" : "status"
-                                 }
-                              ],
+                                    "type" : "object"
+                                 },
+                                 "links" : [
+                                    {
+                                       "href" : "{name}",
+                                       "rel" : "child"
+                                    }
+                                 ],
+                                 "type" : "array"
+                              }
+                           }
+                        },
+                        "leaf" : 0,
+                        "path" : "/nodes/{node}/ceph/mds",
+                        "text" : "mds"
+                     },
+                     {
+                        "children" : [
+                           {
                               "info" : {
                                  "DELETE" : {
                                     "allowtoken" : 1,
-                                    "description" : "Destroy pool",
+                                    "description" : "Destroy Ceph Manager.",
                                     "method" : "DELETE",
-                                    "name" : "destroypool",
+                                    "name" : "destroymgr",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "force" : {
-                                             "default" : 0,
-                                             "description" : "If true, destroys pool even if in use",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
+                                          "id" : {
+                                             "description" : "The ID of the manager",
+                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
+                                             "type" : "string"
                                           },
-                                          "name" : {
-                                             "description" : "The name of the pool. It must be unique.",
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Modify"
+                                          ]
+                                       ]
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create Ceph Manager",
+                                    "method" : "POST",
+                                    "name" : "createmgr",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "id" : {
+                                             "description" : "The ID for the manager, when omitted the same as the nodename",
+                                             "maxLength" : 200,
+                                             "optional" : 1,
+                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
+                                             "type" : "string"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
-                                          },
-                                          "remove_ecprofile" : {
-                                             "default" : 1,
-                                             "description" : "Remove the erasure code profile. Defaults to true, if applicable.",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
-                                          },
-                                          "remove_storages" : {
-                                             "default" : 0,
-                                             "description" : "Remove all pveceph-managed storages configured for this pool",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
                                           }
                                        }
                                     },
@@ -34776,19 +38414,95 @@ const apiSchema = [
                                     "returns" : {
                                        "type" : "string"
                                     }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/ceph/mgr/{id}",
+                              "text" : "{id}"
+                           }
+                        ],
+                        "info" : {
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "MGR directory index.",
+                              "method" : "GET",
+                              "name" : "index",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "node" : {
+                                       "description" : "The cluster node name.",
+                                       "format" : "pve-node",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "perm",
+                                    "/",
+                                    [
+                                       "Sys.Audit",
+                                       "Datastore.Audit"
+                                    ],
+                                    "any",
+                                    1
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "node",
+                              "returns" : {
+                                 "items" : {
+                                    "properties" : {
+                                       "addr" : {
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "host" : {
+                                          "optional" : 1,
+                                          "type" : "string"
+                                       },
+                                       "name" : {
+                                          "description" : "The name (ID) for the MGR"
+                                       },
+                                       "state" : {
+                                          "description" : "State of the MGR",
+                                          "type" : "string"
+                                       }
+                                    },
+                                    "type" : "object"
                                  },
-                                 "GET" : {
+                                 "links" : [
+                                    {
+                                       "href" : "{name}",
+                                       "rel" : "child"
+                                    }
+                                 ],
+                                 "type" : "array"
+                              }
+                           }
+                        },
+                        "leaf" : 0,
+                        "path" : "/nodes/{node}/ceph/mgr",
+                        "text" : "mgr"
+                     },
+                     {
+                        "children" : [
+                           {
+                              "info" : {
+                                 "DELETE" : {
                                     "allowtoken" : 1,
-                                    "description" : "Pool index.",
-                                    "method" : "GET",
-                                    "name" : "poolindex",
+                                    "description" : "Destroy Ceph Monitor and Manager.",
+                                    "method" : "DELETE",
+                                    "name" : "destroymon",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "name" : {
-                                             "description" : "The name of the pool.",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                          "monid" : {
+                                             "description" : "Monitor ID",
+                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
+                                             "type" : "string"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -34803,124 +38517,43 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Audit",
-                                             "Datastore.Audit"
-                                          ],
-                                          "any",
-                                          1
+                                             "Sys.Modify"
+                                          ]
                                        ]
                                     },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
                                     "returns" : {
-                                       "items" : {
-                                          "properties" : {},
-                                          "type" : "object"
-                                       },
-                                       "links" : [
-                                          {
-                                             "href" : "{name}",
-                                             "rel" : "child"
-                                          }
-                                       ],
-                                       "type" : "array"
+                                       "type" : "string"
                                     }
                                  },
-                                 "PUT" : {
+                                 "POST" : {
                                     "allowtoken" : 1,
-                                    "description" : "Change POOL settings",
-                                    "method" : "PUT",
-                                    "name" : "setpool",
+                                    "description" : "Create Ceph Monitor and Manager",
+                                    "method" : "POST",
+                                    "name" : "createmon",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
-                                          "application" : {
-                                             "description" : "The application of the pool.",
-                                             "enum" : [
-                                                "rbd",
-                                                "cephfs",
-                                                "rgw"
-                                             ],
-                                             "optional" : 1,
-                                             "title" : "Application",
-                                             "type" : "string"
-                                          },
-                                          "crush_rule" : {
-                                             "description" : "The rule to use for mapping object placement in the cluster.",
+                                          "mon-address" : {
+                                             "description" : "Overwrites autodetected monitor IP address(es). Must be in the public network(s) of Ceph.",
+                                             "format" : "ip-list",
                                              "optional" : 1,
-                                             "title" : "Crush Rule Name",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
-                                          "min_size" : {
-                                             "description" : "Minimum number of replicas per object",
-                                             "maximum" : 7,
-                                             "minimum" : 1,
+                                          "monid" : {
+                                             "description" : "The ID for the monitor, when omitted the same as the nodename",
+                                             "maxLength" : 200,
                                              "optional" : 1,
-                                             "title" : "Min Size",
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - 7)"
-                                          },
-                                          "name" : {
-                                             "description" : "The name of the pool. It must be unique.",
-                                             "title" : "Name",
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                             "pattern" : "[a-zA-Z0-9]([a-zA-Z0-9\\-]*[a-zA-Z0-9])?",
+                                             "type" : "string"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
-                                          },
-                                          "pg_autoscale_mode" : {
-                                             "description" : "The automatic PG scaling mode of the pool.",
-                                             "enum" : [
-                                                "on",
-                                                "off",
-                                                "warn"
-                                             ],
-                                             "optional" : 1,
-                                             "title" : "PG Autoscale Mode",
-                                             "type" : "string"
-                                          },
-                                          "pg_num" : {
-                                             "description" : "Number of placement groups.",
-                                             "maximum" : 32768,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "title" : "PG Num",
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - 32768)"
-                                          },
-                                          "pg_num_min" : {
-                                             "description" : "Minimal number of placement groups.",
-                                             "maximum" : 32768,
-                                             "optional" : 1,
-                                             "title" : "min. PG Num",
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (-N - 32768)"
-                                          },
-                                          "size" : {
-                                             "description" : "Number of replicas per object",
-                                             "maximum" : 7,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "title" : "Size",
-                                             "type" : "integer",
-                                             "typetext" : "<integer> (1 - 7)"
-                                          },
-                                          "target_size" : {
-                                             "description" : "The estimated target size of the pool for the PG autoscaler.",
-                                             "optional" : 1,
-                                             "pattern" : "^(\\d+(\\.\\d+)?)([KMGT])?$",
-                                             "title" : "PG Autoscale Target Size",
-                                             "type" : "string"
-                                          },
-                                          "target_size_ratio" : {
-                                             "description" : "The estimated target ratio of the pool for the PG autoscaler.",
-                                             "optional" : 1,
-                                             "title" : "PG Autoscale Target Ratio",
-                                             "type" : "number",
-                                             "typetext" : "<number>"
                                           }
                                        }
                                     },
@@ -34940,17 +38573,17 @@ const apiSchema = [
                                     }
                                  }
                               },
-                              "leaf" : 0,
-                              "path" : "/nodes/{node}/ceph/pool/{name}",
-                              "text" : "{name}"
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/ceph/mon/{monid}",
+                              "text" : "{monid}"
                            }
                         ],
                         "info" : {
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "List all pools and their settings (which are settable by the POST/PUT endpoints).",
+                              "description" : "Get Ceph monitor list.",
                               "method" : "GET",
-                              "name" : "lspools",
+                              "name" : "listmon",
                               "parameters" : {
                                  "additionalProperties" : 0,
                                  "properties" : {
@@ -34979,84 +38612,43 @@ const apiSchema = [
                               "returns" : {
                                  "items" : {
                                     "properties" : {
-                                       "application_metadata" : {
+                                       "addr" : {
                                           "optional" : 1,
-                                          "title" : "Associated Applications",
-                                          "type" : "object"
+                                          "type" : "string"
                                        },
-                                       "autoscale_status" : {
+                                       "ceph_version" : {
                                           "optional" : 1,
-                                          "title" : "Autoscale Status",
-                                          "type" : "object"
-                                       },
-                                       "bytes_used" : {
-                                          "title" : "Used",
-                                          "type" : "integer"
-                                       },
-                                       "crush_rule" : {
-                                          "title" : "Crush Rule",
-                                          "type" : "integer"
-                                       },
-                                       "crush_rule_name" : {
-                                          "title" : "Crush Rule Name",
                                           "type" : "string"
                                        },
-                                       "min_size" : {
-                                          "title" : "Min Size",
-                                          "type" : "integer"
-                                       },
-                                       "percent_used" : {
-                                          "title" : "%-Used",
-                                          "type" : "number"
-                                       },
-                                       "pg_autoscale_mode" : {
+                                       "ceph_version_short" : {
                                           "optional" : 1,
-                                          "title" : "PG Autoscale Mode",
                                           "type" : "string"
                                        },
-                                       "pg_num" : {
-                                          "title" : "PG Num",
-                                          "type" : "integer"
-                                       },
-                                       "pg_num_final" : {
+                                       "direxists" : {
                                           "optional" : 1,
-                                          "title" : "Optimal PG Num",
-                                          "type" : "integer"
+                                          "type" : "string"
                                        },
-                                       "pg_num_min" : {
+                                       "host" : {
                                           "optional" : 1,
-                                          "title" : "min. PG Num",
-                                          "type" : "integer"
-                                       },
-                                       "pool" : {
-                                          "title" : "ID",
-                                          "type" : "integer"
+                                          "type" : "boolean"
                                        },
-                                       "pool_name" : {
-                                          "title" : "Name",
+                                       "name" : {
                                           "type" : "string"
                                        },
-                                       "size" : {
-                                          "title" : "Size",
-                                          "type" : "integer"
+                                       "quorum" : {
+                                          "optional" : 1,
+                                          "type" : "boolean"
                                        },
-                                       "target_size" : {
+                                       "rank" : {
                                           "optional" : 1,
-                                          "title" : "PG Autoscale Target Size",
                                           "type" : "integer"
                                        },
-                                       "target_size_ratio" : {
+                                       "service" : {
                                           "optional" : 1,
-                                          "title" : "PG Autoscale Target Ratio",
-                                          "type" : "number"
+                                          "type" : "integer"
                                        },
-                                       "type" : {
-                                          "enum" : [
-                                             "replicated",
-                                             "erasure",
-                                             "unknown"
-                                          ],
-                                          "title" : "Type",
+                                       "state" : {
+                                          "optional" : 1,
                                           "type" : "string"
                                        }
                                     },
@@ -35064,159 +38656,96 @@ const apiSchema = [
                                  },
                                  "links" : [
                                     {
-                                       "href" : "{pool_name}",
+                                       "href" : "{name}",
                                        "rel" : "child"
                                     }
                                  ],
                                  "type" : "array"
                               }
-                           },
-                           "POST" : {
-                              "allowtoken" : 1,
-                              "description" : "Create Ceph pool",
-                              "method" : "POST",
-                              "name" : "createpool",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "add_storages" : {
-                                       "default" : "0; for erasure coded pools: 1",
-                                       "description" : "Configure VM and CT storage using the new pool.",
-                                       "optional" : 1,
-                                       "type" : "boolean",
-                                       "typetext" : "<boolean>"
-                                    },
-                                    "application" : {
-                                       "default" : "rbd",
-                                       "description" : "The application of the pool.",
-                                       "enum" : [
-                                          "rbd",
-                                          "cephfs",
-                                          "rgw"
-                                       ],
-                                       "optional" : 1,
-                                       "title" : "Application",
-                                       "type" : "string"
-                                    },
-                                    "crush_rule" : {
-                                       "description" : "The rule to use for mapping object placement in the cluster.",
-                                       "optional" : 1,
-                                       "title" : "Crush Rule Name",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    },
-                                    "erasure-coding" : {
-                                       "description" : "Create an erasure coded pool for RBD with an accompaning replicated pool for metadata storage. With EC, the common ceph options 'size', 'min_size' and 'crush_rule' parameters will be applied to the metadata pool.",
-                                       "format" : {
-                                          "device-class" : {
-                                             "description" : "CRUSH device class. Will create an erasure coded pool plus a replicated pool for metadata.",
-                                             "format_description" : "class",
-                                             "optional" : 1,
-                                             "type" : "string"
-                                          },
-                                          "failure-domain" : {
-                                             "default" : "host",
-                                             "description" : "CRUSH failure domain. Default is 'host'. Will create an erasure coded pool plus a replicated pool for metadata.",
-                                             "format_description" : "domain",
+                           }
+                        },
+                        "leaf" : 0,
+                        "path" : "/nodes/{node}/ceph/mon",
+                        "text" : "mon"
+                     },
+                     {
+                        "children" : [
+                           {
+                              "info" : {
+                                 "POST" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Create a Ceph filesystem",
+                                    "method" : "POST",
+                                    "name" : "createfs",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "add-storage" : {
+                                             "default" : 0,
+                                             "description" : "Configure the created CephFS as storage for this cluster.",
                                              "optional" : 1,
-                                             "type" : "string"
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
                                           },
-                                          "k" : {
-                                             "description" : "Number of data chunks. Will create an erasure coded pool plus a replicated pool for metadata.",
-                                             "minimum" : 2,
-                                             "type" : "integer"
+                                          "name" : {
+                                             "default" : "cephfs",
+                                             "description" : "The ceph filesystem name.",
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "m" : {
-                                             "description" : "Number of coding chunks. Will create an erasure coded pool plus a replicated pool for metadata.",
-                                             "minimum" : 1,
-                                             "type" : "integer"
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
                                           },
-                                          "profile" : {
-                                             "description" : "Override the erasure code (EC) profile to use. Will create an erasure coded pool plus a replicated pool for metadata.",
-                                             "format_description" : "profile",
+                                          "pg_num" : {
+                                             "default" : 128,
+                                             "description" : "Number of placement groups for the backing data pool. The metadata pool will use a quarter of this.",
+                                             "maximum" : 32768,
+                                             "minimum" : 8,
                                              "optional" : 1,
-                                             "type" : "string"
+                                             "type" : "integer",
+                                             "typetext" : "<integer> (8 - 32768)"
                                           }
-                                       },
-                                       "optional" : 1,
-                                       "type" : "string",
-                                       "typetext" : "k=<integer> ,m=<integer> [,device-class=<class>] [,failure-domain=<domain>] [,profile=<profile>]"
-                                    },
-                                    "min_size" : {
-                                       "default" : 2,
-                                       "description" : "Minimum number of replicas per object",
-                                       "maximum" : 7,
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "title" : "Min Size",
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (1 - 7)"
+                                       }
                                     },
-                                    "name" : {
-                                       "description" : "The name of the pool. It must be unique.",
-                                       "title" : "Name",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
+                                    "permissions" : {
+                                       "check" : [
+                                          "perm",
+                                          "/",
+                                          [
+                                             "Sys.Modify"
+                                          ]
+                                       ]
                                     },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "type" : "string"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/ceph/fs/{name}",
+                              "text" : "{name}"
+                           }
+                        ],
+                        "info" : {
+                           "GET" : {
+                              "allowtoken" : 1,
+                              "description" : "Directory index.",
+                              "method" : "GET",
+                              "name" : "index",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
                                     "node" : {
                                        "description" : "The cluster node name.",
                                        "format" : "pve-node",
                                        "type" : "string",
                                        "typetext" : "<string>"
-                                    },
-                                    "pg_autoscale_mode" : {
-                                       "default" : "warn",
-                                       "description" : "The automatic PG scaling mode of the pool.",
-                                       "enum" : [
-                                          "on",
-                                          "off",
-                                          "warn"
-                                       ],
-                                       "optional" : 1,
-                                       "title" : "PG Autoscale Mode",
-                                       "type" : "string"
-                                    },
-                                    "pg_num" : {
-                                       "default" : 128,
-                                       "description" : "Number of placement groups.",
-                                       "maximum" : 32768,
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "title" : "PG Num",
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (1 - 32768)"
-                                    },
-                                    "pg_num_min" : {
-                                       "description" : "Minimal number of placement groups.",
-                                       "maximum" : 32768,
-                                       "optional" : 1,
-                                       "title" : "min. PG Num",
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (-N - 32768)"
-                                    },
-                                    "size" : {
-                                       "default" : 3,
-                                       "description" : "Number of replicas per object",
-                                       "maximum" : 7,
-                                       "minimum" : 1,
-                                       "optional" : 1,
-                                       "title" : "Size",
-                                       "type" : "integer",
-                                       "typetext" : "<integer> (1 - 7)"
-                                    },
-                                    "target_size" : {
-                                       "description" : "The estimated target size of the pool for the PG autoscaler.",
-                                       "optional" : 1,
-                                       "pattern" : "^(\\d+(\\.\\d+)?)([KMGT])?$",
-                                       "title" : "PG Autoscale Target Size",
-                                       "type" : "string"
-                                    },
-                                    "target_size_ratio" : {
-                                       "description" : "The estimated target ratio of the pool for the PG autoscaler.",
-                                       "optional" : 1,
-                                       "title" : "PG Autoscale Target Ratio",
-                                       "type" : "number",
-                                       "typetext" : "<number>"
                                     }
                                  }
                               },
@@ -35225,28 +38754,252 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Modify"
-                                    ]
+                                       "Sys.Audit",
+                                       "Datastore.Audit"
+                                    ],
+                                    "any",
+                                    1
                                  ]
                               },
                               "protected" : 1,
                               "proxyto" : "node",
                               "returns" : {
-                                 "type" : "string"
+                                 "items" : {
+                                    "properties" : {
+                                       "data_pool" : {
+                                          "description" : "The name of the data pool.",
+                                          "type" : "string"
+                                       },
+                                       "metadata_pool" : {
+                                          "description" : "The name of the metadata pool.",
+                                          "type" : "string"
+                                       },
+                                       "name" : {
+                                          "description" : "The ceph filesystem name.",
+                                          "type" : "string"
+                                       }
+                                    },
+                                    "type" : "object"
+                                 },
+                                 "links" : [
+                                    {
+                                       "href" : "{name}",
+                                       "rel" : "child"
+                                    }
+                                 ],
+                                 "type" : "array"
                               }
                            }
                         },
                         "leaf" : 0,
-                        "path" : "/nodes/{node}/ceph/pool",
-                        "text" : "pool"
+                        "path" : "/nodes/{node}/ceph/fs",
+                        "text" : "fs"
                      },
                      {
                         "children" : [
                            {
+                              "children" : [
+                                 {
+                                    "info" : {
+                                       "GET" : {
+                                          "allowtoken" : 1,
+                                          "description" : "Show the current pool status.",
+                                          "method" : "GET",
+                                          "name" : "getpool",
+                                          "parameters" : {
+                                             "additionalProperties" : 0,
+                                             "properties" : {
+                                                "name" : {
+                                                   "description" : "The name of the pool. It must be unique.",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "node" : {
+                                                   "description" : "The cluster node name.",
+                                                   "format" : "pve-node",
+                                                   "type" : "string",
+                                                   "typetext" : "<string>"
+                                                },
+                                                "verbose" : {
+                                                   "default" : 0,
+                                                   "description" : "If enabled, will display additional data(eg. statistics).",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
+                                                }
+                                             }
+                                          },
+                                          "permissions" : {
+                                             "check" : [
+                                                "perm",
+                                                "/",
+                                                [
+                                                   "Sys.Audit",
+                                                   "Datastore.Audit"
+                                                ],
+                                                "any",
+                                                1
+                                             ]
+                                          },
+                                          "protected" : 1,
+                                          "proxyto" : "node",
+                                          "returns" : {
+                                             "properties" : {
+                                                "application" : {
+                                                   "default" : "rbd",
+                                                   "description" : "The application of the pool.",
+                                                   "enum" : [
+                                                      "rbd",
+                                                      "cephfs",
+                                                      "rgw"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "title" : "Application",
+                                                   "type" : "string"
+                                                },
+                                                "application_list" : {
+                                                   "optional" : 1,
+                                                   "title" : "Application",
+                                                   "type" : "array"
+                                                },
+                                                "autoscale_status" : {
+                                                   "optional" : 1,
+                                                   "title" : "Autoscale Status",
+                                                   "type" : "object"
+                                                },
+                                                "crush_rule" : {
+                                                   "description" : "The rule to use for mapping object placement in the cluster.",
+                                                   "optional" : 1,
+                                                   "title" : "Crush Rule Name",
+                                                   "type" : "string"
+                                                },
+                                                "fast_read" : {
+                                                   "title" : "Fast Read",
+                                                   "type" : "boolean"
+                                                },
+                                                "hashpspool" : {
+                                                   "title" : "hashpspool",
+                                                   "type" : "boolean"
+                                                },
+                                                "id" : {
+                                                   "title" : "ID",
+                                                   "type" : "integer"
+                                                },
+                                                "min_size" : {
+                                                   "default" : 2,
+                                                   "description" : "Minimum number of replicas per object",
+                                                   "maximum" : 7,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "title" : "Min Size",
+                                                   "type" : "integer"
+                                                },
+                                                "name" : {
+                                                   "description" : "The name of the pool. It must be unique.",
+                                                   "title" : "Name",
+                                                   "type" : "string"
+                                                },
+                                                "nodeep-scrub" : {
+                                                   "title" : "nodeep-scrub",
+                                                   "type" : "boolean"
+                                                },
+                                                "nodelete" : {
+                                                   "title" : "nodelete",
+                                                   "type" : "boolean"
+                                                },
+                                                "nopgchange" : {
+                                                   "title" : "nopgchange",
+                                                   "type" : "boolean"
+                                                },
+                                                "noscrub" : {
+                                                   "title" : "noscrub",
+                                                   "type" : "boolean"
+                                                },
+                                                "nosizechange" : {
+                                                   "title" : "nosizechange",
+                                                   "type" : "boolean"
+                                                },
+                                                "pg_autoscale_mode" : {
+                                                   "default" : "warn",
+                                                   "description" : "The automatic PG scaling mode of the pool.",
+                                                   "enum" : [
+                                                      "on",
+                                                      "off",
+                                                      "warn"
+                                                   ],
+                                                   "optional" : 1,
+                                                   "title" : "PG Autoscale Mode",
+                                                   "type" : "string"
+                                                },
+                                                "pg_num" : {
+                                                   "default" : 128,
+                                                   "description" : "Number of placement groups.",
+                                                   "maximum" : 32768,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "title" : "PG Num",
+                                                   "type" : "integer"
+                                                },
+                                                "pg_num_min" : {
+                                                   "description" : "Minimal number of placement groups.",
+                                                   "maximum" : 32768,
+                                                   "optional" : 1,
+                                                   "title" : "min. PG Num",
+                                                   "type" : "integer"
+                                                },
+                                                "pgp_num" : {
+                                                   "title" : "PGP num",
+                                                   "type" : "integer"
+                                                },
+                                                "size" : {
+                                                   "default" : 3,
+                                                   "description" : "Number of replicas per object",
+                                                   "maximum" : 7,
+                                                   "minimum" : 1,
+                                                   "optional" : 1,
+                                                   "title" : "Size",
+                                                   "type" : "integer"
+                                                },
+                                                "statistics" : {
+                                                   "optional" : 1,
+                                                   "title" : "Statistics",
+                                                   "type" : "object"
+                                                },
+                                                "target_size" : {
+                                                   "description" : "The estimated target size of the pool for the PG autoscaler.",
+                                                   "optional" : 1,
+                                                   "pattern" : "^(\\d+(\\.\\d+)?)([KMGT])?$",
+                                                   "title" : "PG Autoscale Target Size",
+                                                   "type" : "string"
+                                                },
+                                                "target_size_ratio" : {
+                                                   "description" : "The estimated target ratio of the pool for the PG autoscaler.",
+                                                   "optional" : 1,
+                                                   "title" : "PG Autoscale Target Ratio",
+                                                   "type" : "number"
+                                                },
+                                                "use_gmt_hitset" : {
+                                                   "title" : "use_gmt_hitset",
+                                                   "type" : "boolean"
+                                                },
+                                                "write_fadvise_dontneed" : {
+                                                   "title" : "write_fadvise_dontneed",
+                                                   "type" : "boolean"
+                                                }
+                                             },
+                                             "type" : "object"
+                                          }
+                                       }
+                                    },
+                                    "leaf" : 1,
+                                    "path" : "/nodes/{node}/ceph/pool/{name}/status",
+                                    "text" : "status"
+                                 }
+                              ],
                               "info" : {
                                  "DELETE" : {
                                     "allowtoken" : 1,
-                                    "description" : "Destroy pool. Deprecated, please use `/nodes/{node}/ceph/pool/{name}`.",
+                                    "description" : "Destroy pool",
                                     "method" : "DELETE",
                                     "name" : "destroypool",
                                     "parameters" : {
@@ -35303,14 +39056,14 @@ const apiSchema = [
                                  },
                                  "GET" : {
                                     "allowtoken" : 1,
-                                    "description" : "List pool settings. Deprecated, please use `/nodes/{node}/ceph/pool/{pool}/status`.",
+                                    "description" : "Pool index.",
                                     "method" : "GET",
-                                    "name" : "getpool",
+                                    "name" : "poolindex",
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
                                           "name" : {
-                                             "description" : "The name of the pool. It must be unique.",
+                                             "description" : "The name of the pool.",
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
@@ -35319,13 +39072,6 @@ const apiSchema = [
                                              "format" : "pve-node",
                                              "type" : "string",
                                              "typetext" : "<string>"
-                                          },
-                                          "verbose" : {
-                                             "default" : 0,
-                                             "description" : "If enabled, will display additional data(eg. statistics).",
-                                             "optional" : 1,
-                                             "type" : "boolean",
-                                             "typetext" : "<boolean>"
                                           }
                                        }
                                     },
@@ -35341,158 +39087,23 @@ const apiSchema = [
                                           1
                                        ]
                                     },
-                                    "protected" : 1,
-                                    "proxyto" : "node",
                                     "returns" : {
-                                       "properties" : {
-                                          "application" : {
-                                             "default" : "rbd",
-                                             "description" : "The application of the pool.",
-                                             "enum" : [
-                                                "rbd",
-                                                "cephfs",
-                                                "rgw"
-                                             ],
-                                             "optional" : 1,
-                                             "title" : "Application",
-                                             "type" : "string"
-                                          },
-                                          "application_list" : {
-                                             "optional" : 1,
-                                             "title" : "Application",
-                                             "type" : "array"
-                                          },
-                                          "autoscale_status" : {
-                                             "optional" : 1,
-                                             "title" : "Autoscale Status",
-                                             "type" : "object"
-                                          },
-                                          "crush_rule" : {
-                                             "description" : "The rule to use for mapping object placement in the cluster.",
-                                             "optional" : 1,
-                                             "title" : "Crush Rule Name",
-                                             "type" : "string"
-                                          },
-                                          "fast_read" : {
-                                             "title" : "Fast Read",
-                                             "type" : "boolean"
-                                          },
-                                          "hashpspool" : {
-                                             "title" : "hashpspool",
-                                             "type" : "boolean"
-                                          },
-                                          "id" : {
-                                             "title" : "ID",
-                                             "type" : "integer"
-                                          },
-                                          "min_size" : {
-                                             "default" : 2,
-                                             "description" : "Minimum number of replicas per object",
-                                             "maximum" : 7,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "title" : "Min Size",
-                                             "type" : "integer"
-                                          },
-                                          "name" : {
-                                             "description" : "The name of the pool. It must be unique.",
-                                             "title" : "Name",
-                                             "type" : "string"
-                                          },
-                                          "nodeep-scrub" : {
-                                             "title" : "nodeep-scrub",
-                                             "type" : "boolean"
-                                          },
-                                          "nodelete" : {
-                                             "title" : "nodelete",
-                                             "type" : "boolean"
-                                          },
-                                          "nopgchange" : {
-                                             "title" : "nopgchange",
-                                             "type" : "boolean"
-                                          },
-                                          "noscrub" : {
-                                             "title" : "noscrub",
-                                             "type" : "boolean"
-                                          },
-                                          "nosizechange" : {
-                                             "title" : "nosizechange",
-                                             "type" : "boolean"
-                                          },
-                                          "pg_autoscale_mode" : {
-                                             "default" : "warn",
-                                             "description" : "The automatic PG scaling mode of the pool.",
-                                             "enum" : [
-                                                "on",
-                                                "off",
-                                                "warn"
-                                             ],
-                                             "optional" : 1,
-                                             "title" : "PG Autoscale Mode",
-                                             "type" : "string"
-                                          },
-                                          "pg_num" : {
-                                             "default" : 128,
-                                             "description" : "Number of placement groups.",
-                                             "maximum" : 32768,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "title" : "PG Num",
-                                             "type" : "integer"
-                                          },
-                                          "pg_num_min" : {
-                                             "description" : "Minimal number of placement groups.",
-                                             "maximum" : 32768,
-                                             "optional" : 1,
-                                             "title" : "min. PG Num",
-                                             "type" : "integer"
-                                          },
-                                          "pgp_num" : {
-                                             "title" : "PGP num",
-                                             "type" : "integer"
-                                          },
-                                          "size" : {
-                                             "default" : 3,
-                                             "description" : "Number of replicas per object",
-                                             "maximum" : 7,
-                                             "minimum" : 1,
-                                             "optional" : 1,
-                                             "title" : "Size",
-                                             "type" : "integer"
-                                          },
-                                          "statistics" : {
-                                             "optional" : 1,
-                                             "title" : "Statistics",
-                                             "type" : "object"
-                                          },
-                                          "target_size" : {
-                                             "description" : "The estimated target size of the pool for the PG autoscaler.",
-                                             "optional" : 1,
-                                             "pattern" : "^(\\d+(\\.\\d+)?)([KMGT])?$",
-                                             "title" : "PG Autoscale Target Size",
-                                             "type" : "string"
-                                          },
-                                          "target_size_ratio" : {
-                                             "description" : "The estimated target ratio of the pool for the PG autoscaler.",
-                                             "optional" : 1,
-                                             "title" : "PG Autoscale Target Ratio",
-                                             "type" : "number"
-                                          },
-                                          "use_gmt_hitset" : {
-                                             "title" : "use_gmt_hitset",
-                                             "type" : "boolean"
-                                          },
-                                          "write_fadvise_dontneed" : {
-                                             "title" : "write_fadvise_dontneed",
-                                             "type" : "boolean"
-                                          }
+                                       "items" : {
+                                          "properties" : {},
+                                          "type" : "object"
                                        },
-                                       "type" : "object"
+                                       "links" : [
+                                          {
+                                             "href" : "{name}",
+                                             "rel" : "child"
+                                          }
+                                       ],
+                                       "type" : "array"
                                     }
                                  },
                                  "PUT" : {
                                     "allowtoken" : 1,
-                                    "description" : "Change POOL settings. Deprecated, please use `/nodes/{node}/ceph/pool/{name}`.",
+                                    "description" : "Change POOL settings",
                                     "method" : "PUT",
                                     "name" : "setpool",
                                     "parameters" : {
@@ -35606,15 +39217,15 @@ const apiSchema = [
                                     }
                                  }
                               },
-                              "leaf" : 1,
-                              "path" : "/nodes/{node}/ceph/pools/{name}",
+                              "leaf" : 0,
+                              "path" : "/nodes/{node}/ceph/pool/{name}",
                               "text" : "{name}"
                            }
                         ],
                         "info" : {
                            "GET" : {
                               "allowtoken" : 1,
-                              "description" : "List all pools. Deprecated, please use `/nodes/{node}/ceph/pool`.",
+                              "description" : "List all pools and their settings (which are settable by the POST/PUT endpoints).",
                               "method" : "GET",
                               "name" : "lspools",
                               "parameters" : {
@@ -35739,7 +39350,7 @@ const apiSchema = [
                            },
                            "POST" : {
                               "allowtoken" : 1,
-                              "description" : "Create Ceph pool. Deprecated, please use `/nodes/{node}/ceph/pool`.",
+                              "description" : "Create Ceph pool",
                               "method" : "POST",
                               "name" : "createpool",
                               "parameters" : {
@@ -35903,112 +39514,8 @@ const apiSchema = [
                            }
                         },
                         "leaf" : 0,
-                        "path" : "/nodes/{node}/ceph/pools",
-                        "text" : "pools"
-                     },
-                     {
-                        "info" : {
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Get the Ceph configuration file. Deprecated, please use `/nodes/{node}/ceph/cfg/raw.",
-                              "method" : "GET",
-                              "name" : "config",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
-                                 ]
-                              },
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "type" : "string"
-                              }
-                           }
-                        },
-                        "leaf" : 1,
-                        "path" : "/nodes/{node}/ceph/config",
-                        "text" : "config"
-                     },
-                     {
-                        "info" : {
-                           "GET" : {
-                              "allowtoken" : 1,
-                              "description" : "Get the Ceph configuration database. Deprecated, please use `/nodes/{node}/ceph/cfg/db.",
-                              "method" : "GET",
-                              "name" : "configdb",
-                              "parameters" : {
-                                 "additionalProperties" : 0,
-                                 "properties" : {
-                                    "node" : {
-                                       "description" : "The cluster node name.",
-                                       "format" : "pve-node",
-                                       "type" : "string",
-                                       "typetext" : "<string>"
-                                    }
-                                 }
-                              },
-                              "permissions" : {
-                                 "check" : [
-                                    "perm",
-                                    "/",
-                                    [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
-                                 ]
-                              },
-                              "protected" : 1,
-                              "proxyto" : "node",
-                              "returns" : {
-                                 "items" : {
-                                    "properties" : {
-                                       "can_update_at_runtime" : {
-                                          "type" : "boolean"
-                                       },
-                                       "level" : {
-                                          "type" : "string"
-                                       },
-                                       "mask" : {
-                                          "type" : "string"
-                                       },
-                                       "name" : {
-                                          "type" : "string"
-                                       },
-                                       "section" : {
-                                          "type" : "string"
-                                       },
-                                       "value" : {
-                                          "type" : "string"
-                                       }
-                                    },
-                                    "type" : "object"
-                                 },
-                                 "type" : "array"
-                              }
-                           }
-                        },
-                        "leaf" : 1,
-                        "path" : "/nodes/{node}/ceph/configdb",
-                        "text" : "configdb"
+                        "path" : "/nodes/{node}/ceph/pool",
+                        "text" : "pool"
                      },
                      {
                         "info" : {
@@ -36061,7 +39568,7 @@ const apiSchema = [
                                     },
                                     "pg_bits" : {
                                        "default" : 6,
-                                       "description" : "Placement group bits, used to specify the default number of placement groups.\n\nNOTE: 'osd pool default pg num' does not work for default pools.",
+                                       "description" : "Placement group bits, used to specify the default number of placement groups.\n\nDepreacted. This setting was deprecated in recent Ceph versions.",
                                        "maximum" : 14,
                                        "minimum" : 6,
                                        "optional" : 1,
@@ -36576,9 +40083,10 @@ const apiSchema = [
                                     "storage" : {
                                        "description" : "The storage identifier.",
                                        "format" : "pve-storage-id",
+                                       "format_description" : "storage ID",
                                        "optional" : 1,
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<storage ID>"
                                     }
                                  }
                               },
@@ -36598,7 +40106,7 @@ const apiSchema = [
                                     },
                                     "bwlimit" : {
                                        "default" : 0,
-                                       "description" : "Limit I/O bandwidth (KBytes per second).",
+                                       "description" : "Limit I/O bandwidth (in KiB/s).",
                                        "minimum" : 0,
                                        "optional" : 1,
                                        "type" : "integer"
@@ -36628,14 +40136,22 @@ const apiSchema = [
                                        "type" : "string"
                                     },
                                     "exclude-path" : {
-                                       "description" : "Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root,  other paths match relative to each subdirectory.",
-                                       "format" : "string-alist",
+                                       "description" : "Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory.",
+                                       "items" : {
+                                          "type" : "string"
+                                       },
+                                       "optional" : 1,
+                                       "type" : "array"
+                                    },
+                                    "fleecing" : {
+                                       "description" : "Options for backup fleecing (VM only).",
+                                       "format" : "backup-fleecing",
                                        "optional" : 1,
                                        "type" : "string"
                                     },
                                     "ionice" : {
                                        "default" : 7,
-                                       "description" : "Set CFQ ionice priority.",
+                                       "description" : "Set IO priority when using the BFQ scheduler. For snapshot and suspend mode backups of VMs, this only affects the compressor. A value of 8 means the idle priority is used, otherwise the best-effort priority is used with the specified value.",
                                        "maximum" : 8,
                                        "minimum" : 0,
                                        "optional" : 1,
@@ -36650,7 +40166,7 @@ const apiSchema = [
                                     },
                                     "mailnotification" : {
                                        "default" : "always",
-                                       "description" : "Specify when to send an email",
+                                       "description" : "Deprecated: use notification targets/matchers instead. Specify when to send a notification mail",
                                        "enum" : [
                                           "always",
                                           "failure"
@@ -36659,7 +40175,7 @@ const apiSchema = [
                                        "type" : "string"
                                     },
                                     "mailto" : {
-                                       "description" : "Comma-separated list of email addresses or users that should receive email notifications.",
+                                       "description" : "Deprecated: Use notification targets/matchers instead. Comma-separated list of email addresses or users that should receive email notifications.",
                                        "format" : "email-or-username-list",
                                        "optional" : 1,
                                        "type" : "string"
@@ -36694,6 +40210,34 @@ const apiSchema = [
                                        "requires" : "storage",
                                        "type" : "string"
                                     },
+                                    "notification-mode" : {
+                                       "default" : "auto",
+                                       "description" : "Determine which notification system to use. If set to 'legacy-sendmail', vzdump will consider the mailto/mailnotification parameters and send emails to the specified address(es) via the 'sendmail' command. If set to 'notification-system', a notification will be sent via PVE's notification system, and the mailto and mailnotification will be ignored. If set to 'auto' (default setting), an email will be sent if mailto is set, and the notification system will be used if not.",
+                                       "enum" : [
+                                          "auto",
+                                          "legacy-sendmail",
+                                          "notification-system"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "notification-policy" : {
+                                       "default" : "always",
+                                       "description" : "Deprecated: Do not use",
+                                       "enum" : [
+                                          "always",
+                                          "failure",
+                                          "never"
+                                       ],
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "notification-target" : {
+                                       "description" : "Deprecated: Do not use",
+                                       "format" : "pve-configid",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
                                     "performance" : {
                                        "description" : "Other performance-related settings.",
                                        "format" : "backup-performance",
@@ -36763,6 +40307,7 @@ const apiSchema = [
                                     "storage" : {
                                        "description" : "Store resulting file to this storage.",
                                        "format" : "pve-storage-id",
+                                       "format_description" : "storage ID",
                                        "optional" : 1,
                                        "type" : "string"
                                     },
@@ -36779,7 +40324,7 @@ const apiSchema = [
                                     },
                                     "zstd" : {
                                        "default" : 1,
-                                       "description" : "Zstd threads. N=0 uses half of the available cores, N>0 uses N as thread count.",
+                                       "description" : "Zstd threads. N=0 uses half of the available cores, if N is set to a value bigger than 0, N is used as thread count.",
                                        "optional" : 1,
                                        "type" : "integer"
                                     }
@@ -36849,7 +40394,7 @@ const apiSchema = [
                               },
                               "bwlimit" : {
                                  "default" : 0,
-                                 "description" : "Limit I/O bandwidth (KBytes per second).",
+                                 "description" : "Limit I/O bandwidth (in KiB/s).",
                                  "minimum" : 0,
                                  "optional" : 1,
                                  "type" : "integer",
@@ -36882,15 +40427,24 @@ const apiSchema = [
                                  "typetext" : "<string>"
                               },
                               "exclude-path" : {
-                                 "description" : "Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root,  other paths match relative to each subdirectory.",
-                                 "format" : "string-alist",
+                                 "description" : "Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root, other paths match relative to each subdirectory.",
+                                 "items" : {
+                                    "type" : "string"
+                                 },
+                                 "optional" : 1,
+                                 "type" : "array",
+                                 "typetext" : "<array>"
+                              },
+                              "fleecing" : {
+                                 "description" : "Options for backup fleecing (VM only).",
+                                 "format" : "backup-fleecing",
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "<string>"
+                                 "typetext" : "[[enabled=]<1|0>] [,storage=<storage ID>]"
                               },
                               "ionice" : {
                                  "default" : 7,
-                                 "description" : "Set CFQ ionice priority.",
+                                 "description" : "Set IO priority when using the BFQ scheduler. For snapshot and suspend mode backups of VMs, this only affects the compressor. A value of 8 means the idle priority is used, otherwise the best-effort priority is used with the specified value.",
                                  "maximum" : 8,
                                  "minimum" : 0,
                                  "optional" : 1,
@@ -36907,7 +40461,7 @@ const apiSchema = [
                               },
                               "mailnotification" : {
                                  "default" : "always",
-                                 "description" : "Specify when to send an email",
+                                 "description" : "Deprecated: use notification targets/matchers instead. Specify when to send a notification mail",
                                  "enum" : [
                                     "always",
                                     "failure"
@@ -36916,7 +40470,7 @@ const apiSchema = [
                                  "type" : "string"
                               },
                               "mailto" : {
-                                 "description" : "Comma-separated list of email addresses or users that should receive email notifications.",
+                                 "description" : "Deprecated: Use notification targets/matchers instead. Comma-separated list of email addresses or users that should receive email notifications.",
                                  "format" : "email-or-username-list",
                                  "optional" : 1,
                                  "type" : "string",
@@ -36955,12 +40509,41 @@ const apiSchema = [
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
+                              "notification-mode" : {
+                                 "default" : "auto",
+                                 "description" : "Determine which notification system to use. If set to 'legacy-sendmail', vzdump will consider the mailto/mailnotification parameters and send emails to the specified address(es) via the 'sendmail' command. If set to 'notification-system', a notification will be sent via PVE's notification system, and the mailto and mailnotification will be ignored. If set to 'auto' (default setting), an email will be sent if mailto is set, and the notification system will be used if not.",
+                                 "enum" : [
+                                    "auto",
+                                    "legacy-sendmail",
+                                    "notification-system"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "notification-policy" : {
+                                 "default" : "always",
+                                 "description" : "Deprecated: Do not use",
+                                 "enum" : [
+                                    "always",
+                                    "failure",
+                                    "never"
+                                 ],
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "notification-target" : {
+                                 "description" : "Deprecated: Do not use",
+                                 "format" : "pve-configid",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
                               "performance" : {
                                  "description" : "Other performance-related settings.",
                                  "format" : "backup-performance",
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "[max-workers=<integer>]"
+                                 "typetext" : "[max-workers=<integer>] [,pbs-entries-max=<integer>]"
                               },
                               "pigz" : {
                                  "default" : 0,
@@ -37041,9 +40624,10 @@ const apiSchema = [
                               "storage" : {
                                  "description" : "Store resulting file to this storage.",
                                  "format" : "pve-storage-id",
+                                 "format_description" : "storage ID",
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "<string>"
+                                 "typetext" : "<storage ID>"
                               },
                               "tmpdir" : {
                                  "description" : "Store temporary files to specified directory.",
@@ -37060,7 +40644,7 @@ const apiSchema = [
                               },
                               "zstd" : {
                                  "default" : 1,
-                                 "description" : "Zstd threads. N=0 uses half of the available cores, N>0 uses N as thread count.",
+                                 "description" : "Zstd threads. N=0 uses half of the available cores, if N is set to a value bigger than 0, N is used as thread count.",
                                  "optional" : 1,
                                  "type" : "integer",
                                  "typetext" : "<integer>"
@@ -37068,7 +40652,7 @@ const apiSchema = [
                            }
                         },
                         "permissions" : {
-                           "description" : "The user needs 'VM.Backup' permissions on any VM, and 'Datastore.AllocateSpace' on the backup storage. The 'tmpdir', 'dumpdir' and 'script' parameters are restricted to the 'root@pam' user. The 'maxfiles' and 'prune-backups' settings require 'Datastore.Allocate' on the backup storage. The 'bwlimit', 'performance' and 'ionice' parameters require 'Sys.Modify' on '/'.",
+                           "description" : "The user needs 'VM.Backup' permissions on any VM, and 'Datastore.AllocateSpace' on the backup storage (and fleecing storage when fleecing is used). The 'tmpdir', 'dumpdir' and 'script' parameters are restricted to the 'root@pam' user. The 'maxfiles' and 'prune-backups' settings require 'Datastore.Allocate' on the backup storage. The 'bwlimit', 'performance' and 'ionice' parameters require 'Sys.Modify' on '/'.",
                            "user" : "all"
                         },
                         "protected" : 1,
@@ -37591,7 +41175,7 @@ const apiSchema = [
                            "properties" : {
                               "force" : {
                                  "default" : 0,
-                                 "description" : "Always connect to server, even if we have up to date info inside local cache.",
+                                 "description" : "Always connect to server, even if local cache is still valid.",
                                  "optional" : 1,
                                  "type" : "boolean",
                                  "typetext" : "<boolean>"
@@ -37630,7 +41214,7 @@ const apiSchema = [
                               "key" : {
                                  "description" : "Proxmox VE subscription key",
                                  "maxLength" : 32,
-                                 "pattern" : "pve([1248])([cbsp])-[0-9a-f]{10}",
+                                 "pattern" : "\\s*pve([1248])([cbsp])-[0-9a-f]{10}\\s*",
                                  "type" : "string"
                               },
                               "node" : {
@@ -38068,7 +41652,8 @@ const apiSchema = [
                                     "OVSBond",
                                     "OVSPort",
                                     "OVSIntPort",
-                                    "any_bridge"
+                                    "any_bridge",
+                                    "any_local_bridge"
                                  ],
                                  "optional" : 1,
                                  "type" : "string"
@@ -38683,10 +42268,11 @@ const apiSchema = [
                               "vmid" : {
                                  "description" : "Only list tasks for this VM.",
                                  "format" : "pve-vmid",
-                                 "minimum" : 1,
+                                 "maximum" : 999999999,
+                                 "minimum" : 100,
                                  "optional" : 1,
                                  "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
+                                 "typetext" : "<integer> (100 - 999999999)"
                               }
                            }
                         },
@@ -39855,8 +43441,9 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "type" : {
                                              "description" : "Either 'qemu' or 'lxc'. Only consider backups for guests of this type.",
@@ -39870,10 +43457,11 @@ const apiSchema = [
                                           "vmid" : {
                                              "description" : "Only prune backups for this VM.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "optional" : 1,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -39911,8 +43499,9 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "type" : {
                                              "description" : "Either 'qemu' or 'lxc'. Only consider backups for guests of this type.",
@@ -39926,10 +43515,11 @@ const apiSchema = [
                                           "vmid" : {
                                              "description" : "Only consider backups for this guest.",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "optional" : 1,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -40017,9 +43607,10 @@ const apiSchema = [
                                                 "storage" : {
                                                    "description" : "The storage identifier.",
                                                    "format" : "pve-storage-id",
+                                                   "format_description" : "storage ID",
                                                    "optional" : 1,
                                                    "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "typetext" : "<storage ID>"
                                                 },
                                                 "volume" : {
                                                    "description" : "Volume identifier",
@@ -40056,9 +43647,10 @@ const apiSchema = [
                                                 "storage" : {
                                                    "description" : "The storage identifier.",
                                                    "format" : "pve-storage-id",
+                                                   "format_description" : "storage ID",
                                                    "optional" : 1,
                                                    "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "typetext" : "<storage ID>"
                                                 },
                                                 "volume" : {
                                                    "description" : "Volume identifier",
@@ -40124,9 +43716,10 @@ const apiSchema = [
                                                 "storage" : {
                                                    "description" : "The storage identifier.",
                                                    "format" : "pve-storage-id",
+                                                   "format_description" : "storage ID",
                                                    "optional" : 1,
                                                    "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "typetext" : "<storage ID>"
                                                 },
                                                 "target" : {
                                                    "description" : "Target volume identifier",
@@ -40182,9 +43775,10 @@ const apiSchema = [
                                                 "storage" : {
                                                    "description" : "The storage identifier.",
                                                    "format" : "pve-storage-id",
+                                                   "format_description" : "storage ID",
                                                    "optional" : 1,
                                                    "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "typetext" : "<storage ID>"
                                                 },
                                                 "volume" : {
                                                    "description" : "Volume identifier",
@@ -40234,16 +43828,18 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "vmid" : {
                                              "description" : "Only list images for this VM",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "optional" : 1,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -40378,15 +43974,17 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "vmid" : {
                                              "description" : "Specify owner VM",
                                              "format" : "pve-vmid",
-                                             "minimum" : 1,
+                                             "maximum" : 999999999,
+                                             "minimum" : 100,
                                              "type" : "integer",
-                                             "typetext" : "<integer> (1 - N)"
+                                             "typetext" : "<integer> (100 - 999999999)"
                                           }
                                        }
                                     },
@@ -40437,8 +44035,9 @@ const apiSchema = [
                                                 "storage" : {
                                                    "description" : "The storage identifier.",
                                                    "format" : "pve-storage-id",
+                                                   "format_description" : "storage ID",
                                                    "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "typetext" : "<storage ID>"
                                                 },
                                                 "volume" : {
                                                    "description" : "Backup volume ID or name. Currently only PBS snapshots are supported.",
@@ -40517,8 +44116,16 @@ const apiSchema = [
                                                 "storage" : {
                                                    "description" : "The storage identifier.",
                                                    "format" : "pve-storage-id",
+                                                   "format_description" : "storage ID",
                                                    "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "typetext" : "<storage ID>"
+                                                },
+                                                "tar" : {
+                                                   "default" : 0,
+                                                   "description" : "Download dirs as 'tar.zst' instead of 'zip'.",
+                                                   "optional" : 1,
+                                                   "type" : "boolean",
+                                                   "typetext" : "<boolean>"
                                                 },
                                                 "volume" : {
                                                    "description" : "Backup volume ID or name. Currently only PBS snapshots are supported.",
@@ -40566,8 +44173,9 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           }
                                        }
                                     },
@@ -40628,8 +44236,9 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "timeframe" : {
                                              "description" : "Specify the time frame you are interested in.",
@@ -40700,8 +44309,9 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "timeframe" : {
                                              "description" : "Specify the time frame you are interested in.",
@@ -40798,14 +44408,15 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "tmpfilename" : {
                                              "description" : "The source file name. This parameter is usually set by the REST handler. You can only overwrite it when connecting to the trusted port on localhost.",
                                              "optional" : 1,
-                                             "type" : "string",
-                                             "typetext" : "<string>"
+                                             "pattern" : "/var/tmp/pveupload-[0-9a-f]+",
+                                             "type" : "string"
                                           }
                                        }
                                     },
@@ -40859,6 +44470,13 @@ const apiSchema = [
                                              "requires" : "checksum",
                                              "type" : "string"
                                           },
+                                          "compression" : {
+                                             "description" : "Decompress the downloaded file using the specified compression algorithm.",
+                                             "enum" : null,
+                                             "optional" : 1,
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
                                           "content" : {
                                              "description" : "Content type.",
                                              "enum" : [
@@ -40883,8 +44501,9 @@ const apiSchema = [
                                           "storage" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "url" : {
                                              "description" : "The URL to download the file from.",
@@ -40911,14 +44530,25 @@ const apiSchema = [
                                              ]
                                           ],
                                           [
-                                             "perm",
-                                             "/",
+                                             "or",
                                              [
-                                                "Sys.Audit",
-                                                "Sys.Modify"
+                                                "perm",
+                                                "/",
+                                                [
+                                                   "Sys.Audit",
+                                                   "Sys.Modify"
+                                                ]
+                                             ],
+                                             [
+                                                "perm",
+                                                "/nodes/{node}",
+                                                [
+                                                   "Sys.AccessNetwork"
+                                                ]
                                              ]
                                           ]
-                                       ]
+                                       ],
+                                       "description" : "Requires allocation access on the storage and as this allows one to probe the (local!) host network indirectly it also requires one of Sys.Modify on / (for backwards compatibility) or the newer Sys.AccessNetwork privilege on the node."
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
@@ -40930,6 +44560,119 @@ const apiSchema = [
                               "leaf" : 1,
                               "path" : "/nodes/{node}/storage/{storage}/download-url",
                               "text" : "download-url"
+                           },
+                           {
+                              "info" : {
+                                 "GET" : {
+                                    "allowtoken" : 1,
+                                    "description" : "Get the base parameters for creating a guest which imports data from a foreign importable guest, like an ESXi VM",
+                                    "method" : "GET",
+                                    "name" : "get_import_metadata",
+                                    "parameters" : {
+                                       "additionalProperties" : 0,
+                                       "properties" : {
+                                          "node" : {
+                                             "description" : "The cluster node name.",
+                                             "format" : "pve-node",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          },
+                                          "storage" : {
+                                             "description" : "The storage identifier.",
+                                             "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
+                                             "type" : "string",
+                                             "typetext" : "<storage ID>"
+                                          },
+                                          "volume" : {
+                                             "description" : "Volume identifier for the guest archive/entry.",
+                                             "type" : "string",
+                                             "typetext" : "<string>"
+                                          }
+                                       }
+                                    },
+                                    "permissions" : {
+                                       "description" : "You need read access for the volume.",
+                                       "user" : "all"
+                                    },
+                                    "protected" : 1,
+                                    "proxyto" : "node",
+                                    "returns" : {
+                                       "additionalProperties" : 0,
+                                       "description" : "Information about how to import a guest.",
+                                       "properties" : {
+                                          "create-args" : {
+                                             "additionalProperties" : 1,
+                                             "description" : "Parameters which can be used in a call to create a VM or container.",
+                                             "type" : "object"
+                                          },
+                                          "disks" : {
+                                             "additionalProperties" : 1,
+                                             "description" : "Recognised disk volumes as `$bus$id` => `$storeid:$path` map.",
+                                             "optional" : 1,
+                                             "type" : "object"
+                                          },
+                                          "net" : {
+                                             "additionalProperties" : 1,
+                                             "description" : "Recognised network interfaces as `net$id` => { ...params } object.",
+                                             "optional" : 1,
+                                             "type" : "object"
+                                          },
+                                          "source" : {
+                                             "description" : "The type of the import-source of this guest volume.",
+                                             "enum" : [
+                                                "esxi"
+                                             ],
+                                             "type" : "string"
+                                          },
+                                          "type" : {
+                                             "description" : "The type of guest this is going to produce.",
+                                             "enum" : [
+                                                "vm"
+                                             ],
+                                             "type" : "string"
+                                          },
+                                          "warnings" : {
+                                             "description" : "List of known issues that can affect the import of a guest. Note that lack of warning does not imply that there cannot be any problems.",
+                                             "items" : {
+                                                "additionalProperties" : 1,
+                                                "properties" : {
+                                                   "key" : {
+                                                      "description" : "Related subject (config) key of warning.",
+                                                      "optional" : 1,
+                                                      "type" : "string"
+                                                   },
+                                                   "type" : {
+                                                      "description" : "What this warning is about.",
+                                                      "enum" : [
+                                                         "cdrom-image-ignored",
+                                                         "efi-state-lost",
+                                                         "guest-is-running",
+                                                         "nvme-unsupported",
+                                                         "ovmf-with-lsi-unsupported",
+                                                         "serial-port-socket-only"
+                                                      ],
+                                                      "type" : "string"
+                                                   },
+                                                   "value" : {
+                                                      "description" : "Related subject (config) value of warning.",
+                                                      "optional" : 1,
+                                                      "type" : "string"
+                                                   }
+                                                },
+                                                "type" : "object"
+                                             },
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "type" : "object"
+                                    }
+                                 }
+                              },
+                              "leaf" : 1,
+                              "path" : "/nodes/{node}/storage/{storage}/import-metadata",
+                              "text" : "import-metadata"
                            }
                         ],
                         "info" : {
@@ -40950,8 +44693,9 @@ const apiSchema = [
                                     "storage" : {
                                        "description" : "The storage identifier.",
                                        "format" : "pve-storage-id",
+                                       "format_description" : "storage ID",
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<storage ID>"
                                     }
                                  }
                               },
@@ -41030,9 +44774,10 @@ const apiSchema = [
                               "storage" : {
                                  "description" : "Only list status for  specified storage",
                                  "format" : "pve-storage-id",
+                                 "format_description" : "storage ID",
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "<string>"
+                                 "typetext" : "<storage ID>"
                               },
                               "target" : {
                                  "description" : "If target is different to 'node', we only lists shared storages which content is accessible on this 'node' and the specified 'target' node.",
@@ -41081,6 +44826,7 @@ const apiSchema = [
                                  "storage" : {
                                     "description" : "The storage identifier.",
                                     "format" : "pve-storage-id",
+                                    "format_description" : "storage ID",
                                     "type" : "string"
                                  },
                                  "total" : {
@@ -41153,8 +44899,9 @@ const apiSchema = [
                                           "name" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -41169,10 +44916,10 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Modify",
-                                             "Datastore.Allocate"
+                                             "Sys.Modify"
                                           ]
-                                       ]
+                                       ],
+                                       "description" : "Requires additionally 'Datastore.Allocate' on /storage when setting 'cleanup-config'"
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
@@ -41208,11 +44955,8 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
+                                       "Sys.Audit"
+                                    ]
                                  ]
                               },
                               "protected" : 1,
@@ -41297,8 +45041,9 @@ const apiSchema = [
                                     "name" : {
                                        "description" : "The storage identifier.",
                                        "format" : "pve-storage-id",
+                                       "format_description" : "storage ID",
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<storage ID>"
                                     },
                                     "node" : {
                                        "description" : "The cluster node name.",
@@ -41313,10 +45058,10 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Modify",
-                                       "Datastore.Allocate"
+                                       "Sys.Modify"
                                     ]
-                                 ]
+                                 ],
+                                 "description" : "Requires additionally 'Datastore.Allocate' on /storage when setting 'add_storage'"
                               },
                               "protected" : 1,
                               "proxyto" : "node",
@@ -41358,8 +45103,9 @@ const apiSchema = [
                                           "name" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -41370,8 +45116,9 @@ const apiSchema = [
                                           "volume-group" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           }
                                        }
                                     },
@@ -41380,10 +45127,10 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Modify",
-                                             "Datastore.Allocate"
+                                             "Sys.Modify"
                                           ]
-                                       ]
+                                       ],
+                                       "description" : "Requires additionally 'Datastore.Allocate' on /storage when setting 'cleanup-config'"
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
@@ -41419,11 +45166,8 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
+                                       "Sys.Audit"
+                                    ]
                                  ]
                               },
                               "protected" : 1,
@@ -41484,8 +45228,9 @@ const apiSchema = [
                                     "name" : {
                                        "description" : "The storage identifier.",
                                        "format" : "pve-storage-id",
+                                       "format_description" : "storage ID",
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<storage ID>"
                                     },
                                     "node" : {
                                        "description" : "The cluster node name.",
@@ -41500,10 +45245,10 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Modify",
-                                       "Datastore.Allocate"
+                                       "Sys.Modify"
                                     ]
-                                 ]
+                                 ],
+                                 "description" : "Requires additionally 'Datastore.Allocate' on /storage when setting 'add_storage'"
                               },
                               "protected" : 1,
                               "proxyto" : "node",
@@ -41545,8 +45290,9 @@ const apiSchema = [
                                           "name" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -41561,10 +45307,10 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Modify",
-                                             "Datastore.Allocate"
+                                             "Sys.Modify"
                                           ]
-                                       ]
+                                       ],
+                                       "description" : "Requires additionally 'Datastore.Allocate' on /storage when setting 'cleanup-config'"
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
@@ -41600,11 +45346,8 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
+                                       "Sys.Audit"
+                                    ]
                                  ]
                               },
                               "protected" : 1,
@@ -41671,8 +45414,9 @@ const apiSchema = [
                                     "name" : {
                                        "description" : "The storage identifier.",
                                        "format" : "pve-storage-id",
+                                       "format_description" : "storage ID",
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<storage ID>"
                                     },
                                     "node" : {
                                        "description" : "The cluster node name.",
@@ -41687,10 +45431,10 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Modify",
-                                       "Datastore.Allocate"
+                                       "Sys.Modify"
                                     ]
-                                 ]
+                                 ],
+                                 "description" : "Requires additionally 'Datastore.Allocate' on /storage when setting 'add_storage'"
                               },
                               "protected" : 1,
                               "proxyto" : "node",
@@ -41732,8 +45476,9 @@ const apiSchema = [
                                           "name" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -41748,10 +45493,10 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Modify",
-                                             "Datastore.Allocate"
+                                             "Sys.Modify"
                                           ]
-                                       ]
+                                       ],
+                                       "description" : "Requires additionally 'Datastore.Allocate' on /storage when setting 'cleanup-config'"
                                     },
                                     "protected" : 1,
                                     "proxyto" : "node",
@@ -41770,8 +45515,9 @@ const apiSchema = [
                                           "name" : {
                                              "description" : "The storage identifier.",
                                              "format" : "pve-storage-id",
+                                             "format_description" : "storage ID",
                                              "type" : "string",
-                                             "typetext" : "<string>"
+                                             "typetext" : "<storage ID>"
                                           },
                                           "node" : {
                                              "description" : "The cluster node name.",
@@ -41786,11 +45532,8 @@ const apiSchema = [
                                           "perm",
                                           "/",
                                           [
-                                             "Sys.Audit",
-                                             "Datastore.Audit"
-                                          ],
-                                          "any",
-                                          1
+                                             "Sys.Audit"
+                                          ]
                                        ]
                                     },
                                     "protected" : 1,
@@ -41890,11 +45633,8 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
+                                       "Sys.Audit"
+                                    ]
                                  ]
                               },
                               "protected" : 1,
@@ -42007,8 +45747,9 @@ const apiSchema = [
                                     "name" : {
                                        "description" : "The storage identifier.",
                                        "format" : "pve-storage-id",
+                                       "format_description" : "storage ID",
                                        "type" : "string",
-                                       "typetext" : "<string>"
+                                       "typetext" : "<storage ID>"
                                     },
                                     "node" : {
                                        "description" : "The cluster node name.",
@@ -42038,10 +45779,10 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Modify",
-                                       "Datastore.Allocate"
+                                       "Sys.Modify"
                                     ]
-                                 ]
+                                 ],
+                                 "description" : "Requires additionally 'Datastore.Allocate' on /storage when setting 'add_storage'"
                               },
                               "protected" : 1,
                               "proxyto" : "node",
@@ -42102,21 +45843,15 @@ const apiSchema = [
                                        "perm",
                                        "/",
                                        [
-                                          "Sys.Audit",
-                                          "Datastore.Audit"
-                                       ],
-                                       "any",
-                                       1
+                                          "Sys.Audit"
+                                       ]
                                     ],
                                     [
                                        "perm",
                                        "/nodes/{node}",
                                        [
-                                          "Sys.Audit",
-                                          "Datastore.Audit"
-                                       ],
-                                       "any",
-                                       1
+                                          "Sys.Audit"
+                                       ]
                                     ]
                                  ]
                               },
@@ -42146,6 +45881,12 @@ const apiSchema = [
                                        "osdid" : {
                                           "type" : "integer"
                                        },
+                                       "osdid-list" : {
+                                          "items" : {
+                                             "type" : "integer"
+                                          },
+                                          "type" : "array"
+                                       },
                                        "parent" : {
                                           "description" : "For partitions only. The device path of the disk the partition resides on.",
                                           "optional" : 1,
@@ -42215,11 +45956,8 @@ const apiSchema = [
                                     "perm",
                                     "/",
                                     [
-                                       "Sys.Audit",
-                                       "Datastore.Audit"
-                                    ],
-                                    "any",
-                                    1
+                                       "Sys.Audit"
+                                    ]
                                  ]
                               },
                               "protected" : 1,
@@ -42430,7 +46168,7 @@ const apiSchema = [
                                     },
                                     "notify" : {
                                        "default" : 0,
-                                       "description" : "Send notification mail about new packages (to email address specified for user 'root@pam').",
+                                       "description" : "Send notification about new packages.",
                                        "optional" : 1,
                                        "type" : "boolean",
                                        "typetext" : "<boolean>"
@@ -42928,8 +46666,8 @@ const apiSchema = [
                                        "additionalProperties" : 0,
                                        "properties" : {
                                           "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
@@ -43110,8 +46848,8 @@ const apiSchema = [
                                              "typetext" : "<string>"
                                           },
                                           "digest" : {
-                                             "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                             "maxLength" : 40,
+                                             "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                             "maxLength" : 64,
                                              "optional" : 1,
                                              "type" : "string",
                                              "typetext" : "<string>"
@@ -43131,7 +46869,7 @@ const apiSchema = [
                                              "typetext" : "<integer> (0 - N)"
                                           },
                                           "icmp-type" : {
-                                             "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
+                                             "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
                                              "format" : "pve-fw-icmp-type-spec",
                                              "optional" : 1,
                                              "type" : "string",
@@ -43320,8 +47058,8 @@ const apiSchema = [
                                        "typetext" : "<string>"
                                     },
                                     "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
@@ -43341,7 +47079,7 @@ const apiSchema = [
                                        "typetext" : "<integer> (0 - N)"
                                     },
                                     "icmp-type" : {
-                                       "description" : "Specify icmp-type. Only valid if proto equals 'icmp'.",
+                                       "description" : "Specify icmp-type. Only valid if proto equals 'icmp' or 'icmpv6'/'ipv6-icmp'.",
                                        "format" : "pve-fw-icmp-type-spec",
                                        "optional" : 1,
                                        "type" : "string",
@@ -43560,6 +47298,12 @@ const apiSchema = [
                                        "optional" : 1,
                                        "type" : "integer"
                                     },
+                                    "nftables" : {
+                                       "default" : 0,
+                                       "description" : "Enable nftables based firewall (tech preview)",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    },
                                     "nosmurfs" : {
                                        "description" : "Enable SMURFS filter.",
                                        "optional" : 1,
@@ -43641,8 +47385,8 @@ const apiSchema = [
                                        "typetext" : "<string>"
                                     },
                                     "digest" : {
-                                       "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                       "maxLength" : 40,
+                                       "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                       "maxLength" : 64,
                                        "optional" : 1,
                                        "type" : "string",
                                        "typetext" : "<string>"
@@ -43739,6 +47483,13 @@ const apiSchema = [
                                        "type" : "integer",
                                        "typetext" : "<integer> (30 - 60)"
                                     },
+                                    "nftables" : {
+                                       "default" : 0,
+                                       "description" : "Enable nftables based firewall (tech preview)",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
                                     "node" : {
                                        "description" : "The cluster node name.",
                                        "format" : "pve-node",
@@ -44160,10 +47911,11 @@ const apiSchema = [
                               "guest" : {
                                  "description" : "Only list replication jobs for this guest.",
                                  "format" : "pve-vmid",
-                                 "minimum" : 1,
+                                 "maximum" : 999999999,
+                                 "minimum" : 100,
                                  "optional" : 1,
                                  "type" : "integer",
-                                 "typetext" : "<integer> (1 - N)"
+                                 "typetext" : "<integer> (100 - 999999999)"
                               },
                               "node" : {
                                  "description" : "The cluster node name.",
@@ -44775,8 +48527,32 @@ const apiSchema = [
                                  "type" : "integer"
                               },
                               "wakeonlan" : {
-                                 "description" : "MAC address for wake on LAN",
-                                 "format" : "mac-addr",
+                                 "description" : "Node specific wake on LAN settings.",
+                                 "format" : {
+                                    "bind-interface" : {
+                                       "default" : "The interface carrying the default route",
+                                       "description" : "Bind to this interface when sending wake on LAN packet",
+                                       "format" : "pve-iface",
+                                       "format_description" : "bind interface",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "broadcast-address" : {
+                                       "default" : "255.255.255.255",
+                                       "description" : "IPv4 broadcast address to use when sending wake on LAN packet",
+                                       "format" : "ipv4",
+                                       "format_description" : "IPv4 broadcast address",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "mac" : {
+                                       "default_key" : 1,
+                                       "description" : "MAC address for wake on LAN",
+                                       "format" : "mac-addr",
+                                       "format_description" : "MAC address",
+                                       "type" : "string"
+                                    }
+                                 },
                                  "optional" : 1,
                                  "type" : "string"
                               }
@@ -44882,11 +48658,35 @@ const apiSchema = [
                                  "typetext" : "<integer> (0 - 300)"
                               },
                               "wakeonlan" : {
-                                 "description" : "MAC address for wake on LAN",
-                                 "format" : "mac-addr",
+                                 "description" : "Node specific wake on LAN settings.",
+                                 "format" : {
+                                    "bind-interface" : {
+                                       "default" : "The interface carrying the default route",
+                                       "description" : "Bind to this interface when sending wake on LAN packet",
+                                       "format" : "pve-iface",
+                                       "format_description" : "bind interface",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "broadcast-address" : {
+                                       "default" : "255.255.255.255",
+                                       "description" : "IPv4 broadcast address to use when sending wake on LAN packet",
+                                       "format" : "ipv4",
+                                       "format_description" : "IPv4 broadcast address",
+                                       "optional" : 1,
+                                       "type" : "string"
+                                    },
+                                    "mac" : {
+                                       "default_key" : 1,
+                                       "description" : "MAC address for wake on LAN",
+                                       "format" : "mac-addr",
+                                       "format_description" : "MAC address",
+                                       "type" : "string"
+                                    }
+                                 },
                                  "optional" : 1,
                                  "type" : "string",
-                                 "typetext" : "<string>"
+                                 "typetext" : "[mac=]<MAC address> [,bind-interface=<bind interface>] [,broadcast-address=<IPv4 broadcast address>]"
                               }
                            }
                         },
@@ -45217,6 +49017,50 @@ const apiSchema = [
                         },
                         "proxyto" : "node",
                         "returns" : {
+                           "additionalProperties" : 1,
+                           "properties" : {
+                              "boot-info" : {
+                                 "description" : "Meta-information about the boot mode.",
+                                 "properties" : {
+                                    "mode" : {
+                                       "description" : "Through which firmware the system got booted.",
+                                       "enum" : [
+                                          "efi",
+                                          "legacy-bios"
+                                       ],
+                                       "type" : "string"
+                                    },
+                                    "secureboot" : {
+                                       "description" : "System is booted in secure mode, only applicable for the \"efi\" mode.",
+                                       "optional" : 1,
+                                       "type" : "boolean"
+                                    }
+                                 },
+                                 "type" : "object"
+                              },
+                              "current-kernel" : {
+                                 "description" : "The uptime of the system in seconds.",
+                                 "properties" : {
+                                    "machine" : {
+                                       "description" : "Hardware (architecture) type",
+                                       "type" : "string"
+                                    },
+                                    "release" : {
+                                       "description" : "OS kernel release (e.g., \"6.8.0\")",
+                                       "type" : "string"
+                                    },
+                                    "sysname" : {
+                                       "description" : "OS kernel name (e.g., \"Linux\")",
+                                       "type" : "string"
+                                    },
+                                    "version" : {
+                                       "description" : "OS kernel version with build info",
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "type" : "object"
+                              }
+                           },
                            "type" : "object"
                         }
                      },
@@ -45309,7 +49153,7 @@ const apiSchema = [
                   "info" : {
                      "POST" : {
                         "allowtoken" : 1,
-                        "description" : "Execute multiple commands in order.",
+                        "description" : "Execute multiple commands in order, root only.",
                         "method" : "POST",
                         "name" : "execute",
                         "parameters" : {
@@ -45320,7 +49164,7 @@ const apiSchema = [
                                  "format" : "pve-command-batch",
                                  "type" : "string",
                                  "typetext" : "<string>",
-                                 "verbose_description" : "JSON encoded array of commands, where each command is an object with the following properties:\n  args:      <object>\n\n\t     A set of parameter names and their values.\n\n  method:    (GET|POST|PUT|DELETE)\n\n\t     A method related to the API endpoint (GET, POST etc.).\n\n  path:      <string>\n\n\t     A relative path to an API endpoint on this node.\n\n"
+                                 "verbose_description" : "JSON encoded array of commands, where each command is an object with the following properties:\n  args:      <object>\n\t     A set of parameter names and their values.\n\n  method:    (GET|POST|PUT|DELETE)\n\t     A method related to the API endpoint (GET, POST etc.).\n\n  path:      <string>\n\t     A relative path to an API endpoint on this node.\n\n"
                               },
                               "node" : {
                                  "description" : "The cluster node name.",
@@ -45330,15 +49174,6 @@ const apiSchema = [
                               }
                            }
                         },
-                        "permissions" : {
-                           "check" : [
-                              "perm",
-                              "/nodes/{node}",
-                              [
-                                 "Sys.Audit"
-                              ]
-                           ]
-                        },
                         "protected" : 1,
                         "proxyto" : "node",
                         "returns" : {
@@ -45690,10 +49525,10 @@ const apiSchema = [
                            "properties" : {
                               "cmd" : {
                                  "default" : "login",
-                                 "description" : "Run specific command or default to login.",
+                                 "description" : "Run specific command or default to login (requires 'root@pam')",
                                  "enum" : [
-                                    "ceph_install",
                                     "upgrade",
+                                    "ceph_install",
                                     "login"
                                  ],
                                  "optional" : 1,
@@ -45744,8 +49579,7 @@ const apiSchema = [
                               [
                                  "Sys.Console"
                               ]
-                           ],
-                           "description" : "Restricted to users on realm 'pam'"
+                           ]
                         },
                         "protected" : 1,
                         "returns" : {
@@ -45786,10 +49620,10 @@ const apiSchema = [
                            "properties" : {
                               "cmd" : {
                                  "default" : "login",
-                                 "description" : "Run specific command or default to login.",
+                                 "description" : "Run specific command or default to login (requires 'root@pam')",
                                  "enum" : [
-                                    "ceph_install",
                                     "upgrade",
+                                    "ceph_install",
                                     "login"
                                  ],
                                  "optional" : 1,
@@ -45818,8 +49652,7 @@ const apiSchema = [
                               [
                                  "Sys.Console"
                               ]
-                           ],
-                           "description" : "Restricted to users on realm 'pam'"
+                           ]
                         },
                         "protected" : 1,
                         "returns" : {
@@ -45884,7 +49717,7 @@ const apiSchema = [
                                  "Sys.Console"
                               ]
                            ],
-                           "description" : "Restricted to users on realm 'pam'. You also need to pass a valid ticket (vncticket)."
+                           "description" : "You also need to pass a valid ticket (vncticket)."
                         },
                         "returns" : {
                            "properties" : {
@@ -45912,10 +49745,10 @@ const apiSchema = [
                            "properties" : {
                               "cmd" : {
                                  "default" : "login",
-                                 "description" : "Run specific command or default to login.",
+                                 "description" : "Run specific command or default to login (requires 'root@pam')",
                                  "enum" : [
-                                    "ceph_install",
                                     "upgrade",
+                                    "ceph_install",
                                     "login"
                                  ],
                                  "optional" : 1,
@@ -45951,8 +49784,7 @@ const apiSchema = [
                               [
                                  "Sys.Console"
                               ]
-                           ],
-                           "description" : "Restricted to users on realm 'pam'"
+                           ]
                         },
                         "protected" : 1,
                         "proxyto" : "node",
@@ -46239,8 +50071,9 @@ const apiSchema = [
                               "storage" : {
                                  "description" : "The storage where the template will be stored",
                                  "format" : "pve-storage-id",
+                                 "format_description" : "storage ID",
                                  "type" : "string",
-                                 "typetext" : "<string>"
+                                 "typetext" : "<storage ID>"
                               },
                               "template" : {
                                  "description" : "The template which will downloaded",
@@ -46302,11 +50135,21 @@ const apiSchema = [
                         },
                         "permissions" : {
                            "check" : [
-                              "perm",
-                              "/",
+                              "or",
                               [
-                                 "Sys.Audit",
-                                 "Sys.Modify"
+                                 "perm",
+                                 "/",
+                                 [
+                                    "Sys.Audit",
+                                    "Sys.Modify"
+                                 ]
+                              ],
+                              [
+                                 "perm",
+                                 "/nodes/{node}",
+                                 [
+                                    "Sys.AccessNetwork"
+                                 ]
                               ]
                            ]
                         },
@@ -46476,6 +50319,46 @@ const apiSchema = [
                   "path" : "/nodes/{node}/stopall",
                   "text" : "stopall"
                },
+               {
+                  "info" : {
+                     "POST" : {
+                        "allowtoken" : 1,
+                        "description" : "Suspend all VMs.",
+                        "method" : "POST",
+                        "name" : "suspendall",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "node" : {
+                                 "description" : "The cluster node name.",
+                                 "format" : "pve-node",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "vms" : {
+                                 "description" : "Only consider Guests with these IDs.",
+                                 "format" : "pve-vmid-list",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "description" : "The 'VM.PowerMgmt' permission is required on '/' or on '/vms/<ID>' for each ID passed via the 'vms' parameter. Additionally, you need 'VM.Config.Disk' on the '/vms/{vmid}' path and 'Datastore.AllocateSpace' for the configured state-storage(s)",
+                           "user" : "all"
+                        },
+                        "protected" : 1,
+                        "proxyto" : "node",
+                        "returns" : {
+                           "type" : "string"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/nodes/{node}/suspendall",
+                  "text" : "suspendall"
+               },
                {
                   "info" : {
                      "POST" : {
@@ -46571,8 +50454,8 @@ const apiSchema = [
                                  "type" : "string"
                               },
                               "digest" : {
-                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                 "maxLength" : 40,
+                                 "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 64,
                                  "optional" : 1,
                                  "type" : "string"
                               }
@@ -46594,8 +50477,8 @@ const apiSchema = [
                                  "typetext" : "<string>"
                               },
                               "digest" : {
-                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                 "maxLength" : 40,
+                                 "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 64,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
@@ -46769,8 +50652,9 @@ const apiSchema = [
                         "storage" : {
                            "description" : "The storage identifier.",
                            "format" : "pve-storage-id",
+                           "format_description" : "storage ID",
                            "type" : "string",
-                           "typetext" : "<string>"
+                           "typetext" : "<storage ID>"
                         }
                      }
                   },
@@ -46799,8 +50683,9 @@ const apiSchema = [
                         "storage" : {
                            "description" : "The storage identifier.",
                            "format" : "pve-storage-id",
+                           "format_description" : "storage ID",
                            "type" : "string",
-                           "typetext" : "<string>"
+                           "typetext" : "<storage ID>"
                         }
                      }
                   },
@@ -46832,7 +50717,7 @@ const apiSchema = [
                            "typetext" : "<string>"
                         },
                         "bwlimit" : {
-                           "description" : "Set bandwidth/io limits various operations.",
+                           "description" : "Set I/O bandwidth limit for various operations (in KiB/s).",
                            "format" : {
                               "clone" : {
                                  "description" : "bandwidth limit in KiB/s for cloning disks",
@@ -46900,6 +50785,20 @@ const apiSchema = [
                            "type" : "string",
                            "typetext" : "<string>"
                         },
+                        "create-base-path" : {
+                           "default" : "yes",
+                           "description" : "Create the base directory if it doesn't exist.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "create-subdirs" : {
+                           "default" : "yes",
+                           "description" : "Populate the directory with the default structure.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
                         "data-pool" : {
                            "description" : "Data Pool (for erasure coding only)",
                            "optional" : 1,
@@ -46915,8 +50814,8 @@ const apiSchema = [
                            "typetext" : "<string>"
                         },
                         "digest" : {
-                           "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                           "maxLength" : 40,
+                           "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                           "maxLength" : 64,
                            "optional" : 1,
                            "type" : "string",
                            "typetext" : "<string>"
@@ -47014,7 +50913,7 @@ const apiSchema = [
                         },
                         "mkdir" : {
                            "default" : "yes",
-                           "description" : "Create the directory if it doesn't exist.",
+                           "description" : "Create the directory if it doesn't exist and populate it with default sub-dirs. NOTE: Deprecated, use the 'create-base-path' and 'create-subdirs' options instead.",
                            "optional" : 1,
                            "type" : "boolean",
                            "typetext" : "<boolean>"
@@ -47047,7 +50946,7 @@ const apiSchema = [
                            "typetext" : "<boolean>"
                         },
                         "nodes" : {
-                           "description" : "List of cluster node names.",
+                           "description" : "List of nodes for which the storage configuration applies.",
                            "format" : "pve-node-list",
                            "optional" : 1,
                            "type" : "string",
@@ -47060,7 +50959,7 @@ const apiSchema = [
                            "typetext" : "<boolean>"
                         },
                         "options" : {
-                           "description" : "NFS mount options (see 'man nfs')",
+                           "description" : "NFS/CIFS mount options (see 'man nfs' or 'man mount.cifs')",
                            "format" : "pve-storage-options",
                            "optional" : 1,
                            "type" : "string",
@@ -47080,7 +50979,6 @@ const apiSchema = [
                            "typetext" : "<string>"
                         },
                         "port" : {
-                           "default" : 8007,
                            "description" : "For non default port.",
                            "maximum" : 65535,
                            "minimum" : 1,
@@ -47135,7 +51033,14 @@ const apiSchema = [
                            "typetext" : "<string>"
                         },
                         "shared" : {
-                           "description" : "Mark storage as shared.",
+                           "description" : "Indicate that this is a single storage with the same contents on all nodes (or all listed in the 'nodes' option). It will not make the contents of a local storage automatically accessible to other nodes, it just marks an already shared storage as such!",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "skip-cert-verification" : {
+                           "default" : "false",
+                           "description" : "Disable TLS certificate verification, only enable on fully trusted networks!",
                            "optional" : 1,
                            "type" : "boolean",
                            "typetext" : "<boolean>"
@@ -47163,8 +51068,9 @@ const apiSchema = [
                         "storage" : {
                            "description" : "The storage identifier.",
                            "format" : "pve-storage-id",
+                           "format_description" : "storage ID",
                            "type" : "string",
-                           "typetext" : "<string>"
+                           "typetext" : "<storage ID>"
                         },
                         "subdir" : {
                            "description" : "Subdir to mount.",
@@ -47234,6 +51140,7 @@ const apiSchema = [
                               "cephfs",
                               "cifs",
                               "dir",
+                              "esxi",
                               "glusterfs",
                               "iscsi",
                               "iscsidirect",
@@ -47273,6 +51180,7 @@ const apiSchema = [
                         "cephfs",
                         "cifs",
                         "dir",
+                        "esxi",
                         "glusterfs",
                         "iscsi",
                         "iscsidirect",
@@ -47339,7 +51247,7 @@ const apiSchema = [
                      "typetext" : "<string>"
                   },
                   "bwlimit" : {
-                     "description" : "Set bandwidth/io limits various operations.",
+                     "description" : "Set I/O bandwidth limit for various operations (in KiB/s).",
                      "format" : {
                         "clone" : {
                            "description" : "bandwidth limit in KiB/s for cloning disks",
@@ -47407,6 +51315,20 @@ const apiSchema = [
                      "type" : "string",
                      "typetext" : "<string>"
                   },
+                  "create-base-path" : {
+                     "default" : "yes",
+                     "description" : "Create the base directory if it doesn't exist.",
+                     "optional" : 1,
+                     "type" : "boolean",
+                     "typetext" : "<boolean>"
+                  },
+                  "create-subdirs" : {
+                     "default" : "yes",
+                     "description" : "Populate the directory with the default structure.",
+                     "optional" : 1,
+                     "type" : "boolean",
+                     "typetext" : "<boolean>"
+                  },
                   "data-pool" : {
                      "description" : "Data Pool (for erasure coding only)",
                      "optional" : 1,
@@ -47525,7 +51447,7 @@ const apiSchema = [
                   },
                   "mkdir" : {
                      "default" : "yes",
-                     "description" : "Create the directory if it doesn't exist.",
+                     "description" : "Create the directory if it doesn't exist and populate it with default sub-dirs. NOTE: Deprecated, use the 'create-base-path' and 'create-subdirs' options instead.",
                      "optional" : 1,
                      "type" : "boolean",
                      "typetext" : "<boolean>"
@@ -47558,7 +51480,7 @@ const apiSchema = [
                      "typetext" : "<boolean>"
                   },
                   "nodes" : {
-                     "description" : "List of cluster node names.",
+                     "description" : "List of nodes for which the storage configuration applies.",
                      "format" : "pve-node-list",
                      "optional" : 1,
                      "type" : "string",
@@ -47571,7 +51493,7 @@ const apiSchema = [
                      "typetext" : "<boolean>"
                   },
                   "options" : {
-                     "description" : "NFS mount options (see 'man nfs')",
+                     "description" : "NFS/CIFS mount options (see 'man nfs' or 'man mount.cifs')",
                      "format" : "pve-storage-options",
                      "optional" : 1,
                      "type" : "string",
@@ -47598,7 +51520,6 @@ const apiSchema = [
                      "typetext" : "<string>"
                   },
                   "port" : {
-                     "default" : 8007,
                      "description" : "For non default port.",
                      "maximum" : 65535,
                      "minimum" : 1,
@@ -47666,7 +51587,14 @@ const apiSchema = [
                      "typetext" : "<string>"
                   },
                   "shared" : {
-                     "description" : "Mark storage as shared.",
+                     "description" : "Indicate that this is a single storage with the same contents on all nodes (or all listed in the 'nodes' option). It will not make the contents of a local storage automatically accessible to other nodes, it just marks an already shared storage as such!",
+                     "optional" : 1,
+                     "type" : "boolean",
+                     "typetext" : "<boolean>"
+                  },
+                  "skip-cert-verification" : {
+                     "default" : "false",
+                     "description" : "Disable TLS certificate verification, only enable on fully trusted networks!",
                      "optional" : 1,
                      "type" : "boolean",
                      "typetext" : "<boolean>"
@@ -47694,8 +51622,9 @@ const apiSchema = [
                   "storage" : {
                      "description" : "The storage identifier.",
                      "format" : "pve-storage-id",
+                     "format_description" : "storage ID",
                      "type" : "string",
-                     "typetext" : "<string>"
+                     "typetext" : "<storage ID>"
                   },
                   "subdir" : {
                      "description" : "Subdir to mount.",
@@ -47740,6 +51669,7 @@ const apiSchema = [
                         "cephfs",
                         "cifs",
                         "dir",
+                        "esxi",
                         "glusterfs",
                         "iscsi",
                         "iscsidirect",
@@ -47811,6 +51741,7 @@ const apiSchema = [
                         "cephfs",
                         "cifs",
                         "dir",
+                        "esxi",
                         "glusterfs",
                         "iscsi",
                         "iscsidirect",
@@ -47928,6 +51859,43 @@ const apiSchema = [
                         "path" : "/access/users/{userid}/tfa",
                         "text" : "tfa"
                      },
+                     {
+                        "info" : {
+                           "PUT" : {
+                              "allowtoken" : 1,
+                              "description" : "Unlock a user's TFA authentication.",
+                              "method" : "PUT",
+                              "name" : "unlock_tfa",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "userid" : {
+                                       "description" : "Full User ID, in the `name@realm` format.",
+                                       "format" : "pve-userid",
+                                       "maxLength" : 64,
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "userid-group",
+                                    [
+                                       "User.Modify"
+                                    ]
+                                 ]
+                              },
+                              "protected" : 1,
+                              "returns" : {
+                                 "type" : "boolean"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/access/users/{userid}/unlock-tfa",
+                        "text" : "unlock-tfa"
+                     },
                      {
                         "children" : [
                            {
@@ -48362,11 +52330,13 @@ const apiSchema = [
                            "additionalProperties" : 0,
                            "properties" : {
                               "comment" : {
+                                 "maxLength" : 2048,
                                  "optional" : 1,
                                  "type" : "string"
                               },
                               "email" : {
                                  "format" : "email-opt",
+                                 "maxLength" : 254,
                                  "optional" : 1,
                                  "type" : "string"
                               },
@@ -48383,6 +52353,7 @@ const apiSchema = [
                                  "type" : "integer"
                               },
                               "firstname" : {
+                                 "maxLength" : 1024,
                                  "optional" : 1,
                                  "type" : "string"
                               },
@@ -48397,9 +52368,11 @@ const apiSchema = [
                               "keys" : {
                                  "description" : "Keys for two factor auth (yubico).",
                                  "optional" : 1,
+                                 "pattern" : "[0-9a-zA-Z!=]{0,4096}",
                                  "type" : "string"
                               },
                               "lastname" : {
+                                 "maxLength" : 1024,
                                  "optional" : 1,
                                  "type" : "string"
                               },
@@ -48448,12 +52421,14 @@ const apiSchema = [
                                  "typetext" : "<boolean>"
                               },
                               "comment" : {
+                                 "maxLength" : 2048,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
                               "email" : {
                                  "format" : "email-opt",
+                                 "maxLength" : 254,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
@@ -48473,6 +52448,7 @@ const apiSchema = [
                                  "typetext" : "<integer> (0 - N)"
                               },
                               "firstname" : {
+                                 "maxLength" : 1024,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
@@ -48486,10 +52462,11 @@ const apiSchema = [
                               "keys" : {
                                  "description" : "Keys for two factor auth (yubico).",
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "pattern" : "[0-9a-zA-Z!=]{0,4096}",
+                                 "type" : "string"
                               },
                               "lastname" : {
+                                 "maxLength" : 1024,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
@@ -48552,15 +52529,18 @@ const apiSchema = [
                      "description" : "The returned list is restricted to users where you have 'User.Modify' or 'Sys.Audit' permissions on '/access/groups' or on a group the user belongs too. But it always includes the current (authenticated) user.",
                      "user" : "all"
                   },
+                  "protected" : 1,
                   "returns" : {
                      "items" : {
                         "properties" : {
                            "comment" : {
+                              "maxLength" : 2048,
                               "optional" : 1,
                               "type" : "string"
                            },
                            "email" : {
                               "format" : "email-opt",
+                              "maxLength" : 254,
                               "optional" : 1,
                               "type" : "string"
                            },
@@ -48577,6 +52557,7 @@ const apiSchema = [
                               "type" : "integer"
                            },
                            "firstname" : {
+                              "maxLength" : 1024,
                               "optional" : 1,
                               "type" : "string"
                            },
@@ -48588,9 +52569,11 @@ const apiSchema = [
                            "keys" : {
                               "description" : "Keys for two factor auth (yubico).",
                               "optional" : 1,
+                              "pattern" : "[0-9a-zA-Z!=]{0,4096}",
                               "type" : "string"
                            },
                            "lastname" : {
+                              "maxLength" : 1024,
                               "optional" : 1,
                               "type" : "string"
                            },
@@ -48600,6 +52583,11 @@ const apiSchema = [
                               "optional" : 1,
                               "type" : "string"
                            },
+                           "tfa-locked-until" : {
+                              "description" : "Contains a timestamp until when a user is locked out of 2nd factors.",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
                            "tokens" : {
                               "items" : {
                                  "properties" : {
@@ -48631,6 +52619,11 @@ const apiSchema = [
                               "optional" : 1,
                               "type" : "array"
                            },
+                           "totp-locked" : {
+                              "description" : "True if the user is currently locked out of TOTP factors.",
+                              "optional" : 1,
+                              "type" : "boolean"
+                           },
                            "userid" : {
                               "description" : "Full User ID, in the `name@realm` format.",
                               "format" : "pve-userid",
@@ -48658,12 +52651,14 @@ const apiSchema = [
                      "additionalProperties" : 0,
                      "properties" : {
                         "comment" : {
+                           "maxLength" : 2048,
                            "optional" : 1,
                            "type" : "string",
                            "typetext" : "<string>"
                         },
                         "email" : {
                            "format" : "email-opt",
+                           "maxLength" : 254,
                            "optional" : 1,
                            "type" : "string",
                            "typetext" : "<string>"
@@ -48683,6 +52678,7 @@ const apiSchema = [
                            "typetext" : "<integer> (0 - N)"
                         },
                         "firstname" : {
+                           "maxLength" : 1024,
                            "optional" : 1,
                            "type" : "string",
                            "typetext" : "<string>"
@@ -48696,10 +52692,11 @@ const apiSchema = [
                         "keys" : {
                            "description" : "Keys for two factor auth (yubico).",
                            "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
+                           "pattern" : "[0-9a-zA-Z!=]{0,4096}",
+                           "type" : "string"
                         },
                         "lastname" : {
+                           "maxLength" : 1024,
                            "optional" : 1,
                            "type" : "string",
                            "typetext" : "<string>"
@@ -49024,6 +53021,18 @@ const apiSchema = [
                                  "optional" : 1,
                                  "type" : "boolean"
                               },
+                              "Mapping.Audit" : {
+                                 "optional" : 1,
+                                 "type" : "boolean"
+                              },
+                              "Mapping.Modify" : {
+                                 "optional" : 1,
+                                 "type" : "boolean"
+                              },
+                              "Mapping.Use" : {
+                                 "optional" : 1,
+                                 "type" : "boolean"
+                              },
                               "Permissions.Modify" : {
                                  "optional" : 1,
                                  "type" : "boolean"
@@ -49052,6 +53061,14 @@ const apiSchema = [
                                  "optional" : 1,
                                  "type" : "boolean"
                               },
+                              "SDN.Use" : {
+                                 "optional" : 1,
+                                 "type" : "boolean"
+                              },
+                              "Sys.AccessNetwork" : {
+                                 "optional" : 1,
+                                 "type" : "boolean"
+                              },
                               "Sys.Audit" : {
                                  "optional" : 1,
                                  "type" : "boolean"
@@ -49576,8 +53593,8 @@ const apiSchema = [
                               "acr-values" : {
                                  "description" : "Specifies the Authentication Context Class Reference values that theAuthorization Server is being requested to use for the Auth Request.",
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "pattern" : "^[^\\x00-\\x1F\\x7F <>#\"]*$",
+                                 "type" : "string"
                               },
                               "autocreate" : {
                                  "default" : 0,
@@ -49590,15 +53607,15 @@ const apiSchema = [
                                  "description" : "LDAP base domain name",
                                  "maxLength" : 256,
                                  "optional" : 1,
-                                 "pattern" : "(?^:\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+)(,\\s*\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+))*)",
-                                 "type" : "string"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
                               "bind_dn" : {
                                  "description" : "LDAP bind domain name",
                                  "maxLength" : 256,
                                  "optional" : 1,
-                                 "pattern" : "(?^:\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+)(,\\s*\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+))*)",
-                                 "type" : "string"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
                               "capath" : {
                                  "default" : "/etc/ssl/certs",
@@ -49626,6 +53643,13 @@ const apiSchema = [
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
+                              "check-connection" : {
+                                 "default" : 0,
+                                 "description" : "Check bind connection to the server.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
                               "client-id" : {
                                  "description" : "OpenID Client ID",
                                  "maxLength" : 256,
@@ -49662,8 +53686,8 @@ const apiSchema = [
                                  "typetext" : "<string>"
                               },
                               "digest" : {
-                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
-                                 "maxLength" : 40,
+                                 "description" : "Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 64,
                                  "optional" : 1,
                                  "type" : "string",
                                  "typetext" : "<string>"
@@ -49694,8 +53718,8 @@ const apiSchema = [
                                  "description" : "LDAP base domain name for group sync. If not set, the base_dn will be used.",
                                  "maxLength" : 256,
                                  "optional" : 1,
-                                 "pattern" : "(?^:\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+)(,\\s*\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+))*)",
-                                 "type" : "string"
+                                 "type" : "string",
+                                 "typetext" : "<string>"
                               },
                               "group_filter" : {
                                  "description" : "LDAP filter for group sync.",
@@ -49922,8 +53946,8 @@ const apiSchema = [
                         "acr-values" : {
                            "description" : "Specifies the Authentication Context Class Reference values that theAuthorization Server is being requested to use for the Auth Request.",
                            "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
+                           "pattern" : "^[^\\x00-\\x1F\\x7F <>#\"]*$",
+                           "type" : "string"
                         },
                         "autocreate" : {
                            "default" : 0,
@@ -49936,15 +53960,15 @@ const apiSchema = [
                            "description" : "LDAP base domain name",
                            "maxLength" : 256,
                            "optional" : 1,
-                           "pattern" : "(?^:\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+)(,\\s*\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+))*)",
-                           "type" : "string"
+                           "type" : "string",
+                           "typetext" : "<string>"
                         },
                         "bind_dn" : {
                            "description" : "LDAP bind domain name",
                            "maxLength" : 256,
                            "optional" : 1,
-                           "pattern" : "(?^:\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+)(,\\s*\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+))*)",
-                           "type" : "string"
+                           "type" : "string",
+                           "typetext" : "<string>"
                         },
                         "capath" : {
                            "default" : "/etc/ssl/certs",
@@ -49972,6 +53996,13 @@ const apiSchema = [
                            "type" : "string",
                            "typetext" : "<string>"
                         },
+                        "check-connection" : {
+                           "default" : 0,
+                           "description" : "Check bind connection to the server.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
                         "client-id" : {
                            "description" : "OpenID Client ID",
                            "maxLength" : 256,
@@ -50025,8 +54056,8 @@ const apiSchema = [
                            "description" : "LDAP base domain name for group sync. If not set, the base_dn will be used.",
                            "maxLength" : 256,
                            "optional" : 1,
-                           "pattern" : "(?^:\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+)(,\\s*\\w+=(\"[\\w ,+/<>;=]+\"|[^ ,+\"/<>;=]+))*)",
-                           "type" : "string"
+                           "type" : "string",
+                           "typetext" : "<string>"
                         },
                         "group_filter" : {
                            "description" : "LDAP filter for group sync.",
@@ -50367,7 +54398,7 @@ const apiSchema = [
                                        "typetext" : "<string>"
                                     },
                                     "password" : {
-                                       "description" : "The current password.",
+                                       "description" : "The current password of the user performing the change.",
                                        "maxLength" : 64,
                                        "minLength" : 5,
                                        "optional" : 1,
@@ -50404,7 +54435,7 @@ const apiSchema = [
                               }
                            },
                            "GET" : {
-                              "allowtoken" : 0,
+                              "allowtoken" : 1,
                               "description" : "Fetch a requested TFA entry if present.",
                               "method" : "GET",
                               "name" : "get_tfa_entry",
@@ -50505,7 +54536,7 @@ const apiSchema = [
                                        "typetext" : "<string>"
                                     },
                                     "password" : {
-                                       "description" : "The current password.",
+                                       "description" : "The current password of the user performing the change.",
                                        "maxLength" : 64,
                                        "minLength" : 5,
                                        "optional" : 1,
@@ -50549,7 +54580,7 @@ const apiSchema = [
                   ],
                   "info" : {
                      "GET" : {
-                        "allowtoken" : 0,
+                        "allowtoken" : 1,
                         "description" : "List TFA configurations of users.",
                         "method" : "GET",
                         "name" : "list_user_tfa",
@@ -50619,6 +54650,12 @@ const apiSchema = [
                               },
                               "type" : "object"
                            },
+                           "links" : [
+                              {
+                                 "href" : "{id}",
+                                 "rel" : "child"
+                              }
+                           ],
                            "type" : "array"
                         }
                      },
@@ -50644,7 +54681,7 @@ const apiSchema = [
                                  "typetext" : "<string>"
                               },
                               "password" : {
-                                 "description" : "The current password.",
+                                 "description" : "The current password of the user performing the change.",
                                  "maxLength" : 64,
                                  "minLength" : 5,
                                  "optional" : 1,
@@ -50731,7 +54768,7 @@ const apiSchema = [
             ],
             "info" : {
                "GET" : {
-                  "allowtoken" : 0,
+                  "allowtoken" : 1,
                   "description" : "List TFA configurations of users.",
                   "method" : "GET",
                   "name" : "list_tfa",
@@ -50785,6 +54822,16 @@ const apiSchema = [
                               },
                               "type" : "array"
                            },
+                           "tfa-locked-until" : {
+                              "description" : "Contains a timestamp until when a user is locked out of 2nd factors.",
+                              "optional" : 1,
+                              "type" : "integer"
+                           },
+                           "totp-locked" : {
+                              "description" : "True if the user is currently locked out of TOTP factors.",
+                              "optional" : 1,
+                              "type" : "boolean"
+                           },
                            "userid" : {
                               "description" : "User this entry belongs to.",
                               "type" : "string"
@@ -50792,35 +54839,13 @@ const apiSchema = [
                         },
                         "type" : "object"
                      },
-                     "type" : "array"
-                  }
-               },
-               "POST" : {
-                  "allowtoken" : 0,
-                  "description" : "Finish a u2f challenge.",
-                  "method" : "POST",
-                  "name" : "verify_tfa",
-                  "parameters" : {
-                     "additionalProperties" : 0,
-                     "properties" : {
-                        "response" : {
-                           "description" : "The response to the current authentication challenge.",
-                           "type" : "string",
-                           "typetext" : "<string>"
-                        }
-                     }
-                  },
-                  "permissions" : {
-                     "user" : "all"
-                  },
-                  "protected" : 1,
-                  "returns" : {
-                     "properties" : {
-                        "ticket" : {
-                           "type" : "string"
+                     "links" : [
+                        {
+                           "href" : "{userid}",
+                           "rel" : "child"
                         }
-                     },
-                     "type" : "object"
+                     ],
+                     "type" : "array"
                   }
                }
             },
@@ -50854,8 +54879,8 @@ const apiSchema = [
                      "additionalProperties" : 0,
                      "properties" : {
                         "new-format" : {
-                           "default" : 0,
-                           "description" : "With webauthn the format of half-authenticated tickts changed. New clients should pass 1 here and not worry about the old format. The old format is deprecated and will be retired with PVE-8.0",
+                           "default" : 1,
+                           "description" : "This parameter is now ignored and assumed to be 1.",
                            "optional" : 1,
                            "type" : "boolean",
                            "typetext" : "<boolean>"
@@ -50951,6 +54976,14 @@ const apiSchema = [
                   "parameters" : {
                      "additionalProperties" : 0,
                      "properties" : {
+                        "confirmation-password" : {
+                           "description" : "The current password of the user performing the change.",
+                           "maxLength" : 64,
+                           "minLength" : 5,
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
                         "password" : {
                            "description" : "The new password.",
                            "maxLength" : 64,
@@ -51080,9 +55113,9 @@ const apiSchema = [
             "info" : {
                "DELETE" : {
                   "allowtoken" : 1,
-                  "description" : "Delete pool.",
+                  "description" : "Delete pool (deprecated, no support for nested pools, use 'DELETE /pools/?poolid={poolid}').",
                   "method" : "DELETE",
-                  "name" : "delete_pool",
+                  "name" : "delete_pool_deprecated",
                   "parameters" : {
                      "additionalProperties" : 0,
                      "properties" : {
@@ -51110,7 +55143,7 @@ const apiSchema = [
                },
                "GET" : {
                   "allowtoken" : 1,
-                  "description" : "Get pool configuration.",
+                  "description" : "Get pool configuration (deprecated, no support for nested pools, use 'GET /pools/?poolid={poolid}').",
                   "method" : "GET",
                   "name" : "read_pool",
                   "parameters" : {
@@ -51186,19 +55219,27 @@ const apiSchema = [
                },
                "PUT" : {
                   "allowtoken" : 1,
-                  "description" : "Update pool data.",
+                  "description" : "Update pool data (deprecated, no support for nested pools - use 'PUT /pools/?poolid={poolid}' instead).",
                   "method" : "PUT",
-                  "name" : "update_pool",
+                  "name" : "update_pool_deprecated",
                   "parameters" : {
                      "additionalProperties" : 0,
                      "properties" : {
+                        "allow-move" : {
+                           "default" : 0,
+                           "description" : "Allow adding a guest even if already in another pool. The guest will be removed from its current pool and added to this one.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
                         "comment" : {
                            "optional" : 1,
                            "type" : "string",
                            "typetext" : "<string>"
                         },
                         "delete" : {
-                           "description" : "Remove vms/storage (instead of adding it).",
+                           "default" : 0,
+                           "description" : "Remove the passed VMIDs and/or storage IDs instead of adding them.",
                            "optional" : 1,
                            "type" : "boolean",
                            "typetext" : "<boolean>"
@@ -51209,14 +55250,14 @@ const apiSchema = [
                            "typetext" : "<string>"
                         },
                         "storage" : {
-                           "description" : "List of storage IDs.",
+                           "description" : "List of storage IDs to add or remove from this pool.",
                            "format" : "pve-storage-id-list",
                            "optional" : 1,
                            "type" : "string",
                            "typetext" : "<string>"
                         },
                         "vms" : {
-                           "description" : "List of virtual machines.",
+                           "description" : "List of guest VMIDs to add or remove from this pool.",
                            "format" : "pve-vmid-list",
                            "optional" : 1,
                            "type" : "string",
@@ -51246,21 +55287,106 @@ const apiSchema = [
          }
       ],
       "info" : {
+         "DELETE" : {
+            "allowtoken" : 1,
+            "description" : "Delete pool.",
+            "method" : "DELETE",
+            "name" : "delete_pool",
+            "parameters" : {
+               "additionalProperties" : 0,
+               "properties" : {
+                  "poolid" : {
+                     "format" : "pve-poolid",
+                     "type" : "string",
+                     "typetext" : "<string>"
+                  }
+               }
+            },
+            "permissions" : {
+               "check" : [
+                  "perm",
+                  "/pool/{poolid}",
+                  [
+                     "Pool.Allocate"
+                  ]
+               ],
+               "description" : "You can only delete empty pools (no members)."
+            },
+            "protected" : 1,
+            "returns" : {
+               "type" : "null"
+            }
+         },
          "GET" : {
             "allowtoken" : 1,
-            "description" : "Pool index.",
+            "description" : "List pools or get pool configuration.",
             "method" : "GET",
             "name" : "index",
             "parameters" : {
-               "additionalProperties" : 0
+               "additionalProperties" : 0,
+               "properties" : {
+                  "poolid" : {
+                     "format" : "pve-poolid",
+                     "optional" : 1,
+                     "type" : "string",
+                     "typetext" : "<string>"
+                  },
+                  "type" : {
+                     "enum" : [
+                        "qemu",
+                        "lxc",
+                        "storage"
+                     ],
+                     "optional" : 1,
+                     "requires" : "poolid",
+                     "type" : "string"
+                  }
+               }
             },
             "permissions" : {
-               "description" : "List all pools where you have Pool.Audit permissions on /pool/<pool>.",
+               "description" : "List all pools where you have Pool.Audit permissions on /pool/<pool>, or the pool specific with {poolid}",
                "user" : "all"
             },
             "returns" : {
                "items" : {
                   "properties" : {
+                     "comment" : {
+                        "optional" : 1,
+                        "type" : "string"
+                     },
+                     "members" : {
+                        "items" : {
+                           "additionalProperties" : 1,
+                           "properties" : {
+                              "id" : {
+                                 "type" : "string"
+                              },
+                              "node" : {
+                                 "type" : "string"
+                              },
+                              "storage" : {
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "type" : {
+                                 "enum" : [
+                                    "qemu",
+                                    "lxc",
+                                    "openvz",
+                                    "storage"
+                                 ],
+                                 "type" : "string"
+                              },
+                              "vmid" : {
+                                 "optional" : 1,
+                                 "type" : "integer"
+                              }
+                           },
+                           "type" : "object"
+                        },
+                        "optional" : 1,
+                        "type" : "array"
+                     },
                      "poolid" : {
                         "type" : "string"
                      }
@@ -51309,6 +55435,69 @@ const apiSchema = [
             "returns" : {
                "type" : "null"
             }
+         },
+         "PUT" : {
+            "allowtoken" : 1,
+            "description" : "Update pool.",
+            "method" : "PUT",
+            "name" : "update_pool",
+            "parameters" : {
+               "additionalProperties" : 0,
+               "properties" : {
+                  "allow-move" : {
+                     "default" : 0,
+                     "description" : "Allow adding a guest even if already in another pool. The guest will be removed from its current pool and added to this one.",
+                     "optional" : 1,
+                     "type" : "boolean",
+                     "typetext" : "<boolean>"
+                  },
+                  "comment" : {
+                     "optional" : 1,
+                     "type" : "string",
+                     "typetext" : "<string>"
+                  },
+                  "delete" : {
+                     "default" : 0,
+                     "description" : "Remove the passed VMIDs and/or storage IDs instead of adding them.",
+                     "optional" : 1,
+                     "type" : "boolean",
+                     "typetext" : "<boolean>"
+                  },
+                  "poolid" : {
+                     "format" : "pve-poolid",
+                     "type" : "string",
+                     "typetext" : "<string>"
+                  },
+                  "storage" : {
+                     "description" : "List of storage IDs to add or remove from this pool.",
+                     "format" : "pve-storage-id-list",
+                     "optional" : 1,
+                     "type" : "string",
+                     "typetext" : "<string>"
+                  },
+                  "vms" : {
+                     "description" : "List of guest VMIDs to add or remove from this pool.",
+                     "format" : "pve-vmid-list",
+                     "optional" : 1,
+                     "type" : "string",
+                     "typetext" : "<string>"
+                  }
+               }
+            },
+            "permissions" : {
+               "check" : [
+                  "perm",
+                  "/pool/{poolid}",
+                  [
+                     "Pool.Allocate"
+                  ]
+               ],
+               "description" : "You also need the right to modify permissions on any object you add/delete."
+            },
+            "protected" : 1,
+            "returns" : {
+               "type" : "null"
+            }
          }
       },
       "leaf" : 0,
@@ -51347,6 +55536,7 @@ const apiSchema = [
                   },
                   "repoid" : {
                      "description" : "The short git revision from which this version was build.",
+                     "pattern" : "[0-9a-fA-F]{8,64}",
                      "type" : "string"
                   },
                   "version" : {