code: public List<EventTypeInner> listEventTypes(String resourceGroupName, String providerNamespace, String resourceTypeName, String resourceName) {
          return listEventTypesWithServiceResponseAsync(resourceGroupName, providerNamespace, resourceTypeName, resourceName).toBlocking().single().body();
      }
docs: List topic event types.
  List event types for a topic.
  
  @param resourceGroupName The name of the resource group within the user's subscription.
  @param providerNamespace Namespace of the provider of the topic
  @param resourceTypeName Name of the topic type
  @param resourceName Name of the topic
  @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;EventTypeInner&gt; object if successful.