Share via


VirtualMachineVMImageOperationsExtensions.UpdateAsync Method (IVirtualMachineVMImageOperations, String, VirtualMachineVMImageUpdateParameters)

 

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

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

Parameters

  • imageName
    Type: System.String

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

Return Value

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

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

See Also

VirtualMachineVMImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top