def create_or_update(resource_group_name, domain_name, domain_info, custom_headers:nil)
      response = create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create_or_update(resource_group_name, domain_name, domain_info, custom_headers:nil)
      response = create_or_update_async(resource_group_name, domain_name, domain_info, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Create or update a domain

 Asynchronously creates or updates a new domain with the specified parameters.

 @param resource_group_name [String] The name of the resource group within the
 user's subscription.
 @param domain_name [String] Name of the domain
 @param domain_info [Domain] Domain information
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Domain] operation results.