VirtualMachineDataDiskUpdateParameters Class

 

Parameters supplied to the Update Virtual Machine Data Disk operation.

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

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod VirtualMachineDataDiskUpdateParameters()

Initializes a new instance of the VirtualMachineDataDiskUpdateParameters class.

System_CAPS_pubmethod VirtualMachineDataDiskUpdateParameters(String, Uri)

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

Properties

Name Description
System_CAPS_pubproperty HostCaching

Required. Specifies the platform caching behavior of data disk blob for read/write efficiency. The default vault is ReadOnly. Possible values are: None, ReadOnly, or ReadWrite. Warning: Setting this property impacts the consistency of the disk.

System_CAPS_pubproperty Label

Optional. Specifies the description of the data disk. When you attach a disk, either by directly referencing a media using the MediaLink element or specifying the target disk size, you can use the DiskLabel element to customize the name property of the target data disk.

System_CAPS_pubproperty LogicalDiskSizeInGB

Optional. Specifies the size, in GB, of an empty disk to be attached to the role. The disk can be created as part of disk attach or create VM role call by specifying the value for this property. Azure creates the empty disk based on size preference and attaches the newly created disk to the Role.

System_CAPS_pubproperty LogicalUnitNumber

Optional. Specifies the Logical Unit Number (LUN) for the disk. The LUN specifies the slot in which the data drive appears when mounted for usage by the virtual machine. Valid LUN values are 0 through 15.

System_CAPS_pubproperty MediaLinkUri

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

System_CAPS_pubproperty Name

Optional. Specifies the name of the disk. Azure uses the specified disk to create the data disk for the machine and populates this field with the disk name.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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