IncidentComments interface

Interface representing a IncidentComments.

Methods

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

Creates or updates the incident comment.

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

Delete the incident comment.

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

Gets an incident comment.

list(string, string, string, IncidentCommentsListOptionalParams)

Gets all incident comments.

Method Details

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

Creates or updates the incident comment.

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

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

incidentCommentId

string

Incident comment ID

incidentComment
IncidentComment

The incident comment

options
IncidentCommentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<IncidentComment>

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

Delete the incident comment.

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

incidentCommentId

string

Incident comment ID

options
IncidentCommentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

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

Gets an incident comment.

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

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

incidentCommentId

string

Incident comment ID

options
IncidentCommentsGetOptionalParams

The options parameters.

Returns

Promise<IncidentComment>

list(string, string, string, IncidentCommentsListOptionalParams)

Gets all incident comments.

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

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
IncidentCommentsListOptionalParams

The options parameters.

Returns