1. Packages
  2. Grafana Cloud
  3. API Docs
  4. alerting
  5. AlertEnrichment
Grafana v2.13.0 published on Friday, Oct 24, 2025 by pulumiverse

grafana.alerting.AlertEnrichment

Get Started
grafana logo
Grafana v2.13.0 published on Friday, Oct 24, 2025 by pulumiverse

    This resource is currently under development. Documentation will be provided in a future release.

    Create AlertEnrichment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AlertEnrichment(name: string, args?: AlertEnrichmentArgs, opts?: CustomResourceOptions);
    @overload
    def AlertEnrichment(resource_name: str,
                        args: Optional[AlertEnrichmentArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AlertEnrichment(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        metadata: Optional[AlertEnrichmentMetadataArgs] = None,
                        options: Optional[AlertEnrichmentOptionsArgs] = None,
                        spec: Optional[AlertEnrichmentSpecArgs] = None)
    func NewAlertEnrichment(ctx *Context, name string, args *AlertEnrichmentArgs, opts ...ResourceOption) (*AlertEnrichment, error)
    public AlertEnrichment(string name, AlertEnrichmentArgs? args = null, CustomResourceOptions? opts = null)
    public AlertEnrichment(String name, AlertEnrichmentArgs args)
    public AlertEnrichment(String name, AlertEnrichmentArgs args, CustomResourceOptions options)
    
    type: grafana:alerting:AlertEnrichment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AlertEnrichmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AlertEnrichmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AlertEnrichmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertEnrichmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertEnrichmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var alertEnrichmentResource = new Grafana.Alerting.AlertEnrichment("alertEnrichmentResource", new()
    {
        Metadata = new Grafana.Alerting.Inputs.AlertEnrichmentMetadataArgs
        {
            Uid = "string",
            Annotations = 
            {
                { "string", "string" },
            },
            FolderUid = "string",
            Url = "string",
            Uuid = "string",
            Version = "string",
        },
        Options = new Grafana.Alerting.Inputs.AlertEnrichmentOptionsArgs
        {
            Overwrite = false,
        },
        Spec = new Grafana.Alerting.Inputs.AlertEnrichmentSpecArgs
        {
            Title = "string",
            AlertRuleUids = new[]
            {
                "string",
            },
            AnnotationMatchers = new[]
            {
                new Grafana.Alerting.Inputs.AlertEnrichmentSpecAnnotationMatcherArgs
                {
                    Name = "string",
                    Type = "string",
                    Value = "string",
                },
            },
            Description = "string",
            DisableProvenance = false,
            LabelMatchers = new[]
            {
                new Grafana.Alerting.Inputs.AlertEnrichmentSpecLabelMatcherArgs
                {
                    Name = "string",
                    Type = "string",
                    Value = "string",
                },
            },
            Receivers = new[]
            {
                "string",
            },
            Steps = new[]
            {
                new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepArgs
                {
                    Asserts = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAssertsArgs
                    {
                        Timeout = "string",
                    },
                    Assign = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAssignArgs
                    {
                        Annotations = 
                        {
                            { "string", "string" },
                        },
                        Timeout = "string",
                    },
                    AssistantInvestigations = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAssistantInvestigationsArgs
                    {
                        Timeout = "string",
                    },
                    Conditional = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalArgs
                    {
                        Else = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseArgs
                        {
                            Steps = new[]
                            {
                                new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepArgs
                                {
                                    Asserts = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAssertsArgs
                                    {
                                        Timeout = "string",
                                    },
                                    Assign = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAssignArgs
                                    {
                                        Annotations = 
                                        {
                                            { "string", "string" },
                                        },
                                        Timeout = "string",
                                    },
                                    AssistantInvestigations = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigationsArgs
                                    {
                                        Timeout = "string",
                                    },
                                    DataSource = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSourceArgs
                                    {
                                        LogsQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQueryArgs
                                        {
                                            DataSourceType = "string",
                                            DataSourceUid = "string",
                                            Expr = "string",
                                            MaxLines = 0,
                                        },
                                        RawQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQueryArgs
                                        {
                                            RefId = "string",
                                            Request = "string",
                                        },
                                        Timeout = "string",
                                    },
                                    Explain = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepExplainArgs
                                    {
                                        Annotation = "string",
                                        Timeout = "string",
                                    },
                                    External = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepExternalArgs
                                    {
                                        Timeout = "string",
                                        Url = "string",
                                    },
                                    Sift = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepSiftArgs
                                    {
                                        Timeout = "string",
                                    },
                                },
                            },
                        },
                        If = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalIfArgs
                        {
                            AnnotationMatchers = new[]
                            {
                                new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArgs
                                {
                                    Name = "string",
                                    Type = "string",
                                    Value = "string",
                                },
                            },
                            DataSourceCondition = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalIfDataSourceConditionArgs
                            {
                                Request = "string",
                            },
                            LabelMatchers = new[]
                            {
                                new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalIfLabelMatcherArgs
                                {
                                    Name = "string",
                                    Type = "string",
                                    Value = "string",
                                },
                            },
                        },
                        Then = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenArgs
                        {
                            Steps = new[]
                            {
                                new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepArgs
                                {
                                    Asserts = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAssertsArgs
                                    {
                                        Timeout = "string",
                                    },
                                    Assign = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAssignArgs
                                    {
                                        Annotations = 
                                        {
                                            { "string", "string" },
                                        },
                                        Timeout = "string",
                                    },
                                    AssistantInvestigations = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigationsArgs
                                    {
                                        Timeout = "string",
                                    },
                                    DataSource = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSourceArgs
                                    {
                                        LogsQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQueryArgs
                                        {
                                            DataSourceType = "string",
                                            DataSourceUid = "string",
                                            Expr = "string",
                                            MaxLines = 0,
                                        },
                                        RawQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQueryArgs
                                        {
                                            RefId = "string",
                                            Request = "string",
                                        },
                                        Timeout = "string",
                                    },
                                    Explain = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepExplainArgs
                                    {
                                        Annotation = "string",
                                        Timeout = "string",
                                    },
                                    External = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepExternalArgs
                                    {
                                        Timeout = "string",
                                        Url = "string",
                                    },
                                    Sift = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepSiftArgs
                                    {
                                        Timeout = "string",
                                    },
                                },
                            },
                        },
                        Timeout = "string",
                    },
                    DataSource = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSourceArgs
                    {
                        LogsQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSourceLogsQueryArgs
                        {
                            DataSourceType = "string",
                            DataSourceUid = "string",
                            Expr = "string",
                            MaxLines = 0,
                        },
                        RawQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSourceRawQueryArgs
                        {
                            RefId = "string",
                            Request = "string",
                        },
                        Timeout = "string",
                    },
                    Explain = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepExplainArgs
                    {
                        Annotation = "string",
                        Timeout = "string",
                    },
                    External = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepExternalArgs
                    {
                        Timeout = "string",
                        Url = "string",
                    },
                    Sift = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepSiftArgs
                    {
                        Timeout = "string",
                    },
                },
            },
        },
    });
    
    example, err := alerting.NewAlertEnrichment(ctx, "alertEnrichmentResource", &alerting.AlertEnrichmentArgs{
    	Metadata: &alerting.AlertEnrichmentMetadataArgs{
    		Uid: pulumi.String("string"),
    		Annotations: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		FolderUid: pulumi.String("string"),
    		Url:       pulumi.String("string"),
    		Uuid:      pulumi.String("string"),
    		Version:   pulumi.String("string"),
    	},
    	Options: &alerting.AlertEnrichmentOptionsArgs{
    		Overwrite: pulumi.Bool(false),
    	},
    	Spec: &alerting.AlertEnrichmentSpecArgs{
    		Title: pulumi.String("string"),
    		AlertRuleUids: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AnnotationMatchers: alerting.AlertEnrichmentSpecAnnotationMatcherArray{
    			&alerting.AlertEnrichmentSpecAnnotationMatcherArgs{
    				Name:  pulumi.String("string"),
    				Type:  pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    		Description:       pulumi.String("string"),
    		DisableProvenance: pulumi.Bool(false),
    		LabelMatchers: alerting.AlertEnrichmentSpecLabelMatcherArray{
    			&alerting.AlertEnrichmentSpecLabelMatcherArgs{
    				Name:  pulumi.String("string"),
    				Type:  pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    		Receivers: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Steps: alerting.AlertEnrichmentSpecStepArray{
    			&alerting.AlertEnrichmentSpecStepArgs{
    				Asserts: &alerting.AlertEnrichmentSpecStepAssertsArgs{
    					Timeout: pulumi.String("string"),
    				},
    				Assign: &alerting.AlertEnrichmentSpecStepAssignArgs{
    					Annotations: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					Timeout: pulumi.String("string"),
    				},
    				AssistantInvestigations: &alerting.AlertEnrichmentSpecStepAssistantInvestigationsArgs{
    					Timeout: pulumi.String("string"),
    				},
    				Conditional: &alerting.AlertEnrichmentSpecStepConditionalArgs{
    					Else: &alerting.AlertEnrichmentSpecStepConditionalElseArgs{
    						Steps: alerting.AlertEnrichmentSpecStepConditionalElseStepArray{
    							&alerting.AlertEnrichmentSpecStepConditionalElseStepArgs{
    								Asserts: &alerting.AlertEnrichmentSpecStepConditionalElseStepAssertsArgs{
    									Timeout: pulumi.String("string"),
    								},
    								Assign: &alerting.AlertEnrichmentSpecStepConditionalElseStepAssignArgs{
    									Annotations: pulumi.StringMap{
    										"string": pulumi.String("string"),
    									},
    									Timeout: pulumi.String("string"),
    								},
    								AssistantInvestigations: &alerting.AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigationsArgs{
    									Timeout: pulumi.String("string"),
    								},
    								DataSource: &alerting.AlertEnrichmentSpecStepConditionalElseStepDataSourceArgs{
    									LogsQuery: &alerting.AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQueryArgs{
    										DataSourceType: pulumi.String("string"),
    										DataSourceUid:  pulumi.String("string"),
    										Expr:           pulumi.String("string"),
    										MaxLines:       pulumi.Int(0),
    									},
    									RawQuery: &alerting.AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQueryArgs{
    										RefId:   pulumi.String("string"),
    										Request: pulumi.String("string"),
    									},
    									Timeout: pulumi.String("string"),
    								},
    								Explain: &alerting.AlertEnrichmentSpecStepConditionalElseStepExplainArgs{
    									Annotation: pulumi.String("string"),
    									Timeout:    pulumi.String("string"),
    								},
    								External: &alerting.AlertEnrichmentSpecStepConditionalElseStepExternalArgs{
    									Timeout: pulumi.String("string"),
    									Url:     pulumi.String("string"),
    								},
    								Sift: &alerting.AlertEnrichmentSpecStepConditionalElseStepSiftArgs{
    									Timeout: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					If: &alerting.AlertEnrichmentSpecStepConditionalIfArgs{
    						AnnotationMatchers: alerting.AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArray{
    							&alerting.AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArgs{
    								Name:  pulumi.String("string"),
    								Type:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    						DataSourceCondition: &alerting.AlertEnrichmentSpecStepConditionalIfDataSourceConditionArgs{
    							Request: pulumi.String("string"),
    						},
    						LabelMatchers: alerting.AlertEnrichmentSpecStepConditionalIfLabelMatcherArray{
    							&alerting.AlertEnrichmentSpecStepConditionalIfLabelMatcherArgs{
    								Name:  pulumi.String("string"),
    								Type:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    					Then: &alerting.AlertEnrichmentSpecStepConditionalThenArgs{
    						Steps: alerting.AlertEnrichmentSpecStepConditionalThenStepArray{
    							&alerting.AlertEnrichmentSpecStepConditionalThenStepArgs{
    								Asserts: &alerting.AlertEnrichmentSpecStepConditionalThenStepAssertsArgs{
    									Timeout: pulumi.String("string"),
    								},
    								Assign: &alerting.AlertEnrichmentSpecStepConditionalThenStepAssignArgs{
    									Annotations: pulumi.StringMap{
    										"string": pulumi.String("string"),
    									},
    									Timeout: pulumi.String("string"),
    								},
    								AssistantInvestigations: &alerting.AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigationsArgs{
    									Timeout: pulumi.String("string"),
    								},
    								DataSource: &alerting.AlertEnrichmentSpecStepConditionalThenStepDataSourceArgs{
    									LogsQuery: &alerting.AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQueryArgs{
    										DataSourceType: pulumi.String("string"),
    										DataSourceUid:  pulumi.String("string"),
    										Expr:           pulumi.String("string"),
    										MaxLines:       pulumi.Int(0),
    									},
    									RawQuery: &alerting.AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQueryArgs{
    										RefId:   pulumi.String("string"),
    										Request: pulumi.String("string"),
    									},
    									Timeout: pulumi.String("string"),
    								},
    								Explain: &alerting.AlertEnrichmentSpecStepConditionalThenStepExplainArgs{
    									Annotation: pulumi.String("string"),
    									Timeout:    pulumi.String("string"),
    								},
    								External: &alerting.AlertEnrichmentSpecStepConditionalThenStepExternalArgs{
    									Timeout: pulumi.String("string"),
    									Url:     pulumi.String("string"),
    								},
    								Sift: &alerting.AlertEnrichmentSpecStepConditionalThenStepSiftArgs{
    									Timeout: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					Timeout: pulumi.String("string"),
    				},
    				DataSource: &alerting.AlertEnrichmentSpecStepDataSourceArgs{
    					LogsQuery: &alerting.AlertEnrichmentSpecStepDataSourceLogsQueryArgs{
    						DataSourceType: pulumi.String("string"),
    						DataSourceUid:  pulumi.String("string"),
    						Expr:           pulumi.String("string"),
    						MaxLines:       pulumi.Int(0),
    					},
    					RawQuery: &alerting.AlertEnrichmentSpecStepDataSourceRawQueryArgs{
    						RefId:   pulumi.String("string"),
    						Request: pulumi.String("string"),
    					},
    					Timeout: pulumi.String("string"),
    				},
    				Explain: &alerting.AlertEnrichmentSpecStepExplainArgs{
    					Annotation: pulumi.String("string"),
    					Timeout:    pulumi.String("string"),
    				},
    				External: &alerting.AlertEnrichmentSpecStepExternalArgs{
    					Timeout: pulumi.String("string"),
    					Url:     pulumi.String("string"),
    				},
    				Sift: &alerting.AlertEnrichmentSpecStepSiftArgs{
    					Timeout: pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var alertEnrichmentResource = new AlertEnrichment("alertEnrichmentResource", AlertEnrichmentArgs.builder()
        .metadata(AlertEnrichmentMetadataArgs.builder()
            .uid("string")
            .annotations(Map.of("string", "string"))
            .folderUid("string")
            .url("string")
            .uuid("string")
            .version("string")
            .build())
        .options(AlertEnrichmentOptionsArgs.builder()
            .overwrite(false)
            .build())
        .spec(AlertEnrichmentSpecArgs.builder()
            .title("string")
            .alertRuleUids("string")
            .annotationMatchers(AlertEnrichmentSpecAnnotationMatcherArgs.builder()
                .name("string")
                .type("string")
                .value("string")
                .build())
            .description("string")
            .disableProvenance(false)
            .labelMatchers(AlertEnrichmentSpecLabelMatcherArgs.builder()
                .name("string")
                .type("string")
                .value("string")
                .build())
            .receivers("string")
            .steps(AlertEnrichmentSpecStepArgs.builder()
                .asserts(AlertEnrichmentSpecStepAssertsArgs.builder()
                    .timeout("string")
                    .build())
                .assign(AlertEnrichmentSpecStepAssignArgs.builder()
                    .annotations(Map.of("string", "string"))
                    .timeout("string")
                    .build())
                .assistantInvestigations(AlertEnrichmentSpecStepAssistantInvestigationsArgs.builder()
                    .timeout("string")
                    .build())
                .conditional(AlertEnrichmentSpecStepConditionalArgs.builder()
                    .else_(AlertEnrichmentSpecStepConditionalElseArgs.builder()
                        .steps(AlertEnrichmentSpecStepConditionalElseStepArgs.builder()
                            .asserts(AlertEnrichmentSpecStepConditionalElseStepAssertsArgs.builder()
                                .timeout("string")
                                .build())
                            .assign(AlertEnrichmentSpecStepConditionalElseStepAssignArgs.builder()
                                .annotations(Map.of("string", "string"))
                                .timeout("string")
                                .build())
                            .assistantInvestigations(AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigationsArgs.builder()
                                .timeout("string")
                                .build())
                            .dataSource(AlertEnrichmentSpecStepConditionalElseStepDataSourceArgs.builder()
                                .logsQuery(AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQueryArgs.builder()
                                    .dataSourceType("string")
                                    .dataSourceUid("string")
                                    .expr("string")
                                    .maxLines(0)
                                    .build())
                                .rawQuery(AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQueryArgs.builder()
                                    .refId("string")
                                    .request("string")
                                    .build())
                                .timeout("string")
                                .build())
                            .explain(AlertEnrichmentSpecStepConditionalElseStepExplainArgs.builder()
                                .annotation("string")
                                .timeout("string")
                                .build())
                            .external(AlertEnrichmentSpecStepConditionalElseStepExternalArgs.builder()
                                .timeout("string")
                                .url("string")
                                .build())
                            .sift(AlertEnrichmentSpecStepConditionalElseStepSiftArgs.builder()
                                .timeout("string")
                                .build())
                            .build())
                        .build())
                    .if_(AlertEnrichmentSpecStepConditionalIfArgs.builder()
                        .annotationMatchers(AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArgs.builder()
                            .name("string")
                            .type("string")
                            .value("string")
                            .build())
                        .dataSourceCondition(AlertEnrichmentSpecStepConditionalIfDataSourceConditionArgs.builder()
                            .request("string")
                            .build())
                        .labelMatchers(AlertEnrichmentSpecStepConditionalIfLabelMatcherArgs.builder()
                            .name("string")
                            .type("string")
                            .value("string")
                            .build())
                        .build())
                    .then(AlertEnrichmentSpecStepConditionalThenArgs.builder()
                        .steps(AlertEnrichmentSpecStepConditionalThenStepArgs.builder()
                            .asserts(AlertEnrichmentSpecStepConditionalThenStepAssertsArgs.builder()
                                .timeout("string")
                                .build())
                            .assign(AlertEnrichmentSpecStepConditionalThenStepAssignArgs.builder()
                                .annotations(Map.of("string", "string"))
                                .timeout("string")
                                .build())
                            .assistantInvestigations(AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigationsArgs.builder()
                                .timeout("string")
                                .build())
                            .dataSource(AlertEnrichmentSpecStepConditionalThenStepDataSourceArgs.builder()
                                .logsQuery(AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQueryArgs.builder()
                                    .dataSourceType("string")
                                    .dataSourceUid("string")
                                    .expr("string")
                                    .maxLines(0)
                                    .build())
                                .rawQuery(AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQueryArgs.builder()
                                    .refId("string")
                                    .request("string")
                                    .build())
                                .timeout("string")
                                .build())
                            .explain(AlertEnrichmentSpecStepConditionalThenStepExplainArgs.builder()
                                .annotation("string")
                                .timeout("string")
                                .build())
                            .external(AlertEnrichmentSpecStepConditionalThenStepExternalArgs.builder()
                                .timeout("string")
                                .url("string")
                                .build())
                            .sift(AlertEnrichmentSpecStepConditionalThenStepSiftArgs.builder()
                                .timeout("string")
                                .build())
                            .build())
                        .build())
                    .timeout("string")
                    .build())
                .dataSource(AlertEnrichmentSpecStepDataSourceArgs.builder()
                    .logsQuery(AlertEnrichmentSpecStepDataSourceLogsQueryArgs.builder()
                        .dataSourceType("string")
                        .dataSourceUid("string")
                        .expr("string")
                        .maxLines(0)
                        .build())
                    .rawQuery(AlertEnrichmentSpecStepDataSourceRawQueryArgs.builder()
                        .refId("string")
                        .request("string")
                        .build())
                    .timeout("string")
                    .build())
                .explain(AlertEnrichmentSpecStepExplainArgs.builder()
                    .annotation("string")
                    .timeout("string")
                    .build())
                .external(AlertEnrichmentSpecStepExternalArgs.builder()
                    .timeout("string")
                    .url("string")
                    .build())
                .sift(AlertEnrichmentSpecStepSiftArgs.builder()
                    .timeout("string")
                    .build())
                .build())
            .build())
        .build());
    
    alert_enrichment_resource = grafana.alerting.AlertEnrichment("alertEnrichmentResource",
        metadata={
            "uid": "string",
            "annotations": {
                "string": "string",
            },
            "folder_uid": "string",
            "url": "string",
            "uuid": "string",
            "version": "string",
        },
        options={
            "overwrite": False,
        },
        spec={
            "title": "string",
            "alert_rule_uids": ["string"],
            "annotation_matchers": [{
                "name": "string",
                "type": "string",
                "value": "string",
            }],
            "description": "string",
            "disable_provenance": False,
            "label_matchers": [{
                "name": "string",
                "type": "string",
                "value": "string",
            }],
            "receivers": ["string"],
            "steps": [{
                "asserts": {
                    "timeout": "string",
                },
                "assign": {
                    "annotations": {
                        "string": "string",
                    },
                    "timeout": "string",
                },
                "assistant_investigations": {
                    "timeout": "string",
                },
                "conditional": {
                    "else_": {
                        "steps": [{
                            "asserts": {
                                "timeout": "string",
                            },
                            "assign": {
                                "annotations": {
                                    "string": "string",
                                },
                                "timeout": "string",
                            },
                            "assistant_investigations": {
                                "timeout": "string",
                            },
                            "data_source": {
                                "logs_query": {
                                    "data_source_type": "string",
                                    "data_source_uid": "string",
                                    "expr": "string",
                                    "max_lines": 0,
                                },
                                "raw_query": {
                                    "ref_id": "string",
                                    "request": "string",
                                },
                                "timeout": "string",
                            },
                            "explain": {
                                "annotation": "string",
                                "timeout": "string",
                            },
                            "external": {
                                "timeout": "string",
                                "url": "string",
                            },
                            "sift": {
                                "timeout": "string",
                            },
                        }],
                    },
                    "if_": {
                        "annotation_matchers": [{
                            "name": "string",
                            "type": "string",
                            "value": "string",
                        }],
                        "data_source_condition": {
                            "request": "string",
                        },
                        "label_matchers": [{
                            "name": "string",
                            "type": "string",
                            "value": "string",
                        }],
                    },
                    "then": {
                        "steps": [{
                            "asserts": {
                                "timeout": "string",
                            },
                            "assign": {
                                "annotations": {
                                    "string": "string",
                                },
                                "timeout": "string",
                            },
                            "assistant_investigations": {
                                "timeout": "string",
                            },
                            "data_source": {
                                "logs_query": {
                                    "data_source_type": "string",
                                    "data_source_uid": "string",
                                    "expr": "string",
                                    "max_lines": 0,
                                },
                                "raw_query": {
                                    "ref_id": "string",
                                    "request": "string",
                                },
                                "timeout": "string",
                            },
                            "explain": {
                                "annotation": "string",
                                "timeout": "string",
                            },
                            "external": {
                                "timeout": "string",
                                "url": "string",
                            },
                            "sift": {
                                "timeout": "string",
                            },
                        }],
                    },
                    "timeout": "string",
                },
                "data_source": {
                    "logs_query": {
                        "data_source_type": "string",
                        "data_source_uid": "string",
                        "expr": "string",
                        "max_lines": 0,
                    },
                    "raw_query": {
                        "ref_id": "string",
                        "request": "string",
                    },
                    "timeout": "string",
                },
                "explain": {
                    "annotation": "string",
                    "timeout": "string",
                },
                "external": {
                    "timeout": "string",
                    "url": "string",
                },
                "sift": {
                    "timeout": "string",
                },
            }],
        })
    
    const alertEnrichmentResource = new grafana.alerting.AlertEnrichment("alertEnrichmentResource", {
        metadata: {
            uid: "string",
            annotations: {
                string: "string",
            },
            folderUid: "string",
            url: "string",
            uuid: "string",
            version: "string",
        },
        options: {
            overwrite: false,
        },
        spec: {
            title: "string",
            alertRuleUids: ["string"],
            annotationMatchers: [{
                name: "string",
                type: "string",
                value: "string",
            }],
            description: "string",
            disableProvenance: false,
            labelMatchers: [{
                name: "string",
                type: "string",
                value: "string",
            }],
            receivers: ["string"],
            steps: [{
                asserts: {
                    timeout: "string",
                },
                assign: {
                    annotations: {
                        string: "string",
                    },
                    timeout: "string",
                },
                assistantInvestigations: {
                    timeout: "string",
                },
                conditional: {
                    "else": {
                        steps: [{
                            asserts: {
                                timeout: "string",
                            },
                            assign: {
                                annotations: {
                                    string: "string",
                                },
                                timeout: "string",
                            },
                            assistantInvestigations: {
                                timeout: "string",
                            },
                            dataSource: {
                                logsQuery: {
                                    dataSourceType: "string",
                                    dataSourceUid: "string",
                                    expr: "string",
                                    maxLines: 0,
                                },
                                rawQuery: {
                                    refId: "string",
                                    request: "string",
                                },
                                timeout: "string",
                            },
                            explain: {
                                annotation: "string",
                                timeout: "string",
                            },
                            external: {
                                timeout: "string",
                                url: "string",
                            },
                            sift: {
                                timeout: "string",
                            },
                        }],
                    },
                    "if": {
                        annotationMatchers: [{
                            name: "string",
                            type: "string",
                            value: "string",
                        }],
                        dataSourceCondition: {
                            request: "string",
                        },
                        labelMatchers: [{
                            name: "string",
                            type: "string",
                            value: "string",
                        }],
                    },
                    then: {
                        steps: [{
                            asserts: {
                                timeout: "string",
                            },
                            assign: {
                                annotations: {
                                    string: "string",
                                },
                                timeout: "string",
                            },
                            assistantInvestigations: {
                                timeout: "string",
                            },
                            dataSource: {
                                logsQuery: {
                                    dataSourceType: "string",
                                    dataSourceUid: "string",
                                    expr: "string",
                                    maxLines: 0,
                                },
                                rawQuery: {
                                    refId: "string",
                                    request: "string",
                                },
                                timeout: "string",
                            },
                            explain: {
                                annotation: "string",
                                timeout: "string",
                            },
                            external: {
                                timeout: "string",
                                url: "string",
                            },
                            sift: {
                                timeout: "string",
                            },
                        }],
                    },
                    timeout: "string",
                },
                dataSource: {
                    logsQuery: {
                        dataSourceType: "string",
                        dataSourceUid: "string",
                        expr: "string",
                        maxLines: 0,
                    },
                    rawQuery: {
                        refId: "string",
                        request: "string",
                    },
                    timeout: "string",
                },
                explain: {
                    annotation: "string",
                    timeout: "string",
                },
                external: {
                    timeout: "string",
                    url: "string",
                },
                sift: {
                    timeout: "string",
                },
            }],
        },
    });
    
    type: grafana:alerting:AlertEnrichment
    properties:
        metadata:
            annotations:
                string: string
            folderUid: string
            uid: string
            url: string
            uuid: string
            version: string
        options:
            overwrite: false
        spec:
            alertRuleUids:
                - string
            annotationMatchers:
                - name: string
                  type: string
                  value: string
            description: string
            disableProvenance: false
            labelMatchers:
                - name: string
                  type: string
                  value: string
            receivers:
                - string
            steps:
                - asserts:
                    timeout: string
                  assign:
                    annotations:
                        string: string
                    timeout: string
                  assistantInvestigations:
                    timeout: string
                  conditional:
                    else:
                        steps:
                            - asserts:
                                timeout: string
                              assign:
                                annotations:
                                    string: string
                                timeout: string
                              assistantInvestigations:
                                timeout: string
                              dataSource:
                                logsQuery:
                                    dataSourceType: string
                                    dataSourceUid: string
                                    expr: string
                                    maxLines: 0
                                rawQuery:
                                    refId: string
                                    request: string
                                timeout: string
                              explain:
                                annotation: string
                                timeout: string
                              external:
                                timeout: string
                                url: string
                              sift:
                                timeout: string
                    if:
                        annotationMatchers:
                            - name: string
                              type: string
                              value: string
                        dataSourceCondition:
                            request: string
                        labelMatchers:
                            - name: string
                              type: string
                              value: string
                    then:
                        steps:
                            - asserts:
                                timeout: string
                              assign:
                                annotations:
                                    string: string
                                timeout: string
                              assistantInvestigations:
                                timeout: string
                              dataSource:
                                logsQuery:
                                    dataSourceType: string
                                    dataSourceUid: string
                                    expr: string
                                    maxLines: 0
                                rawQuery:
                                    refId: string
                                    request: string
                                timeout: string
                              explain:
                                annotation: string
                                timeout: string
                              external:
                                timeout: string
                                url: string
                              sift:
                                timeout: string
                    timeout: string
                  dataSource:
                    logsQuery:
                        dataSourceType: string
                        dataSourceUid: string
                        expr: string
                        maxLines: 0
                    rawQuery:
                        refId: string
                        request: string
                    timeout: string
                  explain:
                    annotation: string
                    timeout: string
                  external:
                    timeout: string
                    url: string
                  sift:
                    timeout: string
            title: string
    

    AlertEnrichment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AlertEnrichment resource accepts the following input properties:

    Metadata AlertEnrichmentMetadataArgs
    The metadata of the resource.
    Options AlertEnrichmentOptionsArgs
    Options for applying the resource.
    Spec AlertEnrichmentSpecArgs
    The spec of the resource.
    metadata AlertEnrichmentMetadata
    The metadata of the resource.
    options AlertEnrichmentOptions
    Options for applying the resource.
    spec AlertEnrichmentSpec
    The spec of the resource.
    metadata AlertEnrichmentMetadata
    The metadata of the resource.
    options AlertEnrichmentOptions
    Options for applying the resource.
    spec AlertEnrichmentSpec
    The spec of the resource.
    metadata AlertEnrichmentMetadataArgs
    The metadata of the resource.
    options AlertEnrichmentOptionsArgs
    Options for applying the resource.
    spec AlertEnrichmentSpecArgs
    The spec of the resource.
    metadata Property Map
    The metadata of the resource.
    options Property Map
    Options for applying the resource.
    spec Property Map
    The spec of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AlertEnrichment resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AlertEnrichment Resource

    Get an existing AlertEnrichment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AlertEnrichmentState, opts?: CustomResourceOptions): AlertEnrichment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            metadata: Optional[AlertEnrichmentMetadataArgs] = None,
            options: Optional[AlertEnrichmentOptionsArgs] = None,
            spec: Optional[AlertEnrichmentSpecArgs] = None) -> AlertEnrichment
    func GetAlertEnrichment(ctx *Context, name string, id IDInput, state *AlertEnrichmentState, opts ...ResourceOption) (*AlertEnrichment, error)
    public static AlertEnrichment Get(string name, Input<string> id, AlertEnrichmentState? state, CustomResourceOptions? opts = null)
    public static AlertEnrichment get(String name, Output<String> id, AlertEnrichmentState state, CustomResourceOptions options)
    resources:  _:    type: grafana:alerting:AlertEnrichment    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Metadata AlertEnrichmentMetadataArgs
    The metadata of the resource.
    Options AlertEnrichmentOptionsArgs
    Options for applying the resource.
    Spec AlertEnrichmentSpecArgs
    The spec of the resource.
    metadata AlertEnrichmentMetadata
    The metadata of the resource.
    options AlertEnrichmentOptions
    Options for applying the resource.
    spec AlertEnrichmentSpec
    The spec of the resource.
    metadata AlertEnrichmentMetadata
    The metadata of the resource.
    options AlertEnrichmentOptions
    Options for applying the resource.
    spec AlertEnrichmentSpec
    The spec of the resource.
    metadata AlertEnrichmentMetadataArgs
    The metadata of the resource.
    options AlertEnrichmentOptionsArgs
    Options for applying the resource.
    spec AlertEnrichmentSpecArgs
    The spec of the resource.
    metadata Property Map
    The metadata of the resource.
    options Property Map
    Options for applying the resource.
    spec Property Map
    The spec of the resource.

    Supporting Types

    AlertEnrichmentMetadata, AlertEnrichmentMetadataArgs

    Uid string
    The unique identifier of the resource.
    Annotations Dictionary<string, string>
    Annotations of the resource.
    FolderUid string
    The UID of the folder to save the resource in.
    Url string
    The full URL of the resource.
    Uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    Version string
    The version of the resource.
    Uid string
    The unique identifier of the resource.
    Annotations map[string]string
    Annotations of the resource.
    FolderUid string
    The UID of the folder to save the resource in.
    Url string
    The full URL of the resource.
    Uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    Version string
    The version of the resource.
    uid String
    The unique identifier of the resource.
    annotations Map<String,String>
    Annotations of the resource.
    folderUid String
    The UID of the folder to save the resource in.
    url String
    The full URL of the resource.
    uuid String
    The globally unique identifier of a resource, used by the API for tracking.
    version String
    The version of the resource.
    uid string
    The unique identifier of the resource.
    annotations {[key: string]: string}
    Annotations of the resource.
    folderUid string
    The UID of the folder to save the resource in.
    url string
    The full URL of the resource.
    uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    version string
    The version of the resource.
    uid str
    The unique identifier of the resource.
    annotations Mapping[str, str]
    Annotations of the resource.
    folder_uid str
    The UID of the folder to save the resource in.
    url str
    The full URL of the resource.
    uuid str
    The globally unique identifier of a resource, used by the API for tracking.
    version str
    The version of the resource.
    uid String
    The unique identifier of the resource.
    annotations Map<String>
    Annotations of the resource.
    folderUid String
    The UID of the folder to save the resource in.
    url String
    The full URL of the resource.
    uuid String
    The globally unique identifier of a resource, used by the API for tracking.
    version String
    The version of the resource.

    AlertEnrichmentOptions, AlertEnrichmentOptionsArgs

    Overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    Overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    overwrite Boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    overwrite boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    overwrite Boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.

    AlertEnrichmentSpec, AlertEnrichmentSpecArgs

    Title string
    The title of the alert enrichment.
    AlertRuleUids List<string>
    UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
    AnnotationMatchers List<Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecAnnotationMatcher>
    Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
    Description string
    Description of the alert enrichment.
    DisableProvenance bool
    LabelMatchers List<Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecLabelMatcher>
    Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
    Receivers List<string>
    Receiver names to match. If empty, applies to all receivers.
    Steps List<Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStep>
    Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
    Title string
    The title of the alert enrichment.
    AlertRuleUids []string
    UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
    AnnotationMatchers []AlertEnrichmentSpecAnnotationMatcher
    Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
    Description string
    Description of the alert enrichment.
    DisableProvenance bool
    LabelMatchers []AlertEnrichmentSpecLabelMatcher
    Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
    Receivers []string
    Receiver names to match. If empty, applies to all receivers.
    Steps []AlertEnrichmentSpecStep
    Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
    title String
    The title of the alert enrichment.
    alertRuleUids List<String>
    UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
    annotationMatchers List<AlertEnrichmentSpecAnnotationMatcher>
    Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
    description String
    Description of the alert enrichment.
    disableProvenance Boolean
    labelMatchers List<AlertEnrichmentSpecLabelMatcher>
    Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
    receivers List<String>
    Receiver names to match. If empty, applies to all receivers.
    steps List<AlertEnrichmentSpecStep>
    Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
    title string
    The title of the alert enrichment.
    alertRuleUids string[]
    UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
    annotationMatchers AlertEnrichmentSpecAnnotationMatcher[]
    Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
    description string
    Description of the alert enrichment.
    disableProvenance boolean
    labelMatchers AlertEnrichmentSpecLabelMatcher[]
    Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
    receivers string[]
    Receiver names to match. If empty, applies to all receivers.
    steps AlertEnrichmentSpecStep[]
    Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
    title str
    The title of the alert enrichment.
    alert_rule_uids Sequence[str]
    UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
    annotation_matchers Sequence[AlertEnrichmentSpecAnnotationMatcher]
    Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
    description str
    Description of the alert enrichment.
    disable_provenance bool
    label_matchers Sequence[AlertEnrichmentSpecLabelMatcher]
    Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
    receivers Sequence[str]
    Receiver names to match. If empty, applies to all receivers.
    steps Sequence[AlertEnrichmentSpecStep]
    Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
    title String
    The title of the alert enrichment.
    alertRuleUids List<String>
    UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
    annotationMatchers List<Property Map>
    Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
    description String
    Description of the alert enrichment.
    disableProvenance Boolean
    labelMatchers List<Property Map>
    Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
    receivers List<String>
    Receiver names to match. If empty, applies to all receivers.
    steps List<Property Map>
    Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.

    AlertEnrichmentSpecAnnotationMatcher, AlertEnrichmentSpecAnnotationMatcherArgs

    Name string
    Type string
    Value string
    Name string
    Type string
    Value string
    name String
    type String
    value String
    name string
    type string
    value string
    name str
    type str
    value str
    name String
    type String
    value String

    AlertEnrichmentSpecLabelMatcher, AlertEnrichmentSpecLabelMatcherArgs

    Name string
    Type string
    Value string
    Name string
    Type string
    Value string
    name String
    type String
    value String
    name string
    type string
    value string
    name str
    type str
    value str
    name String
    type String
    value String

    AlertEnrichmentSpecStep, AlertEnrichmentSpecStepArgs

    Asserts Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAsserts
    Integrate with Grafana Asserts for enrichment.
    Assign Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAssign
    Assign annotations to an alert.
    AssistantInvestigations Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    Conditional Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditional
    Conditional step with if/then/else.
    DataSource Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSource
    Query Grafana data sources and add results to alerts.
    Explain Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepExplain
    Generate AI explanation and store in an annotation.
    External Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepExternal
    Call an external HTTP service for enrichment.
    Sift Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepSift
    Analyze alerts for patterns and insights.
    Asserts AlertEnrichmentSpecStepAsserts
    Integrate with Grafana Asserts for enrichment.
    Assign AlertEnrichmentSpecStepAssign
    Assign annotations to an alert.
    AssistantInvestigations AlertEnrichmentSpecStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    Conditional AlertEnrichmentSpecStepConditional
    Conditional step with if/then/else.
    DataSource AlertEnrichmentSpecStepDataSource
    Query Grafana data sources and add results to alerts.
    Explain AlertEnrichmentSpecStepExplain
    Generate AI explanation and store in an annotation.
    External AlertEnrichmentSpecStepExternal
    Call an external HTTP service for enrichment.
    Sift AlertEnrichmentSpecStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepAssign
    Assign annotations to an alert.
    assistantInvestigations AlertEnrichmentSpecStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    conditional AlertEnrichmentSpecStepConditional
    Conditional step with if/then/else.
    dataSource AlertEnrichmentSpecStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepAssign
    Assign annotations to an alert.
    assistantInvestigations AlertEnrichmentSpecStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    conditional AlertEnrichmentSpecStepConditional
    Conditional step with if/then/else.
    dataSource AlertEnrichmentSpecStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepAssign
    Assign annotations to an alert.
    assistant_investigations AlertEnrichmentSpecStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    conditional AlertEnrichmentSpecStepConditional
    Conditional step with if/then/else.
    data_source AlertEnrichmentSpecStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepSift
    Analyze alerts for patterns and insights.
    asserts Property Map
    Integrate with Grafana Asserts for enrichment.
    assign Property Map
    Assign annotations to an alert.
    assistantInvestigations Property Map
    Use AI assistant to investigate alerts and add insights.
    conditional Property Map
    Conditional step with if/then/else.
    dataSource Property Map
    Query Grafana data sources and add results to alerts.
    explain Property Map
    Generate AI explanation and store in an annotation.
    external Property Map
    Call an external HTTP service for enrichment.
    sift Property Map
    Analyze alerts for patterns and insights.

    AlertEnrichmentSpecStepAsserts, AlertEnrichmentSpecStepAssertsArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepAssign, AlertEnrichmentSpecStepAssignArgs

    Annotations Dictionary<string, string>
    Map of annotation names to values to set on matching alerts.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Annotations map[string]string
    Map of annotation names to values to set on matching alerts.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotations Map<String,String>
    Map of annotation names to values to set on matching alerts.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    annotations {[key: string]: string}
    Map of annotation names to values to set on matching alerts.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotations Mapping[str, str]
    Map of annotation names to values to set on matching alerts.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    annotations Map<String>
    Map of annotation names to values to set on matching alerts.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepAssistantInvestigations, AlertEnrichmentSpecStepAssistantInvestigationsArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditional, AlertEnrichmentSpecStepConditionalArgs

    Else AlertEnrichmentSpecStepConditionalElse
    Steps when condition is false.
    If AlertEnrichmentSpecStepConditionalIf
    Condition to evaluate.
    Then AlertEnrichmentSpecStepConditionalThen
    Steps when condition is true.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    else_ AlertEnrichmentSpecStepConditionalElse
    Steps when condition is false.
    if_ AlertEnrichmentSpecStepConditionalIf
    Condition to evaluate.
    then AlertEnrichmentSpecStepConditionalThen
    Steps when condition is true.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    else AlertEnrichmentSpecStepConditionalElse
    Steps when condition is false.
    if AlertEnrichmentSpecStepConditionalIf
    Condition to evaluate.
    then AlertEnrichmentSpecStepConditionalThen
    Steps when condition is true.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    else_ AlertEnrichmentSpecStepConditionalElse
    Steps when condition is false.
    if_ AlertEnrichmentSpecStepConditionalIf
    Condition to evaluate.
    then AlertEnrichmentSpecStepConditionalThen
    Steps when condition is true.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    else Property Map
    Steps when condition is false.
    if Property Map
    Condition to evaluate.
    then Property Map
    Steps when condition is true.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalElse, AlertEnrichmentSpecStepConditionalElseArgs

    AlertEnrichmentSpecStepConditionalElseStep, AlertEnrichmentSpecStepConditionalElseStepArgs

    Asserts Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAsserts
    Integrate with Grafana Asserts for enrichment.
    Assign Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAssign
    Assign annotations to an alert.
    AssistantInvestigations Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    DataSource Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSource
    Query Grafana data sources and add results to alerts.
    Explain Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepExplain
    Generate AI explanation and store in an annotation.
    External Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepExternal
    Call an external HTTP service for enrichment.
    Sift Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepSift
    Analyze alerts for patterns and insights.
    Asserts AlertEnrichmentSpecStepConditionalElseStepAsserts
    Integrate with Grafana Asserts for enrichment.
    Assign AlertEnrichmentSpecStepConditionalElseStepAssign
    Assign annotations to an alert.
    AssistantInvestigations AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    DataSource AlertEnrichmentSpecStepConditionalElseStepDataSource
    Query Grafana data sources and add results to alerts.
    Explain AlertEnrichmentSpecStepConditionalElseStepExplain
    Generate AI explanation and store in an annotation.
    External AlertEnrichmentSpecStepConditionalElseStepExternal
    Call an external HTTP service for enrichment.
    Sift AlertEnrichmentSpecStepConditionalElseStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepConditionalElseStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepConditionalElseStepAssign
    Assign annotations to an alert.
    assistantInvestigations AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    dataSource AlertEnrichmentSpecStepConditionalElseStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepConditionalElseStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepConditionalElseStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepConditionalElseStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepConditionalElseStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepConditionalElseStepAssign
    Assign annotations to an alert.
    assistantInvestigations AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    dataSource AlertEnrichmentSpecStepConditionalElseStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepConditionalElseStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepConditionalElseStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepConditionalElseStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepConditionalElseStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepConditionalElseStepAssign
    Assign annotations to an alert.
    assistant_investigations AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    data_source AlertEnrichmentSpecStepConditionalElseStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepConditionalElseStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepConditionalElseStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepConditionalElseStepSift
    Analyze alerts for patterns and insights.
    asserts Property Map
    Integrate with Grafana Asserts for enrichment.
    assign Property Map
    Assign annotations to an alert.
    assistantInvestigations Property Map
    Use AI assistant to investigate alerts and add insights.
    dataSource Property Map
    Query Grafana data sources and add results to alerts.
    explain Property Map
    Generate AI explanation and store in an annotation.
    external Property Map
    Call an external HTTP service for enrichment.
    sift Property Map
    Analyze alerts for patterns and insights.

    AlertEnrichmentSpecStepConditionalElseStepAsserts, AlertEnrichmentSpecStepConditionalElseStepAssertsArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalElseStepAssign, AlertEnrichmentSpecStepConditionalElseStepAssignArgs

    Annotations Dictionary<string, string>
    Map of annotation names to values to set on matching alerts.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Annotations map[string]string
    Map of annotation names to values to set on matching alerts.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotations Map<String,String>
    Map of annotation names to values to set on matching alerts.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    annotations {[key: string]: string}
    Map of annotation names to values to set on matching alerts.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotations Mapping[str, str]
    Map of annotation names to values to set on matching alerts.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    annotations Map<String>
    Map of annotation names to values to set on matching alerts.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigations, AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigationsArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalElseStepDataSource, AlertEnrichmentSpecStepConditionalElseStepDataSourceArgs

    LogsQuery Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    RawQuery Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    LogsQuery AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    RawQuery AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    logsQuery AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    rawQuery AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    logsQuery AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    rawQuery AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    logs_query AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    raw_query AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    logsQuery Property Map
    Logs query configuration for querying log data sources.
    rawQuery Property Map
    Raw query configuration for advanced data source queries.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQuery, AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQueryArgs

    DataSourceType string
    Data source type (e.g., 'loki').
    DataSourceUid string
    UID of the data source to query.
    Expr string
    Log query expression to execute.
    MaxLines int
    Maximum number of log lines to include. Defaults to 3.
    DataSourceType string
    Data source type (e.g., 'loki').
    DataSourceUid string
    UID of the data source to query.
    Expr string
    Log query expression to execute.
    MaxLines int
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType String
    Data source type (e.g., 'loki').
    dataSourceUid String
    UID of the data source to query.
    expr String
    Log query expression to execute.
    maxLines Integer
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType string
    Data source type (e.g., 'loki').
    dataSourceUid string
    UID of the data source to query.
    expr string
    Log query expression to execute.
    maxLines number
    Maximum number of log lines to include. Defaults to 3.
    data_source_type str
    Data source type (e.g., 'loki').
    data_source_uid str
    UID of the data source to query.
    expr str
    Log query expression to execute.
    max_lines int
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType String
    Data source type (e.g., 'loki').
    dataSourceUid String
    UID of the data source to query.
    expr String
    Log query expression to execute.
    maxLines Number
    Maximum number of log lines to include. Defaults to 3.

    AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQuery, AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQueryArgs

    RefId string
    Reference ID for correlating queries.
    Request string
    Raw request payload for the data source query.
    RefId string
    Reference ID for correlating queries.
    Request string
    Raw request payload for the data source query.
    refId String
    Reference ID for correlating queries.
    request String
    Raw request payload for the data source query.
    refId string
    Reference ID for correlating queries.
    request string
    Raw request payload for the data source query.
    ref_id str
    Reference ID for correlating queries.
    request str
    Raw request payload for the data source query.
    refId String
    Reference ID for correlating queries.
    request String
    Raw request payload for the data source query.

    AlertEnrichmentSpecStepConditionalElseStepExplain, AlertEnrichmentSpecStepConditionalElseStepExplainArgs

    Annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotation String
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotation str
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    annotation String
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalElseStepExternal, AlertEnrichmentSpecStepConditionalElseStepExternalArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Url string
    HTTP endpoint URL to call for enrichment
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Url string
    HTTP endpoint URL to call for enrichment
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    url String
    HTTP endpoint URL to call for enrichment
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    url string
    HTTP endpoint URL to call for enrichment
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    url str
    HTTP endpoint URL to call for enrichment
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    url String
    HTTP endpoint URL to call for enrichment

    AlertEnrichmentSpecStepConditionalElseStepSift, AlertEnrichmentSpecStepConditionalElseStepSiftArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalIf, AlertEnrichmentSpecStepConditionalIfArgs

    annotationMatchers List<Property Map>
    Annotation matchers for the condition.
    dataSourceCondition Property Map
    Data source condition.
    labelMatchers List<Property Map>
    Label matchers for the condition.

    AlertEnrichmentSpecStepConditionalIfAnnotationMatcher, AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArgs

    Name string
    Type string
    Value string
    Name string
    Type string
    Value string
    name String
    type String
    value String
    name string
    type string
    value string
    name str
    type str
    value str
    name String
    type String
    value String

    AlertEnrichmentSpecStepConditionalIfDataSourceCondition, AlertEnrichmentSpecStepConditionalIfDataSourceConditionArgs

    Request string
    Data source request payload.
    Request string
    Data source request payload.
    request String
    Data source request payload.
    request string
    Data source request payload.
    request str
    Data source request payload.
    request String
    Data source request payload.

    AlertEnrichmentSpecStepConditionalIfLabelMatcher, AlertEnrichmentSpecStepConditionalIfLabelMatcherArgs

    Name string
    Type string
    Value string
    Name string
    Type string
    Value string
    name String
    type String
    value String
    name string
    type string
    value string
    name str
    type str
    value str
    name String
    type String
    value String

    AlertEnrichmentSpecStepConditionalThen, AlertEnrichmentSpecStepConditionalThenArgs

    AlertEnrichmentSpecStepConditionalThenStep, AlertEnrichmentSpecStepConditionalThenStepArgs

    Asserts Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAsserts
    Integrate with Grafana Asserts for enrichment.
    Assign Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAssign
    Assign annotations to an alert.
    AssistantInvestigations Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    DataSource Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSource
    Query Grafana data sources and add results to alerts.
    Explain Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepExplain
    Generate AI explanation and store in an annotation.
    External Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepExternal
    Call an external HTTP service for enrichment.
    Sift Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepSift
    Analyze alerts for patterns and insights.
    Asserts AlertEnrichmentSpecStepConditionalThenStepAsserts
    Integrate with Grafana Asserts for enrichment.
    Assign AlertEnrichmentSpecStepConditionalThenStepAssign
    Assign annotations to an alert.
    AssistantInvestigations AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    DataSource AlertEnrichmentSpecStepConditionalThenStepDataSource
    Query Grafana data sources and add results to alerts.
    Explain AlertEnrichmentSpecStepConditionalThenStepExplain
    Generate AI explanation and store in an annotation.
    External AlertEnrichmentSpecStepConditionalThenStepExternal
    Call an external HTTP service for enrichment.
    Sift AlertEnrichmentSpecStepConditionalThenStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepConditionalThenStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepConditionalThenStepAssign
    Assign annotations to an alert.
    assistantInvestigations AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    dataSource AlertEnrichmentSpecStepConditionalThenStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepConditionalThenStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepConditionalThenStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepConditionalThenStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepConditionalThenStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepConditionalThenStepAssign
    Assign annotations to an alert.
    assistantInvestigations AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    dataSource AlertEnrichmentSpecStepConditionalThenStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepConditionalThenStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepConditionalThenStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepConditionalThenStepSift
    Analyze alerts for patterns and insights.
    asserts AlertEnrichmentSpecStepConditionalThenStepAsserts
    Integrate with Grafana Asserts for enrichment.
    assign AlertEnrichmentSpecStepConditionalThenStepAssign
    Assign annotations to an alert.
    assistant_investigations AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigations
    Use AI assistant to investigate alerts and add insights.
    data_source AlertEnrichmentSpecStepConditionalThenStepDataSource
    Query Grafana data sources and add results to alerts.
    explain AlertEnrichmentSpecStepConditionalThenStepExplain
    Generate AI explanation and store in an annotation.
    external AlertEnrichmentSpecStepConditionalThenStepExternal
    Call an external HTTP service for enrichment.
    sift AlertEnrichmentSpecStepConditionalThenStepSift
    Analyze alerts for patterns and insights.
    asserts Property Map
    Integrate with Grafana Asserts for enrichment.
    assign Property Map
    Assign annotations to an alert.
    assistantInvestigations Property Map
    Use AI assistant to investigate alerts and add insights.
    dataSource Property Map
    Query Grafana data sources and add results to alerts.
    explain Property Map
    Generate AI explanation and store in an annotation.
    external Property Map
    Call an external HTTP service for enrichment.
    sift Property Map
    Analyze alerts for patterns and insights.

    AlertEnrichmentSpecStepConditionalThenStepAsserts, AlertEnrichmentSpecStepConditionalThenStepAssertsArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalThenStepAssign, AlertEnrichmentSpecStepConditionalThenStepAssignArgs

    Annotations Dictionary<string, string>
    Map of annotation names to values to set on matching alerts.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Annotations map[string]string
    Map of annotation names to values to set on matching alerts.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotations Map<String,String>
    Map of annotation names to values to set on matching alerts.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    annotations {[key: string]: string}
    Map of annotation names to values to set on matching alerts.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotations Mapping[str, str]
    Map of annotation names to values to set on matching alerts.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    annotations Map<String>
    Map of annotation names to values to set on matching alerts.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigations, AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigationsArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalThenStepDataSource, AlertEnrichmentSpecStepConditionalThenStepDataSourceArgs

    LogsQuery Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    RawQuery Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    LogsQuery AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    RawQuery AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    logsQuery AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    rawQuery AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    logsQuery AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    rawQuery AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    logs_query AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    raw_query AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    logsQuery Property Map
    Logs query configuration for querying log data sources.
    rawQuery Property Map
    Raw query configuration for advanced data source queries.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQuery, AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQueryArgs

    DataSourceType string
    Data source type (e.g., 'loki').
    DataSourceUid string
    UID of the data source to query.
    Expr string
    Log query expression to execute.
    MaxLines int
    Maximum number of log lines to include. Defaults to 3.
    DataSourceType string
    Data source type (e.g., 'loki').
    DataSourceUid string
    UID of the data source to query.
    Expr string
    Log query expression to execute.
    MaxLines int
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType String
    Data source type (e.g., 'loki').
    dataSourceUid String
    UID of the data source to query.
    expr String
    Log query expression to execute.
    maxLines Integer
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType string
    Data source type (e.g., 'loki').
    dataSourceUid string
    UID of the data source to query.
    expr string
    Log query expression to execute.
    maxLines number
    Maximum number of log lines to include. Defaults to 3.
    data_source_type str
    Data source type (e.g., 'loki').
    data_source_uid str
    UID of the data source to query.
    expr str
    Log query expression to execute.
    max_lines int
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType String
    Data source type (e.g., 'loki').
    dataSourceUid String
    UID of the data source to query.
    expr String
    Log query expression to execute.
    maxLines Number
    Maximum number of log lines to include. Defaults to 3.

    AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQuery, AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQueryArgs

    RefId string
    Reference ID for correlating queries.
    Request string
    Raw request payload for the data source query.
    RefId string
    Reference ID for correlating queries.
    Request string
    Raw request payload for the data source query.
    refId String
    Reference ID for correlating queries.
    request String
    Raw request payload for the data source query.
    refId string
    Reference ID for correlating queries.
    request string
    Raw request payload for the data source query.
    ref_id str
    Reference ID for correlating queries.
    request str
    Raw request payload for the data source query.
    refId String
    Reference ID for correlating queries.
    request String
    Raw request payload for the data source query.

    AlertEnrichmentSpecStepConditionalThenStepExplain, AlertEnrichmentSpecStepConditionalThenStepExplainArgs

    Annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotation String
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotation str
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    annotation String
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepConditionalThenStepExternal, AlertEnrichmentSpecStepConditionalThenStepExternalArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Url string
    HTTP endpoint URL to call for enrichment
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Url string
    HTTP endpoint URL to call for enrichment
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    url String
    HTTP endpoint URL to call for enrichment
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    url string
    HTTP endpoint URL to call for enrichment
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    url str
    HTTP endpoint URL to call for enrichment
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    url String
    HTTP endpoint URL to call for enrichment

    AlertEnrichmentSpecStepConditionalThenStepSift, AlertEnrichmentSpecStepConditionalThenStepSiftArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepDataSource, AlertEnrichmentSpecStepDataSourceArgs

    LogsQuery Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    RawQuery Pulumiverse.Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    LogsQuery AlertEnrichmentSpecStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    RawQuery AlertEnrichmentSpecStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    logsQuery AlertEnrichmentSpecStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    rawQuery AlertEnrichmentSpecStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    logsQuery AlertEnrichmentSpecStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    rawQuery AlertEnrichmentSpecStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    logs_query AlertEnrichmentSpecStepDataSourceLogsQuery
    Logs query configuration for querying log data sources.
    raw_query AlertEnrichmentSpecStepDataSourceRawQuery
    Raw query configuration for advanced data source queries.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    logsQuery Property Map
    Logs query configuration for querying log data sources.
    rawQuery Property Map
    Raw query configuration for advanced data source queries.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepDataSourceLogsQuery, AlertEnrichmentSpecStepDataSourceLogsQueryArgs

    DataSourceType string
    Data source type (e.g., 'loki').
    DataSourceUid string
    UID of the data source to query.
    Expr string
    Log query expression to execute.
    MaxLines int
    Maximum number of log lines to include. Defaults to 3.
    DataSourceType string
    Data source type (e.g., 'loki').
    DataSourceUid string
    UID of the data source to query.
    Expr string
    Log query expression to execute.
    MaxLines int
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType String
    Data source type (e.g., 'loki').
    dataSourceUid String
    UID of the data source to query.
    expr String
    Log query expression to execute.
    maxLines Integer
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType string
    Data source type (e.g., 'loki').
    dataSourceUid string
    UID of the data source to query.
    expr string
    Log query expression to execute.
    maxLines number
    Maximum number of log lines to include. Defaults to 3.
    data_source_type str
    Data source type (e.g., 'loki').
    data_source_uid str
    UID of the data source to query.
    expr str
    Log query expression to execute.
    max_lines int
    Maximum number of log lines to include. Defaults to 3.
    dataSourceType String
    Data source type (e.g., 'loki').
    dataSourceUid String
    UID of the data source to query.
    expr String
    Log query expression to execute.
    maxLines Number
    Maximum number of log lines to include. Defaults to 3.

    AlertEnrichmentSpecStepDataSourceRawQuery, AlertEnrichmentSpecStepDataSourceRawQueryArgs

    RefId string
    Reference ID for correlating queries.
    Request string
    Raw request payload for the data source query.
    RefId string
    Reference ID for correlating queries.
    Request string
    Raw request payload for the data source query.
    refId String
    Reference ID for correlating queries.
    request String
    Raw request payload for the data source query.
    refId string
    Reference ID for correlating queries.
    request string
    Raw request payload for the data source query.
    ref_id str
    Reference ID for correlating queries.
    request str
    Raw request payload for the data source query.
    refId String
    Reference ID for correlating queries.
    request String
    Raw request payload for the data source query.

    AlertEnrichmentSpecStepExplain, AlertEnrichmentSpecStepExplainArgs

    Annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotation String
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    annotation string
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    annotation str
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    annotation String
    Annotation name to set the explanation in. Defaults to 'ai_explanation'.
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    AlertEnrichmentSpecStepExternal, AlertEnrichmentSpecStepExternalArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Url string
    HTTP endpoint URL to call for enrichment
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Url string
    HTTP endpoint URL to call for enrichment
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    url String
    HTTP endpoint URL to call for enrichment
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    url string
    HTTP endpoint URL to call for enrichment
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    url str
    HTTP endpoint URL to call for enrichment
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    url String
    HTTP endpoint URL to call for enrichment

    AlertEnrichmentSpecStepSift, AlertEnrichmentSpecStepSiftArgs

    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    Timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')
    timeout string
    Maximum execution time (e.g., '30s', '1m')
    timeout str
    Maximum execution time (e.g., '30s', '1m')
    timeout String
    Maximum execution time (e.g., '30s', '1m')

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Grafana v2.13.0 published on Friday, Oct 24, 2025 by pulumiverse
      Meet Neo: Your AI Platform Teammate