NodeTypeVmssDataDisk Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of NodeTypeVmssDataDisk.
public NodeTypeVmssDataDisk (int lun, int diskSizeInGB, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedDataDiskType diskType, string diskLetter);
new Azure.ResourceManager.ServiceFabricManagedClusters.Models.NodeTypeVmssDataDisk : int * int * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedDataDiskType * string -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.NodeTypeVmssDataDisk
Public Sub New (lun As Integer, diskSizeInGB As Integer, diskType As ServiceFabricManagedDataDiskType, diskLetter As String)
Parameters
- lun
- Int32
Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- diskSizeInGB
- Int32
Disk size for each vm in the node type in GBs.
- diskType
- ServiceFabricManagedDataDiskType
Managed data disk type. Specifies the storage account type for the managed disk.
- diskLetter
- String
Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
Exceptions
diskLetter
is null.
Applies to
Azure SDK for .NET