ContainerV1.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.
Gets or sets the lifecycle definition for the container, specifying actions to take in response to container lifecycle events, such as PostStart
and PreStop
.
[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