Show / Hide Table of Contents

Class DataDiskAttachmentArgs

Inheritance
System.Object
InputArgs
ResourceArgs
DataDiskAttachmentArgs
Inherited Members
ResourceArgs.Empty
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.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public sealed class DataDiskAttachmentArgs : ResourceArgs

Constructors

View Source

DataDiskAttachmentArgs()

Declaration
public DataDiskAttachmentArgs()

Properties

View Source

Caching

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.