# NamespaceSpecV1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [NamespaceSpecV1](/reference/api/csharp/aspire.hosting.kubernetes/namespacespecv1.md)
- Kind: `Properties`
- Members: `1`

Represents the specification for a Kubernetes Namespace resource in the v1 API version.

## Finalizers

- Name: `Finalizers`
- Modifiers: `get`
- Returns: `List<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/NamespaceSpecV1.cs#L26)

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.

```csharp
public List<string> Finalizers { get; }
```
