Create a new Sandbox Pool.
Pools pre-provision sandboxes from a template for faster startup.
Pool name (lowercase letters, numbers, hyphens; max 63 chars).
Creation options including templateName, replicas, and optional timeout.
Created Pool.
Create a new Sandbox.
Remember to call sandbox.delete() when done to clean up resources.
Name of the SandboxTemplate to use.
Creation options.
Created Sandbox.
Create a new SandboxTemplate.
Only the container image, resource limits, and volume mounts can be configured. All other container details are handled by the server.
Template name.
Creation options including image and resource limits.
Created SandboxTemplate.
Create a new persistent volume.
Creates a persistent storage volume that can be referenced in templates.
Volume name.
Creation options including size and optional timeout.
Created Volume.
Get a Sandbox by name.
The sandbox is NOT automatically deleted. Use deleteSandbox() for cleanup.
Sandbox name.
Sandbox.
Get a SandboxTemplate by name.
Template name.
SandboxTemplate.
Update a Pool's name and/or replica count.
You can update the display name, replica count, or both. The template reference cannot be changed after creation.
Current pool name.
Update options.
Updated Pool.
Update a sandbox's display name.
Current sandbox name.
New display name.
Updated Sandbox.
Update a template.
Current template name.
Update options (e.g., newName).
Updated SandboxTemplate.
Update a volume's name and/or size.
You can update the display name, size, or both in a single request. Only storage size increases are allowed (storage backend limitation).
Current volume name.
Update options.
Updated Volume.
Client for interacting with the Sandbox Server API.
This client provides a simple interface for managing sandboxes and templates.
Example