def begin_update_hostname(resource_group_name, service_name, parameters, custom_headers:nil)
      response = begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_update_hostname(resource_group_name, service_name, parameters, custom_headers:nil)
      response = begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates, updates, or deletes the custom hostnames for an API Management
 service. The custom hostname can be applied to the Proxy and Portal endpoint.
 This is a long running operation and could take several minutes to complete.

 @param resource_group_name [String] The name of the resource group.
 @param service_name [String] The name of the API Management service.
 @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
 supplied to the UpdateHostname operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ApiManagementServiceResource] operation results.