Share via


Workload Class

Definition

The base class for Kubernetes workload resources, such as StatefulSets and Deployments.

public abstract class Workload : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
type Workload = class
    inherit BaseKubernetesResource
Public MustInherit Class Workload
Inherits BaseKubernetesResource
Inheritance
Derived

Constructors

Workload(String, String)

The base class for Kubernetes workload resources, such as StatefulSets and Deployments.

Properties

ApiVersion

Gets or sets the API version for the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Kind

Gets or sets the kind of the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Metadata

Gets or sets the metadata for the Kubernetes resource.

(Inherited from BaseKubernetesResource)
PodTemplate

Gets the pod template for the workload.

Applies to