EphemeralContainerV1.Lifecycle 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.
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