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 various previous versions ranging from 3.5.0 down to 1.0.0 also accessible."],["This class, `StatefulPolicyPreservedStateDiskDevice`, is part of the `Google.Cloud.Compute.V1` namespace and is defined in the `Google.Cloud.Compute.V1.dll` assembly."],["It inherits from `Object` and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has a constructor that accepts another `StatefulPolicyPreservedStateDiskDevice` object and a default constructor."],["It has properties like `AutoDelete` (a string) and `HasAutoDelete` (a boolean), with `AutoDelete` determining whether disks should be deleted when no longer in use."]]],[]]