code: public List<CapabilityInner> listCapabilities(String resourceGroupName, String name) {
          return listCapabilitiesWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body();
      }
docs: List all capabilities of an App Service plan.
  List all capabilities of an App Service plan.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of the App Service plan.
  @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;CapabilityInner&gt; object if successful.