ProbeV1.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.
Gets or sets the execution action associated with a probe.
[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
Represents a directive to execute a specific command within a container. This can be used to implement actions such as custom health checks or performing tasks during the lifecycle of a container. The execution is defined by an instance of ExecActionV1, which specifies the command to be run.