Incidents interface

Interface representing a Incidents.

Methods

createOrUpdate(string, string, string, Incident, IncidentsCreateOrUpdateOptionalParams)

Creates or updates the incident.

createTeam(string, string, string, TeamProperties, IncidentsCreateTeamOptionalParams)

Creates a Microsoft team to investigate the incident by sharing information and insights between participants.

delete(string, string, string, IncidentsDeleteOptionalParams)

Delete the incident.

get(string, string, string, IncidentsGetOptionalParams)

Gets an incident.

list(string, string, IncidentsListOptionalParams)

Gets all incidents.

listAlerts(string, string, string, IncidentsListAlertsOptionalParams)

Gets all incident alerts.

listBookmarks(string, string, string, IncidentsListBookmarksOptionalParams)

Gets all incident bookmarks.

listEntities(string, string, string, IncidentsListEntitiesOptionalParams)

Gets all incident related entities.

runPlaybook(string, string, string, IncidentsRunPlaybookOptionalParams)

Triggers playbook on a specific incident

Method Details

createOrUpdate(string, string, string, Incident, IncidentsCreateOrUpdateOptionalParams)

Creates or updates the incident.

function createOrUpdate(resourceGroupName: string, workspaceName: string, incidentId: string, incident: Incident, options?: IncidentsCreateOrUpdateOptionalParams): Promise<Incident>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

incidentId

string

Incident ID

incident
Incident

The incident

options
IncidentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Incident>

createTeam(string, string, string, TeamProperties, IncidentsCreateTeamOptionalParams)

Creates a Microsoft team to investigate the incident by sharing information and insights between participants.

function createTeam(resourceGroupName: string, workspaceName: string, incidentId: string, teamProperties: TeamProperties, options?: IncidentsCreateTeamOptionalParams): Promise<TeamInformation>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

incidentId

string

Incident ID

teamProperties
TeamProperties

Team properties

options
IncidentsCreateTeamOptionalParams

The options parameters.

Returns

Promise<TeamInformation>

delete(string, string, string, IncidentsDeleteOptionalParams)

Delete the incident.

function delete(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

incidentId

string

Incident ID

options
IncidentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, IncidentsGetOptionalParams)

Gets an incident.

function get(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsGetOptionalParams): Promise<Incident>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

incidentId

string

Incident ID

options
IncidentsGetOptionalParams

The options parameters.

Returns

Promise<Incident>

list(string, string, IncidentsListOptionalParams)

Gets all incidents.

function list(resourceGroupName: string, workspaceName: string, options?: IncidentsListOptionalParams): PagedAsyncIterableIterator<Incident, Incident[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

options
IncidentsListOptionalParams

The options parameters.

Returns

listAlerts(string, string, string, IncidentsListAlertsOptionalParams)

Gets all incident alerts.

function listAlerts(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsListAlertsOptionalParams): Promise<IncidentAlertList>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

incidentId

string

Incident ID

options
IncidentsListAlertsOptionalParams

The options parameters.

Returns

listBookmarks(string, string, string, IncidentsListBookmarksOptionalParams)

Gets all incident bookmarks.

function listBookmarks(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsListBookmarksOptionalParams): Promise<IncidentBookmarkList>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

incidentId

string

Incident ID

options
IncidentsListBookmarksOptionalParams

The options parameters.

Returns

listEntities(string, string, string, IncidentsListEntitiesOptionalParams)

Gets all incident related entities.

function listEntities(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentsListEntitiesOptionalParams): Promise<IncidentEntitiesResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

incidentId

string

Incident ID

options
IncidentsListEntitiesOptionalParams

The options parameters.

Returns

runPlaybook(string, string, string, IncidentsRunPlaybookOptionalParams)

Triggers playbook on a specific incident

function runPlaybook(resourceGroupName: string, workspaceName: string, incidentIdentifier: string, options?: IncidentsRunPlaybookOptionalParams): Promise<IncidentsRunPlaybookResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

incidentIdentifier

string

options
IncidentsRunPlaybookOptionalParams

The options parameters.

Returns