Share via


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)

Usage

'Usage
Dim instance As VirtualMachineDiskCreateDataDiskParameters
Dim value As Double

value = instance.LogicalDiskSizeInGB

instance.LogicalDiskSizeInGB = value

Syntax

'Declaration
Public Property LogicalDiskSizeInGB As Double
public double LogicalDiskSizeInGB { get; set; }
public:
property double LogicalDiskSizeInGB {
    double get ();
    void set (double value);
}
/** @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.

Remarks

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.

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

VirtualMachineDiskCreateDataDiskParameters Class
VirtualMachineDiskCreateDataDiskParameters Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace