Udostępnij za pośrednictwem


VirtualMachineDiskUpdateParameters Class

Definition

Parameters supplied to the Update Virtual Disk Image operation.

public class VirtualMachineDiskUpdateParameters
type VirtualMachineDiskUpdateParameters = class
Public Class VirtualMachineDiskUpdateParameters
Inheritance
VirtualMachineDiskUpdateParameters

Constructors

VirtualMachineDiskUpdateParameters()

Initializes a new instance of the VirtualMachineDiskUpdateParameters class.

VirtualMachineDiskUpdateParameters(String, String)

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

Properties

HasOperatingSystem

Optional. Specifies whether the disk contains an operating system. Note: Only a disk with an operating system installed can be mounted as OS Drive.

Label

Required. Specifies the friendly name of the disk.

MediaLinkUri

Optional. 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.

ResizedSizeInGB

Optional. Resizes the underlying blob to the indicated size in GB.To use the ResizedSizeInGB property, the version header should be at least 2014-10-01.

Applies to