def execute_site_detector_slot(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
      response = execute_site_detector_slot_async(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def execute_site_detector_slot(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:nil, end_time:nil, time_grain:nil, custom_headers:nil)
      response = execute_site_detector_slot_async(resource_group_name, site_name, detector_name, diagnostic_category, slot, start_time:start_time, end_time:end_time, time_grain:time_grain, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Execute Detector

 Execute Detector

 @param resource_group_name [String] Name of the resource group to which the
 resource belongs.
 @param site_name [String] Site Name
 @param detector_name [String] Detector Resource Name
 @param diagnostic_category [String] Category Name
 @param slot [String] Slot Name
 @param start_time [DateTime] Start Time
 @param end_time [DateTime] End Time
 @param time_grain [String] Time Grain
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [DiagnosticDetectorResponse] operation results.