Share via


VirtualMachineCreateParameters.OSVirtualHardDisk Property

Gets or sets an OSVirtualHardDisk object that defines the parameters that are used to create the operating system disk for a Virtual Machine.

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

Usage

'Usage
Dim instance As VirtualMachineCreateParameters
Dim value As OSVirtualHardDisk

value = instance.OSVirtualHardDisk

instance.OSVirtualHardDisk = value

Syntax

'Declaration
Public Property OSVirtualHardDisk As OSVirtualHardDisk
public OSVirtualHardDisk OSVirtualHardDisk { get; set; }
public:
property OSVirtualHardDisk^ OSVirtualHardDisk {
    OSVirtualHardDisk^ get ();
    void set (OSVirtualHardDisk^ value);
}
/** @property */
public OSVirtualHardDisk get_OSVirtualHardDisk ()

/** @property */
public void set_OSVirtualHardDisk (OSVirtualHardDisk value)
public function get OSVirtualHardDisk () : OSVirtualHardDisk

public function set OSVirtualHardDisk (value : OSVirtualHardDisk)

Property Value

An OSVirtualHardDisk object.

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

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