OSDiskConfiguration.LogicalDiskSizeInGB Property
Optional. Specifies the size, in GB, of an empty VHD to be attached to the virtual machine. The VHD can be created as part of disk attach or create virtual machine calls by specifying the value for this property. Azure creates the empty VHD based on size preference and attaches the newly created VHD to the virtual machine.
Namespace: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageListResponse
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Usage
'Usage
Dim instance As OSDiskConfiguration
Dim value As Integer
value = instance.LogicalDiskSizeInGB
instance.LogicalDiskSizeInGB = value
Syntax
'Declaration
Public Property LogicalDiskSizeInGB As Integer
public int LogicalDiskSizeInGB { get; set; }
public:
property int LogicalDiskSizeInGB {
int get ();
void set (int value);
}
/** @property */
public int get_LogicalDiskSizeInGB ()
/** @property */
public void set_LogicalDiskSizeInGB (int value)
public function get LogicalDiskSizeInGB () : int
public function set LogicalDiskSizeInGB (value : int)
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
OSDiskConfiguration Class
OSDiskConfiguration Members
Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageListResponse Namespace