import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Incidents } from "../operationsInterfaces"; import { SecurityInsights } from "../securityInsights"; import { Incident, IncidentsListOptionalParams, IncidentsRunPlaybookOptionalParams, IncidentsRunPlaybookResponse, IncidentsGetOptionalParams, IncidentsGetResponse, IncidentsCreateOrUpdateOptionalParams, IncidentsCreateOrUpdateResponse, IncidentsDeleteOptionalParams, TeamProperties, IncidentsCreateTeamOptionalParams, IncidentsCreateTeamResponse, IncidentsListAlertsOptionalParams, IncidentsListAlertsResponse, IncidentsListBookmarksOptionalParams, IncidentsListBookmarksResponse, IncidentsListEntitiesOptionalParams, IncidentsListEntitiesResponse } from "../models"; /** Class containing Incidents operations. */ export declare class IncidentsImpl implements Incidents { private readonly client; /** * Initialize a new instance of the class Incidents class. * @param client Reference to the service client */ constructor(client: SecurityInsights); /** * Gets all incidents. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param options The options parameters. */ list(resourceGroupName: string, workspaceName: string, options?: IncidentsListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * Triggers playbook on a specific incident * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param incidentIdentifier * @param options The options parameters. */ runPlaybook(resourceGroupName: string, workspaceName: string, incidentIdentifier: string, options?: IncidentsRunPlaybookOptionalParams): Promise; /** * Gets all incidents. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param options The options parameters. */ private _list; /** * Gets an incident. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param incidentId Incident ID * @param options The options parameters. */ get(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsGetOptionalParams): Promise; /** * Creates or updates the incident. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param incidentId Incident ID * @param incident The incident * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, workspaceName: string, incidentId: string, incident: Incident, options?: IncidentsCreateOrUpdateOptionalParams): Promise; /** * Delete the incident. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param incidentId Incident ID * @param options The options parameters. */ delete(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsDeleteOptionalParams): Promise; /** * Creates a Microsoft team to investigate the incident by sharing information and insights between * participants. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param incidentId Incident ID * @param teamProperties Team properties * @param options The options parameters. */ createTeam(resourceGroupName: string, workspaceName: string, incidentId: string, teamProperties: TeamProperties, options?: IncidentsCreateTeamOptionalParams): Promise; /** * Gets all incident alerts. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param incidentId Incident ID * @param options The options parameters. */ listAlerts(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsListAlertsOptionalParams): Promise; /** * Gets all incident bookmarks. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param incidentId Incident ID * @param options The options parameters. */ listBookmarks(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsListBookmarksOptionalParams): Promise; /** * Gets all incident related entities. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param incidentId Incident ID * @param options The options parameters. */ listEntities(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsListEntitiesOptionalParams): Promise; /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; } //# sourceMappingURL=incidents.d.ts.map