Compute Engine v1 API - Class SchedulingOnInstanceStopAction (3.1.0)

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.

Inheritance

object > SchedulingOnInstanceStopAction

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SchedulingOnInstanceStopAction()

public SchedulingOnInstanceStopAction()

SchedulingOnInstanceStopAction(SchedulingOnInstanceStopAction)

public SchedulingOnInstanceStopAction(SchedulingOnInstanceStopAction other)
Parameter
Name Description
other SchedulingOnInstanceStopAction

Properties

DiscardLocalSsd

public bool DiscardLocalSsd { get; set; }

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.

Property Value
Type Description
bool

HasDiscardLocalSsd

public bool HasDiscardLocalSsd { get; }

Gets whether the "discard_local_ssd" field is set

Property Value
Type Description
bool