Dean Hamstead
and 1 contributors
storage

String. The storage to be used in pve-storage-id format. Required.

          {
                      'permissions' => {
                                         'user' => 'all',
                                         '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.'
                                       },
                      'returns' => {
                                     'type' => 'string'
                                   },
                      'protected' => 1,
                      'name' => 'create_vm',
                      'description' => 'Create or restore a virtual machine.',
                      'parameters' => {
                                        'additionalProperties' => 0,
                                        'properties' => {
                                                          'hostpci[n]' => {
                                                                            'format' => 'pve-qm-hostpci',
                                                                            'typetext' => 'HOSTPCIDEVICE',
                                                                            'type' => 'string',
                                                                            'optional' => 1,
                                                                            'description' => 'Map host pci devices. HOSTPCIDEVICE syntax is:
    }

}

#print Dumper $tree;

1 POD Error

The following errors were encountered while parsing the POD:

Around line 131:

=over without closing =back