public sealed class StatefulPolicyPreservedStateDiskDevice : IMessage<StatefulPolicyPreservedStateDiskDevice>, IEquatable<StatefulPolicyPreservedStateDiskDevice>, IDeepCloneable<StatefulPolicyPreservedStateDiskDevice>, IBufferMessage, IMessage
These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.
Check the AutoDelete enum for the list of possible values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The latest version of the `StatefulPolicyPreservedStateDiskDevice` is 3.6.0, with the content outlining a historical list of available versions down to 1.0.0."],["The `StatefulPolicyPreservedStateDiskDevice` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class inherits from the `object` class and provides methods like `GetHashCode`, `GetType`, and `ToString`."],["It also has properties such as `AutoDelete`, which specifies if a disk should be deleted after it is no longer used, and `HasAutoDelete` to check if this property has been set."],["The class contains two constructors, `StatefulPolicyPreservedStateDiskDevice()` and `StatefulPolicyPreservedStateDiskDevice(StatefulPolicyPreservedStateDiskDevice)`, to either create an empty instance or one based on an existing object."]]],[]]