Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ObjectMetaV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents metadata for Kubernetes resources, encapsulating standard properties such as the resource's name, namespace, labels, annotations, and owner references.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ObjectMetaV1
{
// ...
}
This class is used to define and handle key metadata information associated with Kubernetes objects, such as: - Unique identifier (UID) of the resource. - Name and namespace of the resource. - Labels and annotations for organizing and categorizing resources. - Managed fields for tracking changes to the resource. - Owner references to define dependencies between resources. - Creation and deletion timestamps, along with optional deletion grace period. It is a core component for properly managing Kubernetes resources and ensuring compliance with Kubernetes object standards.
View all constructors
View all properties