Skip to content

honua-admin › Models

The model surface is grouped by admin domain — service catalog and capabilities, the metadata manifest apply/diff flow, published-layer and style payloads, and secure-connection management. Each group mirrors a coherent slice of the admin REST surface, so you typically only touch one group per workflow.

Services and capabilities

These types describe what an admin tenant exposes — the catalog of services, the resolved capability set, the running server version, and the per-tenant compatibility feature flags that gate optional admin endpoints.

honua_admin.AdminServiceSummary dataclass

Admin-API view of a published service (name + protocol roll-up).

Distinct from :class:honua_sdk.models.ServiceSummary (which is the data-plane catalog summary). Renamed from the original ServiceSummary to remove the cross-package name collision; the old name is kept as a module-level alias below for back-compat.

honua_admin.AdminCapabilitiesResponse dataclass

honua_admin.AdminVersionResponse dataclass

honua_admin.AdminCompatibilityFeatureFlags dataclass

Metadata manifests

The manifest types power the declarative apply/diff workflow: MetadataManifest is the input bundle, ManifestApplyResult (with its per-resource ManifestApplyEntry rows and aggregate ManifestApplySummary) captures the server's reconciliation outcome. The MetadataResource / MetadataResourceIdentifier / ResourceMetadata triple is the canonical resource shape consumed and emitted by the apply API.

honua_admin.MetadataManifest dataclass

honua_admin.ManifestApplyResult dataclass

honua_admin.ManifestApplyEntry dataclass

honua_admin.ManifestApplySummary dataclass

honua_admin.MetadataResource dataclass

to_dict()

Serialise back to camelCase dict for API requests.

honua_admin.MetadataResourceIdentifier dataclass

honua_admin.ResourceMetadata dataclass

Published layers and styles

These types describe layers exposed by the tenant and the styles attached to them — useful when reconciling rendering metadata or auditing the published surface.

honua_admin.PublishedLayerSummary dataclass

honua_admin.LayerStyleResponse dataclass

Secure connections

The secure-connection types cover the lifecycle of upstream credentials: listing and inspecting connections, testing connectivity, validating encryption at rest, and rotating tenant keys.

honua_admin.SecureConnectionSummary dataclass

honua_admin.SecureConnectionDetail dataclass

honua_admin.ConnectionTestResult dataclass

honua_admin.EncryptionValidationResult dataclass

honua_admin.KeyRotationResult dataclass