def get_supported_optimization_types(resource_group_name, profile_name, custom_headers:nil)
      response = get_supported_optimization_types_async(resource_group_name, profile_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_supported_optimization_types(resource_group_name, profile_name, custom_headers:nil)
      response = get_supported_optimization_types_async(resource_group_name, profile_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets the supported optimization types for the current profile. A user can
 create an endpoint with an optimization type from the listed values.

 @param resource_group_name [String] Name of the Resource group within the
 Azure subscription.
 @param profile_name [String] Name of the CDN profile which is unique within
 the resource group.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [SupportedOptimizationTypesResult] operation results.