Compute Engine v1 API - Class StatefulPolicyPreservedStateDiskDevice (3.2.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
Name Description
other StatefulPolicyPreservedStateDiskDevice

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
Type Description
string

HasAutoDelete

public bool HasAutoDelete { get; }

Gets whether the "auto_delete" field is set

Property Value
Type Description
bool