IVirtualMachineDiskOperations::GetDataDiskAsync Method (String^, String^, String^, Int32, CancellationToken)

 

Asynchronously retrieves information about the specified data disk.

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

Task<VirtualMachineDataDiskGetResponse^>^ GetDataDiskAsync(
	String^ serviceName,
	String^ deploymentName,
	String^ roleName,
	int logicalUnitNumber,
	CancellationToken cancellationToken
)

Parameters

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.

cancellationToken
Type: System.Threading::CancellationToken

The cancellation token.

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

Return to top
Show: