@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.1 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Represents an incident in Azure Security Insights.
*
* Uses Azure REST API version 2024-09-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.
*
* Other available API versions: 2023-02-01, 2023-03-01-preview, 2023-04-01-preview, 2023-05-01-preview, 2023-06-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-11-01, 2023-12-01-preview, 2024-01-01-preview, 2024-03-01, 2024-04-01-preview, 2024-10-01-preview, 2025-01-01-preview, 2025-03-01, 2025-04-01-preview, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native securityinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class Incident extends pulumi.CustomResource {
/**
* Get an existing Incident 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): Incident;
/**
* Returns true if the given object is an instance of Incident. 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 Incident;
/**
* Additional data on the incident
*/
readonly additionalData: pulumi.Output<outputs.securityinsights.IncidentAdditionalDataResponse>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The reason the incident was closed
*/
readonly classification: pulumi.Output<string | undefined>;
/**
* Describes the reason the incident was closed
*/
readonly classificationComment: pulumi.Output<string | undefined>;
/**
* The classification reason the incident was closed with
*/
readonly classificationReason: pulumi.Output<string | undefined>;
/**
* The time the incident was created
*/
readonly createdTimeUtc: pulumi.Output<string>;
/**
* The description of the incident
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Etag of the azure resource
*/
readonly etag: pulumi.Output<string | undefined>;
/**
* The time of the first activity in the incident
*/
readonly firstActivityTimeUtc: pulumi.Output<string | undefined>;
/**
* A sequential number
*/
readonly incidentNumber: pulumi.Output<number>;
/**
* The deep-link url to the incident in Azure portal
*/
readonly incidentUrl: pulumi.Output<string>;
/**
* List of labels relevant to this incident
*/
readonly labels: pulumi.Output<outputs.securityinsights.IncidentLabelResponse[] | undefined>;
/**
* The time of the last activity in the incident
*/
readonly lastActivityTimeUtc: pulumi.Output<string | undefined>;
/**
* The last time the incident was updated
*/
readonly lastModifiedTimeUtc: pulumi.Output<string>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* Describes a user that the incident is assigned to
*/
readonly owner: pulumi.Output<outputs.securityinsights.IncidentOwnerInfoResponse | undefined>;
/**
* The incident ID assigned by the incident provider
*/
readonly providerIncidentId: pulumi.Output<string>;
/**
* The name of the source provider that generated the incident
*/
readonly providerName: pulumi.Output<string>;
/**
* List of resource ids of Analytic rules related to the incident
*/
readonly relatedAnalyticRuleIds: pulumi.Output<string[]>;
/**
* The severity of the incident
*/
readonly severity: pulumi.Output<string>;
/**
* The status of the incident
*/
readonly status: pulumi.Output<string>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.securityinsights.SystemDataResponse>;
/**
* The title of the incident
*/
readonly title: pulumi.Output<string>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a Incident 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: IncidentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Incident resource.
*/
export interface IncidentArgs {
/**
* The reason the incident was closed
*/
classification?: pulumi.Input<string | enums.securityinsights.IncidentClassification>;
/**
* Describes the reason the incident was closed
*/
classificationComment?: pulumi.Input<string>;
/**
* The classification reason the incident was closed with
*/
classificationReason?: pulumi.Input<string | enums.securityinsights.IncidentClassificationReason>;
/**
* The description of the incident
*/
description?: pulumi.Input<string>;
/**
* The time of the first activity in the incident
*/
firstActivityTimeUtc?: pulumi.Input<string>;
/**
* Incident ID
*/
incidentId?: pulumi.Input<string>;
/**
* List of labels relevant to this incident
*/
labels?: pulumi.Input<pulumi.Input<inputs.securityinsights.IncidentLabelArgs>[]>;
/**
* The time of the last activity in the incident
*/
lastActivityTimeUtc?: pulumi.Input<string>;
/**
* Describes a user that the incident is assigned to
*/
owner?: pulumi.Input<inputs.securityinsights.IncidentOwnerInfoArgs>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The severity of the incident
*/
severity: pulumi.Input<string | enums.securityinsights.IncidentSeverity>;
/**
* The status of the incident
*/
status: pulumi.Input<string | enums.securityinsights.IncidentStatus>;
/**
* The title of the incident
*/
title: pulumi.Input<string>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}