Class VirtualMachineStorageDataDisk
Inheritance
Inherited Members
Namespace: Pulumi.Azure.Compute.Outputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class VirtualMachineStorageDataDisk
Fields
View SourceCaching
Specifies the caching requirements for the Data Disk. Possible values include None, ReadOnly and ReadWrite.
Declaration
public readonly string Caching
Field Value
| Type | Description |
|---|---|
| System.String |
CreateOption
Specifies how the data disk should be created. Possible values are Attach, FromImage and Empty.
Declaration
public readonly string CreateOption
Field Value
| Type | Description |
|---|---|
| System.String |
DiskSizeGb
Specifies the size of the data disk in gigabytes.
Declaration
public readonly int? DiskSizeGb
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Lun
Specifies the logical unit number of the data disk. This needs to be unique within all the Data Disks on the Virtual Machine.
Declaration
public readonly int Lun
Field Value
| Type | Description |
|---|---|
| System.Int32 |
ManagedDiskId
Specifies the ID of an Existing Managed Disk which should be attached to this Virtual Machine. When this field is set create_option must be set to Attach.
Declaration
public readonly string ManagedDiskId
Field Value
| Type | Description |
|---|---|
| System.String |
ManagedDiskType
Specifies the type of managed disk to create. Possible values are either Standard_LRS, StandardSSD_LRS, Premium_LRS or UltraSSD_LRS.
Declaration
public readonly string ManagedDiskType
Field Value
| Type | Description |
|---|---|
| System.String |
Name
The name of the Data Disk.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
VhdUri
Specifies the URI of the VHD file backing this Unmanaged Data Disk. Changing this forces a new resource to be created.
Declaration
public readonly string VhdUri
Field Value
| Type | Description |
|---|---|
| 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 readonly bool? WriteAcceleratorEnabled
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |