code: public List<OperationInner> listOperations(String resourceGroupName, String name) {
          return listOperationsWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body();
      }
docs: List all currently running operations on the App Service Environment.
  List all currently running operations on the App Service Environment.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of the App Service Environment.
  @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 List&lt;OperationInner&gt; object if successful.