Partager via


IncidentComments interface

Interface représentant un IncidentComments.

Méthodes

createOrUpdate(string, string, string, string, IncidentComment, IncidentCommentsCreateOrUpdateOptionalParams)

Crée ou met à jour le commentaire d’incident.

delete(string, string, string, string, IncidentCommentsDeleteOptionalParams)

Supprimez le commentaire d’incident.

get(string, string, string, string, IncidentCommentsGetOptionalParams)

Obtient un commentaire d’incident.

list(string, string, string, IncidentCommentsListOptionalParams)

Obtient tous les commentaires d’incident.

Détails de la méthode

createOrUpdate(string, string, string, string, IncidentComment, IncidentCommentsCreateOrUpdateOptionalParams)

Crée ou met à jour le commentaire d’incident.

function createOrUpdate(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, incidentComment: IncidentComment, options?: IncidentCommentsCreateOrUpdateOptionalParams): Promise<IncidentComment>

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

incidentCommentId

string

ID de commentaire d’incident

incidentComment
IncidentComment

Le commentaire de l’incident

options
IncidentCommentsCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<IncidentComment>

delete(string, string, string, string, IncidentCommentsDeleteOptionalParams)

Supprimez le commentaire d’incident.

function delete(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, options?: IncidentCommentsDeleteOptionalParams): 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

incidentCommentId

string

ID de commentaire d’incident

options
IncidentCommentsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, string, IncidentCommentsGetOptionalParams)

Obtient un commentaire d’incident.

function get(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, options?: IncidentCommentsGetOptionalParams): Promise<IncidentComment>

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

incidentCommentId

string

ID de commentaire d’incident

options
IncidentCommentsGetOptionalParams

Paramètres d’options.

Retours

Promise<IncidentComment>

list(string, string, string, IncidentCommentsListOptionalParams)

Obtient tous les commentaires d’incident.

function list(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentCommentsListOptionalParams): PagedAsyncIterableIterator<IncidentComment, IncidentComment[], 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.

incidentId

string

ID de l’incident

options
IncidentCommentsListOptionalParams

Paramètres d’options.

Retours