def METHOD_NAME(add_default_extended_time_range: Optional[pulumi.Input[Optional[bool]]] = None,
                               end_time: Optional[pulumi.Input[str]] = None,
                               entity_id: Optional[pulumi.Input[str]] = None,
                               insight_query_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
                               resource_group_name: Optional[pulumi.Input[str]] = None,
                               start_time: Optional[pulumi.Input[str]] = None,
                               workspace_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEntityInsightsResult]:
    """
    Execute Insights for an entity.
    :param bool add_default_extended_time_range: Indicates if query time range should be extended with default time range of the query. Default value is false
    :param str end_time: The end timeline date, so the results returned are before this date.
    :param str entity_id: entity ID
    :param Sequence[str] insight_query_ids: List of Insights Query Id. If empty, default value is all insights of this entity
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str start_time: The start timeline date, so the results returned are after this date.
    :param str workspace_name: The name of the workspace.
    """
    ...