IncidentCommentsOperations interface
Interface representing a IncidentComments operations.
Properties
| create |
Creates or updates a comment for a given incident. |
| delete | Deletes a comment for a given incident. |
| get | Gets an incident comment. |
| list | Gets all comments for a given incident. |
Property Details
createOrUpdate
Creates or updates a comment for a given incident.
createOrUpdate: (resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, incidentComment: IncidentComment, options?: IncidentCommentsCreateOrUpdateOptionalParams) => Promise<IncidentComment>
Property Value
(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, incidentComment: IncidentComment, options?: IncidentCommentsCreateOrUpdateOptionalParams) => Promise<IncidentComment>
delete
Deletes a comment for a given incident.
delete: (resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, options?: IncidentCommentsDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, options?: IncidentCommentsDeleteOptionalParams) => Promise<void>
get
Gets an incident comment.
get: (resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, options?: IncidentCommentsGetOptionalParams) => Promise<IncidentComment>
Property Value
(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, options?: IncidentCommentsGetOptionalParams) => Promise<IncidentComment>
list
Gets all comments for a given incident.
list: (resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentCommentsListOptionalParams) => PagedAsyncIterableIterator<IncidentComment, IncidentComment[], PageSettings>
Property Value
(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentCommentsListOptionalParams) => PagedAsyncIterableIterator<IncidentComment, IncidentComment[], PageSettings>