code: def list_insights_components(access_token, subscription_id, resource_group):
      '''List the Microsoft Insights components in a resource group.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          resource_group (str): Azure resource group name.
  
      Returns:
          HTTP response. JSON body of components.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourceGroups/', resource_group,
                          '/providers/microsoft.insights/',
                          '/components?api-version=', INSIGHTS_COMPONENTS_API])
      return do_get(endpoint, access_tokenf list_insights_components(access_token, subscription_id, resource_group):
      '''List the Microsoft Insights components in a resource group.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          resource_group (str): Azure resource group name.
  
      Returns:
          HTTP response. JSON body of components.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourceGroups/', resource_group,
                          '/providers/microsoft.insights/',
                          '/components?api-version=', INSIGHTS_COMPONENTS_API])
      return do_get(endpoint, access_token)
docs: List the Microsoft Insights components in a resource group.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          resource_group (str): Azure resource group name.
  
      Returns:
          HTTP response. JSON body of components.