Class DataDiskAttachmentState
Inherited Members
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public sealed class DataDiskAttachmentState : ResourceArgs
Constructors
View SourceDataDiskAttachmentState()
Declaration
public DataDiskAttachmentState()
Properties
View SourceCaching
Specifies the caching requirements for this Data Disk. Possible values include None, ReadOnly and ReadWrite.
Declaration
public Input<string> Caching { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CreateOption
The Create Option of the Data Disk, such as Empty or Attach. Defaults to Attach. Changing this forces a new resource to be created.
Declaration
public Input<string> CreateOption { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Lun
The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. Changing this forces a new resource to be created.
Declaration
public Input<int> Lun { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ManagedDiskId
The ID of an existing Managed Disk which should be attached. Changing this forces a new resource to be created.
Declaration
public Input<string> ManagedDiskId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VirtualMachineId
The ID of the Virtual Machine to which the Data Disk should be attached. Changing this forces a new resource to be created.
Declaration
public Input<string> VirtualMachineId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
WriteAcceleratorEnabled
Specifies if Write Accelerator is enabled on the disk. This can only be enabled on Premium_LRS managed disks with no caching and M-Series VMs. Defaults to false.
Declaration
public Input<bool> WriteAcceleratorEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |