Orleans.Lattice.Api.TreeAdmin.Grpc API reference
This page documents Orleans.Lattice.Api.TreeAdmin.Grpc 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 api.md, and llms.txt lists every page.The public surface of this package is the typed client, the server-side options, the registration extensions, the authorization and identity seams (with the operation enum and the authorization-context struct), the auth-scheme discovery records, and the wire request records. The gRPC service, the method definitions, the marshallers, the authorization interceptor, the default header credential bridge, and the options-backed auth-scheme source are internal; Architecture describes them by behaviour, and Configuration covers the options.
The facade contracts this binding projects - ILatticeTreeAdmin, ILatticeTreeAdminOperations, ILatticeStorageUsageOperations and ILatticeWalReclamation - and the result records the RPCs return are published by Orleans.Lattice.Api.Abstractions. They are documented with the facade's public API and its method guide, and are not restated here.
Registration
LatticeTreeAdminApiGrpcServiceCollectionExtensions holds the two server-side entry points:
AddLatticeTreeAdminApiGrpc(this IServiceCollection services, Action<LatticeTreeAdminApiGrpcOptions>? configure = null)registers the binding: the options, the method definitions, the server-side service, the default-denyILatticeTreeAdminApiAuthorizer, the header-readingILatticeTreeAdminApiCredentialBridge, the options-backedILatticeTreeAdminApiAuthSchemeSource, and the authorization interceptor. ThrowsArgumentNullExceptionwhenservicesisnull.MapLatticeTreeAdminApiGrpc(this IEndpointRouteBuilder endpoints)maps the service's routes. The host must already have calledAddLatticeTreeAdminApiGrpcand must exposeILatticeTreeAdmin(throughAddLatticeTreeAdminApi) in the same service provider. ThrowsArgumentNullExceptionwhenendpointsisnull.
Which registrations a host may pre-empt, and why the registration call must run once, are covered in Configuration.
Client
LatticeTreeAdminApiGrpcClient is the public typed client. Build it with LatticeTreeAdminApiGrpcClient.Create(CallInvoker callInvoker, IServiceProvider serializerProvider); the serializer provider must have Orleans serialization registered (AddSerializer()), because the per-message marshallers are resolved from it. Create throws ArgumentNullException when either argument is null.
- One method per RPC. Every RPC has one client method, except
AuditOrphanedLeaves, which backs bothAuditOrphanedLeavesAsyncandSurveyOrphanedLeavesAsync(the survey sets the request'sSurveyflag). The full signature list is in the package README and in the declaration reference below. - Unwrapped responses.
GetAuthSchemeAsyncreturns the advertisement'sSchemes;RestoreTreeSetAsyncreturns theResultsof the facade'sTreeRestoreSetResult; the operation and storage-usage-refresh status and cancel methods return the response'sStatus, which isnullwhen the operation is not visible to the caller.DropViewAsyncandRevertTreeRestoreAsyncreturn a bareTaskand discard the echoed acknowledgement. - Local argument checks. The client refuses some malformed arguments before sending - among them a
nullor empty tree, view, index, set, backup or operation id, a negative shard index or bulk-load chunk index, a bulk-load operation id containing/, and a restore operation id that is supplied but empty - with the sameArgumentExceptionfamily a local facade caller sees. Everything else is decided by the server. - No metadata of its own. Each call carries only the caller's cancellation token. The credential header and the active-tenant header the server reads (see Configuration) must be attached by the
CallInvokerthe caller supplies, as must the address, TLS, deadlines and retries. - Errors. A server refusal arrives as an
RpcExceptioncarrying the mapped status; see Status mapping.
Service and RPCs
The service name is orleans.lattice.api.treeadmin, so each method's full path is /orleans.lattice.api.treeadmin/<RPC>. Every RPC is unary except StreamBulkLoad, a duplex stream described below the table. Each row names the request record, the response record, the facade member the service calls, and the client method that drives it:
| RPC | Request | Response | Facade member | Client method |
|---|---|---|---|---|
ProbeCapabilities |
TreeAdminTreeRequest |
LatticeTreeAdminCapabilities |
ILatticeTreeAdmin.ProbeCapabilitiesAsync |
ProbeCapabilitiesAsync |
GetAuthScheme |
AuthSchemeAdvertisementRequest |
AuthSchemeAdvertisement |
binding-local: ILatticeTreeAdminApiAuthSchemeSource.GetAdvertisement |
GetAuthSchemeAsync |
GetShardHotness |
TreeAdminTreeRequest |
TreeHotnessReport |
ILatticeTreeAdmin.GetShardHotnessAsync |
GetShardHotnessAsync |
GetDiagnostics |
TreeAdminDiagnosticsRequest |
TreeAdminDiagnosticReport |
ILatticeTreeAdmin.GetDiagnosticsAsync |
GetDiagnosticsAsync |
InspectShardMap |
TreeAdminTreeRequest |
ShardMapInspection |
ILatticeTreeAdmin.InspectShardMapAsync |
InspectShardMapAsync |
GetProjectionDigest |
TreeAdminShardRequest |
ShardProjectionDigestReport |
ILatticeTreeAdmin.GetProjectionDigestAsync |
GetProjectionDigestAsync |
GetTreeStats |
TreeAdminTreeRequest |
TreeStatsReport |
ILatticeTreeAdmin.GetTreeStatsAsync |
GetTreeStatsAsync |
GetStorageUsage |
TreeAdminStorageUsageRequest |
ClusterStorageUsageSummary |
ILatticeTreeAdmin.GetStorageUsageAsync |
GetStorageUsageAsync |
CreateTree |
TreeAdminCreateRequest |
TreeCreationResult |
ILatticeTreeAdmin.CreateTreeAsync |
CreateTreeAsync |
CheckTreeExists |
TreeAdminTreeRequest |
TreeExistenceResult |
ILatticeTreeAdmin.CheckTreeExistsAsync |
CheckTreeExistsAsync |
SetTreeAlias |
TreeAdminSetAliasRequest |
TreeAliasResolution |
ILatticeTreeAdmin.SetTreeAliasAsync |
SetTreeAliasAsync |
ResolveTreeAlias |
TreeAdminTreeRequest |
TreeAliasResolution |
ILatticeTreeAdmin.ResolveTreeAliasAsync |
ResolveTreeAliasAsync |
GetTreeConfig |
TreeAdminTreeRequest |
TreeConfigurationReport |
ILatticeTreeAdmin.GetTreeConfigAsync |
GetTreeConfigAsync |
SetTreeConfig |
TreeAdminSetConfigRequest |
TreeConfigurationReport |
ILatticeTreeAdmin.SetTreeConfigAsync |
SetTreeConfigAsync |
GetShardMap |
TreeAdminTreeRequest |
TreeShardMapView |
ILatticeTreeAdmin.GetShardMapAsync |
GetShardMapAsync |
DeleteTree |
TreeAdminTreeRequest |
TreeDeletionStatus |
ILatticeTreeAdmin.DeleteTreeAsync |
DeleteTreeAsync |
RecoverTree |
TreeAdminTreeRequest |
TreeDeletionStatus |
ILatticeTreeAdmin.RecoverTreeAsync |
RecoverTreeAsync |
PurgeTree |
TreeAdminPurgeRequest |
TreeDeletionStatus |
ILatticeTreeAdmin.PurgeTreeAsync |
PurgeTreeAsync |
GetTreeDeletionStatus |
TreeAdminTreeRequest |
TreeDeletionStatus |
ILatticeTreeAdmin.GetTreeDeletionStatusAsync |
GetTreeDeletionStatusAsync |
BeginBulkLoad |
TreeAdminBulkLoadSessionRequest |
TreeBulkLoadSession |
ILatticeTreeAdmin.BeginBulkLoadAsync |
BeginBulkLoadAsync |
AppendBulkLoad |
TreeAdminBulkLoadAppendRequest |
TreeBulkLoadChunkAck |
ILatticeTreeAdmin.AppendBulkLoadAsync |
AppendBulkLoadAsync |
CommitBulkLoad |
TreeAdminBulkLoadSessionRequest |
TreeBulkLoadResult |
ILatticeTreeAdmin.CommitBulkLoadAsync |
CommitBulkLoadAsync |
StreamBulkLoad (duplex) |
TreeAdminBulkLoadStreamRequest frames |
TreeAdminBulkLoadStreamResponse frames |
ILatticeTreeAdmin.BeginBulkLoadAsync, AppendBulkLoadAsync, CommitBulkLoadAsync |
BulkLoadStreamAsync |
RestoreTree |
TreeAdminRestoreRequest |
TreeRestoreResult |
ILatticeTreeAdmin.RestoreTreeAsync |
RestoreTreeAsync |
RestoreTreeSet |
TreeAdminRestoreSetRequest |
TreeRestoreSetResult |
ILatticeTreeAdmin.RestoreTreeSetAsync |
RestoreTreeSetAsync |
RevertTreeRestore |
TreeRestoreResult |
TreeRestoreResult |
ILatticeTreeAdmin.RevertTreeRestoreAsync |
RevertTreeRestoreAsync |
ReshardTree |
TreeAdminReshardRequest |
TreeReshardStatus |
ILatticeTreeAdmin.ReshardTreeAsync |
ReshardTreeAsync |
GetReshardStatus |
TreeAdminTreeRequest |
TreeReshardStatus |
ILatticeTreeAdmin.GetReshardStatusAsync |
GetReshardStatusAsync |
ResizeTree |
TreeAdminResizeRequest |
TreeResizeStatus |
ILatticeTreeAdmin.ResizeTreeAsync |
ResizeTreeAsync |
UndoTreeResize |
TreeAdminTreeRequest |
TreeResizeStatus |
ILatticeTreeAdmin.UndoTreeResizeAsync |
UndoTreeResizeAsync |
GetResizeStatus |
TreeAdminTreeRequest |
TreeResizeStatus |
ILatticeTreeAdmin.GetResizeStatusAsync |
GetResizeStatusAsync |
SnapshotTree |
TreeAdminSnapshotRequest |
TreeSnapshotStatus |
ILatticeTreeAdmin.SnapshotTreeAsync |
SnapshotTreeAsync |
GetSnapshotStatus |
TreeAdminTreeRequest |
TreeSnapshotStatus |
ILatticeTreeAdmin.GetSnapshotStatusAsync |
GetSnapshotStatusAsync |
GetWalPlacement |
TreeAdminTreeRequest |
TreeWalPlacement |
ILatticeTreeAdmin.GetWalPlacementAsync |
GetWalPlacementAsync |
AuditWalPlacement |
TreeAdminTreeRequest |
TreeWalPlacementAudit |
ILatticeTreeAdmin.AuditWalPlacementAsync |
AuditWalPlacementAsync |
AuditOrphanedLeaves |
TreeAdminOrphanedLeafRequest |
TreeOrphanedLeafReport |
ILatticeTreeAdmin.AuditOrphanedLeavesAsync, or ILatticeTreeAdmin.SurveyOrphanedLeavesAsync when Survey is set |
AuditOrphanedLeavesAsync, SurveyOrphanedLeavesAsync |
RepairOrphanedLeaves |
TreeAdminOrphanedLeafRequest |
TreeOrphanedLeafReport |
ILatticeTreeAdmin.RepairOrphanedLeavesAsync |
RepairOrphanedLeavesAsync |
PlanWalMove |
TreeAdminWalMovePlanRequest |
TreeWalMovePlan |
ILatticeTreeAdmin.PlanWalMoveAsync |
PlanWalMoveAsync |
ReclaimMovedWalSource |
TreeAdminWalReclaimRequest |
TreeWalMoveReceipt |
ILatticeTreeAdmin.ReclaimMovedWalSourceAsync |
ReclaimMovedWalSourceAsync |
ListViews |
TreeAdminViewListRequest |
TreeViewCatalog |
ILatticeTreeAdmin.ListViewsAsync |
ListViewsAsync |
ListViewProviders |
TreeAdminTreeRequest |
TreeViewProviderCatalog |
ILatticeTreeAdmin.ListViewProvidersAsync |
ListViewProvidersAsync |
CreateView |
TreeAdminCreateViewRequest |
TreeViewStatus |
ILatticeTreeAdmin.CreateViewAsync |
CreateViewAsync |
GetViewStatus |
TreeAdminViewRequest |
TreeViewStatus |
ILatticeTreeAdmin.GetViewStatusAsync |
GetViewStatusAsync |
DropView |
TreeAdminViewRequest |
TreeAdminViewRequest |
ILatticeTreeAdmin.DropViewAsync |
DropViewAsync |
ListTagIndexes |
TreeAdminTagIndexListRequest |
TreeTagIndexCatalog |
ILatticeTreeAdmin.ListTagIndexesAsync |
ListTagIndexesAsync |
GetTagIndexStatus |
TreeAdminTagIndexRequest |
TreeTagIndexStatus |
ILatticeTreeAdmin.GetTagIndexStatusAsync |
GetTagIndexStatusAsync |
TriggerShardCompaction |
TreeAdminShardRequest |
TreeCompactionTriggerResult |
ILatticeTreeAdmin.TriggerShardCompactionAsync |
TriggerShardCompactionAsync |
GetHistoryRetention |
TreeAdminTreeRequest |
TreeHistoryRetention |
ILatticeTreeAdmin.GetHistoryRetentionAsync |
GetHistoryRetentionAsync |
SetHistoryRetention |
TreeAdminSetRetentionRequest |
TreeHistoryRetention |
ILatticeTreeAdmin.SetHistoryRetentionAsync |
SetHistoryRetentionAsync |
StartViewRebuild |
TreeAdminViewRequest |
LatticeOperationHandle |
ILatticeTreeAdminOperations.StartViewRebuildAsync |
StartViewRebuildAsync |
StartViewReconcile |
TreeAdminViewRequest |
LatticeOperationHandle |
ILatticeTreeAdminOperations.StartViewReconcileAsync |
StartViewReconcileAsync |
StartTagIndexReconcile |
TreeAdminTagIndexRequest |
LatticeOperationHandle |
ILatticeTreeAdminOperations.StartTagIndexReconcileAsync |
StartTagIndexReconcileAsync |
StartWalMove |
TreeAdminWalMoveExecuteRequest |
LatticeOperationHandle |
ILatticeTreeAdminOperations.StartWalMoveAsync |
StartWalMoveAsync |
StartOrphanedLeavesAudit |
TreeAdminOrphanedLeafRequest |
LatticeOperationHandle |
ILatticeTreeAdminOperations.StartOrphanedLeavesAuditAsync |
StartOrphanedLeavesAuditAsync |
StartOrphanedLeavesRepair |
TreeAdminOrphanedLeafRequest |
LatticeOperationHandle |
ILatticeTreeAdminOperations.StartOrphanedLeavesRepairAsync |
StartOrphanedLeavesRepairAsync |
GetTreeAdminOperationStatus |
TreeAdminOperationRequest |
TreeAdminOperationStatusResponse |
ILatticeTreeAdminOperations.GetOperationStatusAsync |
GetTreeAdminOperationStatusAsync |
ListTreeAdminOperations |
LatticeOperationListRequest |
LatticeOperationPage |
ILatticeTreeAdminOperations.ListOperationsAsync |
ListTreeAdminOperationsAsync |
CancelTreeAdminOperation |
TreeAdminOperationRequest |
TreeAdminOperationStatusResponse |
ILatticeTreeAdminOperations.CancelOperationAsync |
CancelTreeAdminOperationAsync |
StartStorageUsageRefresh |
TreeAdminStorageUsageRefreshRequest |
LatticeOperationHandle |
ILatticeStorageUsageOperations.StartStorageUsageRefreshAsync |
StartStorageUsageRefreshAsync |
GetStorageUsageRefreshStatus |
TreeAdminStorageUsageOperationRequest |
TreeAdminStorageUsageOperationStatusResponse |
ILatticeStorageUsageOperations.GetOperationStatusAsync |
GetStorageUsageRefreshStatusAsync |
ListStorageUsageRefreshes |
LatticeOperationListRequest |
LatticeOperationPage |
ILatticeStorageUsageOperations.ListOperationsAsync |
ListStorageUsageRefreshesAsync |
CancelStorageUsageRefresh |
TreeAdminStorageUsageOperationRequest |
TreeAdminStorageUsageOperationStatusResponse |
ILatticeStorageUsageOperations.CancelOperationAsync |
CancelStorageUsageRefreshAsync |
GetWalReclamation |
TreeAdminTreeRequest |
TreeWalReclamationReport |
ILatticeWalReclamation.GetWalReclamationAsync |
GetWalReclamationAsync |
Mapping notes:
AuditOrphanedLeavescallsSurveyOrphanedLeavesAsyncwhen the request'sSurveyflag is set andAuditOrphanedLeavesAsyncotherwise.RevertTreeRestoretakes the facade's ownTreeRestoreResultas its request and echoes it back, andDropViewechoes itsTreeAdminViewRequest, because both facade methods return a bareTask.RestoreTreeSetwraps the facade's member results inTreeRestoreSetResult.ListTreeAdminOperationsandListStorageUsageRefreshescarry the sharedLatticeOperationListRequestdirectly; the status and cancel RPCs wrap the facade's nullableLatticeOperationStatusinTreeAdminOperationStatusResponseorTreeAdminStorageUsageOperationStatusResponse.- The accept-then-poll operation RPCs, the storage-usage refresh RPCs and
GetWalReclamationcall optional facades. A host that registers noILatticeTreeAdminOperations,ILatticeStorageUsageOperationsorILatticeWalReclamationanswers the matching RPCsUnimplemented;AddLatticeTreeAdminApiregisters all three. StreamBulkLoaddrives a whole bulk-load session over one duplex call. The firstTreeAdminBulkLoadStreamRequestframe names the tree and operation id, and the server begins the session (unless the frame setsResume) and answers with anOpenedframe. Every frame then carries one strictly ascending chunk at itsChunkIndexand is answered with that chunk'sTreeBulkLoadChunkAck; when the client half-closes, the server commits and sends theTreeBulkLoadResult. The client keeps at mostTreeBulkLoadStreamOptions.MaxUnacknowledgedChunkschunks in flight. When the transport drops (Unavailable,Aborted, or an I/O fault), the client reopens the call withResumeset and resends every unacknowledged chunk, up toMaxResumeAttemptstimes; appends are idempotent per chunk index, so nothing is lost or duplicated. A source fault, a cancellation, or a refusal from the facade is never resumed. The call is admitted by the transport gate before its first frame, and every chunk is authorized by the facade as it is appended.GetAuthSchemecalls no facade. It returns the registeredILatticeTreeAdminApiAuthSchemeSourceadvertisement and is the one RPC the authorization interceptor exempts.
The request records' members and the RPCs that use each one are listed under Wire message records in the package README.
Authorization seams
ILatticeTreeAdminApiAuthorizer- the per-call transport gate, with the shippedDenyTreeAdminApiAuthorizer(the registered default) andAllowAllTreeAdminApiAuthorizer(opt-in).LatticeTreeAdminApiAuthorizationContext- the call handed to the authorizer:Call,OperationandTargetId.LatticeTreeAdminApiOperation- names 22 RPCs individually. Every other RPC, and any unrecognised method, is presented asUnknown.ILatticeTreeAdminApiCredentialBridge- lifts the caller's credential from the call.ILatticeTreeAdminApiAuthSchemeSource- supplies theGetAuthSchemeadvertisement, built fromAuthSchemeDescriptorentries inside anAuthSchemeAdvertisement.
The README's Authorization surface explains which RPCs map to which operation and how TargetId is decoded; Architecture describes how the seams combine with the facade's own gate.
Wire compatibility
The request records and the auth-scheme records are [GenerateSerializer] records whose stable aliases carry the oitg. prefix; the constants live in GrpcTreeAdminTypeAliases. The facade's result records keep their own oit. aliases from Orleans.Lattice.Api.Abstractions, and the shared operation records keep their oio. aliases. Never rename an alias or renumber an [Id]: both are the wire format.
Related
Public declaration reference
The following inventory includes directly declared public members and overloads, enum values, and record positional members. Inherited framework members and compiler-generated record equality helpers are not additional package operations. Each source link identifies the declaration that defines its signature.
Orleans.Lattice.Api.TreeAdmin.Grpc.AllowAllTreeAdminApiAuthorizer
Source (line 54).
public sealed class AllowAllTreeAdminApiAuthorizer : ILatticeTreeAdminApiAuthorizer
public Task<bool> IsAuthorizedAsync(LatticeTreeAdminApiAuthorizationContext authorizationContext, CancellationToken cancellationToken)
Orleans.Lattice.Api.TreeAdmin.Grpc.AuthSchemeAdvertisement
Source (line 12).
public sealed record AuthSchemeAdvertisement
public IReadOnlyList<AuthSchemeDescriptor> Schemes { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.AuthSchemeAdvertisementRequest
Source (line 11).
public sealed record AuthSchemeAdvertisementRequest
Orleans.Lattice.Api.TreeAdmin.Grpc.AuthSchemeDescriptor
Source (line 20).
public sealed record AuthSchemeDescriptor
public required string SchemeId { get; init; }public string DisplayName { get; init; }public IReadOnlyDictionary<string, string> Parameters { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.DenyTreeAdminApiAuthorizer
Source (line 40).
public sealed class DenyTreeAdminApiAuthorizer : ILatticeTreeAdminApiAuthorizer
public Task<bool> IsAuthorizedAsync(LatticeTreeAdminApiAuthorizationContext authorizationContext, CancellationToken cancellationToken)
Orleans.Lattice.Api.TreeAdmin.Grpc.GrpcTreeAdminTypeAliases
Source (line 16).
public static class GrpcTreeAdminTypeAliases
public const string AliasPrefixpublic const string TreeAdminTreeRequestpublic const string TreeAdminShardRequestpublic const string TreeAdminOrphanedLeafRequestpublic const string TreeAdminDiagnosticsRequestpublic const string TreeAdminStorageUsageRequestpublic const string AuthSchemeAdvertisementRequestpublic const string AuthSchemeDescriptorpublic const string AuthSchemeAdvertisementpublic const string TreeAdminCreateRequestpublic const string TreeAdminSetAliasRequestpublic const string TreeAdminSetConfigRequestpublic const string TreeAdminPurgeRequestpublic const string TreeAdminBulkLoadSessionRequestpublic const string TreeAdminBulkLoadAppendRequestpublic const string TreeAdminBulkLoadStreamRequestpublic const string TreeAdminBulkLoadStreamResponsepublic const string TreeAdminRestoreRequestpublic const string TreeAdminRestoreSetRequestpublic const string TreeAdminReshardRequestpublic const string TreeAdminResizeRequestpublic const string TreeAdminSnapshotRequestpublic const string TreeAdminWalMovePlanRequestpublic const string TreeAdminWalMoveExecuteRequestpublic const string TreeAdminWalReclaimRequestpublic const string TreeAdminViewRequestpublic const string TreeAdminViewListRequestpublic const string TreeAdminCreateViewRequestpublic const string TreeAdminTagIndexRequestpublic const string TreeAdminTagIndexListRequestpublic const string TreeAdminSetRetentionRequestpublic const string TreeAdminOperationRequestpublic const string TreeAdminOperationStatusResponsepublic const string TreeAdminStorageUsageRefreshRequestpublic const string TreeAdminStorageUsageOperationRequestpublic const string TreeAdminStorageUsageOperationStatusResponse
Orleans.Lattice.Api.TreeAdmin.Grpc.ILatticeTreeAdminApiAuthSchemeSource
Source (line 15).
public interface ILatticeTreeAdminApiAuthSchemeSource
AuthSchemeAdvertisement GetAdvertisement()
Orleans.Lattice.Api.TreeAdmin.Grpc.ILatticeTreeAdminApiAuthorizer
Source (line 16).
public interface ILatticeTreeAdminApiAuthorizer
Task<bool> IsAuthorizedAsync(LatticeTreeAdminApiAuthorizationContext authorizationContext, CancellationToken cancellationToken)
Orleans.Lattice.Api.TreeAdmin.Grpc.ILatticeTreeAdminApiCredentialBridge
Source (line 37).
public interface ILatticeTreeAdminApiCredentialBridge
LatticeCredential? Resolve(ServerCallContext context)
Orleans.Lattice.Api.TreeAdmin.Grpc.LatticeTreeAdminApiAuthorizationContext
Source (line 102).
public readonly struct LatticeTreeAdminApiAuthorizationContext
public LatticeTreeAdminApiAuthorizationContext(ServerCallContext call, LatticeTreeAdminApiOperation operation, string? targetId)public ServerCallContext Call { get; }public LatticeTreeAdminApiOperation Operation { get; }public string? TargetId { get; }
Orleans.Lattice.Api.TreeAdmin.Grpc.LatticeTreeAdminApiGrpcClient
Source (line 30).
public sealed class LatticeTreeAdminApiGrpcClient
public static LatticeTreeAdminApiGrpcClient Create(CallInvoker callInvoker, IServiceProvider serializerProvider)public Task<LatticeTreeAdminCapabilities> ProbeCapabilitiesAsync(string treeId, CancellationToken cancellationToken = default)public async Task<IReadOnlyList<AuthSchemeDescriptor>> GetAuthSchemeAsync(CancellationToken cancellationToken = default)public Task<TreeHotnessReport> GetShardHotnessAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeAdminDiagnosticReport> GetDiagnosticsAsync(string treeId, bool deep = false, CancellationToken cancellationToken = default)public Task<ShardMapInspection> InspectShardMapAsync(string treeId, CancellationToken cancellationToken = default)public Task<ShardProjectionDigestReport> GetProjectionDigestAsync(string treeId, int shardIndex, CancellationToken cancellationToken = default)public Task<TreeStatsReport> GetTreeStatsAsync(string treeId, CancellationToken cancellationToken = default)public Task<ClusterStorageUsageSummary> GetStorageUsageAsync(bool deep = false, CancellationToken cancellationToken = default)public Task<LatticeOperationHandle> StartStorageUsageRefreshAsync(string? operationId = null, CancellationToken cancellationToken = default)public async Task<LatticeOperationStatus?> GetStorageUsageRefreshStatusAsync(string operationId, CancellationToken cancellationToken = default)public Task<LatticeOperationPage> ListStorageUsageRefreshesAsync(LatticeOperationListRequest request, CancellationToken cancellationToken = default)public async Task<LatticeOperationStatus?> CancelStorageUsageRefreshAsync(string operationId, CancellationToken cancellationToken = default)public Task<TreeCreationResult> CreateTreeAsync(string treeId, int? shardCount = null, int? maxLeafKeys = null, int? maxInternalChildren = null, CancellationToken cancellationToken = default)public Task<TreeExistenceResult> CheckTreeExistsAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeAliasResolution> SetTreeAliasAsync(string treeId, string physicalTreeId, CancellationToken cancellationToken = default)public Task<TreeAliasResolution> ResolveTreeAliasAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeConfigurationReport> GetTreeConfigAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeConfigurationReport> SetTreeConfigAsync(string treeId, TreeConfigurationUpdate update, CancellationToken cancellationToken = default)public Task<TreeShardMapView> GetShardMapAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeDeletionStatus> DeleteTreeAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeDeletionStatus> RecoverTreeAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeDeletionStatus> PurgeTreeAsync(string treeId, bool confirm, CancellationToken cancellationToken = default)public Task<TreeDeletionStatus> GetTreeDeletionStatusAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeBulkLoadSession> BeginBulkLoadAsync(string treeId, string operationId, CancellationToken cancellationToken = default)public Task<TreeBulkLoadChunkAck> AppendBulkLoadAsync(string treeId, string operationId, long chunkIndex, IReadOnlyList<DataEntry> entries, CancellationToken cancellationToken = default)public Task<TreeBulkLoadResult> CommitBulkLoadAsync(string treeId, string operationId, CancellationToken cancellationToken = default)public Task<TreeBulkLoadResult> BulkLoadStreamAsync(string treeId, string operationId, IAsyncEnumerable<DataEntry> sortedEntries, IProgress<TreeBulkLoadChunkAck>? progress = null, TreeBulkLoadStreamOptions? options = null, CancellationToken cancellationToken = default)public Task<TreeRestoreResult> RestoreTreeAsync(string treeId, string backupId, string? operationId = null, CancellationToken cancellationToken = default)public async Task<IReadOnlyList<TreeRestoreResult>> RestoreTreeSetAsync(string setId, CancellationToken cancellationToken = default)public async Task RevertTreeRestoreAsync(TreeRestoreResult restore, CancellationToken cancellationToken = default)public Task<TreeReshardStatus> ReshardTreeAsync(string treeId, int targetShardCount, CancellationToken cancellationToken = default)public Task<TreeReshardStatus> GetReshardStatusAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeResizeStatus> ResizeTreeAsync(string treeId, int newMaxLeafKeys, int newMaxInternalChildren, CancellationToken cancellationToken = default)public Task<TreeResizeStatus> UndoTreeResizeAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeResizeStatus> GetResizeStatusAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeSnapshotStatus> SnapshotTreeAsync(string treeId, string destinationTreeId, TreeSnapshotMode mode, int? maxLeafKeys = null, int? maxInternalChildren = null, CancellationToken cancellationToken = default)public Task<TreeSnapshotStatus> GetSnapshotStatusAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeWalPlacement> GetWalPlacementAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeWalPlacementAudit> AuditWalPlacementAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeWalReclamationReport> GetWalReclamationAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeOrphanedLeafReport> AuditOrphanedLeavesAsync(string treeId, string? resumeFrom = null, CancellationToken cancellationToken = default)public Task<TreeOrphanedLeafReport> SurveyOrphanedLeavesAsync(string treeId, string? resumeFrom = null, CancellationToken cancellationToken = default)public Task<TreeOrphanedLeafReport> RepairOrphanedLeavesAsync(string treeId, string? resumeFrom = null, CancellationToken cancellationToken = default)public Task<TreeWalMovePlan> PlanWalMoveAsync(string treeId, int partition, string targetProviderKey, CancellationToken cancellationToken = default)public Task<TreeWalMoveReceipt> ReclaimMovedWalSourceAsync(string treeId, int partition, string sourceProviderKey, CancellationToken cancellationToken = default)public Task<TreeViewCatalog> ListViewsAsync(CancellationToken cancellationToken = default)public Task<TreeViewProviderCatalog> ListViewProvidersAsync(string sourceTreeId, CancellationToken cancellationToken = default)public Task<TreeViewStatus> CreateViewAsync(string viewName, string sourceTreeId, string providerKey, byte[] payload, CancellationToken cancellationToken = default)public Task<TreeViewStatus> GetViewStatusAsync(string viewName, CancellationToken cancellationToken = default)public async Task DropViewAsync(string viewName, CancellationToken cancellationToken = default)public Task<TreeTagIndexCatalog> ListTagIndexesAsync(CancellationToken cancellationToken = default)public Task<TreeTagIndexStatus> GetTagIndexStatusAsync(string indexName, CancellationToken cancellationToken = default)public Task<TreeCompactionTriggerResult> TriggerShardCompactionAsync(string treeId, int shardIndex, CancellationToken cancellationToken = default)public Task<TreeHistoryRetention> GetHistoryRetentionAsync(string treeId, CancellationToken cancellationToken = default)public Task<TreeHistoryRetention> SetHistoryRetentionAsync(string treeId, TreeHistoryRetentionMode? mode, TimeSpan? window, CancellationToken cancellationToken = default)public Task<LatticeOperationHandle> StartViewRebuildAsync(string viewName, string? operationId = null, CancellationToken cancellationToken = default)public Task<LatticeOperationHandle> StartViewReconcileAsync(string viewName, string? operationId = null, CancellationToken cancellationToken = default)public Task<LatticeOperationHandle> StartTagIndexReconcileAsync(string indexName, string? operationId = null, CancellationToken cancellationToken = default)public Task<LatticeOperationHandle> StartWalMoveAsync(string treeId, int partition, string targetProviderKey, TreeWalMoveOptions? options = null, string? operationId = null, CancellationToken cancellationToken = default)public Task<LatticeOperationHandle> StartOrphanedLeavesAuditAsync(string treeId, string? operationId = null, CancellationToken cancellationToken = default)public Task<LatticeOperationHandle> StartOrphanedLeavesRepairAsync(string treeId, string? operationId = null, CancellationToken cancellationToken = default)public async Task<LatticeOperationStatus?> GetTreeAdminOperationStatusAsync(string operationId, CancellationToken cancellationToken = default)public Task<LatticeOperationPage> ListTreeAdminOperationsAsync(LatticeOperationListRequest request, CancellationToken cancellationToken = default)public async Task<LatticeOperationStatus?> CancelTreeAdminOperationAsync(string operationId, CancellationToken cancellationToken = default)
Orleans.Lattice.Api.TreeAdmin.Grpc.LatticeTreeAdminApiGrpcOptions
Source (line 7).
public sealed class LatticeTreeAdminApiGrpcOptions
public bool RequireAuthorization { get; set; }public string CredentialHeaderName { get; set; }public string ActiveTenantHeaderName { get; set; }public string CredentialScheme { get; set; }public IList<AuthSchemeDescriptor> AdvertisedAuthSchemes { get; }
Orleans.Lattice.Api.TreeAdmin.Grpc.LatticeTreeAdminApiGrpcServiceCollectionExtensions
Source (line 34).
public static class LatticeTreeAdminApiGrpcServiceCollectionExtensions
public static IServiceCollection AddLatticeTreeAdminApiGrpc(this IServiceCollection services, Action<LatticeTreeAdminApiGrpcOptions>? configure = null)public static IEndpointRouteBuilder MapLatticeTreeAdminApiGrpc(this IEndpointRouteBuilder endpoints)
Orleans.Lattice.Api.TreeAdmin.Grpc.LatticeTreeAdminApiOperation
Source (line 12).
public enum LatticeTreeAdminApiOperation
ProbeCapabilities = 0GetShardHotness = 1GetDiagnostics = 2InspectShardMap = 3GetProjectionDigest = 4GetTreeStats = 5GetStorageUsage = 6CreateTree = 7CheckTreeExists = 8SetTreeAlias = 9ResolveTreeAlias = 10GetTreeConfig = 11SetTreeConfig = 12GetShardMap = 13Unknown = 14CreateView = 15StartStorageUsageRefresh = 16GetStorageUsageRefreshStatus = 17ListStorageUsageRefreshes = 18CancelStorageUsageRefresh = 19GetWalReclamation = 20ListViewProviders = 21StreamBulkLoad = 22
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminBulkLoadAppendRequest
Source (line 17).
public sealed record TreeAdminBulkLoadAppendRequest
public required string TreeId { get; init; }public required string OperationId { get; init; }public long ChunkIndex { get; init; }public IReadOnlyList<DataEntry> Entries { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminBulkLoadSessionRequest
Source (line 13).
public sealed record TreeAdminBulkLoadSessionRequest
public required string TreeId { get; init; }public required string OperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminBulkLoadStreamRequest
Source (line 23).
public sealed record TreeAdminBulkLoadStreamRequest
public required string TreeId { get; init; }public required string OperationId { get; init; }public bool Resume { get; init; }public long ChunkIndex { get; init; }public IReadOnlyList<DataEntry> Entries { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminBulkLoadStreamResponse
Source (line 12).
public sealed record TreeAdminBulkLoadStreamResponse
public bool Opened { get; init; }public TreeBulkLoadChunkAck? Ack { get; init; }public TreeBulkLoadResult? Result { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminCreateRequest
Source (line 13).
public sealed record TreeAdminCreateRequest
public required string TreeId { get; init; }public int? ShardCount { get; init; }public int? MaxLeafKeys { get; init; }public int? MaxInternalChildren { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminCreateViewRequest
Source (line 10).
public sealed record TreeAdminCreateViewRequest
public required string ViewName { get; init; }public required string SourceTreeId { get; init; }public required string ProviderKey { get; init; }public byte[] Payload { get; init; }public bool Equals(TreeAdminCreateViewRequest? other)public override int GetHashCode()
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminDiagnosticsRequest
Source (line 12).
public sealed record TreeAdminDiagnosticsRequest
public required string TreeId { get; init; }public bool Deep { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminOperationRequest
Source (line 10).
public sealed record TreeAdminOperationRequest
public required string OperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminOperationStatusResponse
Source (line 13).
public sealed record TreeAdminOperationStatusResponse
public LatticeOperationStatus? Status { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminOrphanedLeafRequest
Source (line 16).
public sealed record TreeAdminOrphanedLeafRequest
public required string TreeId { get; init; }public string? ResumeFrom { get; init; }public bool Survey { get; init; }public string? TrackingOperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminPurgeRequest
Source (line 13).
public sealed record TreeAdminPurgeRequest
public required string TreeId { get; init; }public bool Confirm { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminReshardRequest
Source (line 12).
public sealed record TreeAdminReshardRequest
public required string TreeId { get; init; }public int TargetShardCount { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminResizeRequest
Source (line 13).
public sealed record TreeAdminResizeRequest
public required string TreeId { get; init; }public int NewMaxLeafKeys { get; init; }public int NewMaxInternalChildren { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminRestoreRequest
Source (line 12).
public sealed record TreeAdminRestoreRequest
public required string TreeId { get; init; }public required string BackupId { get; init; }public string? OperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminRestoreSetRequest
Source (line 10).
public sealed record TreeAdminRestoreSetRequest
public required string SetId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminSetAliasRequest
Source (line 11).
public sealed record TreeAdminSetAliasRequest
public required string TreeId { get; init; }public required string PhysicalTreeId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminSetConfigRequest
Source (line 12).
public sealed record TreeAdminSetConfigRequest
public required string TreeId { get; init; }public required TreeConfigurationUpdate Update { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminSetRetentionRequest
Source (line 15).
public sealed record TreeAdminSetRetentionRequest
public required string TreeId { get; init; }public TreeHistoryRetentionMode? Mode { get; init; }public TimeSpan? Window { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminShardRequest
Source (line 11).
public sealed record TreeAdminShardRequest
public required string TreeId { get; init; }public int ShardIndex { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminSnapshotRequest
Source (line 13).
public sealed record TreeAdminSnapshotRequest
public required string TreeId { get; init; }public required string DestinationTreeId { get; init; }public TreeSnapshotMode Mode { get; init; }public int? MaxLeafKeys { get; init; }public int? MaxInternalChildren { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminStorageUsageOperationRequest
Source (line 10).
public sealed record TreeAdminStorageUsageOperationRequest
public required string OperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminStorageUsageOperationStatusResponse
Source (line 13).
public sealed record TreeAdminStorageUsageOperationStatusResponse
public LatticeOperationStatus? Status { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminStorageUsageRefreshRequest
Source (line 11).
public sealed record TreeAdminStorageUsageRefreshRequest
public string? OperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminStorageUsageRequest
Source (line 12).
public sealed record TreeAdminStorageUsageRequest
public bool Deep { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminTagIndexListRequest
Source (line 11).
public sealed record TreeAdminTagIndexListRequest
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminTagIndexRequest
Source (line 14).
public sealed record TreeAdminTagIndexRequest
public required string IndexName { get; init; }public string? TrackingOperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminTreeRequest
Source (line 12).
public sealed record TreeAdminTreeRequest
public required string TreeId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminViewListRequest
Source (line 12).
public sealed record TreeAdminViewListRequest
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminViewRequest
Source (line 14).
public sealed record TreeAdminViewRequest
public required string ViewName { get; init; }public string? TrackingOperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminWalMoveExecuteRequest
Source (line 12).
public sealed record TreeAdminWalMoveExecuteRequest
public required string TreeId { get; init; }public int Partition { get; init; }public required string TargetProviderKey { get; init; }public TreeWalMoveOptions? Options { get; init; }public string? TrackingOperationId { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminWalMovePlanRequest
Source (line 12).
public sealed record TreeAdminWalMovePlanRequest
public required string TreeId { get; init; }public int Partition { get; init; }public required string TargetProviderKey { get; init; }
Orleans.Lattice.Api.TreeAdmin.Grpc.TreeAdminWalReclaimRequest
Source (line 13).
public sealed record TreeAdminWalReclaimRequest
public required string TreeId { get; init; }public int Partition { get; init; }public required string SourceProviderKey { get; init; }