Table of Contents

Orleans.Lattice.Api.TenantAdmin

This page documents Orleans.Lattice.Api.Abstractions 10.5.0, in the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at orleans-lattice-api-tenantadmin.md, and llms.txt lists every page.

Part of Public API.

Implemented by Orleans.Lattice.Api.TenantAdmin and exposed remotely by Orleans.Lattice.Api.TenantAdmin.Grpc. 64 public types.

Type Kind Summary
ILatticeTenantAccessAdmin interface Transport-agnostic tenant access administration control facade: one coherent, discoverable, fail-closed surface for managing which subjects hold tenant-admin authority over a tenant - list, add, and remove.
ILatticeTenantAdmin interface Transport-agnostic tenant administration control facade: one coherent, discoverable, authorized surface for the tenant lifecycle - create, suspend, resume, and delete (delete cascading the tenant's trees).
ILatticeTenantDirectoryAdmin interface Transport-agnostic tenant directory facade for delegated tenant access administration: a tenant's own groups, their direct members, and the tenant's member set - the subjects who may act as the tenant on the data plane.
ILatticeTenantGrantAdmin interface Transport-agnostic cross-tenant grant administration control facade: one coherent, discoverable, fail-closed surface over the two-step agreement by which one tenant exposes a scope of its data to another - offer, approve, reject, revoke, and list.
ILatticeTenantPolicyAdmin interface Transport-agnostic tenant policy facade for delegated tenant access administration: the tenant-tier rules a tenant's administrators author on the tenant's own trees, a layer-aware explanation of any decision on those trees, a subject's effective permissions there, and the tenant's access posture.
ILatticeTenantQuotaUsage interface Transport-agnostic tenant usage-against-quota read facade: the one surface that reports what a tenant is actually consuming next to what it is allowed to consume.
ILatticeTenantRegionAdmin interface Transport-agnostic per-tenant region-residency control facade: one coherent, discoverable, fail-closed surface for the three region-residency operations - an operator authorizing a tenant's allowed region set, a tenant admin setting the tenant's residency within that allowed set, and reading a tenant's per-region status.
ILatticeTenantSelfService interface Transport-agnostic tenant self-awareness facade: the read-only counterpart to ILatticeTenantAdmin.
ApiTenantAdminTypeAliases static class Centralized Orleans serialization alias constants for the tenant-administration control-API surface (the transport-agnostic contract in Orleans.Lattice.Api.Abstractions and the sibling gRPC / MCP bindings that reuse this registry).
ReservedTenantOperationException sealed class (exception) Thrown when a tenant-administration operation targets the reserved legacy-adoption default tenant in a way the lifecycle forbids (suspend or delete).
TenantAccessAdministrationDisabledException sealed class (exception) Thrown by every operation of ILatticeTenantDirectoryAdmin and ILatticeTenantPolicyAdmin - except the posture probe GetPostureAsync - while delegated tenant access administration is disabled on the cluster (LatticeTenancyOptions.DelegatedAccessAdministrationEnabled is false, the default).
TenantAccessConfinementException sealed class (exception) Thrown when a delegated tenant-access write would reach outside the tenant: a tenant group nested into a group the tenant does not own, an entry naming another tenant's group, or a tenant-tier rule on a tree or operation the tenant may not govern.
TenantAccessConfinementRule enum The confinement rule a delegated tenant-access write violated, carried by Rule so a transport binding or a user interface can explain the refusal without parsing its message.
TenantAccessPageRequest sealed record Paging request for the paged listings of the delegated tenant-access surface (a tenant's groups, its member set, and its rules).
TenantAccessPosture sealed record The result of GetPostureAsync: whether delegated tenant access administration is enabled, the caller's standing towards the tenant, and the tenant's per-tenant access caps with current usage.
TenantAdminSubjectChangeResult sealed record The result of adding or removing a single tenant-admin subject: the tenant and subject the call targeted, whether the call actually wrote to the membership set, and the resulting live subject set.
TenantAdminSubjectReport sealed record The read-only projection of a tenant's live tenant-admin subject set: the tenant id and the subject ids that currently hold tenant-admin authority over it, in ordinal order.
TenantAlreadyExistsException sealed class (exception) Thrown when a tenant-creation request targets a tenant id that is already registered.
TenantCreationResult sealed record The result of an explicit tenant-creation request.
TenantDeletionResult sealed record The result of a tenant deletion.
TenantDescriptor sealed record A compact, read-only description of a single tenant as surfaced by the tenant self-awareness facade (ILatticeTenantSelfService): the tenant id, its current lifecycle status, and whether it is the reserved legacy-adoption default tenant.
TenantEffectivePermissions sealed record The result of EffectivePermissionsAsync: the rules of both layers that name a subject directly or through one of its groups and govern the tenant's trees, grants and denies alike.
TenantExplanation sealed record The result of ExplainAsync: whether a subject may perform an operation on one of the tenant's trees, and which layer and rule decided it.
TenantGrantAccess enum The transport-agnostic set of operations a cross-tenant grant authorizes on the granting tenant's scope, as reported and requested through the tenant-administration control facade.
TenantGrantChangeResult sealed record The result of a cross-tenant grant lifecycle operation (offer, approve, reject, or revoke): the grant as it stands after the call, and whether the call actually wrote to the registry.
TenantGrantDescriptor sealed record One cross-tenant grant as reported by the tenant-administration control facade: the two tenants party to it, the scope of the granting tenant's data it covers, the operations it authorizes there, and its current lifecycle state.
TenantGrantLifecycleState enum The transport-agnostic lifecycle state of a cross-tenant grant as reported by the tenant-administration control facade.
TenantGrantNotFoundException sealed class (exception) Thrown when a cross-tenant grant lifecycle operation names a grant that does not exist: no grant has been offered by that granting tenant to that grantee tenant on that scope, or the granting tenant is not registered at all.
TenantGrantReport sealed record A tenant's cross-tenant grants, split into the two directions a tenant admin needs to see: the grants the tenant has Issued (offers it made, exposing its own data) and the grants Received (offers other tenants made to it - the inbox it approves or rejects from).
TenantGrantTransitionException sealed class (exception) Thrown when a cross-tenant grant lifecycle operation is not legal from the grant's current state: for example approving a grant that has already been revoked, revoking one that was never approved, or re-offering new terms over a live agreement the grantee approved on its existing terms.
TenantGroupDescriptor sealed record A tenant group as surfaced by ILatticeTenantDirectoryAdmin: its tenant-local Name and an optional human-readable DisplayName.
TenantGroupMember sealed record One direct member of a tenant group: a user, another group of the same tenant, or a cluster group.
TenantGroupPage sealed record One page of a tenant's groups, in ascending ordinal order of their local names.
TenantGroupRemovalResult sealed record The result of RemoveGroupAsync: whether the group existed and was removed, and everything the removal cascaded to.
TenantLastAdminSubjectException sealed class (exception) Thrown when removing a tenant-admin subject would empty the tenant's admin-subject set, orphaning the tenant: no subject would be left able to administer it, and it would disappear from every self-service surface, leaving only a platform operator able to reach it.
TenantLastRegionException sealed class (exception) Thrown when a tenant admin's residency change would remove the tenant's last resident region, leaving it with nowhere to hold its data.
TenantLifecycleStatus enum The transport-agnostic lifecycle status of a tenant as reported by the tenant-administration control facade.
TenantMemberEntry sealed record One entry of a tenant's member set or admin set: a user, one of the tenant's own groups, or a cluster group.
TenantMemberPage sealed record One page of a tenant's member set, in ascending ordinal order of entry id.
TenantMembershipChangeResult sealed record The result of adding or removing a tenant group member or a tenant member-set entry: the tenant, the group (when the call targeted one), the subject the call added or removed, and whether it actually wrote.
TenantNotFoundException sealed class (exception) Thrown when a tenant-administration operation (suspend, resume, or delete) targets a tenant that is not registered.
TenantQuotaDimensionUsage readonly record struct One quota dimension's usage-against-ceiling reading on a TenantQuotaUsageReport: the tenant's current consumption, the steady-state ceiling, the burst-adjusted admission ceiling, and both the live and accrued overage above the steady-state cap.
TenantQuotaEnforcementScope enum The aggregate a tenant's quota reading was taken against, reported on EnforcementScope.
TenantQuotasDescriptor readonly record struct The transport-agnostic projection of a tenant's resource quotas and burst allowance, authored through SetTenantQuotasAsync and reported on Quotas.
TenantQuotasUpdateResult sealed record The result of authoring a tenant's resource quotas through SetTenantQuotasAsync.
TenantQuotaUsageReport sealed record The read-only usage-against-quota report for one tenant returned by GetQuotaUsageAsync: the current consumption alongside the ceiling on every dimension the quota model defines, the burst headroom, and the accrued metered overage, qualified by the enforcement scope the reading was taken under.
TenantRegionAuthorizationResult sealed record The result of an operator authorizing a tenant's allowed region set: the tenant id and the resulting live allowed region ids (ordered).
TenantRegionBackfillProgress sealed record Observable receiver-side progress for one tenant region's backfill.
TenantRegionBackfillTreeProgress sealed record Observable receiver-side bootstrap progress for one tenant tree.
TenantRegionLifecycleStatus enum The transport-agnostic per-region lifecycle status of a tenant as reported by the tenant-administration control facade.
TenantRegionNotAllowedException sealed class (exception) Thrown when a tenant admin tries to set residency on a region that is not in the tenant's operator-authorized allowed set, or when an operator tries to revoke a region from the allowed set while the tenant is still resident there.
TenantRegionStatusDescriptor sealed record One row of a tenant's per-region residency report: a region id, its current TenantRegionLifecycleStatus, and whether it is in the tenant's operator-authorized allowed set.
TenantRegionStatusReport sealed record The result of reading a tenant's per-region residency status: the tenant id and one TenantRegionStatusDescriptor per region that is either in the tenant's allowed set or carries a non-None status, ordered by region id.
TenantResidencyChangeResult sealed record The result of a tenant admin setting a tenant's residency set: the tenant id, the regions this call began adding (transitioned to Provisioning) and removing (transitioned to Draining), and the resulting per-region status rows (ordered by region id).
TenantRuleDraft sealed record A tenant-tier authorization rule as authored through PutRuleAsync: a local rule id, a subject, a scope over the tenant's own keyspace, the operations it covers, and whether it grants or denies them.
TenantRuleLayer enum The policy layer an authorization rule belongs to, as seen by a tenant administrator.
TenantRuleOrigin enum Where a rule shown to a tenant administrator comes from, which decides how much of it the tenant may see.
TenantRulePage sealed record One page of the rules governing a tenant, ordered by tenant-local tree name (tenant-wide rules first) and then rule id.
TenantRuleScopeKind enum The extent of the keyspace a tenant-tier rule governs.
TenantRuleView sealed record A rule as a tenant administrator sees it: a tenant-tier rule (editable) or a platform rule that governs the tenant (read-only).
TenantStatusChangeResult sealed record The result of a tenant status transition (suspend or resume).
TenantStatusReport sealed record The read-only inspection report for one tenant returned by GetTenantAsync: the tenant's lifecycle status together with its per-region residency rows.
TenantSubjectKind enum The kind of principal a delegated tenant-access entry names: a group member, a tenant member-set or admin-set entry, or the subject of a tenant-tier rule.
TenantSubjectResolution sealed record The result of ResolveSubjectAsync: whether a subject is an admin or a member of a tenant, and through which admin-set and member-set entries.

Member-level reference: the shared contract declaration reference in the Orleans.Lattice.Api.TenantAdmin API page lists the declaration line and every public member of each type above.