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 | |
---|---|---|
VirtualMachineDataDiskUpdateParameters() | Initializes a new instance of the VirtualMachineDataDiskUpdateParameters class. |
|
VirtualMachineDataDiskUpdateParameters(String, Uri) | Initializes a new instance of the VirtualMachineDataDiskUpdateParameters class with required arguments. |
Properties
Name | Description | |
---|---|---|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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 | |
---|---|---|
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