def begin_update_with_http_info(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
      begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
    end
def begin_update_with_http_info(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
      begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
    end
Updates an existing CDN endpoint with the specified parameters. Only tags and
 OriginHostHeader can be updated after creating an endpoint. To update
 origins, use the Update Origin operation. To update custom domains, use the
 Update Custom Domain operation.

 @param endpoint_name [String] Name of the endpoint within the CDN profile.
 @param endpoint_properties [EndpointUpdateParameters] Endpoint properties
 @param profile_name [String] Name of the CDN profile within the resource
 group.
 @param resource_group_name [String] Name of the resource group within the
 Azure subscription.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.