IVirtualMachineVMImageOperations.UpdateAsync Method (String, VirtualMachineVMImageUpdateParameters, CancellationToken)
The Update VM Image operation updates a VM image that in your image repository.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Function UpdateAsync ( imageName As String, parameters As VirtualMachineVMImageUpdateParameters, cancellationToken As CancellationToken ) As Task(Of AzureOperationResponse)
Parameters
- imageName
-
Type:
System.String
The name of the virtual machine image to be updated.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageUpdateParameters
Parameters supplied to the Update Virtual Machine Image operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of AzureOperationResponse)A standard service response including an HTTP status code and request ID.
Show: