import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Sentinel Alert Rule Template. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.sentinel.getAlertRuleTemplate({ * logAnalyticsWorkspaceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.OperationalInsights/workspaces/workspace1", * displayName: "Create incidents based on Azure Security Center for IoT alerts", * }); * export const id = example.then(example => example.id); * ``` */ export declare function getAlertRuleTemplate(args: GetAlertRuleTemplateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAlertRuleTemplate. */ export interface GetAlertRuleTemplateArgs { /** * The display name of this Sentinel Alert Rule Template. Either `displayName` or `name` have to be specified. * * > **Note:** As `displayName` is not unique, errors may occur when there are multiple Sentinel Alert Rule Template with same `displayName`. */ displayName?: string; /** * The ID of the Log Analytics Workspace. */ logAnalyticsWorkspaceId: string; /** * The name of this Sentinel Alert Rule Template. Either `displayName` or `name` have to be specified. */ name?: string; } /** * A collection of values returned by getAlertRuleTemplate. */ export interface GetAlertRuleTemplateResult { readonly displayName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly logAnalyticsWorkspaceId: string; readonly name: string; /** * A `nrtTemplate` block as defined below. This only applies to Sentinel NRT Alert Rule Template. */ readonly nrtTemplates: outputs.sentinel.GetAlertRuleTemplateNrtTemplate[]; /** * A `scheduledTemplate` block as defined below. This only applies to Sentinel Scheduled Alert Rule Template. */ readonly scheduledTemplates: outputs.sentinel.GetAlertRuleTemplateScheduledTemplate[]; /** * A `securityIncidentTemplate` block as defined below. This only applies to Sentinel MS Security Incident Alert Rule Template. */ readonly securityIncidentTemplates: outputs.sentinel.GetAlertRuleTemplateSecurityIncidentTemplate[]; } /** * Use this data source to access information about an existing Sentinel Alert Rule Template. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.sentinel.getAlertRuleTemplate({ * logAnalyticsWorkspaceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.OperationalInsights/workspaces/workspace1", * displayName: "Create incidents based on Azure Security Center for IoT alerts", * }); * export const id = example.then(example => example.id); * ``` */ export declare function getAlertRuleTemplateOutput(args: GetAlertRuleTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAlertRuleTemplate. */ export interface GetAlertRuleTemplateOutputArgs { /** * The display name of this Sentinel Alert Rule Template. Either `displayName` or `name` have to be specified. * * > **Note:** As `displayName` is not unique, errors may occur when there are multiple Sentinel Alert Rule Template with same `displayName`. */ displayName?: pulumi.Input; /** * The ID of the Log Analytics Workspace. */ logAnalyticsWorkspaceId: pulumi.Input; /** * The name of this Sentinel Alert Rule Template. Either `displayName` or `name` have to be specified. */ name?: pulumi.Input; }