code: public RunCommandResultInner beginRunCommand(String resourceGroupName, String vmName, RunCommandInput parameters) {
          return beginRunCommandWithServiceResponseAsync(resourceGroupName, vmName, parameters).toBlocking().single().body();
      }
docs: Run command on the VM.
  
  @param resourceGroupName The name of the resource group.
  @param vmName The name of the virtual machine.
  @param parameters Parameters supplied to the Run command 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 RunCommandResultInner object if successful.