Table of Contents

Class ResourceMetadata

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

Metadata fields common to all resources, including identity and versioning.

public sealed class ResourceMetadata
Inheritance
ResourceMetadata
Inherited Members

Properties

Annotations

Free-form annotations for tooling and audit metadata.

[JsonPropertyName("annotations")]
public Dictionary<string, string>? Annotations { get; init; }

Property Value

Dictionary<string, string>

CreatedAt

Timestamp when the resource was created.

[JsonPropertyName("createdAt")]
public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

Generation

Generation number that increments when spec changes.

[JsonPropertyName("generation")]
public long? Generation { get; init; }

Property Value

long?

Id

Stable resource identifier.

[JsonPropertyName("id")]
public string? Id { get; init; }

Property Value

string

Labels

Key-value labels for selection and grouping.

[JsonPropertyName("labels")]
public Dictionary<string, string>? Labels { get; init; }

Property Value

Dictionary<string, string>

Name

Human-readable name within the namespace.

[JsonPropertyName("name")]
public string? Name { get; init; }

Property Value

string

Namespace

Namespace for grouping resources.

[JsonPropertyName("namespace")]
public string? Namespace { get; init; }

Property Value

string

ResourceVersion

Monotonic resource version for optimistic concurrency.

[JsonPropertyName("resourceVersion")]
public string? ResourceVersion { get; init; }

Property Value

string

UpdatedAt

Timestamp when the resource was last updated.

[JsonPropertyName("updatedAt")]
public DateTimeOffset? UpdatedAt { get; init; }

Property Value

DateTimeOffset?