IVirtualMachineOSImageOperations.UpdateAsync Method (String, VirtualMachineOSImageUpdateParameters, CancellationToken)
The Update OS Image operation updates an OS image that in your image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157198.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Function UpdateAsync ( imageName As String, parameters As VirtualMachineOSImageUpdateParameters, cancellationToken As CancellationToken ) As Task(Of VirtualMachineOSImageUpdateResponse)
Parameters
- imageName
-
Type:
System.String
The name of the virtual machine image to be updated.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateParameters
Parameters supplied to the Update Virtual Machine Image operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of VirtualMachineOSImageUpdateResponse)Parameters returned from the Create Virtual Machine Image operation.
Show: