Partager via


Incidents interface

Interface représentant un Incidents.

Méthodes

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

Crée ou met à jour l’incident.

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

Crée une équipe Microsoft pour examiner l’incident en partageant des informations et des insights entre les participants.

delete(string, string, string, IncidentsDeleteOptionalParams)

Supprimez l’incident.

get(string, string, string, IncidentsGetOptionalParams)

Obtient un incident.

list(string, string, IncidentsListOptionalParams)

Obtient tous les incidents.

listAlerts(string, string, string, IncidentsListAlertsOptionalParams)

Obtient toutes les alertes d’incident.

listBookmarks(string, string, string, IncidentsListBookmarksOptionalParams)

Obtient tous les signets d’incident.

listEntities(string, string, string, IncidentsListEntitiesOptionalParams)

Obtient toutes les entités associées à l’incident.

runPlaybook(string, string, string, IncidentsRunPlaybookOptionalParams)

Déclenche un playbook sur un incident spécifique

Détails de la méthode

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

Crée ou met à jour l’incident.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

incidentId

string

ID de l’incident

incident
Incident

L’incident

options
IncidentsCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<Incident>

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

Crée une équipe Microsoft pour examiner l’incident en partageant des informations et des insights entre les participants.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

incidentId

string

ID de l’incident

teamProperties
TeamProperties

Propriétés de l’équipe

options
IncidentsCreateTeamOptionalParams

Paramètres d’options.

Retours

Promise<TeamInformation>

delete(string, string, string, IncidentsDeleteOptionalParams)

Supprimez l’incident.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

incidentId

string

ID de l’incident

options
IncidentsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, IncidentsGetOptionalParams)

Obtient un incident.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

incidentId

string

ID de l’incident

options
IncidentsGetOptionalParams

Paramètres d’options.

Retours

Promise<Incident>

list(string, string, IncidentsListOptionalParams)

Obtient tous les incidents.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

options
IncidentsListOptionalParams

Paramètres d’options.

Retours

listAlerts(string, string, string, IncidentsListAlertsOptionalParams)

Obtient toutes les alertes d’incident.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

incidentId

string

ID de l’incident

options
IncidentsListAlertsOptionalParams

Paramètres d’options.

Retours

listBookmarks(string, string, string, IncidentsListBookmarksOptionalParams)

Obtient tous les signets d’incident.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

incidentId

string

ID de l’incident

options
IncidentsListBookmarksOptionalParams

Paramètres d’options.

Retours

listEntities(string, string, string, IncidentsListEntitiesOptionalParams)

Obtient toutes les entités associées à l’incident.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

incidentId

string

ID de l’incident

options
IncidentsListEntitiesOptionalParams

Paramètres d’options.

Retours

runPlaybook(string, string, string, IncidentsRunPlaybookOptionalParams)

Déclenche un playbook sur un incident spécifique

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName

string

Nom de l’espace de travail.

incidentIdentifier

string

options
IncidentsRunPlaybookOptionalParams

Paramètres d’options.

Retours