Dela via


VirtualMachineDiskCreateParameters Class

Definition

Parameters supplied to the Create Virtual Disk Image operation.

public class VirtualMachineDiskCreateParameters
type VirtualMachineDiskCreateParameters = class
Public Class VirtualMachineDiskCreateParameters
Inheritance
VirtualMachineDiskCreateParameters

Constructors

VirtualMachineDiskCreateParameters()

Initializes a new instance of the VirtualMachineDiskCreateParameters class.

VirtualMachineDiskCreateParameters(String, Uri, String)

Initializes a new instance of the VirtualMachineDiskCreateParameters class with required arguments.

Properties

Label

Required. Specifies the friendly name of the disk.

MediaLinkUri

Required. Specifies the location of the blob in Azure storage. The blob location must belong to a storage account in the subscription specified by the SubscriptionId value in the operation call. Example: http://example.blob.core.windows.net/disks/mydisk.vhd.

Name

Required. Specifies a name for the disk. Azure uses the name to identify the disk when creating virtual machines from the disk.

OperatingSystemType

Optional. The operating system type of the disk. Possible values are: Linux or Windows.

Applies to