Capture a snapshot from a running sandbox.
Blocks until the snapshot is ready (polls with 2s interval).
captureSnapshot(
sandboxName: string,
name: string,
options: CaptureSnapshotOptions = {}
): Promise<Snapshot>| Name | Type | Description |
|---|---|---|
sandboxName* | string | Name of the sandbox to capture from. |
name* | string | Snapshot name. |
options | CaptureSnapshotOptions | Default: {}Capture options (timeout). |