Deleting/Purge data from Azure Application Insights

后端 未结 3 1556
悲哀的现实
悲哀的现实 2021-01-28 12:59

The following page shows how can I purge Application Insights data -

https://docs.microsoft.com/en-us/rest/api/application-insights/components/purge

I tried foll

3条回答
  •  借酒劲吻你
    2021-01-28 13:55

    On the page you linked to, scroll all the way up in the menu and find 'Getting started with REST'. When you click that and scroll the page, you find Register your client application with Azure AD.

    Most Azure services (such as Azure Resource Manager providers and the classic deployment model) require your client code to authenticate with valid credentials before you can call the service's API. Authentication is coordinated between the various actors by Azure AD, and provides your client with an access token as proof of the authentication. The token is then sent to the Azure service in the HTTP Authorization header of subsequent REST API requests. The token's claims also provide information to the service, allowing it to validate the client and perform any required authorization.

    Long story short:

    • Register your client application with Azure AD
    • Create the request
      • Acquire an access token
      • Assemble the request message
    • Send the request
    • Process the response message

提交回复
热议问题