Using Tsukaeru Cloud API

フォローする

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

http://download.pa.parallels.com/poa/5.5/doc/pdf/POA%20RESTful%20API%20Guide/poa_5.5_paci_restful_api_guide.pdf

We have also prepared a command line tool for easier use of API: https://github.com/tsukaeru/pacicli

■Using API from command line

  1. https://github.com/tsukaeru/pacicli/releases
    Download package matching your OS
  2. Unpack downloaded file
  3. In command line, move to a folder with unpacked files.
  4. 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
  5. First run pacicli list command and check if you get a list of your virtual machines.
  6. If there is no problem with the above steps it means that API command line is correctly configured and ready for use.
0人中0人がこの記事が役に立ったと言っています

コメント

0件のコメント

記事コメントは受け付けていません。