ExecActionV1 Class
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.
ExecActionV1 represents an action that executes a command within a container.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class ExecActionV1
[<YamlDotNet.Serialization.YamlSerializable>]
type ExecActionV1 = class
Public NotInheritable Class ExecActionV1
- Inheritance
-
ExecActionV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
This action defines the execution of a command line inside a container. It is commonly used in Kubernetes resources such as lifecycle hooks or probes to perform specific actions like health checks or custom scripts.
Constructors
ExecActionV1() |
Properties
Command |
Gets the list of commands to be executed. This property represents the specific command-line arguments that will be invoked as part of the execution action. |