共用方式為


VirtualMachineOSImageOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateResponse> UpdateAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations operations, string imageName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateParameters parameters);
static member UpdateAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateResponse>
<Extension()>
Public Function UpdateAsync (operations As IVirtualMachineOSImageOperations, imageName As String, parameters As VirtualMachineOSImageUpdateParameters) As Task(Of VirtualMachineOSImageUpdateResponse)

Parameters

operations
IVirtualMachineOSImageOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations.

imageName
String

Required. The name of the virtual machine image to be updated.

parameters
VirtualMachineOSImageUpdateParameters

Required. Parameters supplied to the Update Virtual Machine Image operation.

Returns

Parameters returned from the Create Virtual Machine Image operation.

Applies to