1. Packages
  2. Azure Native v2
  3. API Docs
  4. securityinsights
  5. getEntityInsights
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.securityinsights.getEntityInsights

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Execute Insights for an entity. Azure REST API version: 2023-06-01-preview.

Other available API versions: 2019-01-01-preview, 2021-09-01-preview, 2021-10-01-preview, 2022-01-01-preview, 2022-04-01-preview, 2022-05-01-preview, 2022-06-01-preview, 2022-07-01-preview, 2022-08-01-preview, 2022-09-01-preview, 2022-10-01-preview, 2022-11-01-preview, 2022-12-01-preview, 2023-02-01-preview, 2023-03-01-preview, 2023-04-01-preview, 2023-05-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-12-01-preview, 2024-01-01-preview, 2024-04-01-preview, 2024-10-01-preview.

Using getEntityInsights

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getEntityInsights(args: GetEntityInsightsArgs, opts?: InvokeOptions): Promise<GetEntityInsightsResult>
function getEntityInsightsOutput(args: GetEntityInsightsOutputArgs, opts?: InvokeOptions): Output<GetEntityInsightsResult>
Copy
def get_entity_insights(add_default_extended_time_range: Optional[bool] = None,
                        end_time: Optional[str] = None,
                        entity_id: Optional[str] = None,
                        insight_query_ids: Optional[Sequence[str]] = None,
                        resource_group_name: Optional[str] = None,
                        start_time: Optional[str] = None,
                        workspace_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetEntityInsightsResult
def get_entity_insights_output(add_default_extended_time_range: Optional[pulumi.Input[bool]] = None,
                        end_time: Optional[pulumi.Input[str]] = None,
                        entity_id: Optional[pulumi.Input[str]] = None,
                        insight_query_ids: Optional[pulumi.Input[Sequence[pulumi.Input[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[InvokeOptions] = None) -> Output[GetEntityInsightsResult]
Copy
func GetEntityInsights(ctx *Context, args *GetEntityInsightsArgs, opts ...InvokeOption) (*GetEntityInsightsResult, error)
func GetEntityInsightsOutput(ctx *Context, args *GetEntityInsightsOutputArgs, opts ...InvokeOption) GetEntityInsightsResultOutput
Copy

> Note: This function is named GetEntityInsights in the Go SDK.

public static class GetEntityInsights 
{
    public static Task<GetEntityInsightsResult> InvokeAsync(GetEntityInsightsArgs args, InvokeOptions? opts = null)
    public static Output<GetEntityInsightsResult> Invoke(GetEntityInsightsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetEntityInsightsResult> getEntityInsights(GetEntityInsightsArgs args, InvokeOptions options)
public static Output<GetEntityInsightsResult> getEntityInsights(GetEntityInsightsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:securityinsights:getEntityInsights
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EndTime This property is required. string
The end timeline date, so the results returned are before this date.
EntityId
This property is required.
Changes to this property will trigger replacement.
string
entity ID
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
StartTime This property is required. string
The start timeline date, so the results returned are after this date.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
AddDefaultExtendedTimeRange bool
Indicates if query time range should be extended with default time range of the query. Default value is false
InsightQueryIds List<string>
List of Insights Query Id. If empty, default value is all insights of this entity
EndTime This property is required. string
The end timeline date, so the results returned are before this date.
EntityId
This property is required.
Changes to this property will trigger replacement.
string
entity ID
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
StartTime This property is required. string
The start timeline date, so the results returned are after this date.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
AddDefaultExtendedTimeRange bool
Indicates if query time range should be extended with default time range of the query. Default value is false
InsightQueryIds []string
List of Insights Query Id. If empty, default value is all insights of this entity
endTime This property is required. String
The end timeline date, so the results returned are before this date.
entityId
This property is required.
Changes to this property will trigger replacement.
String
entity ID
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
startTime This property is required. String
The start timeline date, so the results returned are after this date.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.
addDefaultExtendedTimeRange Boolean
Indicates if query time range should be extended with default time range of the query. Default value is false
insightQueryIds List<String>
List of Insights Query Id. If empty, default value is all insights of this entity
endTime This property is required. string
The end timeline date, so the results returned are before this date.
entityId
This property is required.
Changes to this property will trigger replacement.
string
entity ID
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
startTime This property is required. string
The start timeline date, so the results returned are after this date.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
addDefaultExtendedTimeRange boolean
Indicates if query time range should be extended with default time range of the query. Default value is false
insightQueryIds string[]
List of Insights Query Id. If empty, default value is all insights of this entity
end_time This property is required. str
The end timeline date, so the results returned are before this date.
entity_id
This property is required.
Changes to this property will trigger replacement.
str
entity ID
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
start_time This property is required. str
The start timeline date, so the results returned are after this date.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the workspace.
add_default_extended_time_range bool
Indicates if query time range should be extended with default time range of the query. Default value is false
insight_query_ids Sequence[str]
List of Insights Query Id. If empty, default value is all insights of this entity
endTime This property is required. String
The end timeline date, so the results returned are before this date.
entityId
This property is required.
Changes to this property will trigger replacement.
String
entity ID
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
startTime This property is required. String
The start timeline date, so the results returned are after this date.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.
addDefaultExtendedTimeRange Boolean
Indicates if query time range should be extended with default time range of the query. Default value is false
insightQueryIds List<String>
List of Insights Query Id. If empty, default value is all insights of this entity

getEntityInsights Result

The following output properties are available:

MetaData GetInsightsResultsMetadataResponse
The metadata from the get insights operation results.
Value []EntityInsightItemResponse
The insights result values.
metaData GetInsightsResultsMetadataResponse
The metadata from the get insights operation results.
value List<EntityInsightItemResponse>
The insights result values.
metaData GetInsightsResultsMetadataResponse
The metadata from the get insights operation results.
value EntityInsightItemResponse[]
The insights result values.
meta_data GetInsightsResultsMetadataResponse
The metadata from the get insights operation results.
value Sequence[EntityInsightItemResponse]
The insights result values.
metaData Property Map
The metadata from the get insights operation results.
value List<Property Map>
The insights result values.

Supporting Types

EntityInsightItemResponse

ChartQueryResults []InsightsTableResultResponse
Query results for table insights query.
QueryId string
The query id of the insight
QueryTimeInterval EntityInsightItemResponseQueryTimeInterval
The Time interval that the query actually executed on.
TableQueryResults InsightsTableResultResponse
Query results for table insights query.
chartQueryResults List<InsightsTableResultResponse>
Query results for table insights query.
queryId String
The query id of the insight
queryTimeInterval EntityInsightItemResponseQueryTimeInterval
The Time interval that the query actually executed on.
tableQueryResults InsightsTableResultResponse
Query results for table insights query.
chartQueryResults InsightsTableResultResponse[]
Query results for table insights query.
queryId string
The query id of the insight
queryTimeInterval EntityInsightItemResponseQueryTimeInterval
The Time interval that the query actually executed on.
tableQueryResults InsightsTableResultResponse
Query results for table insights query.
chart_query_results Sequence[InsightsTableResultResponse]
Query results for table insights query.
query_id str
The query id of the insight
query_time_interval EntityInsightItemResponseQueryTimeInterval
The Time interval that the query actually executed on.
table_query_results InsightsTableResultResponse
Query results for table insights query.
chartQueryResults List<Property Map>
Query results for table insights query.
queryId String
The query id of the insight
queryTimeInterval Property Map
The Time interval that the query actually executed on.
tableQueryResults Property Map
Query results for table insights query.

EntityInsightItemResponseQueryTimeInterval

EndTime string
Insight query end time
StartTime string
Insight query start time
EndTime string
Insight query end time
StartTime string
Insight query start time
endTime String
Insight query end time
startTime String
Insight query start time
endTime string
Insight query end time
startTime string
Insight query start time
end_time str
Insight query end time
start_time str
Insight query start time
endTime String
Insight query end time
startTime String
Insight query start time

GetInsightsErrorKindResponse

ErrorMessage This property is required. string
the error message
Kind This property is required. string
the query kind
QueryId string
the query id
ErrorMessage This property is required. string
the error message
Kind This property is required. string
the query kind
QueryId string
the query id
errorMessage This property is required. String
the error message
kind This property is required. String
the query kind
queryId String
the query id
errorMessage This property is required. string
the error message
kind This property is required. string
the query kind
queryId string
the query id
error_message This property is required. str
the error message
kind This property is required. str
the query kind
query_id str
the query id
errorMessage This property is required. String
the error message
kind This property is required. String
the query kind
queryId String
the query id

GetInsightsResultsMetadataResponse

TotalCount This property is required. int
the total items found for the insights request
Errors List<Pulumi.AzureNative.SecurityInsights.Inputs.GetInsightsErrorKindResponse>
information about the failed queries
TotalCount This property is required. int
the total items found for the insights request
Errors []GetInsightsErrorKindResponse
information about the failed queries
totalCount This property is required. Integer
the total items found for the insights request
errors List<GetInsightsErrorKindResponse>
information about the failed queries
totalCount This property is required. number
the total items found for the insights request
errors GetInsightsErrorKindResponse[]
information about the failed queries
total_count This property is required. int
the total items found for the insights request
errors Sequence[GetInsightsErrorKindResponse]
information about the failed queries
totalCount This property is required. Number
the total items found for the insights request
errors List<Property Map>
information about the failed queries

InsightsTableResultResponse

Columns List<Pulumi.AzureNative.SecurityInsights.Inputs.InsightsTableResultResponseColumns>
Columns Metadata of the table
Rows List<ImmutableArray<string>>
Rows data of the table
Columns []InsightsTableResultResponseColumns
Columns Metadata of the table
Rows [][]string
Rows data of the table
columns List<InsightsTableResultResponseColumns>
Columns Metadata of the table
rows List<List<String>>
Rows data of the table
columns InsightsTableResultResponseColumns[]
Columns Metadata of the table
rows string[][]
Rows data of the table
columns Sequence[InsightsTableResultResponseColumns]
Columns Metadata of the table
rows Sequence[Sequence[str]]
Rows data of the table
columns List<Property Map>
Columns Metadata of the table
rows List<List<String>>
Rows data of the table

InsightsTableResultResponseColumns

Name string
the name of the colum
Type string
the type of the colum
Name string
the name of the colum
Type string
the type of the colum
name String
the name of the colum
type String
the type of the colum
name string
the name of the colum
type string
the type of the colum
name str
the name of the colum
type str
the type of the colum
name String
the name of the colum
type String
the type of the colum

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi