Partager via


VmssDataDisk Class

Definition

Managed data disk description.

public class VmssDataDisk
type VmssDataDisk = class
Public Class VmssDataDisk
Inheritance
VmssDataDisk

Constructors

VmssDataDisk()

Initializes a new instance of the VmssDataDisk class.

VmssDataDisk(Int32, Int32, String, String)

Initializes a new instance of the VmssDataDisk class.

Properties

DiskLetter

Gets or sets managed data disk letter. It can not use the reserved letter C or D and it can not change after created.

DiskSizeGb

Gets or sets disk size for each vm in the node type in GBs.

DiskType

Gets or sets managed data disk type. Specifies the storage account type for the managed disk Possible values include: 'Standard_LRS', 'StandardSSD_LRS', 'Premium_LRS'

Lun

Gets or sets 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.

Methods

Validate()

Validate the object.

Applies to