IncidentComments interface
表示 IncidentComments 的接口。
方法
方法详细信息
createOrUpdate(string, string, string, string, IncidentComment, IncidentCommentsCreateOrUpdateOptionalParams)
创建或更新事件注释。
function createOrUpdate(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, incidentComment: IncidentComment, options?: IncidentCommentsCreateOrUpdateOptionalParams): Promise<IncidentComment>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- incidentId
-
string
事件 ID
- incidentCommentId
-
string
事件注释 ID
- incidentComment
- IncidentComment
事件评论
选项参数。
返回
Promise<IncidentComment>
delete(string, string, string, string, IncidentCommentsDeleteOptionalParams)
删除事件注释。
function delete(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, options?: IncidentCommentsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- incidentId
-
string
事件 ID
- incidentCommentId
-
string
事件注释 ID
选项参数。
返回
Promise<void>
get(string, string, string, string, IncidentCommentsGetOptionalParams)
获取事件注释。
function get(resourceGroupName: string, workspaceName: string, incidentId: string, incidentCommentId: string, options?: IncidentCommentsGetOptionalParams): Promise<IncidentComment>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- incidentId
-
string
事件 ID
- incidentCommentId
-
string
事件注释 ID
选项参数。
返回
Promise<IncidentComment>
list(string, string, string, IncidentCommentsListOptionalParams)
获取所有事件注释。
function list(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentCommentsListOptionalParams): PagedAsyncIterableIterator<IncidentComment, IncidentComment[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- incidentId
-
string
事件 ID
选项参数。