Share via


EphemeralContainerV1.Lifecycle Property

Definition

Specifies the lifecycle settings for the ephemeral container. This property represents actions that the system should take in response to specific container lifecycle events, such as PostStart and PreStop handlers. These handlers allow you to define behavior that executes before or after certain lifecycle milestones, enhancing container manageability.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to