Udostępnij za pośrednictwem


IVirtualMachineOSImageOperations.UpdateAsync Method

Definition

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)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateResponse> UpdateAsync (string imageName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateResponse>
Public Function UpdateAsync (imageName As String, parameters As VirtualMachineOSImageUpdateParameters, cancellationToken As CancellationToken) As Task(Of VirtualMachineOSImageUpdateResponse)

Parameters

imageName
String

The name of the virtual machine image to be updated.

parameters
VirtualMachineOSImageUpdateParameters

Parameters supplied to the Update Virtual Machine Image operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Parameters returned from the Create Virtual Machine Image operation.

Applies to