Share via


IVirtualMachineOSImageOperations.UpdateAsync Method (String, VirtualMachineOSImageUpdateParameters, CancellationToken)

 

The Update OS Image operation updates an OS image that in your image repository. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj157198.aspx for more information)

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

Task<VirtualMachineOSImageUpdateResponse> UpdateAsync(
    string imageName,
    VirtualMachineOSImageUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<VirtualMachineOSImageUpdateResponse^>^ UpdateAsync(
    String^ imageName,
    VirtualMachineOSImageUpdateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract UpdateAsync : 
        imageName:string *
        parameters:VirtualMachineOSImageUpdateParameters *
        cancellationToken:CancellationToken -> Task<VirtualMachineOSImageUpdateResponse>
Function UpdateAsync (
    imageName As String,
    parameters As VirtualMachineOSImageUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of VirtualMachineOSImageUpdateResponse)

Parameters

  • imageName
    Type: System.String

    The name of the virtual machine image to be updated.

Return Value

Type: System.Threading.Tasks.Task<VirtualMachineOSImageUpdateResponse>

Parameters returned from the Create Virtual Machine Image operation.

See Also

IVirtualMachineOSImageOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top