public sealed class StatefulPolicyPreservedStateNetworkIp : IMessage<StatefulPolicyPreservedStateNetworkIp>, IEquatable<StatefulPolicyPreservedStateNetworkIp>, IDeepCloneable<StatefulPolicyPreservedStateNetworkIp>, IBufferMessage, IMessage
These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is 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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eStatefulPolicyPreservedStateNetworkIp\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, covering versions from 1.0.0 up to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStatefulPolicyPreservedStateNetworkIp\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, is designed to manage stateful IP addresses, specifically when dealing with autohealing, updates, or VM instance recreation operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e, offering functionalities for message handling, equality comparisons, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eAutoDelete\u003c/code\u003e, which determines if the IP reservation should be deleted when no longer used by the group, and \u003ccode\u003eHasAutoDelete\u003c/code\u003e which checks whether the "auto_delete" field is set.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one with no parameters and the other taking a StatefulPolicyPreservedStateNetworkIp object as its parameter, that are used to create instances of the \u003ccode\u003eStatefulPolicyPreservedStateNetworkIp\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]