pve2-api-php-client:适用于PHP的Proxmox 2.0 API客户端

时间:2021-05-16 01:29:01
【文件属性】:
文件名称:pve2-api-php-client:适用于PHP的Proxmox 2.0 API客户端
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-16 01:29:01
PHP 此类为希望使用PHP与Proxmox 2.0进行交流的人提供了构建基块。 相对简单的代码片段,仅在Proxmox的REST API之上提供了一个get / put / post / delete抽象层作为方法,同时还处理了身份验证所需的Login Ticket标头。 有关此API如何工作的信息,请参见 。 有关API规范,请访问 要求: 具有cURL(包括SSL)支持PHP 5。 用法: 示例-此群集中每个Proxmox主机的返回状态数组。 require("./pve2-api-php-client/pve2_api.class.php"); # You can try/catch exception handle the constructor here if you want. $pve2 = new PVE2_API("hostname", "username", "re
【文件预览】:
pve2-api-php-client-master
----TODO(145B)
----LICENSE(1KB)
----README.md(4KB)
----pve2_api.class.php(12KB)

网友评论