Sdílet prostřednictvím


IncidentComments interface

Rozhraní představující IncidentComments.

Metody

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

Vytvoří nebo aktualizuje komentář k incidentu.

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

Odstraňte komentář k incidentu.

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

Získá komentář k incidentu.

list(string, string, string, IncidentCommentsListOptionalParams)

Získá všechny komentáře k incidentu.

Podrobnosti metody

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

Vytvoří nebo aktualizuje komentář k incidentu.

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

Parametry

resourceGroupName

string

Název skupiny prostředků. Název nerozlišuje malá a velká písmena.

workspaceName

string

Název pracovního prostoru.

incidentId

string

ID incidentu

incidentCommentId

string

ID komentáře incidentu

incidentComment
IncidentComment

Komentář k incidentu

options
IncidentCommentsCreateOrUpdateOptionalParams

Parametry možností.

Návraty

Promise<IncidentComment>

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

Odstraňte komentář k incidentu.

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

Parametry

resourceGroupName

string

Název skupiny prostředků. Název nerozlišuje malá a velká písmena.

workspaceName

string

Název pracovního prostoru.

incidentId

string

ID incidentu

incidentCommentId

string

ID komentáře incidentu

options
IncidentCommentsDeleteOptionalParams

Parametry možností.

Návraty

Promise<void>

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

Získá komentář k incidentu.

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

Parametry

resourceGroupName

string

Název skupiny prostředků. Název nerozlišuje malá a velká písmena.

workspaceName

string

Název pracovního prostoru.

incidentId

string

ID incidentu

incidentCommentId

string

ID komentáře incidentu

options
IncidentCommentsGetOptionalParams

Parametry možností.

Návraty

Promise<IncidentComment>

list(string, string, string, IncidentCommentsListOptionalParams)

Získá všechny komentáře k incidentu.

function list(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentCommentsListOptionalParams): PagedAsyncIterableIterator<IncidentComment, IncidentComment[], PageSettings>

Parametry

resourceGroupName

string

Název skupiny prostředků. Název nerozlišuje malá a velká písmena.

workspaceName

string

Název pracovního prostoru.

incidentId

string

ID incidentu

options
IncidentCommentsListOptionalParams

Parametry možností.

Návraty