1. Packages
  2. Azure Native
  3. API Docs
  4. impact
  5. getInsight
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.impact.getInsight

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Get Insight resources by workloadImpactName and insightName

Uses Azure REST API version 2024-05-01-preview.

Using getInsight

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 getInsight(args: GetInsightArgs, opts?: InvokeOptions): Promise<GetInsightResult>
function getInsightOutput(args: GetInsightOutputArgs, opts?: InvokeOptions): Output<GetInsightResult>
Copy
def get_insight(insight_name: Optional[str] = None,
                workload_impact_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetInsightResult
def get_insight_output(insight_name: Optional[pulumi.Input[str]] = None,
                workload_impact_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetInsightResult]
Copy
func LookupInsight(ctx *Context, args *LookupInsightArgs, opts ...InvokeOption) (*LookupInsightResult, error)
func LookupInsightOutput(ctx *Context, args *LookupInsightOutputArgs, opts ...InvokeOption) LookupInsightResultOutput
Copy

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

public static class GetInsight 
{
    public static Task<GetInsightResult> InvokeAsync(GetInsightArgs args, InvokeOptions? opts = null)
    public static Output<GetInsightResult> Invoke(GetInsightInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInsightResult> getInsight(GetInsightArgs args, InvokeOptions options)
public static Output<GetInsightResult> getInsight(GetInsightArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:impact:getInsight
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InsightName
This property is required.
Changes to this property will trigger replacement.
string
Name of the insight
WorkloadImpactName
This property is required.
Changes to this property will trigger replacement.
string
workloadImpact resource
InsightName
This property is required.
Changes to this property will trigger replacement.
string
Name of the insight
WorkloadImpactName
This property is required.
Changes to this property will trigger replacement.
string
workloadImpact resource
insightName
This property is required.
Changes to this property will trigger replacement.
String
Name of the insight
workloadImpactName
This property is required.
Changes to this property will trigger replacement.
String
workloadImpact resource
insightName
This property is required.
Changes to this property will trigger replacement.
string
Name of the insight
workloadImpactName
This property is required.
Changes to this property will trigger replacement.
string
workloadImpact resource
insight_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the insight
workload_impact_name
This property is required.
Changes to this property will trigger replacement.
str
workloadImpact resource
insightName
This property is required.
Changes to this property will trigger replacement.
String
Name of the insight
workloadImpactName
This property is required.
Changes to this property will trigger replacement.
String
workloadImpact resource

getInsight Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
Properties Pulumi.AzureNative.Impact.Outputs.InsightPropertiesResponse
The resource-specific properties for this resource.
SystemData Pulumi.AzureNative.Impact.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
Properties InsightPropertiesResponse
The resource-specific properties for this resource.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
properties InsightPropertiesResponse
The resource-specific properties for this resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name string
The name of the resource
properties InsightPropertiesResponse
The resource-specific properties for this resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
properties InsightPropertiesResponse
The resource-specific properties for this resource.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
properties Property Map
The resource-specific properties for this resource.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

ContentResponse

Description This property is required. string
Description of the insight
Title This property is required. string
Title of the insight
Description This property is required. string
Description of the insight
Title This property is required. string
Title of the insight
description This property is required. String
Description of the insight
title This property is required. String
Title of the insight
description This property is required. string
Description of the insight
title This property is required. string
Title of the insight
description This property is required. str
Description of the insight
title This property is required. str
Title of the insight
description This property is required. String
Description of the insight
title This property is required. String
Title of the insight

ImpactDetailsResponse

ImpactId This property is required. string
Azure Id of the impact.
ImpactedResourceId This property is required. string
List of impacted Azure resources.
StartTime This property is required. string
Time at which impact was started according to reported impact.
EndTime string
Time at which impact was ended according to reported impact.
ImpactId This property is required. string
Azure Id of the impact.
ImpactedResourceId This property is required. string
List of impacted Azure resources.
StartTime This property is required. string
Time at which impact was started according to reported impact.
EndTime string
Time at which impact was ended according to reported impact.
impactId This property is required. String
Azure Id of the impact.
impactedResourceId This property is required. String
List of impacted Azure resources.
startTime This property is required. String
Time at which impact was started according to reported impact.
endTime String
Time at which impact was ended according to reported impact.
impactId This property is required. string
Azure Id of the impact.
impactedResourceId This property is required. string
List of impacted Azure resources.
startTime This property is required. string
Time at which impact was started according to reported impact.
endTime string
Time at which impact was ended according to reported impact.
impact_id This property is required. str
Azure Id of the impact.
impacted_resource_id This property is required. str
List of impacted Azure resources.
start_time This property is required. str
Time at which impact was started according to reported impact.
end_time str
Time at which impact was ended according to reported impact.
impactId This property is required. String
Azure Id of the impact.
impactedResourceId This property is required. String
List of impacted Azure resources.
startTime This property is required. String
Time at which impact was started according to reported impact.
endTime String
Time at which impact was ended according to reported impact.

InsightPropertiesResponse

Category This property is required. string
category of the insight.
Content This property is required. Pulumi.AzureNative.Impact.Inputs.ContentResponse
Contains title & description for the insight
Impact This property is required. Pulumi.AzureNative.Impact.Inputs.ImpactDetailsResponse
details of of the impact for which insight has been generated.
InsightUniqueId This property is required. string
unique id of the insight.
ProvisioningState This property is required. string
Resource provisioning state.
AdditionalDetails object
additional details of the insight.
EventId string
Identifier of the event that has been correlated with this insight. This can be used to aggregate insights for the same event.
EventTime string
Time of the event, which has been correlated the impact.
GroupId string
Identifier that can be used to group similar insights.
Status string
status of the insight. example resolved, repaired, other.
Category This property is required. string
category of the insight.
Content This property is required. ContentResponse
Contains title & description for the insight
Impact This property is required. ImpactDetailsResponse
details of of the impact for which insight has been generated.
InsightUniqueId This property is required. string
unique id of the insight.
ProvisioningState This property is required. string
Resource provisioning state.
AdditionalDetails interface{}
additional details of the insight.
EventId string
Identifier of the event that has been correlated with this insight. This can be used to aggregate insights for the same event.
EventTime string
Time of the event, which has been correlated the impact.
GroupId string
Identifier that can be used to group similar insights.
Status string
status of the insight. example resolved, repaired, other.
category This property is required. String
category of the insight.
content This property is required. ContentResponse
Contains title & description for the insight
impact This property is required. ImpactDetailsResponse
details of of the impact for which insight has been generated.
insightUniqueId This property is required. String
unique id of the insight.
provisioningState This property is required. String
Resource provisioning state.
additionalDetails Object
additional details of the insight.
eventId String
Identifier of the event that has been correlated with this insight. This can be used to aggregate insights for the same event.
eventTime String
Time of the event, which has been correlated the impact.
groupId String
Identifier that can be used to group similar insights.
status String
status of the insight. example resolved, repaired, other.
category This property is required. string
category of the insight.
content This property is required. ContentResponse
Contains title & description for the insight
impact This property is required. ImpactDetailsResponse
details of of the impact for which insight has been generated.
insightUniqueId This property is required. string
unique id of the insight.
provisioningState This property is required. string
Resource provisioning state.
additionalDetails any
additional details of the insight.
eventId string
Identifier of the event that has been correlated with this insight. This can be used to aggregate insights for the same event.
eventTime string
Time of the event, which has been correlated the impact.
groupId string
Identifier that can be used to group similar insights.
status string
status of the insight. example resolved, repaired, other.
category This property is required. str
category of the insight.
content This property is required. ContentResponse
Contains title & description for the insight
impact This property is required. ImpactDetailsResponse
details of of the impact for which insight has been generated.
insight_unique_id This property is required. str
unique id of the insight.
provisioning_state This property is required. str
Resource provisioning state.
additional_details Any
additional details of the insight.
event_id str
Identifier of the event that has been correlated with this insight. This can be used to aggregate insights for the same event.
event_time str
Time of the event, which has been correlated the impact.
group_id str
Identifier that can be used to group similar insights.
status str
status of the insight. example resolved, repaired, other.
category This property is required. String
category of the insight.
content This property is required. Property Map
Contains title & description for the insight
impact This property is required. Property Map
details of of the impact for which insight has been generated.
insightUniqueId This property is required. String
unique id of the insight.
provisioningState This property is required. String
Resource provisioning state.
additionalDetails Any
additional details of the insight.
eventId String
Identifier of the event that has been correlated with this insight. This can be used to aggregate insights for the same event.
eventTime String
Time of the event, which has been correlated the impact.
groupId String
Identifier that can be used to group similar insights.
status String
status of the insight. example resolved, repaired, other.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi