NamespaceSpecV1
Classsealednet10.0
Represents the specification for a Kubernetes Namespace resource in the v1 API version.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class NamespaceSpecV1{ // ...}Remarks
Section titled Remarks This class provides configuration details for a Kubernetes Namespace, specifically the associated finalizers. Finalizers are used to ensure proper cleanup or processing of resources before deletion. The NamespaceSpecV1 object is referenced within a Kubernetes Namespace instance.
Constructors1
Section titled ConstructorsProperties1
Section titled PropertiesFinalizersgetList<string> Gets the list of finalizers associated with the namespace. Finalizers are used to define actions or hooks that must be completed before a namespace is deleted. This ensures specific cleanup tasks are completed properly before the resource is removed.