# 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/becb48e2d61099e35ae336d527d3875e928d6594/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; }
```
