IVirtualMachineImageOperations.UpdateAsync Method

Asynchronously updates an operating system image in the image repository.

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

'Usage
Dim instance As IVirtualMachineImageOperations
Dim imageName As String
Dim parameters As VirtualMachineImageUpdateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of VirtualMachineImageUpdateResponse)

returnValue = instance.UpdateAsync(imageName, parameters, cancellationToken)

Task<VirtualMachineImageUpdateResponse> UpdateAsync (
	string imageName,
	VirtualMachineImageUpdateParameters parameters,
	CancellationToken cancellationToken
)
Task<VirtualMachineImageUpdateResponse> UpdateAsync (
	String imageName, 
	VirtualMachineImageUpdateParameters parameters, 
	CancellationToken cancellationToken
)
function UpdateAsync (
	imageName : String, 
	parameters : VirtualMachineImageUpdateParameters, 
	cancellationToken : CancellationToken
) : Task<VirtualMachineImageUpdateResponse>

Parameters

imageName

The name of the image to be updated.

parameters

The VirtualMachineImageUpdateParameters object that contains the parameters that are used to update an image.

cancellationToken

The cancellation token.

Return Value

The VirtualMachineImageUpdateResponse object that contains information about the updated image.

For more information about updating images, see the following resources:


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

Show: