def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil)
      response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil)
      response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets the linked services instances in a workspace.

 @param resource_group_name [String] The name of the resource group to get.
 The name is case insensitive.
 @param workspace_name [String] Name of the Log Analytics Workspace that
 contains the linked services.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [LinkedServiceListResult] operation results.