다음을 통해 공유


Alerts - Refresh

경고를 새로 고칩니다.

POST https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleManagementAlerts/{alertId}/refresh?api-version=2022-08-01-preview

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
alertId
path True

string

새로 고칠 경고의 이름입니다.

scope
path True

string

경고의 scope.

api-version
query True

string

이 작업에 사용할 API 버전입니다.

응답

Name 형식 Description
202 Accepted

AlertOperationResult

수락됨 응답은 경고가 새로 고침 중임을 나타냅니다.

헤더

Location: string

Other Status Codes

CloudError

작업이 실패한 이유를 설명하는 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

RefreshAlert

샘플 요청

POST https://management.azure.com/subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleManagementAlerts/AzureRolesAssignedOutsidePimAlert/refresh?api-version=2022-08-01-preview

샘플 응답

Location: https://management.azure.com/subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleManagementAlertOperations/{operationId}?api-version=2022-04-01-preview
{
  "id": "{operationId}",
  "status": "Running",
  "statusDetail": "{\"result\":[{\"name\":\"AzureRolesAssignedOutsidePimAlert\",\"statusDetail\":\"Alert scan is running.\"}]}",
  "lastActionDateTime": "2022-04-05T03:04:06.467+00:00",
  "createdDateTime": "2022-04-05T03:04:06.467+00:00",
  "resourceLocation": "https://management.azure.com/providers/Microsoft.Subscription/subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleManagementAlerts/AzureRolesAssignedOutsidePimAlert?api-version=2022-08-01-preview"
}

정의

Name Description
AlertOperationResult

경고 작업 결과

CloudError

서비스의 오류 응답입니다.

CloudErrorBody

서비스의 오류 응답입니다.

AlertOperationResult

경고 작업 결과

Name 형식 Description
createdDateTime

string

경고 작업의 만든 날짜입니다.

id

string

경고 작업의 ID입니다.

lastActionDateTime

string

경고 작업의 마지막 작업 날짜입니다.

resourceLocation

string

작업과 연결된 경고의 위치입니다.

status

string

경고 작업의 상태.

statusDetail

string

경고 작업의 상태 세부 정보입니다.

CloudError

서비스의 오류 응답입니다.

Name 형식 Description
error

CloudErrorBody

서비스의 오류 응답입니다.

CloudErrorBody

서비스의 오류 응답입니다.

Name 형식 Description
code

string

오류의 식별자입니다. 코드는 고정이며 프로그래밍 방식으로 사용하기 위한 것입니다.

message

string

사용자 인터페이스에 표시하기에 적합한 오류를 설명하는 메시지입니다.