Microsoft Azure Hosting Environments API

The HostingEnvironments API from Microsoft Azure, for hostingenvironments.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 37

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} Get an App Service Environment's properties · Microsoft Azure Get Properties Of Hostingenvironment App Service Environment #
Ask an LLM
“What configuration and location does my App Service Environment have?”
“Can I look up a single ASE by its name to see its settings?”
Tell an agent
Get App Service Environment {ase} in resource group {rg} of subscription {sub}.
Show me the configuration of my ASE called {ase}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name} Create or update an App Service Environment · Microsoft Azure Create Or Update A Hostingenvironment App Service Environment #
Ask an LLM
“How do I provision a new App Service Environment in a chosen region?”
“Can I change the tags on an existing App Service Environment by re-submitting it?”
Tell an agent
Create App Service Environment {ase} in {location} under resource group {rg}, subscription {sub}.
Update the tags on ASE {ase} to {tags}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name} Delete an App Service Environment · Microsoft Azure Delete A Hostingenvironment App Service Environment #
Ask an LLM
“What's the way to tear down an App Service Environment I no longer need?”
“Is there a force option for deleting an ASE that still holds resources?”
Tell an agent destructive · confirm first
Delete App Service Environment {ase} from resource group {rg} in subscription {sub}.
Remove ASE {ase} with forceDelete set to {force_delete}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics List diagnostics for an App Service Environment · Microsoft Azure Get Diagnostic Information For Hostingenvironment App Service… #
Ask an LLM
“What diagnostic information is available for my App Service Environment?”
“Which diagnostics can I pull for an ASE when troubleshooting it?”
Tell an agent
List the diagnostic reports available for ASE {ase} in {rg}, subscription {sub}.
Show every diagnostics entry recorded for {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName} Get one diagnostics item for an App Service Environment · Microsoft Azure Get Diagnostic Information For Hostingenvironment App Service… #
Ask an LLM
“Can I fetch one specific diagnostics entry for an App Service Environment by name?”
“Where do I read the details of a single named ASE diagnostic?”
Tell an agent
Get diagnostic {diag} for App Service Environment {ase} in {rg}, subscription {sub}.
Open the {diag} diagnostics item on my ASE {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute Check worker capacity of an App Service Environment · Microsoft Azure Get Used, Available, And Total Worker Capacity For… #
Ask an LLM
“How much worker capacity is used versus available in my App Service Environment?”
“Can I check total compute capacity left in an ASE before scaling?”
Tell an agent
Show used, available and total worker capacity for ASE {ase} in {rg}, subscription {sub}.
Check how much compute headroom is left in {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip Get IP addresses assigned to an App Service Environment · Microsoft Azure Get Ip Addresses Assigned To The Hostingenvironment App Service… #
Ask an LLM
“Which IP addresses are assigned to my App Service Environment?”
“Can I look up the virtual IP addresses of an ASE?”
Tell an agent
List the IP addresses assigned to ASE {ase} in {rg}, subscription {sub}.
Get the virtual IPs for App Service Environment {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments List App Service Environments in a resource group · Microsoft Azure Get All Hostingenvironments App Service Environments In A… #
Ask an LLM
“Which App Service Environments exist in a given resource group?”
“Is there a way to enumerate every ASE in one resource group?”
Tell an agent
List all App Service Environments in resource group {rg} of subscription {sub}.
Show every ASE under {rg}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot Reboot all machines in an App Service Environment · Microsoft Azure Reboots All Machines In A Hostingenvironment App Service… #
Ask an LLM
“How do I reboot all the machines in an App Service Environment?”
“Can I restart an ASE's underlying machines without deleting it?”
Tell an agent
Reboot every machine in ASE {ase} in {rg}, subscription {sub}.
Restart all machines behind App Service Environment {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations List running operations on an App Service Environment · Microsoft Azure List All Currently Running Operations On The Hostingenvironment… #
Ask an LLM
“What operations are currently running on my App Service Environment?”
“Can I see in-progress work on an ASE before I make changes?”
Tell an agent
List the currently running operations on ASE {ase} in {rg}, subscription {sub}.
Show what's in progress on App Service Environment {ase} right now.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations/{operationId} Check an operation's status on an App Service Environment · Microsoft Azure Get Status Of An Operation On A Hostingenvironment App Service… #
Ask an LLM
“Where can I check the status of one specific operation on an App Service Environment?”
“Did the operation I started on my ASE finish yet?”
Tell an agent
Get the status of operation {op_id} on ASE {ase} in {rg}, subscription {sub}.
Check whether operation {op_id} on {ase} has completed.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics Get global metrics of an App Service Environment · Microsoft Azure Get Global Metrics Of Hostingenvironment App Service Environment #
Ask an LLM
“What environment-wide metrics does my App Service Environment report?”
“Can I filter the global metrics of an ASE with a filter expression?”
Tell an agent
Get global metrics for ASE {ase} in {rg}, subscription {sub}.
Pull environment-wide metrics for {ase} filtered by {filter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions List global metric definitions of an App Service Environment · Microsoft Azure Get Global Metric Definitions Of Hostingenvironment App Service… #
Ask an LLM
“Which metric definitions are available at the environment level for an ASE?”
“Where do I find the list of global metric definitions for an App Service Environment?”
Tell an agent
List global metric definitions for ASE {ase} in {rg}, subscription {sub}.
Show which environment-level metrics {ase} defines.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages Get global usages of an App Service Environment · Microsoft Azure Get Global Usages Of Hostingenvironment App Service Environment #
Ask an LLM
“How much of my App Service Environment's resources are in use overall?”
“Can I filter the environment-wide usage figures for an ASE?”
Tell an agent
Get global usages for ASE {ase} in {rg}, subscription {sub}.
Show overall usage for {ase} filtered by {filter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics Get metrics for an ASE's multi-role pool · Microsoft Azure Get Metrics For A Multirole Pool Of A Hostingenvironment App… #
Ask an LLM
“What performance metrics does the multi-role pool of my ASE report?”
“Can I get multi-role pool metrics for a time window at a specific time grain?”
Tell an agent
Get multi-role pool metrics for ASE {ase} in {rg}, subscription {sub}.
Pull multi-role pool metrics for {ase} from {start} to {end} at {grain} granularity.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics Get metrics for a worker pool in an ASE · Microsoft Azure Get Metrics For A Worker Pool Of A Hostingenvironment App… #
Ask an LLM
“What does performance look like for one worker pool in my App Service Environment?”
“Can I narrow worker pool metrics with a filter?”
Tell an agent
Get metrics for worker pool {pool} of ASE {ase} in {rg}, subscription {sub}.
Fetch worker pool {pool} metrics on {ase} filtered by {filter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions List metric definitions for an ASE's multi-role pool · Microsoft Azure Get Metric Definitions For A Multirole Pool Of A… #
Ask an LLM
“Which metrics can the multi-role pool of an ASE report on?”
“Where are the metric definitions for an App Service Environment's multi-role pool?”
Tell an agent
List metric definitions for the multi-role pool of ASE {ase} in {rg}, subscription {sub}.
Show which metrics {ase}'s multi-role pool defines.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions List metric definitions for a worker pool in an ASE · Microsoft Azure Get Metric Definitions For A Worker Pool Of A… #
Ask an LLM
“What metrics are defined for a worker pool in my ASE?”
“Can I discover the available worker pool metric names before querying them?”
Tell an agent
List metric definitions for worker pool {pool} of ASE {ase} in {rg}, subscription {sub}.
Show the metric catalog for worker pool {pool} on {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages Get usages for an ASE's multi-role pool · Microsoft Azure Get Usages For A Multirole Pool Of A Hostingenvironment App… #
Ask an LLM
“How much of the multi-role pool is being used in my App Service Environment?”
“Can I see usage figures just for an ASE's multi-role pool?”
Tell an agent
Get multi-role pool usages for ASE {ase} in {rg}, subscription {sub}.
Show usage of the multi-role pool on {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages Get usages for a worker pool in an ASE · Microsoft Azure Get Usages For A Worker Pool Of A Hostingenvironment App… #
Ask an LLM
“What is the current usage of a specific worker pool in my ASE?”
“Can I check usage on one worker pool before scaling it?”
Tell an agent
Get usages for worker pool {pool} of ASE {ase} in {rg}, subscription {sub}.
Show how heavily worker pool {pool} on {ase} is used.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites List sites hosted on an App Service Environment · Microsoft Azure Get All Sites On The Hostingenvironment App Service Environment #
Ask an LLM
“Which web apps are running on my App Service Environment?”
“Can I choose extra properties to include when listing sites on an ASE?”
Tell an agent
List all sites hosted on ASE {ase} in {rg}, subscription {sub}.
Show the apps on {ase} including properties {props}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans List web hosting plans on an App Service Environment · Microsoft Azure Get All Serverfarms App Service Plans On The Hostingenvironment… #
Ask an LLM
“What web hosting plans are deployed on my App Service Environment?”
“Can I list an ASE's App Service plans through the webhostingplans endpoint?”
Tell an agent
List web hosting plans on ASE {ase} in {rg}, subscription {sub}.
Show the webhostingplans collection for {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms List server farms on an App Service Environment · Microsoft Azure Get All Serverfarms App Service Plans On The Hostingenvironment… #
Ask an LLM
“Which server farms are running inside my App Service Environment?”
“Is there a server farms view of the plans hosted on an ASE?”
Tell an agent
List server farms on ASE {ase} in {rg}, subscription {sub}.
Show the serverfarms collection for {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools List multi-role pools in an App Service Environment · Microsoft Azure Get All Multi Role Pools #
Ask an LLM
“What multi-role pools does my App Service Environment have?”
“Can I enumerate every multi-role pool configured on an ASE?”
Tell an agent
List multi-role pools in ASE {ase} in {rg}, subscription {sub}.
Enumerate the multi-role pools of {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default Get the default multi-role pool of an ASE · Microsoft Azure Get Properties Of A Multirole Pool #
Ask an LLM
“What are the properties of the default multi-role pool in my ASE?”
“Can I check the SKU currently set on an ASE's multi-role pool?”
Tell an agent
Get the default multi-role pool of ASE {ase} in {rg}, subscription {sub}.
Show the properties of {ase}'s multi-role pool.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default Create or update an ASE's multi-role pool · Microsoft Azure Create Or Update A Multirole Pool #
Ask an LLM
“How do I scale the multi-role pool of an App Service Environment to a different SKU?”
“Can I create or reconfigure an ASE's multi-role pool?”
Tell an agent
Update the multi-role pool of ASE {ase} in {rg}, subscription {sub} to SKU {sku} in {location}.
Set {ase}'s multi-role pool SKU to {sku}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus List SKUs for scaling an ASE's multi-role pool · Microsoft Azure Get Available Skus For Scaling A Multirole Pool #
Ask an LLM
“Which SKUs can I scale my ASE's multi-role pool to?”
“What sizes are available for the multi-role pool of an App Service Environment?”
Tell an agent
List available scaling SKUs for the multi-role pool of ASE {ase} in {rg}, subscription {sub}.
Show multi-role pool SKU options for {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools List worker pools in an App Service Environment · Microsoft Azure Get All Worker Pools #
Ask an LLM
“What worker pools exist in my App Service Environment?”
“Can I list every worker pool in an ASE along with its settings?”
Tell an agent
List all worker pools in ASE {ase} in {rg}, subscription {sub}.
Enumerate the worker pools of {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName} Get a worker pool in an App Service Environment · Microsoft Azure Get Properties Of A Worker Pool #
Ask an LLM
“What are the properties of a specific worker pool in my ASE?”
“Can I check the SKU of one named worker pool?”
Tell an agent
Get worker pool {pool} of ASE {ase} in {rg}, subscription {sub}.
Show the properties of worker pool {pool} on {ase}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName} Create or update a worker pool in an ASE · Microsoft Azure Create Or Update A Worker Pool #
Ask an LLM
“How do I add a new worker pool to an App Service Environment?”
“Can I change the SKU of an existing worker pool in my ASE?”
Tell an agent
Create or update worker pool {pool} in ASE {ase} ({rg}, subscription {sub}) in {location}.
Scale worker pool {pool} on {ase} to SKU {sku}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus List SKUs for scaling a worker pool in an ASE · Microsoft Azure Get Available Skus For Scaling A Worker Pool #
Ask an LLM
“Which SKUs are available for scaling a worker pool in my ASE?”
“What sizes can a particular worker pool move to?”
Tell an agent
List available scaling SKUs for worker pool {pool} of ASE {ase} in {rg}, subscription {sub}.
Show SKU options for worker pool {pool} on {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metrics Get metrics for one worker pool instance · Microsoft Azure Get Metrics For A Specific Instance Of A Worker Pool Of A… #
Ask an LLM
“Can I get metrics for a single machine instance in a worker pool?”
“How is one worker pool instance in my ASE performing?”
Tell an agent
Get metrics for instance {instance} of worker pool {pool} on ASE {ase} in {rg}, subscription {sub}.
Pull metrics for worker instance {instance} in pool {pool} of {ase}, filtered by {filter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions List metric definitions for a worker pool instance · Microsoft Azure Get Metric Definitions For A Specific Instance Of A Worker Pool… #
Ask an LLM
“What metrics are defined for an individual worker pool instance?”
“Which metric names can I query for one worker machine in an ASE?”
Tell an agent
List metric definitions for instance {instance} of worker pool {pool} on ASE {ase} in {rg}, subscription {sub}.
Show which metrics worker instance {instance} in pool {pool} on {ase} defines.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics Get metrics for one multi-role pool instance · Microsoft Azure Get Metrics For A Specific Instance Of A Multirole Pool Of A… #
Ask an LLM
“Can I see metrics for a single instance of my ASE's multi-role pool?”
“How is one multi-role machine in an App Service Environment performing?”
Tell an agent
Get metrics for instance {instance} of the multi-role pool on ASE {ase} in {rg}, subscription {sub}.
Show per-instance multi-role metrics for {instance} on {ase}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions List metric definitions for a multi-role pool instance · Microsoft Azure Get Metric Definitions For A Specific Instance Of A Multirole… #
Ask an LLM
“What metrics are defined for one instance of an ASE's multi-role pool?”
“Which metric names can I query for a single multi-role machine?”
Tell an agent
Describe the metrics that multi-role machine {instance} of ASE {ase} ({rg}, subscription {sub}) can emit.
Show which metrics multi-role instance {instance} on {ase} defines.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend Suspend an App Service Environment · Microsoft Azure Suspends The Hostingenvironment #
Ask an LLM
“How do I suspend an App Service Environment so it stops running?”
“Can I pause an ASE temporarily instead of deleting it?”
Tell an agent
Suspend ASE {ase} in {rg}, subscription {sub}.
Put App Service Environment {ase} into a suspended state.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume Resume a suspended App Service Environment · Microsoft Azure Resumes The Hostingenvironment #
Ask an LLM
“What do I call to resume a suspended App Service Environment?”
“Can a paused ASE be brought back online?”
Tell an agent
Resume ASE {ase} in {rg}, subscription {sub}.
Bring suspended App Service Environment {ase} back online.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-hostingenvironments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-hostingenvironments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2015-08-01'
  title: Microsoft Azure WebSite Management Client Hosting…
  description: Use these APIs to manage Azure Websites resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://msdn.microsoft.com/en-us/library/azure/dn790557.aspx.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:


# --- truncated at 32 KB (111 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure/openapi/microsoft-azure-hostingenvironments-api-openapi.yml