]> git.proxmox.com Git - pve-docs.git/commitdiff
update static/schema information
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jun 2023 15:46:30 +0000 (17:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jun 2023 15:46:30 +0000 (17:46 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
api-viewer/apidata.js
datacenter.cfg.5-opts.adoc
pveceph.1-synopsis.adoc
pvesm.1-synopsis.adoc
pvesubscription.1-synopsis.adoc
pveum.1-synopsis.adoc
qmrestore.1-synopsis.adoc
vzdump.1-synopsis.adoc
vzdump.conf.5-opts.adoc

index 7068f245890f093f0bb571ce3ded7d038197d986..e28248a7b8a71f8def521bfaf316a5dcbf41e805 100644 (file)
@@ -3566,7 +3566,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",
@@ -3629,10 +3629,12 @@ const apiSchema = [
                               },
                               "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",
+                                 "items" : {
+                                    "type" : "string"
+                                 },
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "type" : "array",
+                                 "typetext" : "<array>"
                               },
                               "id" : {
                                  "description" : "The job ID.",
@@ -3911,7 +3913,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",
@@ -3968,10 +3970,12 @@ const apiSchema = [
                         },
                         "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",
+                           "items" : {
+                              "type" : "string"
+                           },
                            "optional" : 1,
-                           "type" : "string",
-                           "typetext" : "<string>"
+                           "type" : "array",
+                           "typetext" : "<array>"
                         },
                         "id" : {
                            "description" : "Job ID (will be autogenerated).",
@@ -7452,6 +7456,14 @@ const apiSchema = [
                                        "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",
@@ -7730,6 +7742,14 @@ const apiSchema = [
                                  "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",
@@ -8892,7 +8912,7 @@ const apiSchema = [
                      "additionalProperties" : 0,
                      "properties" : {
                         "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",
@@ -12338,11 +12358,13 @@ const apiSchema = [
                                              "additionalProperties" : 0,
                                              "properties" : {
                                                 "command" : {
-                                                   "description" : "The command as a list of program + arguments",
-                                                   "format" : "string-alist",
-                                                   "optional" : 1,
-                                                   "type" : "string",
-                                                   "typetext" : "<string>"
+                                                   "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'.",
@@ -36599,7 +36621,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"
@@ -36630,9 +36652,11 @@ const apiSchema = [
                                     },
                                     "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",
+                                       "items" : {
+                                          "type" : "string"
+                                       },
                                        "optional" : 1,
-                                       "type" : "string"
+                                       "type" : "array"
                                     },
                                     "ionice" : {
                                        "default" : 7,
@@ -36850,7 +36874,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",
@@ -36884,10 +36908,12 @@ const apiSchema = [
                               },
                               "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",
+                                 "items" : {
+                                    "type" : "string"
+                                 },
                                  "optional" : 1,
-                                 "type" : "string",
-                                 "typetext" : "<string>"
+                                 "type" : "array",
+                                 "typetext" : "<array>"
                               },
                               "ionice" : {
                                  "default" : 7,
@@ -37592,7 +37618,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>"
@@ -40805,8 +40831,8 @@ const apiSchema = [
                                           "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"
                                           }
                                        }
                                     },
@@ -45321,7 +45347,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.",
@@ -46833,7 +46859,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",
@@ -46901,6 +46927,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,
@@ -47015,7 +47055,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>"
@@ -47340,7 +47380,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",
@@ -47408,6 +47448,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,
@@ -47526,7 +47580,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>"
@@ -47929,6 +47983,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" : [
                            {
@@ -48553,6 +48644,7 @@ 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" : {
@@ -48601,6 +48693,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" : {
@@ -48632,6 +48729,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",
@@ -50786,6 +50888,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"
@@ -50795,34 +50907,6 @@ const apiSchema = [
                      },
                      "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"
-                        }
-                     },
-                     "type" : "object"
-                  }
                }
             },
             "leaf" : 0,
@@ -50855,8 +50939,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>"
@@ -51348,6 +51432,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" : {
index ba0f725bbcc7e7a27a3c8d4acd8d590e4d501d42..59cedf7243afdf80e57246d53ec2f8d6f1b72656 100644 (file)
@@ -1,6 +1,6 @@
 `bwlimit`: `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
 
-Set bandwidth/io limits various operations.
+Set I/O bandwidth limit for various operations (in KiB/s).
 
 `clone`=`<LIMIT>` ;;
 
index 28f48f8f49d11ec58b3bdb583c1a9a4311844d3e..2929461fb04345c79c5637c419d7c77ba54d9594 100644 (file)
@@ -118,11 +118,11 @@ Install ceph related packages.
 
 Allow experimental versions. Use with care!
 
-`--test-repository` `<boolean>` ('default =' `0`)::
+`--repository` `<enterprise | no-subscription | test>` ('default =' `enterprise`)::
 
-Use the test, not the main repository. Use with care!
+Ceph repository to use.
 
-`--version` `<octopus | pacific | quincy>` ('default =' `pacific`)::
+`--version` `<quincy>` ('default =' `quincy`)::
 
 Ceph version to install.
 
index c0cddecf4099f091b76eb0fad509f430cf6343c2..d1d8dc97135dbbd2aae2cd45321a8f631b667d4a 100644 (file)
@@ -26,7 +26,7 @@ block size
 
 `--bwlimit` `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
 
-Set bandwidth/io limits various operations.
+Set I/O bandwidth limit for various operations (in KiB/s).
 
 `--comstar_hg` `<string>` ::
 
@@ -46,6 +46,14 @@ NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
 
 Overrides for default content type directories.
 
+`--create-base-path` `<boolean>` ('default =' `yes`)::
+
+Create the base directory if it doesn't exist.
+
+`--create-subdirs` `<boolean>` ('default =' `yes`)::
+
+Populate the directory with the default structure.
+
 `--data-pool` `<string>` ::
 
 Data Pool (for erasure coding only)
@@ -120,7 +128,7 @@ Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM.
 
 `--mkdir` `<boolean>` ('default =' `yes`)::
 
-Create the directory if it doesn't exist.
+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.
 
 `--monhost` `<string>` ::
 
@@ -582,7 +590,7 @@ block size
 
 `--bwlimit` `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
 
-Set bandwidth/io limits various operations.
+Set I/O bandwidth limit for various operations (in KiB/s).
 
 `--comstar_hg` `<string>` ::
 
@@ -602,6 +610,14 @@ NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
 
 Overrides for default content type directories.
 
+`--create-base-path` `<boolean>` ('default =' `yes`)::
+
+Create the base directory if it doesn't exist.
+
+`--create-subdirs` `<boolean>` ('default =' `yes`)::
+
+Populate the directory with the default structure.
+
 `--data-pool` `<string>` ::
 
 Data Pool (for erasure coding only)
@@ -672,7 +688,7 @@ Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM.
 
 `--mkdir` `<boolean>` ('default =' `yes`)::
 
-Create the directory if it doesn't exist.
+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.
 
 `--monhost` `<string>` ::
 
index 64db530518f1fd15325ec373f2c817c6177223fd..59846337ff39d998eff92103a6e15629a56b6736 100644 (file)
@@ -42,6 +42,6 @@ Update subscription info.
 
 `--force` `<boolean>` ('default =' `0`)::
 
-Always connect to server, even if we have up to date info inside local cache.
+Always connect to server, even if local cache is still valid.
 
 
index 9a354ae393694915a512da12c91b17eceb7bcab0..dad42b662d41e9779ead6beac89bb5f6c52697fd 100644 (file)
@@ -596,9 +596,9 @@ Create or verify authentication ticket.
 
 User name
 
-`--new-format` `<boolean>` ('default =' `0`)::
+`--new-format` `<boolean>` ('default =' `1`)::
 
-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
+This parameter is now ignored and assumed to be 1.
 
 `--otp` `<string>` ::
 
@@ -758,6 +758,22 @@ Full User ID, in the `name@realm` format.
 
 The TFA ID, if none provided, all TFA entries will be deleted.
 
+*pveum user tfa list* `[<userid>]`
+
+List TFA entries.
+
+`<userid>`: `<string>` ::
+
+Full User ID, in the `name@realm` format.
+
+*pveum user tfa unlock* `<userid>`
+
+Unlock a user's TFA authentication.
+
+`<userid>`: `<string>` ::
+
+Full User ID, in the `name@realm` format.
+
 *pveum user token add* `<userid> <tokenid>` `[OPTIONS]` `[FORMAT_OPTIONS]`
 
 Generate a new API token for a specific user. NOTE: returns API token
index e57e4d2dc93bd61544d8db636eceaf9b3203d880..97bb4625234613dd0839dc9a8adda997a2f849b0 100644 (file)
@@ -14,7 +14,7 @@ The (unique) ID of the VM.
 
 `--bwlimit` `<number> (0 - N)` ::
 
-Override i/o bandwidth limit (in KiB/s).
+Override I/O bandwidth limit (in KiB/s).
 
 `--force` `<boolean>` ::
 
index 5434a52c56da372c9e007432014e7746738e80b9..29f5d4a94ec070d4b67134863ce0969943760adf 100644 (file)
@@ -14,7 +14,7 @@ Backup all known guest systems on this host.
 
 `--bwlimit` `<integer> (0 - N)` ('default =' `0`)::
 
-Limit I/O bandwidth (KBytes per second).
+Limit I/O bandwidth (in KiB/s).
 
 `--compress` `<0 | 1 | gzip | lzo | zstd>` ('default =' `0`)::
 
@@ -28,7 +28,7 @@ Store resulting files to specified directory.
 
 Exclude specified guest systems (assumes --all)
 
-`--exclude-path` `<string>` ::
+`--exclude-path` `<array>` ::
 
 Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root,  other paths match relative to each subdirectory.
 
index 58b5167190cc7d4783593b62355d2cb9415d857c..1f6cb60d99b8d1e1b35b76f6e0f2b5d96c554277 100644 (file)
@@ -1,6 +1,6 @@
 `bwlimit`: `<integer> (0 - N)` ('default =' `0`)::
 
-Limit I/O bandwidth (KBytes per second).
+Limit I/O bandwidth (in KiB/s).
 
 `compress`: `<0 | 1 | gzip | lzo | zstd>` ('default =' `0`)::
 
@@ -10,7 +10,7 @@ Compress dump file.
 
 Store resulting files to specified directory.
 
-`exclude-path`: `<string>` ::
+`exclude-path`: `<array>` ::
 
 Exclude certain files/directories (shell globs). Paths starting with '/' are anchored to the container's root,  other paths match relative to each subdirectory.