IVirtualMachineDiskOperations::UpdateDiskAsync Method (String^, VirtualMachineDiskUpdateParameters^, CancellationToken)

 

The Add Disk operation adds a disk to the user image repository. The disk can be an operating system disk or a data disk. (see http://msdn.microsoft.com/library/windowsazure/jj157178.aspx for more information)

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

Task<VirtualMachineDiskUpdateResponse^>^ UpdateDiskAsync(
	String^ name,
	VirtualMachineDiskUpdateParameters^ parameters,
	CancellationToken cancellationToken
)

Parameters

name
Type: System::String^

The name of the disk being updated.

parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models::VirtualMachineDiskUpdateParameters^

Parameters supplied to the Update Virtual Machine Disk operation.

cancellationToken
Type: System.Threading::CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks::Task<VirtualMachineDiskUpdateResponse^>^

A virtual machine disk associated with your subscription.

Return to top
Show: