Microsoft Azure Functions Diagnostics API
The Diagnostics API from Microsoft Azure Functions — 22 operation(s) for diagnostics.
Operations 22
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors
List detector responses for an App Service Environment · List Hosting Environment Detector Responses
#
Ask an LLM
“What diagnostic detectors report on my App Service Environment?”
“How do I see all detector results for a hosting environment?”
Tell an agent
List detector responses for App Service Environment {name}.
Show all hosting environment diagnostics for {name}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}
Get one detector response for an App Service Environment · Get Hosting Environment Detector Response
#
Ask an LLM
“Can I run a single detector against my App Service Environment for a specific time window?”
“What did one hosting environment detector find between two times?”
Tell an agent
Get detector {detectorName} for App Service Environment {name}.
Get environment detector {detectorName} on {name} from {startTime} to {endTime}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors
List detector responses for a web app · List Site Detector Responses
#
Ask an LLM
“Which diagnostic detectors have results for my production web app?”
“How do I get an overview of all detector findings on a site?”
Tell an agent
List detector responses for site {siteName}.
Show all diagnostic detector results for my app {siteName}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}
Get one detector response for a web app · Get site detector response
#
Ask an LLM
“What did a particular detector find on my app during an outage window?”
“Can I set the time grain when pulling one detector's response for a site?”
Tell an agent
Get the response of detector {detectorName} for site {siteName}.
Pull detector {detectorName} results for app {siteName} between {startTime} and {endTime}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics
List diagnostic categories for a web app · Get Diagnostics Categories
#
Ask an LLM
“What diagnostic categories are available for troubleshooting my site?”
“Which categories of diagnostics can I explore on a production app?”
Tell an agent
List the diagnostic categories for site {siteName}.
Show troubleshooting categories available on app {siteName}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}
Get a diagnostic category for a web app · Get Diagnostics Category
#
Ask an LLM
“How do I look up one diagnostic category on my production site?”
“What does a single diagnostic category contain for an app?”
Tell an agent
Get diagnostic category {diagnosticCategory} for site {siteName}.
Describe the {diagnosticCategory} category on app {siteName}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses
List analyses in a site diagnostic category · Get Site Analyses
#
Ask an LLM
“Which analyses can I run within a diagnostic category for my app?”
“How do I see the available site analyses for a category?”
Tell an agent
List analyses in category {diagnosticCategory} for site {siteName}.
Show every analysis offered under {diagnosticCategory} on my production app {siteName}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}
Get a site analysis definition · Get Site Analysis
#
Ask an LLM
“How do I look up the definition of one analysis for my site?”
“What does a named site analysis check without running it?”
Tell an agent
Get analysis {analysisName} in category {diagnosticCategory} for site {siteName}.
Show the definition of site analysis {analysisName}.
POST
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute
Run a diagnostic analysis on a web app · Execute Analysis
#
Ask an LLM
“Can I execute a diagnostic analysis on my app over a specific time range?”
“How do I run an analysis to find why my production site was slow?”
Tell an agent
Execute analysis {analysisName} in {diagnosticCategory} on site {siteName}.
Run analysis {analysisName} on app {siteName} from {startTime} to {endTime}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors
List detectors in a site diagnostic category · Get Detectors
#
Ask an LLM
“Which detectors exist within a diagnostic category for my app?”
“How do I enumerate the detectors I can run in a category on a site?”
Tell an agent
List detectors in category {diagnosticCategory} for site {siteName}.
Show the detectors available under {diagnosticCategory} on production app {siteName}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}
Get a detector definition in a site category · Get Detector
#
Ask an LLM
“How do I look up what a named detector in a diagnostic category does?”
“What is the definition of one detector for my site?”
Tell an agent
Get detector {detectorName} in category {diagnosticCategory} for site {siteName}.
Describe detector {detectorName} under {diagnosticCategory}.
POST
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute
Run a detector on a web app · Execute Detector
#
Ask an LLM
“Can I execute a detector in a diagnostic category against my app on demand?”
“How do I run a detector for a chosen time window and grain?”
Tell an agent
Execute detector {detectorName} in {diagnosticCategory} on site {siteName}.
Run detector {detectorName} on app {siteName} with time grain {timeGrain}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors
List detector responses for a deployment slot · List Site Detector Responses
#
Ask an LLM
“Which detectors have results for my staging deployment slot?”
“How do I get detector findings for a slot rather than the production app?”
Tell an agent
List detector responses for deployment slot {slot} of site {siteName}.
Show all detector results on the {slot} slot.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}
Get one detector response for a deployment slot · Get site detector response
#
Ask an LLM
“What did a detector find on my staging slot during a given window?”
“Can I pull a single detector response scoped to a deployment slot?”
Tell an agent
Get detector {detectorName} response for slot {slot} of site {siteName}.
Pull detector {detectorName} on deployment slot {slot} from {startTime} to {endTime}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics
List diagnostic categories for a deployment slot · Get Diagnostics Categories
#
Ask an LLM
“What diagnostic categories can I explore on a deployment slot?”
“Which troubleshooting categories apply to my staging slot?”
Tell an agent
List diagnostic categories for slot {slot} of site {siteName}.
Show the troubleshooting categories on deployment slot {slot}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}
Get a diagnostic category for a deployment slot · Get Diagnostics Category
#
Ask an LLM
“How do I look up one diagnostic category on a deployment slot?”
“What is in a single diagnostic category for my staging slot?”
Tell an agent
Get category {diagnosticCategory} for slot {slot} of site {siteName}.
Describe the {diagnosticCategory} diagnostics on deployment slot {slot}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses
List analyses for a deployment slot category · Get Site Analyses
#
Ask an LLM
“Which analyses are available in a diagnostic category on my staging slot?”
“How do I list slot-level site analyses?”
Tell an agent
List analyses in {diagnosticCategory} for slot {slot} of site {siteName}.
Show analyses offered on deployment slot {slot}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}
Get a site analysis for a deployment slot · Get Site Analysis
#
Ask an LLM
“How do I look up an analysis definition scoped to a deployment slot?”
“What does a named analysis check on my staging slot?”
Tell an agent
Get analysis {analysisName} in {diagnosticCategory} for slot {slot} of site {siteName}.
Show the slot {slot} definition of analysis {analysisName}.
POST
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute
Run a diagnostic analysis on a deployment slot · Execute Analysis
#
Ask an LLM
“Can I run a diagnostic analysis against a staging slot instead of production?”
“How do I execute a slot analysis for a specific time window?”
Tell an agent
Execute analysis {analysisName} in {diagnosticCategory} on slot {slot} of site {siteName}.
Run analysis {analysisName} on deployment slot {slot} from {startTime} to {endTime}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors
List detectors for a deployment slot category · Get Detectors
#
Ask an LLM
“Which detectors can I run in a diagnostic category on a deployment slot?”
“How do I enumerate slot-level detectors?”
Tell an agent
List detectors in {diagnosticCategory} for slot {slot} of site {siteName}.
Show detectors available on deployment slot {slot}.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}
Get a detector definition for a deployment slot · Get Detector
#
Ask an LLM
“How do I look up what a detector does on my staging slot?”
“What is the definition of a slot-scoped detector?”
Tell an agent
Get detector {detectorName} in {diagnosticCategory} for slot {slot} of site {siteName}.
Describe the slot {slot} detector {detectorName}.
POST
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute
Run a detector on a deployment slot · Execute Detector
#
Ask an LLM
“Can I execute a detector against my staging slot on demand?”
“How do I run a slot detector with a custom time grain?”
Tell an agent
Execute detector {detectorName} in {diagnosticCategory} on slot {slot} of site {siteName}.
Run detector {detectorName} on deployment slot {slot} with time grain {timeGrain}.
Documentation
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/web-apps
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-functions/functions-get-started
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/appservice/web-apps/get
📖
Authentication
https://learn.microsoft.com/en-us/rest/api/azure/#register-your-client-application-with-azure-ad