Create a snapshot by capturing the current state of a sandbox or promoting an.
func (
r *SandboxBoxService) NewSnapshot(ctx context.Context,
name string,
body SandboxBoxNewSnapshotParams,
opts ...option.RequestOption) (res *SandboxBoxNewSnapshotResponse,
err error
)Create a snapshot by capturing the current state of a sandbox or promoting an existing checkpoint.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
name* | string | |
body* | SandboxBoxNewSnapshotParams | |
opts* | ...option.RequestOption |