Diagnostic Settings - Delete

Hiermee verwijdert u bestaande diagnostische instellingen voor de opgegeven resource.

DELETE https://management.azure.com/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}?api-version=2021-05-01-preview

URI-parameters

Name In Vereist Type Description
name
path True

string

De naam van de diagnostische instelling.

resourceUri
path True

string

De id van de resource.

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

Geslaagde aanvraag voor het verwijderen van een diagnostische instelling

204 No Content

Geslaagde aanvraag voor het verwijderen van een diagnostische instelling

Other Status Codes

ErrorResponse

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

Deletes the diagnostic setting

Sample Request

DELETE https://management.azure.com/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/Microsoft.Insights/diagnosticSettings/mysetting?api-version=2021-05-01-preview

Sample Response

Definities

ErrorResponse

Beschrijft de indeling van foutreactie.

Name Type Description
code

string

Foutcode

message

string

Foutbericht dat aangeeft waarom de bewerking is mislukt.