public sealed class StatefulPolicyPreservedStateDiskDevice : IMessage<StatefulPolicyPreservedStateDiskDevice>, IEquatable<StatefulPolicyPreservedStateDiskDevice>, IDeepCloneable<StatefulPolicyPreservedStateDiskDevice>, IBufferMessage, IMessage
Implements
IMessageStatefulPolicyPreservedStateDiskDevice, IEquatableStatefulPolicyPreservedStateDiskDevice, IDeepCloneableStatefulPolicyPreservedStateDiskDevice, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |