LifecycleHandlerV1.Exec Property
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.
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.