Description Usage Arguments Details Value
Create an Instance with Docker
1 | create_docker(client, projectId, name, regionVM, typeVM, sshKeyId)
|
client |
The client previously loaded |
projectId |
The Id of the project |
name |
The name of the instance |
regionVM |
The name of datacenter: SBG3, BHS3, WAW1, UK1, DE1, GRA3 |
typeVM |
The range of your cloud server ( s1-2, s1-4: https://www.ovh.co.uk/public-cloud/instances/prices/) |
sshKeyId |
The Id of ssh key |
Logic Workflow 1. get the available flavor where the name matching with the specific region 2. get the active image where the name matching with "Docker" 3. create the instance
JSON
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.