public Observable<VirtualMachineInner> updateAsync(String resourceGroupName, String vmName, VirtualMachineUpdate parameters) {
        return updateWithServiceResponseAsync(resourceGroupName, vmName, parameters).map(new Func1<ServiceResponse<VirtualMachineInner>, VirtualMachineInner>() {
            @Override
            public VirtualMachineInner call(ServiceResponse<VirtualMachineInner> response) {
                return response.body();
            }
        });
    }
public Observable < VirtualMachineInner > updateAsync ( String resourceGroupName , String vmName , VirtualMachineUpdate parameters ) { return updateWithServiceResponseAsync ( resourceGroupName , vmName , parameters ) . map ( new Func1 < ServiceResponse < VirtualMachineInner > , VirtualMachineInner > ( ) { @ Override public VirtualMachineInner call ( ServiceResponse < VirtualMachineInner > response ) { return response . body ( ) ; } } ) ; }
The operation to update a virtual machine.

@param resourceGroupName The name of the resource group.
@param vmName The name of the virtual machine.
@param parameters Parameters supplied to the Update Virtual Machine operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable for the request