BaseKubernetesResource(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serves as the foundational class for defining Kubernetes resources in the v1 API version.
protected BaseKubernetesResource(string apiVersion, string kind);
new Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource : string * string -> Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
Protected Sub New (apiVersion As String, kind As String)
Parameters
- apiVersion
- String
- kind
- String
Remarks
The BaseKubernetesResource class contains shared properties common to all Kubernetes resources, such as Kind, ApiVersion, and Metadata. It acts as an abstract base for deriving specific resource types and facilitates consistent handling of Kubernetes resource definitions.