VirtualMachineDiskCreateDataDiskParameters.LogicalDiskSizeInGB Property

Gets or sets the size, in GB, of the data disk.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Dim instance As VirtualMachineDiskCreateDataDiskParameters
Dim value As Double

value = instance.LogicalDiskSizeInGB

instance.LogicalDiskSizeInGB = value

public double LogicalDiskSizeInGB { get; set; }
/** @property */
public double get_LogicalDiskSizeInGB ()

/** @property */
public void set_LogicalDiskSizeInGB (double value)

public function get LogicalDiskSizeInGB () : double

public function set LogicalDiskSizeInGB (value : double)

Property Value

The size.

If the disk that is being added is already registered in the subscription, this property is ignored. If the disk and VHD is being created by Microsoft Azure as it is added, this property defines the size of the new disk.

This property is used in combination with MediaLink.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms