We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Sentinel Fusion Alert Rule.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", new Azure.OperationalInsights.AnalyticsWorkspaceArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
Sku = "pergb2018",
});
var exampleAnalyticsSolution = new Azure.OperationalInsights.AnalyticsSolution("exampleAnalyticsSolution", new Azure.OperationalInsights.AnalyticsSolutionArgs
{
SolutionName = "SecurityInsights",
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
WorkspaceResourceId = exampleAnalyticsWorkspace.Id,
WorkspaceName = exampleAnalyticsWorkspace.Name,
Plan = new Azure.OperationalInsights.Inputs.AnalyticsSolutionPlanArgs
{
Publisher = "Microsoft",
Product = "OMSGallery/SecurityInsights",
},
});
var exampleAlertRuleFusion = new Azure.Sentinel.AlertRuleFusion("exampleAlertRuleFusion", new Azure.Sentinel.AlertRuleFusionArgs
{
LogAnalyticsWorkspaceId = exampleAnalyticsSolution.WorkspaceResourceId,
AlertRuleTemplateGuid = "f71aba3d-28fb-450b-b192-4e76a83015c8",
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/operationalinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/sentinel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
Sku: pulumi.String("pergb2018"),
})
if err != nil {
return err
}
exampleAnalyticsSolution, err := operationalinsights.NewAnalyticsSolution(ctx, "exampleAnalyticsSolution", &operationalinsights.AnalyticsSolutionArgs{
SolutionName: pulumi.String("SecurityInsights"),
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
WorkspaceResourceId: exampleAnalyticsWorkspace.ID(),
WorkspaceName: exampleAnalyticsWorkspace.Name,
Plan: &operationalinsights.AnalyticsSolutionPlanArgs{
Publisher: pulumi.String("Microsoft"),
Product: pulumi.String("OMSGallery/SecurityInsights"),
},
})
if err != nil {
return err
}
_, err = sentinel.NewAlertRuleFusion(ctx, "exampleAlertRuleFusion", &sentinel.AlertRuleFusionArgs{
LogAnalyticsWorkspaceId: exampleAnalyticsSolution.WorkspaceResourceId,
AlertRuleTemplateGuid: pulumi.String("f71aba3d-28fb-450b-b192-4e76a83015c8"),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
sku: "pergb2018",
});
const exampleAnalyticsSolution = new azure.operationalinsights.AnalyticsSolution("exampleAnalyticsSolution", {
solutionName: "SecurityInsights",
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
workspaceResourceId: exampleAnalyticsWorkspace.id,
workspaceName: exampleAnalyticsWorkspace.name,
plan: {
publisher: "Microsoft",
product: "OMSGallery/SecurityInsights",
},
});
const exampleAlertRuleFusion = new azure.sentinel.AlertRuleFusion("exampleAlertRuleFusion", {
logAnalyticsWorkspaceId: exampleAnalyticsSolution.workspaceResourceId,
alertRuleTemplateGuid: "f71aba3d-28fb-450b-b192-4e76a83015c8",
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
sku="pergb2018")
example_analytics_solution = azure.operationalinsights.AnalyticsSolution("exampleAnalyticsSolution",
solution_name="SecurityInsights",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
workspace_resource_id=example_analytics_workspace.id,
workspace_name=example_analytics_workspace.name,
plan=azure.operationalinsights.AnalyticsSolutionPlanArgs(
publisher="Microsoft",
product="OMSGallery/SecurityInsights",
))
example_alert_rule_fusion = azure.sentinel.AlertRuleFusion("exampleAlertRuleFusion",
log_analytics_workspace_id=example_analytics_solution.workspace_resource_id,
alert_rule_template_guid="f71aba3d-28fb-450b-b192-4e76a83015c8")
Example coming soon!
Create AlertRuleFusion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertRuleFusion(name: string, args: AlertRuleFusionArgs, opts?: CustomResourceOptions);@overload
def AlertRuleFusion(resource_name: str,
args: AlertRuleFusionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlertRuleFusion(resource_name: str,
opts: Optional[ResourceOptions] = None,
alert_rule_template_guid: Optional[str] = None,
log_analytics_workspace_id: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None)func NewAlertRuleFusion(ctx *Context, name string, args AlertRuleFusionArgs, opts ...ResourceOption) (*AlertRuleFusion, error)public AlertRuleFusion(string name, AlertRuleFusionArgs args, CustomResourceOptions? opts = null)
public AlertRuleFusion(String name, AlertRuleFusionArgs args)
public AlertRuleFusion(String name, AlertRuleFusionArgs args, CustomResourceOptions options)
type: azure:sentinel:AlertRuleFusion
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 AlertRuleFusionArgs
- 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 AlertRuleFusionArgs
- 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 AlertRuleFusionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertRuleFusionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertRuleFusionArgs
- 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 alertRuleFusionResource = new Azure.Sentinel.AlertRuleFusion("alertRuleFusionResource", new()
{
AlertRuleTemplateGuid = "string",
LogAnalyticsWorkspaceId = "string",
Enabled = false,
Name = "string",
});
example, err := sentinel.NewAlertRuleFusion(ctx, "alertRuleFusionResource", &sentinel.AlertRuleFusionArgs{
AlertRuleTemplateGuid: pulumi.String("string"),
LogAnalyticsWorkspaceId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
})
var alertRuleFusionResource = new AlertRuleFusion("alertRuleFusionResource", AlertRuleFusionArgs.builder()
.alertRuleTemplateGuid("string")
.logAnalyticsWorkspaceId("string")
.enabled(false)
.name("string")
.build());
alert_rule_fusion_resource = azure.sentinel.AlertRuleFusion("alertRuleFusionResource",
alert_rule_template_guid="string",
log_analytics_workspace_id="string",
enabled=False,
name="string")
const alertRuleFusionResource = new azure.sentinel.AlertRuleFusion("alertRuleFusionResource", {
alertRuleTemplateGuid: "string",
logAnalyticsWorkspaceId: "string",
enabled: false,
name: "string",
});
type: azure:sentinel:AlertRuleFusion
properties:
alertRuleTemplateGuid: string
enabled: false
logAnalyticsWorkspaceId: string
name: string
AlertRuleFusion 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 AlertRuleFusion resource accepts the following input properties:
- Alert
Rule stringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Log
Analytics stringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Enabled bool
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - Name string
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Alert
Rule stringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Log
Analytics stringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Enabled bool
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - Name string
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- alert
Rule StringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- log
Analytics StringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- enabled Boolean
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - name String
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- alert
Rule stringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- log
Analytics stringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- enabled boolean
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - name string
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- alert_
rule_ strtemplate_ guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- log_
analytics_ strworkspace_ id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- enabled bool
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - name str
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- alert
Rule StringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- log
Analytics StringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- enabled Boolean
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - name String
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the AlertRuleFusion 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 AlertRuleFusion Resource
Get an existing AlertRuleFusion 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?: AlertRuleFusionState, opts?: CustomResourceOptions): AlertRuleFusion@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_rule_template_guid: Optional[str] = None,
enabled: Optional[bool] = None,
log_analytics_workspace_id: Optional[str] = None,
name: Optional[str] = None) -> AlertRuleFusionfunc GetAlertRuleFusion(ctx *Context, name string, id IDInput, state *AlertRuleFusionState, opts ...ResourceOption) (*AlertRuleFusion, error)public static AlertRuleFusion Get(string name, Input<string> id, AlertRuleFusionState? state, CustomResourceOptions? opts = null)public static AlertRuleFusion get(String name, Output<String> id, AlertRuleFusionState state, CustomResourceOptions options)resources: _: type: azure:sentinel:AlertRuleFusion 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.
- Alert
Rule stringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Enabled bool
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - Log
Analytics stringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Name string
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Alert
Rule stringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Enabled bool
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - Log
Analytics stringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- Name string
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- alert
Rule StringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- enabled Boolean
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - log
Analytics StringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- name String
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- alert
Rule stringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- enabled boolean
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - log
Analytics stringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- name string
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- alert_
rule_ strtemplate_ guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- enabled bool
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - log_
analytics_ strworkspace_ id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- name str
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- alert
Rule StringTemplate Guid - The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- enabled Boolean
- Should this Sentinel Fusion Alert Rule be enabled? Defaults to
true. - log
Analytics StringWorkspace Id - The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
- name String
- The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
Import
Sentinel Fusion Alert Rules can be imported using the resource id, e.g.
$ pulumi import azure:sentinel/alertRuleFusion:AlertRuleFusion example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/providers/Microsoft.SecurityInsights/alertRules/rule1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
