You can manage your Tsukaeru Cloud server through a Paralles' API.
■Basic information about Tsukaeru Cloud API
API server's URL:
https://cloudapi.tsukaeru.ne.jp/paci/v1.0
User's ID: Same as user ID used to log in to Control Panel
Password: After logging to Control Panel go to "Cloud" tab > "API Access" > "Generate API Access Key" - that API access key will become the password.
■Tsukaeru Cloud API's documentation
We have also prepared a command line tool for easier use of API: https://github.com/tsukaeru/pacicli
■Using API from command line
-
https://github.com/tsukaeru/pacicli/releases
Download package matching your OS - Unpack downloaded file
- In command line, move to a folder with unpacked files.
-
Inside the folder create a new file named "
pacifile
" with the following content:
BaseURL = "https://cloudapi.tsukaeru.ne.jp/paci/v1.0" # API URL
Username = "username" # Your account name
Password = "password" # Your API key
-
First run
pacicli list
command and check if you get a list of your virtual machines. - If there is no problem with the above steps it means that API command line is correctly configured and ready for use.
コメント
記事コメントは受け付けていません。