【文件属性】:
文件名称:proxmox_pve_api:PHP类API到Proxmox 3
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-26 22:14:59
PHP
Proxmox PVE API
到Proxmox 3
有关此API的信息
有关API规范,请访问
要求:
PHP 5.3 PHP 5.4(已测试)
PHP扩展cURL(包括SSL)支持。
用法:
require ( 'src/PveAPI.php' );
$ configure = array (
'hostname' => '0.0.0.0' ,
'username' => 'username' ,
'userpass' => 'userpass' ,
'realm' => 'pve' ,
'port' => 8006
);
// create new instance
$ pve = new PveAPI ( $ configure );
// enable debug
$ pve -> debug ( true );
// for
【文件预览】:
proxmox_pve_api-master
----demo.php(560B)
----src()
--------PveControl.php(3KB)
--------PveAPI.php(15KB)
----.gitignore(293B)
----README.md(843B)