다음을 통해 공유


Smart Detector Alert Rules - Delete

기존 Smart Detector 경고 규칙을 삭제합니다.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}?api-version=2019-06-01

URI 매개 변수

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

string

경고 규칙의 이름입니다.

resourceGroupName
path True

string

리소스 그룹의 이름.

subscriptionId
path True

string

대상 구독의 ID입니다.

api-version
query True

string

클라이언트 API 버전.

응답

Name 형식 Description
200 OK

스마트 감지기 경고 규칙을 삭제하도록 요청했습니다.

204 No Content

스마트 감지기 경고 규칙이 없습니다. 이미 삭제되었을 수 있습니다.

Other Status Codes

SmartDetectorErrorResponse

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

보안

azure_auth

Azure Active Directory OAuth2 Flow

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

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Delete a Smart Detector alert rule

샘플 요청

DELETE https://management.azure.com/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule?api-version=2019-06-01

샘플 응답

정의

SmartDetectorErrorResponse

오류 응답의 형식을 설명합니다.

Name 형식 Description
code

string

오류 코드

message

string

작업이 실패한 이유를 나타내는 오류 메시지입니다.