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