Megosztás a következőn keresztül:


Alert Rule Resources - Delete

AlertRuleResource törlése

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/alertRuleResources/{alertRuleResourceName}?api-version=2025-01-02

URI-paraméterek

Name In Kötelező Típus Description
alertRuleResourceName
path True

string

pattern: ^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$

A riasztási szabály proxyerőforrásának neve.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket.

subscriptionId
path True

string (uuid)

A cél-előfizetés azonosítója. Az értéknek UUID-nek kell lennie.

watcherName
path True

string

pattern: ^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$

Az adatbázis-figyelő neve.

api-version
query True

string

minLength: 1

A művelethez használni kívánt API-verzió.

Válaszok

Name Típus Description
200 OK

Az erőforrás sikeresen törölve lett.

204 No Content

Az erőforrás nem létezik.

Other Status Codes

ErrorResponse

Váratlan hibaválasz.

Biztonság

azure_auth

Azure Active Directory OAuth2 Flow.

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation a felhasználói fiók megszemélyesítése

Példák

AlertRuleResources_Delete_MaximumSet

Mintakérelem

DELETE https://management.azure.com/subscriptions/A76F9850-996B-40B3-94D4-C98110A0EEC9/resourceGroups/rgWatcher/providers/Microsoft.DatabaseWatcher/watchers/testWatcher/alertRuleResources/testAlert?api-version=2025-01-02

Mintaválasz

Definíciók

Name Description
ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

ErrorDetail

A hiba részletei.

ErrorResponse

Hibaválasz

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további információtípus.

ErrorDetail

A hiba részletei.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

ErrorDetail[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hibacél.

ErrorResponse

Hibaválasz

Name Típus Description
error

ErrorDetail

A hibaobjektum.