code: public Observable<VirtualMachineInstanceViewInner> instanceViewAsync(String resourceGroupName, String vmName) {
          return instanceViewWithServiceResponseAsync(resourceGroupName, vmName).map(new Func1<ServiceResponse<VirtualMachineInstanceViewInner>, VirtualMachineInstanceViewInner>() {
              @Override
              public VirtualMachineInstanceViewInner call(ServiceResponse<VirtualMachineInstanceViewInner> response) {
                  return response.body();
              }
          });
      }
docs: Retrieves information about the run-time state of a virtual machine.
  
  @param resourceGroupName The name of the resource group.
  @param vmName The name of the virtual machine.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the VirtualMachineInstanceViewInner object