OSVirtualHardDisk Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The parameters Azure uses to create the operating system disk for the virtual machine.
public class OSVirtualHardDisk
type OSVirtualHardDisk = class
Public Class OSVirtualHardDisk
- Inheritance
-
OSVirtualHardDisk
Constructors
OSVirtualHardDisk() |
Initializes a new instance of the OSVirtualHardDisk class. |
Properties
HostCaching |
Optional. Specifies the platform caching behavior of the operating system disk blob for read/write efficiency. |
IOType |
Optional. Gets or sets the IO type. |
Label |
Optional. Specifies the friendly name of an operating system image in the image repository. |
MediaLink |
Optional. Specifies the location of the operating system disk in Azure storage. |
Name |
Optional. Specifies the name of an operating system image in the image repository. |
OperatingSystem |
Optional. The operating system running in the virtual machine. |
RemoteSourceImageLink |
Optional. Uri of the source OS image that will be copied to the customer’s storage account of VM creation.If RemoteSourceImageLink is specified, then MediaLink must also be specified.If RemoteSourceImageLink is specified, thenSourceIamgeName must not be specified. |
ResizedSizeInGB |
Optional. When an OS Image or a RemoteSourceImage is used to create an OSVirtualHardDisk, this parameter can be used to resize the new OSVirtualHardDisk to a larger size. ResizedSizeInGB must be larger than the underlying OS Image’s LogicalSizeInGB. |
SourceImageName |
Optional. Specifies the name of the source image that was used to provision the virtual machine. |
Applies to
Azure SDK for .NET