code: public List<EventSubscriptionInner> listByResource(String resourceGroupName, String providerNamespace, String resourceTypeName, String resourceName) {
          return listByResourceWithServiceResponseAsync(resourceGroupName, providerNamespace, resourceTypeName, resourceName).toBlocking().single().body();
      }
docs: List all event subscriptions for a specific topic.
  List all event subscriptions that have been created for a specific 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 resource type
  @param resourceName Name of the resource
  @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;EventSubscriptionInner&gt; object if successful.