az sentinel incident-comment

참고

이 참조는 Azure CLI 대한 sentinel 확장의 일부이며 버전 2.11.0 이상에 필요합니다. az sentinel incident-comment 명령을 처음 실행할 때 확장이 자동으로 설치됩니다. 확장에 대해 자세히 알아보세요.

Sentinel 인시던트 주석.

명령

az sentinel incident-comment create

인시던트 주석을 만듭니다.

az sentinel incident-comment list

모든 인시던트 주석을 가져옵니다.

az sentinel incident-comment show

인시던트 주석을 가져옵니다.

az sentinel incident-comment create

인시던트 주석을 만듭니다.

az sentinel incident-comment create --incident-comment-id
                                    --incident-id
                                    --resource-group
                                    --workspace-name
                                    [--message]

예제

인시던트 주석을 만듭니다.

az sentinel incident-comment create --message "Some message" --incident-comment-id "4bb36b7b-26ff-4d1c-9cbe-0d8ab3da0014" --incident-id "{id}" --resource-group "myRg" --workspace-name "myWorkspace"

필수 매개 변수

--incident-comment-id

인시던트 주석 ID입니다.

--incident-id

인시던트 ID입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

--workspace-name

작업 영역의 이름

선택적 매개 변수

--message

주석 메시지입니다.

az sentinel incident-comment list

모든 인시던트 주석을 가져옵니다.

az sentinel incident-comment list --incident-id
                                  --resource-group
                                  --workspace-name
                                  [--filter]
                                  [--orderby]
                                  [--skip-token]
                                  [--top]

예제

모든 인시던트 주석을 받습니다.

az sentinel incident-comment list --incident-id "{id}" --resource-group "myRg" --workspace-name "myWorkspace"

필수 매개 변수

--incident-id

인시던트 ID입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

--workspace-name

작업 영역의 이름

선택적 매개 변수

--filter

부울 조건에 따라 결과를 필터링합니다. (선택 사항)

--orderby

결과를 정렬합니다. (선택 사항)

--skip-token

Skiptoken은 이전 작업에서 부분 결과를 반환한 경우에만 사용됩니다. 이전 응답에 nextLink 요소가 포함된 경우 nextLink 요소의 값에는 후속 호출에 사용할 시작점을 지정하는 skiptoken 매개 변수가 포함됩니다. (선택 사항)

--top

처음 n개 결과만 반환합니다. (선택 사항)

az sentinel incident-comment show

인시던트 주석을 가져옵니다.

az sentinel incident-comment show --incident-comment-id
                                  --incident-id
                                  --resource-group
                                  --workspace-name

예제

인시던트 주석을 받습니다.

az sentinel incident-comment show --incident-comment-id "{comment-id}" --incident-id "{id}" --resource-group "myRg" --workspace-name "myWorkspace"

필수 매개 변수

--incident-comment-id

인시던트 주석 ID입니다.

--incident-id

인시던트 ID입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

--workspace-name

작업 영역의 이름