Share via


OSVirtualHardDisk Class

 

Represents an operating system disk for a Virtual Machine.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.Compute.Models.OSVirtualHardDisk

Syntax

public class OSVirtualHardDisk
public ref class OSVirtualHardDisk 
type OSVirtualHardDisk = class end
Public Class OSVirtualHardDisk

Constructors

Name Description
OSVirtualHardDisk()

Initializes a new instance of the OSVirtualHardDisk class.

Properties

Name Description
HostCaching

Gets or sets a VirtualHardDiskHostCaching value that specifies the caching mode of the operating system disk.

IOType

Optional. Gets or sets the IO type.

Label

Optional. Specifies the friendly name of an operating system image in the image repository.

MediaLink

Gets or sets the location of the VHD file that is created when SourceImageName specifies a platform image.

Name

Optional. Specifies the name of an operating system image in the image repository.

OperatingSystem

Gets or sets the operating system running in the Virtual Machine.

SourceImageName

Gets or sets the name of the image to use to create the Virtual Machine.

Methods

Name Description
Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetHashCode()

(Inherited from Object.)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

ToString()

(Inherited from 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.

See Also

Microsoft.WindowsAzure.Management.Compute.Models Namespace

Return to top