Create a new sandbox from a snapshot.
func (
r *SandboxBoxService) New(ctx context.Context,
body SandboxBoxNewParams,
opts ...option.RequestOption) (res *SandboxResponse,
err error
)Create a new sandbox from a snapshot. Provide at most one of snapshot_id or
snapshot_name; if neither is provided, the server uses the default snapshot.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
body* | SandboxBoxNewParams | |
opts* | ...option.RequestOption |