Create a new sandbox.
func (
r *SandboxBoxService) New(ctx context.Context,
body SandboxBoxNewParams,
opts ...option.RequestOption) (res *SandboxBoxNewResponse,
err error
)Create a new sandbox. The snapshot may be identified by snapshot_id (UUID) or
by snapshot_name (tenant-scoped unique name); exactly one of template_name,
snapshot_id, or snapshot_name must be set. Optionally blocks until ready or
timeout.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
body* | SandboxBoxNewParams | |
opts* | ...option.RequestOption |