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