1. Packages
  2. Azure Native
  3. API Docs
  4. impact
  5. getInsight
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.impact.getInsight

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Get Insight resources by workloadImpactName and insightName 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>
    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]
    func LookupInsight(ctx *Context, args *LookupInsightArgs, opts ...InvokeOption) (*LookupInsightResult, error)
    func LookupInsightOutput(ctx *Context, args *LookupInsightOutputArgs, opts ...InvokeOption) LookupInsightResultOutput

    > 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)
    }
    public static CompletableFuture<GetInsightResult> getInsight(GetInsightArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:impact:getInsight
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InsightName string
    Name of the insight
    WorkloadImpactName string
    workloadImpact resource
    InsightName string
    Name of the insight
    WorkloadImpactName string
    workloadImpact resource
    insightName String
    Name of the insight
    workloadImpactName String
    workloadImpact resource
    insightName string
    Name of the insight
    workloadImpactName string
    workloadImpact resource
    insight_name str
    Name of the insight
    workload_impact_name str
    workloadImpact resource
    insightName String
    Name of the insight
    workloadImpactName String
    workloadImpact resource

    getInsight Result

    The following output properties are available:

    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"
    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"
    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"
    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"
    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"
    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 string
    Description of the insight
    Title string
    Title of the insight
    Description string
    Description of the insight
    Title string
    Title of the insight
    description String
    Description of the insight
    title String
    Title of the insight
    description string
    Description of the insight
    title string
    Title of the insight
    description str
    Description of the insight
    title str
    Title of the insight
    description String
    Description of the insight
    title String
    Title of the insight

    ImpactDetailsResponse

    ImpactId string
    Azure Id of the impact.
    ImpactedResourceId string
    List of impacted Azure resources.
    StartTime string
    Time at which impact was started according to reported impact.
    EndTime string
    Time at which impact was ended according to reported impact.
    ImpactId string
    Azure Id of the impact.
    ImpactedResourceId string
    List of impacted Azure resources.
    StartTime string
    Time at which impact was started according to reported impact.
    EndTime string
    Time at which impact was ended according to reported impact.
    impactId String
    Azure Id of the impact.
    impactedResourceId String
    List of impacted Azure resources.
    startTime String
    Time at which impact was started according to reported impact.
    endTime String
    Time at which impact was ended according to reported impact.
    impactId string
    Azure Id of the impact.
    impactedResourceId string
    List of impacted Azure resources.
    startTime 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 str
    Azure Id of the impact.
    impacted_resource_id str
    List of impacted Azure resources.
    start_time 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 String
    Azure Id of the impact.
    impactedResourceId String
    List of impacted Azure resources.
    startTime 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 string
    category of the insight.
    Content Pulumi.AzureNative.Impact.Inputs.ContentResponse
    Contains title & description for the insight
    Impact Pulumi.AzureNative.Impact.Inputs.ImpactDetailsResponse
    details of of the impact for which insight has been generated.
    InsightUniqueId string
    unique id of the insight.
    ProvisioningState 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 string
    category of the insight.
    Content ContentResponse
    Contains title & description for the insight
    Impact ImpactDetailsResponse
    details of of the impact for which insight has been generated.
    InsightUniqueId string
    unique id of the insight.
    ProvisioningState 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 String
    category of the insight.
    content ContentResponse
    Contains title & description for the insight
    impact ImpactDetailsResponse
    details of of the impact for which insight has been generated.
    insightUniqueId String
    unique id of the insight.
    provisioningState 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 string
    category of the insight.
    content ContentResponse
    Contains title & description for the insight
    impact ImpactDetailsResponse
    details of of the impact for which insight has been generated.
    insightUniqueId string
    unique id of the insight.
    provisioningState 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 str
    category of the insight.
    content ContentResponse
    Contains title & description for the insight
    impact ImpactDetailsResponse
    details of of the impact for which insight has been generated.
    insight_unique_id str
    unique id of the insight.
    provisioning_state 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 String
    category of the insight.
    content Property Map
    Contains title & description for the insight
    impact Property Map
    details of of the impact for which insight has been generated.
    insightUniqueId String
    unique id of the insight.
    provisioningState 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi