@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Represents Fusion alert rule.
*
* Uses Azure REST API version 2024-09-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.
*/
export declare class FusionAlertRule extends pulumi.CustomResource {
/**
* Get an existing FusionAlertRule resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): FusionAlertRule;
/**
* Returns true if the given object is an instance of FusionAlertRule. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is FusionAlertRule;
/**
* The Name of the alert rule template used to create this rule.
*/
readonly alertRuleTemplateName: pulumi.Output<string>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The description of the alert rule.
*/
readonly description: pulumi.Output<string>;
/**
* The display name for alerts created by this alert rule.
*/
readonly displayName: pulumi.Output<string>;
/**
* Determines whether this alert rule is enabled or disabled.
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Etag of the azure resource
*/
readonly etag: pulumi.Output<string | undefined>;
/**
* The kind of the alert rule
* Expected value is 'Fusion'.
*/
readonly kind: pulumi.Output<"Fusion">;
/**
* The last time that this alert has been modified.
*/
readonly lastModifiedUtc: pulumi.Output<string>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* The severity for alerts created by this alert rule.
*/
readonly severity: pulumi.Output<string>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.securityinsights.SystemDataResponse>;
/**
* The tactics of the alert rule
*/
readonly tactics: pulumi.Output<string[]>;
/**
* The techniques of the alert rule
*/
readonly techniques: pulumi.Output<string[]>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a FusionAlertRule resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: FusionAlertRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a FusionAlertRule resource.
*/
export interface FusionAlertRuleArgs {
/**
* The Name of the alert rule template used to create this rule.
*/
alertRuleTemplateName: pulumi.Input<string>;
/**
* Determines whether this alert rule is enabled or disabled.
*/
enabled: pulumi.Input<boolean>;
/**
* The kind of the alert rule
* Expected value is 'Fusion'.
*/
kind: pulumi.Input<"Fusion">;
/**
* 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>;
}