Compartilhar via


VirtualMachineConfiguration.DataDisks Property

Definition

The configuration for data disks attached to the Compute Nodes in the Pool. This property must be specified if the Compute Nodes in the Pool need to have empty data disks attached to them. This cannot be updated. Each Compute Node gets its own disk (the disk is not a file share). Existing disks cannot be attached, each attached disk is empty. When the Compute Node is removed from the Pool, the disk and all data associated with it is also deleted. The disk is not formatted after being attached, it must be formatted before use - for more information see https://docs.microsoft.com/en-us/azure/virtual-machines/linux/classic/attach-disk#initialize-a-new-data-disk-in-linux and https://docs.microsoft.com/en-us/azure/virtual-machines/windows/attach-disk-ps#add-an-empty-data-disk-to-a-virtual-machine.

public System.Collections.Generic.IList<Azure.Compute.Batch.DataDisk> DataDisks { get; }
member this.DataDisks : System.Collections.Generic.IList<Azure.Compute.Batch.DataDisk>
Public ReadOnly Property DataDisks As IList(Of DataDisk)

Property Value

Applies to