Microsoft Azure Server Farms API

The ServerFarms API from Microsoft Azure, for serverfarms.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 19

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/serverfarms List App Service plans in a resource group · Microsoft Azure Gets Collection Of App Service Plans In A Resource Group For A… #
Ask an LLM
“Which App Service plans do I have in a given resource group?”
“How do I see every App Service plan under one resource group in my subscription?”
Tell an agent
List the App Service plans in resource group {resourceGroupName} of subscription {subscriptionId}.
Show all server farms in {resourceGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name} Get details of one App Service plan · Microsoft Azure Gets Specified App Service Plan In A Resource Group #
Ask an LLM
“What SKU and settings does a specific App Service plan have?”
“Can I look up a single App Service plan by its name?”
Tell an agent
Get App Service plan {name} in resource group {resourceGroupName}, subscription {subscriptionId}.
Show me the configuration of plan {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name} Create or update an App Service plan · Microsoft Azure Creates Or Updates An App Service Plan #
Ask an LLM
“How do I create a new App Service plan in a specific region?”
“Can I change the SKU of an existing App Service plan?”
Tell an agent
Create App Service plan {name} in {location} under resource group {resourceGroupName}, subscription {subscriptionId}.
Update plan {name} in {resourceGroupName} to use SKU {sku}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name} Delete an App Service plan · Microsoft Azure Deletes A App Service Plan #
Ask an LLM
“Can I remove an App Service plan I no longer use?”
“What do I need to supply to delete a server farm?”
Tell an agent destructive · confirm first
Delete App Service plan {name} from resource group {resourceGroupName} in subscription {subscriptionId}.
Tear down server farm {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics Query usage metrics for an App Service plan · Microsoft Azure Queries For App Service Plan Metrics #
Ask an LLM
“What CPU and memory metrics is my App Service plan reporting?”
“Can I break plan metrics down per instance?”
Tell an agent
Get metrics for App Service plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Query plan {name} metrics matching filter {filter}, broken down per instance.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metricdefinitions List metric definitions available for a plan · Microsoft Azure List Of Metrics That Can Be Queried For An App Service Plan #
Ask an LLM
“Which metrics can I actually query for an App Service plan?”
“What metric names and units are defined for my server farm?”
Tell an agent
List the queryable metric definitions for plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Show what metrics are available to query on server farm {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections List virtual networks connected to a plan · Microsoft Azure Gets List Of Vnets Associated With App Service Plan #
Ask an LLM
“Which virtual networks is my App Service plan connected to?”
“Can I see all VNet connections on a server farm at once?”
Tell an agent
List VNet connections for App Service plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Show every virtual network attached to plan {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName} Get one VNet connection of a plan · Microsoft Azure Gets A Vnet Associated With An App Service Plan #
Ask an LLM
“What are the details of a specific virtual network connection on my plan?”
“Can I inspect one named VNet linked to an App Service plan?”
Tell an agent
Get VNet {vnetName} connected to plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Show the connection details for virtual network {vnetName} on server farm {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes List routes for a plan's VNet connection · Microsoft Azure Gets A List Of All Routes Associated With A Vnet, In An App… #
Ask an LLM
“Which routes are defined on a VNet connection in my App Service plan?”
“How do I see all routes for one virtual network on a server farm?”
Tell an agent
List routes for VNet {vnetName} on plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Show all network routes configured for virtual network {vnetName} in plan {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName} Get a single route on a plan's VNet · Microsoft Azure Gets A Specific Route Associated With A Vnet, In An App Service… #
Ask an LLM
“What address range does a specific VNet route in my plan cover?”
“Can I look up one named route on a server farm's virtual network?”
Tell an agent
Get route {routeName} on VNet {vnetName} of plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Show the details of VNet route {routeName} for {vnetName} on server farm {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName} Create or replace a VNet route on a plan · Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In… #
Ask an LLM
“How do I add a new route to a virtual network connection in my App Service plan?”
“Can I fully replace a VNet route definition with a PUT?”
Tell an agent
Create route {routeName} in {location} for VNet {vnetName} on plan {name}, resource group {resourceGroupName}, subscription {subscriptionId}.
Replace VNet route {routeName} on {vnetName} in server farm {name} with properties {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName} Delete a route from a plan's VNet · Microsoft Azure Deletes An Existing Route For A Vnet In An App Service Plan #
Ask an LLM
“Can I remove a route from a VNet connection on my App Service plan?”
“What identifies the route I want to delete from a server farm VNet?”
Tell an agent destructive · confirm first
Delete route {routeName} from VNet {vnetName} on plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Remove VNet route {routeName} from {vnetName} on server farm {name}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName} Patch an existing VNet route on a plan · Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In… #
Ask an LLM
“Can I patch just some properties of an existing VNet route on my plan?”
“Is there a partial-update option for a server farm VNet route instead of replacing it?”
Tell an agent
Patch VNet route {routeName} on {vnetName} in plan {name}, resource group {resourceGroupName}, subscription {subscriptionId}, location {location}.
Partially update existing route {routeName} for {vnetName} on server farm {name} with {properties}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName} Get the VNet gateway of a plan's connection · Microsoft Azure Gets The Vnet Gateway #
Ask an LLM
“What gateway is configured for a virtual network on my App Service plan?”
“Can I read the primary VNet gateway settings for a server farm?”
Tell an agent
Get gateway {gatewayName} for VNet {vnetName} on plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Show the primary gateway {gatewayName} of virtual network {vnetName} on server farm {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName} Update the VNet gateway of a plan · Microsoft Azure Updates The Vnet Gateway #
Ask an LLM
“How do I change the VNet gateway settings on my App Service plan?”
“Can I update a gateway other than primary on a server farm VNet?”
Tell an agent
Update gateway {gatewayName} in {location} for VNet {vnetName} on plan {name}, resource group {resourceGroupName}, subscription {subscriptionId}.
Apply gateway properties {properties} to primary gateway {gatewayName} of {vnetName} on server farm {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites List web apps hosted on an App Service plan · Microsoft Azure Gets List Of Apps Associated With An App Service Plan #
Ask an LLM
“Which web apps are running on a particular App Service plan?”
“Can I list only the apps on a plan that are currently running?”
Tell an agent
List the apps hosted on plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Show {top} web apps per page on server farm {name}, filtered by {filter}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot Reboot a worker machine in a server farm · Microsoft Azure Submit A Reboot Request For A Worker Machine In The Specified… #
Ask an LLM
“Can I reboot a single worker machine behind my App Service plan?”
“What worker name do I pass to restart one server farm instance?”
Tell an agent
Reboot worker {workerName} in server farm {name}, resource group {resourceGroupName}, subscription {subscriptionId}.
Submit a reboot request for worker machine {workerName} on {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites Restart all web apps on an App Service plan · Microsoft Azure Restarts Web Apps In A Specified App Service Plan #
Ask an LLM
“How do I restart every app on an App Service plan in one go?”
“Can I do a soft restart that only reapplies configuration when needed?”
Tell an agent
Restart all web apps on plan {name} in {resourceGroupName}, subscription {subscriptionId}.
Soft-restart the apps on server farm {name} with softRestart set to {softRestart}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId} Check the result of a server farm operation · Microsoft Azure Gets A Server Farm Operation #
Ask an LLM
“Has my long-running server farm operation finished yet?”
“What is the status of a specific operation on my App Service plan?”
Tell an agent
Get the result of operation {operationId} on server farm {name} in {resourceGroupName}, subscription {subscriptionId}.
Check whether operation {operationId} on plan {name} completed.

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-serverfarms-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-serverfarms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2015-08-01'
  title: Microsoft Azure WebSite Management Client Server Farms API
  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 (69 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure/openapi/microsoft-azure-serverfarms-api-openapi.yml