Class PerInstanceConfigPreservedStateDiskArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class PerInstanceConfigPreservedStateDiskArgs : ResourceArgs
Constructors
View SourcePerInstanceConfigPreservedStateDiskArgs()
Declaration
public PerInstanceConfigPreservedStateDiskArgs()
Properties
View SourceDeleteRule
A value that prescribes what should happen to the stateful disk when the VM instance is deleted.
The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION.
NEVER detatch the disk when the VM is deleted, but not delete the disk.
ON_PERMANENT_INSTANCE_DELETION will delete the stateful disk when the VM is permanently
deleted from the instance group.
Declaration
public Input<string> DeleteRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DeviceName
A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.
Declaration
public Input<string> DeviceName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Mode
The mode of the disk.
Declaration
public Input<string> Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Source
The URI of an existing persistent disk to attach under the specified device-name in the format
projects/project-id/zones/zone/disks/disk-name.
Declaration
public Input<string> Source { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |