Share via


SleepActionV1 Class

Definition

Represents an action to pause execution for a specified duration in seconds.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class SleepActionV1
[<YamlDotNet.Serialization.YamlSerializable>]
type SleepActionV1 = class
Public NotInheritable Class SleepActionV1
Inheritance
SleepActionV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

SleepActionV1 is primarily used in Kubernetes lifecycle handlers to introduce a delay or pause during specific points of the Pod's lifecycle, such as during pre-stop or post-start events.

Constructors

SleepActionV1()

Properties

Seconds

Represents the duration in seconds associated with a sleep action.

Applies to