Snapshot
Section titled “Snapshot”Properties:
idstringnamestringclassArtifactClasskindSnapshotKindrawKindstringavailableInstring[]statusstringerror?string | nullcreatedAtstringupdatedAtstringmemoryBytes?numbersandboxId?string
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Snapshot(snapshot: api.SnapshotRow): Snapshot;Parameters:
snapshotapi.SnapshotRow
Returns:
Snapshot
SnapshotsService
Section titled “SnapshotsService”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SnapshotsService(http: AxiosInstance): SnapshotsService;Parameters:
httpAxiosInstance
Returns:
SnapshotsService
Methods
Section titled “Methods”delete()
Section titled “delete()”delete(snapshotId: string): Promise<void>;Parameters:
snapshotIdstring
Returns:
Promise<void>
get( snapshotId: string, options: { wait?: 'ready'; timeout?: number } = {}): Promise<Snapshot>;Parameters:
snapshotIdstringoptions{ wait?: ‘ready’; timeout?: number } = {}
Returns:
Promise<Snapshot>
iter()
Section titled “iter()”iter( options: { cursor?: string; limit?: number; name?: string; sandboxId?: string } = {}): AsyncIterable<Snapshot>;Parameters:
options{ cursor?: string; limit?: number; name?: string; sandboxId?: string } = {}
Returns:
AsyncIterable<Snapshot>
list()
Section titled “list()”list( options: { cursor?: string; limit?: number; name?: string; sandboxId?: string } = {}): Promise<ListResult<Snapshot>>;Parameters:
options{ cursor?: string; limit?: number; name?: string; sandboxId?: string } = {}
Returns:
Promise<ListResult<Snapshot>>