Table of Contents

Class InstanceQuery

Namespace
Millrace.Storage.Monitoring
Assembly
Millrace.dll

Filter and paging arguments for QueryInstancesAsync(InstanceQuery, CancellationToken). Frozen with the dashboard API contract (ARCHITECTURE.md §11.12).

public sealed record InstanceQuery : IEquatable<InstanceQuery>
Inheritance
InstanceQuery
Implements
Inherited Members

Remarks

Same rules as JobQuery: filters combine with AND, null or empty adds no constraint, and the order is CreatedAt DESC, Id DESC.

Fields

DefaultLimit

Default page size when Limit is not set to something valid.

MaxLimit

Upper bound a provider clamps Limit to.

Properties

CreatedAfter

Inclusive lower bound on CreatedAt.

CreatedBefore

Exclusive upper bound on CreatedAt.

Cursor

Opaque continuation from a previous NextCursor; null starts at the first page.

DefinitionId

Exact definition id, or null for every definition.

DefinitionVersion

Definition version, or null for every version. Ignored unless DefinitionId is also set — a version number means nothing on its own.

Limit

Maximum rows to return. Values below 1 are treated as DefaultLimit; values above MaxLimit are clamped to it. Never an error.

States

States to include. Null or empty means any state.

Tenant

Tenant constraint; defaults to Any.