code: public TopicInner beginCreateOrUpdate(String resourceGroupName, String topicName, TopicInner topicInfo) {
          return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, topicName, topicInfo).toBlocking().single().body();
      }
docs: Create a topic.
  Asynchronously creates a new topic with the specified parameters.
  
  @param resourceGroupName The name of the resource group within the user's subscription.
  @param topicName Name of the topic
  @param topicInfo Topic information
  @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 TopicInner object if successful.