Dela via


VirtualMachineVMImageOperationsExtensions.UpdateAsync Method

Definition

The Update VM Image operation updates a VM image that in your image repository.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UpdateAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations operations, string imageName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageUpdateParameters parameters);
static member UpdateAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function UpdateAsync (operations As IVirtualMachineVMImageOperations, imageName As String, parameters As VirtualMachineVMImageUpdateParameters) As Task(Of AzureOperationResponse)

Parameters

operations
IVirtualMachineVMImageOperations

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

imageName
String

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

parameters
VirtualMachineVMImageUpdateParameters

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

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to