StatefulSetSpecV1.PersistentVolumeClaimRetentionPolicy 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.
Describes the retention policy for PersistentVolumeClaims associated with a StatefulSet.
[YamlDotNet.Serialization.YamlMember(Alias="persistentVolumeClaimRetentionPolicy")]
public Aspire.Hosting.Kubernetes.Resources.StatefulSetPersistentVolumeClaimRetentionPolicyV1 PersistentVolumeClaimRetentionPolicy { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="persistentVolumeClaimRetentionPolicy")>]
member this.PersistentVolumeClaimRetentionPolicy : Aspire.Hosting.Kubernetes.Resources.StatefulSetPersistentVolumeClaimRetentionPolicyV1 with get, set
Public Property PersistentVolumeClaimRetentionPolicy As StatefulSetPersistentVolumeClaimRetentionPolicyV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
Defines how PersistentVolumeClaims should be retained or deleted when the StatefulSet is deleted or scaled down.