Delen via


Smart Detector Alert Rules - Delete

Verwijder een bestaande Smart Detector-waarschuwingsregel.

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

URI-parameters

Name In Vereist Type Description
alertRuleName
path True

string

De naam van de waarschuwingsregel.

resourceGroupName
path True

string

De naam van de resourcegroep.

subscriptionId
path True

string

minLength: 1

De id van het doelabonnement.

api-version
query True

string

Client-API-versie.

Antwoorden

Name Type Description
200 OK

Aanvraag om een Smart Detector-waarschuwingsregel te verwijderen.

204 No Content

De Smart Detector-waarschuwingsregel bestaat niet. Het is mogelijk al verwijderd.

Other Status Codes

SmartDetectorErrorResponse

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

Delete a Smart Detector alert rule

Voorbeeldaanvraag

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

Voorbeeldrespons

Definities

SmartDetectorErrorResponse

Beschrijf de indeling van een foutantwoord.

Name Type Description
code

string

Foutcode

message

string

Foutbericht dat aangeeft waarom de bewerking is mislukt.