Share via


LifecycleHandlerV1.Exec Property

Definition

Represents an action that executes a command within a container.

[YamlDotNet.Serialization.YamlMember(Alias="exec")]
public Aspire.Hosting.Kubernetes.Resources.ExecActionV1 Exec { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="exec")>]
member this.Exec : Aspire.Hosting.Kubernetes.Resources.ExecActionV1 with get, set
Public Property Exec As ExecActionV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property defines the execution of a command line inside a container. It is typically used in Kubernetes lifecycle hooks or probes for custom actions such as health checks or running scripts.

Applies to