public sealed class StatefulPolicyPreservedState : IMessage<StatefulPolicyPreservedState>, IEquatable<StatefulPolicyPreservedState>, IDeepCloneable<StatefulPolicyPreservedState>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class StatefulPolicyPreservedState.
public MapField<string, StatefulPolicyPreservedStateNetworkIp> ExternalIPs { get; }
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
public MapField<string, StatefulPolicyPreservedStateNetworkIp> InternalIPs { get; }
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
[[["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\u003eThe latest version of the \u003ccode\u003eStatefulPolicyPreservedState\u003c/code\u003e class is 3.6.0, with multiple previous versions available for reference, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStatefulPolicyPreservedState\u003c/code\u003e is a class within the Google.Cloud.Compute.V1 namespace and the Compute Engine v1 API, used for managing configurations of preserved resources.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring it's adaptable to different environments.\u003c/p\u003e\n"],["\u003cp\u003eThe class can preserve state for disks and network IPs, both external and internal, as demonstrated by its \u003ccode\u003eDisks\u003c/code\u003e, \u003ccode\u003eExternalIPs\u003c/code\u003e, and \u003ccode\u003eInternalIPs\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor overloads, one default and one that takes an existing \u003ccode\u003eStatefulPolicyPreservedState\u003c/code\u003e object to copy, which are utilized for object creation.\u003c/p\u003e\n"]]],[],null,[]]