Signature
Parameters
List of offer/contract IDs to create instances from.
Hash of the instance template to use.
Subaccount username to create the instances under.
Disk space to allocate in GB.
Docker image name to use for the instance.
Docker login credentials for private registry authentication.
Label to attach to the instances.
Filename of an onstart script to run on instance start.
Shell command to run on instance start.
Override the Docker image entrypoint.
Enable SSH access to the instances.
Enable Jupyter notebook server.
Enable direct (peer-to-peer) connections.
Directory to serve Jupyter from.
Enable JupyterLab instead of classic Jupyter.
Set system language encoding to UTF-8.
Set Python I/O encoding to UTF-8.
Extra Docker run arguments passed verbatim.
Environment variables to set (formatted as Docker -e flags).
Additional positional arguments.
Skip sanity checks when creating from an existing instance.
Return an error if scheduling fails rather than creating a stopped instance.
Per-machine bid price in $/hour for interruptible (spot) instances.
Offer ID from “search volumes” to create a new local volume linked to each instance.
ID of an existing rented volume to link to each instance.
Size of the volume to create in GiB.
Filesystem path inside the instance where the volume is mounted.
Label to attach to the created volume.
Returns
str — Result from the API call.