public VirtualMachineExtensionInner update(String resourceGroupName, String vmName, String vmExtensionName, VirtualMachineExtensionUpdate extensionParameters) {
        return updateWithServiceResponseAsync(resourceGroupName, vmName, vmExtensionName, extensionParameters).toBlocking().last().body();
    }
public VirtualMachineExtensionInner update ( String resourceGroupName , String vmName , String vmExtensionName , VirtualMachineExtensionUpdate extensionParameters ) { return updateWithServiceResponseAsync ( resourceGroupName , vmName , vmExtensionName , extensionParameters ) . toBlocking ( ) . last ( ) . body ( ) ; }
The operation to update the extension.

@param resourceGroupName The name of the resource group.
@param vmName The name of the virtual machine where the extension should be updated.
@param vmExtensionName The name of the virtual machine extension.
@param extensionParameters Parameters supplied to the Update Virtual Machine Extension operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the VirtualMachineExtensionInner object if successful.