Table of Contents

Class MetadataResource

Namespace
Honua.Sdk.Admin.Models
Assembly
Honua.Sdk.Admin.dll

Represents a versioned metadata resource envelope with spec and status separation.

public sealed class MetadataResource
Inheritance
MetadataResource
Inherited Members

Properties

ApiVersion

API version for the resource schema (e.g. "honua.io/v1alpha1").

[JsonPropertyName("apiVersion")]
public string? ApiVersion { get; init; }

Property Value

string

Kind

Resource kind (e.g. "Layer", "Service").

[JsonPropertyName("kind")]
public string? Kind { get; init; }

Property Value

string

Metadata

Resource metadata including identity and versioning.

[JsonPropertyName("metadata")]
public ResourceMetadata? Metadata { get; init; }

Property Value

ResourceMetadata

Spec

Desired state for the resource.

[JsonPropertyName("spec")]
public JsonElement Spec { get; init; }

Property Value

JsonElement

Status

Computed or observed state for the resource.

[JsonPropertyName("status")]
public JsonElement? Status { get; init; }

Property Value

JsonElement?