code: public DomainInner beginUpdate(String resourceGroupName, String domainName, Map<String, String> tags) {
          return beginUpdateWithServiceResponseAsync(resourceGroupName, domainName, tags).toBlocking().single().body();
      }
docs: Update a domain.
  Asynchronously updates a domain with the specified parameters.
  
  @param resourceGroupName The name of the resource group within the user's subscription.
  @param domainName Name of the domain
  @param tags Tags of the domains 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 DomainInner object if successful.