UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

113 lines (112 loc) 3.59 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the alert rule. * * Uses Azure REST API version 2024-09-01. */ export declare function getMicrosoftSecurityIncidentCreationAlertRule(args: GetMicrosoftSecurityIncidentCreationAlertRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetMicrosoftSecurityIncidentCreationAlertRuleResult>; export interface GetMicrosoftSecurityIncidentCreationAlertRuleArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Alert rule ID */ ruleId: string; /** * The name of the workspace. */ workspaceName: string; } /** * Represents MicrosoftSecurityIncidentCreation rule. */ export interface GetMicrosoftSecurityIncidentCreationAlertRuleResult { /** * The Name of the alert rule template used to create this rule. */ readonly alertRuleTemplateName?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The description of the alert rule. */ readonly description?: string; /** * The display name for alerts created by this alert rule. */ readonly displayName: string; /** * the alerts' displayNames on which the cases will not be generated */ readonly displayNamesExcludeFilter?: string[]; /** * the alerts' displayNames on which the cases will be generated */ readonly displayNamesFilter?: string[]; /** * Determines whether this alert rule is enabled or disabled. */ readonly enabled: boolean; /** * Etag of the azure resource */ readonly etag?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The kind of the alert rule * Expected value is 'MicrosoftSecurityIncidentCreation'. */ readonly kind: "MicrosoftSecurityIncidentCreation"; /** * The last time that this alert has been modified. */ readonly lastModifiedUtc: string; /** * The name of the resource */ readonly name: string; /** * The alerts' productName on which the cases will be generated */ readonly productFilter: string; /** * the alerts' severities on which the cases will be generated */ readonly severitiesFilter?: string[]; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.securityinsights.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets the alert rule. * * Uses Azure REST API version 2024-09-01. */ export declare function getMicrosoftSecurityIncidentCreationAlertRuleOutput(args: GetMicrosoftSecurityIncidentCreationAlertRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMicrosoftSecurityIncidentCreationAlertRuleResult>; export interface GetMicrosoftSecurityIncidentCreationAlertRuleOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Alert rule ID */ ruleId: pulumi.Input<string>; /** * The name of the workspace. */ workspaceName: pulumi.Input<string>; }