Skip to content
Docs Try Aspire

Namespace Constructors

Class Constructors 1 member
Represents a Kubernetes Namespace resource in the v1 API version.
Represents a Kubernetes Namespace resource in the v1 API version.
public sealed class Namespace
{
public Namespace()
{
// ...
}
}
The Namespace class defines the structure for the Kubernetes Namespace resource, including metadata and specification details. It inherits from the BaseKubernetesResource class to leverage shared properties such as ApiVersion, Kind, and Metadata. This class enables serialization and deserialization of Namespace resources using YAML.