Share via


VirtualMachineOSImageOperationsExtensions.UpdateAsync Method (IVirtualMachineOSImageOperations, String, VirtualMachineOSImageUpdateParameters)

 

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

public static Task<VirtualMachineOSImageUpdateResponse> UpdateAsync(
    this IVirtualMachineOSImageOperations operations,
    string imageName,
    VirtualMachineOSImageUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<VirtualMachineOSImageUpdateResponse^>^ UpdateAsync(
    IVirtualMachineOSImageOperations^ operations,
    String^ imageName,
    VirtualMachineOSImageUpdateParameters^ parameters
)
static member UpdateAsync : 
        operations:IVirtualMachineOSImageOperations *
        imageName:string *
        parameters:VirtualMachineOSImageUpdateParameters -> Task<VirtualMachineOSImageUpdateResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
    operations As IVirtualMachineOSImageOperations,
    imageName As String,
    parameters As VirtualMachineOSImageUpdateParameters
) As Task(Of VirtualMachineOSImageUpdateResponse)

Parameters

  • imageName
    Type: System.String

    Required. 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

VirtualMachineOSImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top