IncidentsOperations interface

Interface representing a Incidents operations.

Properties

createOrUpdate

Creates or updates an incident.

delete

Deletes a given incident.

get

Gets a given incident.

list

Gets all incidents.

listAlerts

Gets all alerts for an incident.

listBookmarks

Gets all bookmarks for an incident.

listEntities

Gets all entities for an incident.

runPlaybook

Triggers playbook on a specific incident

Property Details

createOrUpdate

Creates or updates an incident.

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

Property Value

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

delete

Deletes a given incident.

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

Property Value

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

get

Gets a given incident.

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

Property Value

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

list

Gets all incidents.

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

Property Value

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

listAlerts

Gets all alerts for an incident.

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

Property Value

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

listBookmarks

Gets all bookmarks for an incident.

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

Property Value

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

listEntities

Gets all entities for an incident.

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

Property Value

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

runPlaybook

Triggers playbook on a specific incident

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

Property Value

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