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

109 lines (108 loc) 3.04 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 getFusionAlertRule(args: GetFusionAlertRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetFusionAlertRuleResult>; export interface GetFusionAlertRuleArgs { /** * 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 Fusion alert rule. */ export interface GetFusionAlertRuleResult { /** * 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; /** * 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 'Fusion'. */ readonly kind: "Fusion"; /** * The last time that this alert has been modified. */ readonly lastModifiedUtc: string; /** * The name of the resource */ readonly name: string; /** * The severity for alerts created by this alert rule. */ readonly severity: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.securityinsights.SystemDataResponse; /** * The tactics of the alert rule */ readonly tactics: string[]; /** * The techniques of the alert rule */ readonly techniques: string[]; /** * 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 getFusionAlertRuleOutput(args: GetFusionAlertRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFusionAlertRuleResult>; export interface GetFusionAlertRuleOutputArgs { /** * 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>; }