Smart Detector Alert Rules - Delete
Ta bort en befintlig aviseringsregel för Smart Detector.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}?api-version=2019-06-01
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
alert
|
path | True |
string |
Namnet på aviseringsregeln. |
resource
|
path | True |
string |
Namnet på resursgruppen. |
subscription
|
path | True |
string |
ID för målprenumerationen. |
api-version
|
query | True |
string |
Klient-API-version. |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Lyckad begäran om att ta bort en aviseringsregel för Smart Detector. |
|
204 No Content |
Aviseringsregeln för smart detektor finns inte. Den kanske redan har tagits bort. |
|
Other Status Codes |
Felsvar som beskriver varför åtgärden misslyckades. |
Säkerhet
azure_auth
Azure Active Directory OAuth2 Flow
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Omfattningar
Name | Description |
---|---|
user_impersonation | personifiera ditt användarkonto |
Exempel
Delete a Smart Detector alert rule
Exempelbegäran
DELETE https://management.azure.com/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule?api-version=2019-06-01
Exempelsvar
Definitioner
SmartDetectorErrorResponse
Beskriv formatet för ett felsvar.
Name | Typ | Description |
---|---|---|
code |
string |
Felkod |
message |
string |
Felmeddelande som anger varför åtgärden misslyckades. |