These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.securityinsights.getEntityInsights
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Execute Insights for an entity. API Version: 2019-01-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>
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,
operational_insights_resource_provider: Optional[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,
operational_insights_resource_provider: Optional[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]
func GetEntityInsights(ctx *Context, args *GetEntityInsightsArgs, opts ...InvokeOption) (*GetEntityInsightsResult, error)
func GetEntityInsightsOutput(ctx *Context, args *GetEntityInsightsOutputArgs, opts ...InvokeOption) GetEntityInsightsResultOutput
> 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)
}
public static CompletableFuture<GetEntityInsightsResult> getEntityInsights(GetEntityInsightsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:securityinsights:getEntityInsights
arguments:
# arguments dictionary
The following arguments are supported:
- End
Time string - The end timeline date, so the results returned are before this date.
- Entity
Id string - entity ID
- Operational
Insights stringResource Provider - The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Start
Time string - The start timeline date, so the results returned are after this date.
- Workspace
Name string - The name of the workspace.
- Add
Default boolExtended Time Range - Indicates if query time range should be extended with default time range of the query. Default value is false
- Insight
Query List<string>Ids - List of Insights Query Id. If empty, default value is all insights of this entity
- End
Time string - The end timeline date, so the results returned are before this date.
- Entity
Id string - entity ID
- Operational
Insights stringResource Provider - The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Start
Time string - The start timeline date, so the results returned are after this date.
- Workspace
Name string - The name of the workspace.
- Add
Default boolExtended Time Range - Indicates if query time range should be extended with default time range of the query. Default value is false
- Insight
Query []stringIds - List of Insights Query Id. If empty, default value is all insights of this entity
- end
Time String - The end timeline date, so the results returned are before this date.
- entity
Id String - entity ID
- operational
Insights StringResource Provider - The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- start
Time String - The start timeline date, so the results returned are after this date.
- workspace
Name String - The name of the workspace.
- add
Default BooleanExtended Time Range - Indicates if query time range should be extended with default time range of the query. Default value is false
- insight
Query List<String>Ids - List of Insights Query Id. If empty, default value is all insights of this entity
- end
Time string - The end timeline date, so the results returned are before this date.
- entity
Id string - entity ID
- operational
Insights stringResource Provider - The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- start
Time string - The start timeline date, so the results returned are after this date.
- workspace
Name string - The name of the workspace.
- add
Default booleanExtended Time Range - Indicates if query time range should be extended with default time range of the query. Default value is false
- insight
Query string[]Ids - List of Insights Query Id. If empty, default value is all insights of this entity
- end_
time str - The end timeline date, so the results returned are before this date.
- entity_
id str - entity ID
- operational_
insights_ strresource_ provider - The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- start_
time str - The start timeline date, so the results returned are after this date.
- workspace_
name str - The name of the workspace.
- add_
default_ boolextended_ time_ range - Indicates if query time range should be extended with default time range of the query. Default value is false
- insight_
query_ Sequence[str]ids - List of Insights Query Id. If empty, default value is all insights of this entity
- end
Time String - The end timeline date, so the results returned are before this date.
- entity
Id String - entity ID
- operational
Insights StringResource Provider - The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- start
Time String - The start timeline date, so the results returned are after this date.
- workspace
Name String - The name of the workspace.
- add
Default BooleanExtended Time Range - Indicates if query time range should be extended with default time range of the query. Default value is false
- insight
Query List<String>Ids - List of Insights Query Id. If empty, default value is all insights of this entity
getEntityInsights Result
The following output properties are available:
- Meta
Data Pulumi.Azure Native. Security Insights. Outputs. Get Insights Results Metadata Response - The metadata from the get insights operation results.
- Value
List<Pulumi.
Azure Native. Security Insights. Outputs. Entity Insight Item Response> - The insights result values.
- Meta
Data GetInsights Results Metadata Response - The metadata from the get insights operation results.
- Value
[]Entity
Insight Item Response - The insights result values.
- meta
Data GetInsights Results Metadata Response - The metadata from the get insights operation results.
- value
List<Entity
Insight Item Response> - The insights result values.
- meta
Data GetInsights Results Metadata Response - The metadata from the get insights operation results.
- value
Entity
Insight Item Response[] - The insights result values.
- meta_
data GetInsights Results Metadata Response - The metadata from the get insights operation results.
- value
Sequence[Entity
Insight Item Response] - The insights result values.
- meta
Data Property Map - The metadata from the get insights operation results.
- value List<Property Map>
- The insights result values.
Supporting Types
EntityInsightItemResponse
- Chart
Query List<Pulumi.Results Azure Native. Security Insights. Inputs. Insights Table Result Response> - Query results for table insights query.
- Query
Id string - The query id of the insight
- Query
Time Pulumi.Interval Azure Native. Security Insights. Inputs. Entity Insight Item Response Query Time Interval - The Time interval that the query actually executed on.
- Table
Query Pulumi.Results Azure Native. Security Insights. Inputs. Insights Table Result Response - Query results for table insights query.
- Chart
Query []InsightsResults Table Result Response - Query results for table insights query.
- Query
Id string - The query id of the insight
- Query
Time EntityInterval Insight Item Response Query Time Interval - The Time interval that the query actually executed on.
- Table
Query InsightsResults Table Result Response - Query results for table insights query.
- chart
Query List<InsightsResults Table Result Response> - Query results for table insights query.
- query
Id String - The query id of the insight
- query
Time EntityInterval Insight Item Response Query Time Interval - The Time interval that the query actually executed on.
- table
Query InsightsResults Table Result Response - Query results for table insights query.
- chart
Query InsightsResults Table Result Response[] - Query results for table insights query.
- query
Id string - The query id of the insight
- query
Time EntityInterval Insight Item Response Query Time Interval - The Time interval that the query actually executed on.
- table
Query InsightsResults Table Result Response - Query results for table insights query.
- chart_
query_ Sequence[Insightsresults Table Result Response] - Query results for table insights query.
- query_
id str - The query id of the insight
- query_
time_ Entityinterval Insight Item Response Query Time Interval - The Time interval that the query actually executed on.
- table_
query_ Insightsresults Table Result Response - Query results for table insights query.
- chart
Query List<Property Map>Results - Query results for table insights query.
- query
Id String - The query id of the insight
- query
Time Property MapInterval - The Time interval that the query actually executed on.
- table
Query Property MapResults - Query results for table insights query.
EntityInsightItemResponseQueryTimeInterval
- end_
time str - Insight query end time
- start_
time str - Insight query start time
GetInsightsErrorResponse
- Error
Message string - the error message
- Kind string
- the query kind
- Query
Id string - the query id
- Error
Message string - the error message
- Kind string
- the query kind
- Query
Id string - the query id
- error
Message String - the error message
- kind String
- the query kind
- query
Id String - the query id
- error
Message string - the error message
- kind string
- the query kind
- query
Id string - the query id
- error_
message str - the error message
- kind str
- the query kind
- query_
id str - the query id
- error
Message String - the error message
- kind String
- the query kind
- query
Id String - the query id
GetInsightsResultsMetadataResponse
- Total
Count int - the total items found for the insights request
- Errors
List<Pulumi.
Azure Native. Security Insights. Inputs. Get Insights Error Response> - information about the failed queries
- Total
Count int - the total items found for the insights request
- Errors
[]Get
Insights Error Response - information about the failed queries
- total
Count Integer - the total items found for the insights request
- errors
List<Get
Insights Error Response> - information about the failed queries
- total
Count number - the total items found for the insights request
- errors
Get
Insights Error Response[] - information about the failed queries
- total_
count int - the total items found for the insights request
- errors
Sequence[Get
Insights Error Response] - information about the failed queries
- total
Count Number - the total items found for the insights request
- errors List<Property Map>
- information about the failed queries
InsightsTableResultResponse
- Columns
List<Pulumi.
Azure Native. Security Insights. Inputs. Insights Table Result Response Columns> - Columns Metadata of the table
- Rows
List<Immutable
Array<string>> - Rows data of the table
- Columns
[]Insights
Table Result Response Columns - Columns Metadata of the table
- Rows [][]string
- Rows data of the table
- columns
List<Insights
Table Result Response Columns> - Columns Metadata of the table
- rows List<List<String>>
- Rows data of the table
- columns
Insights
Table Result Response Columns[] - Columns Metadata of the table
- rows string[][]
- Rows data of the table
- columns
Sequence[Insights
Table Result Response Columns] - 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
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi