upmind/provision-provider-servers
最新稳定版本:v4.3.1
Composer 安装命令:
composer require upmind/provision-provider-servers
包简介
This provision category contains common functions used in provisioning flows for servers on various popular cloud platforms
README 文档
README
This provision category contains the common functions used in provisioning flows for servers on various popular cloud platforms.
Installation
composer require upmind/provision-provider-servers
Usage
This library makes use of upmind/provision-provider-base primitives which we suggest you familiarize yourself with by reading the usage section in the README.
Quick-start
The easiest way to see this provision category in action and to develop/test changes is to install it in upmind/provision-workbench.
Alternatively you can start using it for your business immediately with Upmind.com - the ultimate web hosting billing and management solution.
If you wish to develop a new Provider, please refer to the WORKFLOW guide.
Supported Providers
The following providers are currently implemented:
Functions
| Function | Parameters | Return Data | Description |
|---|---|---|---|
| create() | CreateParams | ServerInfoResult | Create and boot a new server |
| getInfo() | ServerIdentifierParams | ServerInfoResult | Get information about a server such as its label, current state (running/rebooting etc), image (e.g., ubuntu), size and region |
| getConnection() | GetConnectionParams | ConnectionResult | Get a command to connect to a server |
| changeRootPassword() | ChangeRootPasswordParams | ServerInfoResult | Update the root password used to SSH into a server |
| resize() | ResizeParams | ServerInfoResult | Redeploy an existing server with a different resource allocation |
| reinstall() | ReinstallParams | ServerInfoResult | Reinstall (wipe/reset) an existing server server using a particular image |
| reboot() | ServerIdentifierParams | ServerInfoResult | Reboot (shutdown then power-on) a running server |
| shutdown() | ServerIdentifierParams | ServerInfoResult | Shut down a running server |
| powerOn() | ServerIdentifierParams | ServerInfoResult | Boot a powered-off server |
| suspend() | ServerIdentifierParams | ServerInfoResult | Suspend a server |
| unsuspend() | ServerIdentifierParams | ServerInfoResult | Unsuspend a server |
| attachRecoveryIso() | ServerIdentifierParams | ServerInfoResult | Attach recovery ISO |
| detachRecoveryIso() | ServerIdentifierParams | ServerInfoResult | Detach recovery ISO |
| terminate() | ServerIdentifierParams | EmptyResult | Terminate (delete) an existing server |
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
GNU General Public License version 3 (GPLv3). Please see License File for more information.
Upmind
Sell, manage and support web hosting, domain names, ssl certificates, website builders and more with Upmind.com
统计信息
- 总下载量: 273
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2023-01-13