public sealed class SchedulingOnInstanceStopAction : IMessage<SchedulingOnInstanceStopAction>, IEquatable<SchedulingOnInstanceStopAction>, IDeepCloneable<SchedulingOnInstanceStopAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SchedulingOnInstanceStopAction.
Defines the behaviour for instances with the instance_termination_action STOP.
If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time.
[[["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 \u003ccode\u003eSchedulingOnInstanceStopAction\u003c/code\u003e class in the Google.Cloud.Compute.V1 API defines how instances behave when their \u003ccode\u003einstance_termination_action\u003c/code\u003e is set to STOP.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version of the Google.Cloud.Compute.V1 API, with numerous older versions also available, including version 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchedulingOnInstanceStopAction\u003c/code\u003e class can be instantiated using either a default constructor or a constructor that takes another \u003ccode\u003eSchedulingOnInstanceStopAction\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDiscardLocalSsd\u003c/code\u003e property, when set to true, will discard any attached local SSD data upon instance stop, whereas false will preserve it.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionality for message handling, comparison, cloning, and buffer operations.\u003c/p\u003e\n"]]],[],null,[]]