Share via


NamespaceSpecV1 Class

Definition

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

[YamlDotNet.Serialization.YamlSerializable]
public sealed class NamespaceSpecV1
[<YamlDotNet.Serialization.YamlSerializable>]
type NamespaceSpecV1 = class
Public NotInheritable Class NamespaceSpecV1
Inheritance
NamespaceSpecV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

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.

Constructors

Name Description
NamespaceSpecV1()

Properties

Name Description
Finalizers

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.

Applies to