VirtualMachineDiskOperationsExtensions.GetDataDisk Method (IVirtualMachineDiskOperations, String, String, String, Int32)

 

Retrieves information about the specified data disk.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

<ExtensionAttribute>
Public Shared Function GetDataDisk (
	operations As IVirtualMachineDiskOperations,
	serviceName As String,
	deploymentName As String,
	roleName As String,
	logicalUnitNumber As Integer
) As VirtualMachineDataDiskGetResponse

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineDiskOperations

The IVirtualMachineDiskOperations object that specifies the Virtual Machine disk operations.

serviceName
Type: System.String

The name of the cloud service that contains the Virtual Machine.

deploymentName
Type: System.String

The name of the deployment.

roleName
Type: System.String

The name of the Virtual Machine to which the data disk is attached.

logicalUnitNumber
Type: System.Int32

The logical unit number of the disk.

For more information about retrieving data disk information, see the following resources:

Return to top
Show: