Compute Engine v1 API - Class StatefulPolicyPreservedStateDiskDevice (2.11.0)

public sealed class StatefulPolicyPreservedStateDiskDevice : IMessage<StatefulPolicyPreservedStateDiskDevice>, IEquatable<StatefulPolicyPreservedStateDiskDevice>, IDeepCloneable<StatefulPolicyPreservedStateDiskDevice>, IBufferMessage, IMessage

Inheritance

object > StatefulPolicyPreservedStateDiskDevice

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

StatefulPolicyPreservedStateDiskDevice()

public StatefulPolicyPreservedStateDiskDevice()

StatefulPolicyPreservedStateDiskDevice(StatefulPolicyPreservedStateDiskDevice)

public StatefulPolicyPreservedStateDiskDevice(StatefulPolicyPreservedStateDiskDevice other)
Parameter
NameDescription
otherStatefulPolicyPreservedStateDiskDevice

Properties

AutoDelete

public string AutoDelete { get; set; }

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.

Property Value
TypeDescription
string

HasAutoDelete

public bool HasAutoDelete { get; }

Gets whether the "auto_delete" field is set

Property Value
TypeDescription
bool