Microsoft Azure · Capability

Microsoft Azure WebSite Management Client — ServerFarms

Microsoft Azure WebSite Management Client — ServerFarms. 19 operations. Lead operation: Microsoft Azure Gets Collection Of App Service Plans In A Resource Group For A Given Subscription. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureServerFarms

What You Can Do

GET
Microsoftazureserverfarmsgetserverfarms — Microsoft Azure Gets Collection Of App Service Plans In A Resource Group For A Given Subscription
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms
GET
Microsoftazureserverfarmsgetserverfarm — Microsoft Azure Gets Specified App Service Plan In A Resource Group
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}
PUT
Microsoftazureserverfarmscreateorupdateserverfarm — Microsoft Azure Creates Or Updates An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}
DELETE
Microsoftazureserverfarmsdeleteserverfarm — Microsoft Azure Deletes A App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}
GET
Microsoftazureserverfarmsgetserverfarmmetricdefintions — Microsoft Azure List Of Metrics That Can Be Queried For An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/metricdefinitions
GET
Microsoftazureserverfarmsgetserverfarmmetrics — Microsoft Azure Queries For App Service Plan Metrics
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/metrics
GET
Microsoftazureserverfarmsgetserverfarmoperation — Microsoft Azure Gets A Server Farm Operation
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/operationresults/{operationid}
POST
Microsoftazureserverfarmsrestartsitesforserverfarm — Microsoft Azure Restarts Web Apps In A Specified App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/restartsites
GET
Microsoftazureserverfarmsgetserverfarmsites — Microsoft Azure Gets List Of Apps Associated With An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/sites
GET
Microsoftazureserverfarmsgetvnetsforserverfarm — Microsoft Azure Gets List Of Vnets Associated With App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections
GET
Microsoftazureserverfarmsgetvnetfromserverfarm — Microsoft Azure Gets A Vnet Associated With An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}
GET
Microsoftazureserverfarmsgetserverfarmvnetgateway — Microsoft Azure Gets The Vnet Gateway
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/gateways/{gatewayname}
PUT
Microsoftazureserverfarmsupdateserverfarmvnetgateway — Microsoft Azure Updates The Vnet Gateway
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/gateways/{gatewayname}
GET
Microsoftazureserverfarmsgetroutesforvnet — Microsoft Azure Gets A List Of All Routes Associated With A Vnet, In An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/routes
GET
Microsoftazureserverfarmsgetrouteforvnet — Microsoft Azure Gets A Specific Route Associated With A Vnet, In An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/routes/{routename}
PUT
Microsoftazureserverfarmscreateorupdatevnetroute — Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/routes/{routename}
DELETE
Microsoftazureserverfarmsdeletevnetroute — Microsoft Azure Deletes An Existing Route For A Vnet In An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/routes/{routename}
PATCH
Microsoftazureserverfarmsupdatevnetroute — Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In An App Service Plan
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/routes/{routename}
POST
Microsoftazureserverfarmsrebootworkerforserverfarm — Microsoft Azure Submit A Reboot Request For A Worker Machine In The Specified Server Farm
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/workers/{workername}/reboot

MCP Tools

microsoft-azure-gets-collection-app

Microsoft Azure Gets Collection Of App Service Plans In A Resource Group For A Given Subscription

read-only idempotent
microsoft-azure-gets-specified-app

Microsoft Azure Gets Specified App Service Plan In A Resource Group

read-only idempotent
microsoft-azure-creates-updates-app

Microsoft Azure Creates Or Updates An App Service Plan

idempotent
microsoft-azure-deletes-app-service

Microsoft Azure Deletes A App Service Plan

idempotent
microsoft-azure-list-metrics-that

Microsoft Azure List Of Metrics That Can Be Queried For An App Service Plan

read-only idempotent
microsoft-azure-queries-app-service

Microsoft Azure Queries For App Service Plan Metrics

read-only idempotent
microsoft-azure-gets-server-farm

Microsoft Azure Gets A Server Farm Operation

read-only idempotent
microsoft-azure-restarts-web-apps

Microsoft Azure Restarts Web Apps In A Specified App Service Plan

microsoft-azure-gets-list-apps

Microsoft Azure Gets List Of Apps Associated With An App Service Plan

read-only idempotent
microsoft-azure-gets-list-vnets

Microsoft Azure Gets List Of Vnets Associated With App Service Plan

read-only idempotent
microsoft-azure-gets-vnet-associated

Microsoft Azure Gets A Vnet Associated With An App Service Plan

read-only idempotent
microsoft-azure-gets-vnet-gateway

Microsoft Azure Gets The Vnet Gateway

read-only idempotent
microsoft-azure-updates-vnet-gateway

Microsoft Azure Updates The Vnet Gateway

idempotent
microsoft-azure-gets-list-all

Microsoft Azure Gets A List Of All Routes Associated With A Vnet, In An App Service Plan

read-only idempotent
microsoft-azure-gets-specific-route

Microsoft Azure Gets A Specific Route Associated With A Vnet, In An App Service Plan

read-only idempotent
microsoft-azure-creates-new-route

Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In An App Service Plan

idempotent
microsoft-azure-deletes-existing-route

Microsoft Azure Deletes An Existing Route For A Vnet In An App Service Plan

idempotent
microsoft-azure-creates-new-route-2

Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In An App Service Plan

idempotent
microsoft-azure-submit-reboot-request

Microsoft Azure Submit A Reboot Request For A Worker Machine In The Specified Server Farm

Capability Spec

website-management-client-serverfarms.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure WebSite Management Client — ServerFarms
  description: 'Microsoft Azure WebSite Management Client — ServerFarms. 19 operations. Lead operation: Microsoft Azure Gets
    Collection Of App Service Plans In A Resource Group For A Given Subscription. Self-contained Naftiko capability covering
    one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - ServerFarms
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: website-management-client-serverfarms
    baseUri: https://management.azure.com
    description: Microsoft Azure WebSite Management Client — ServerFarms business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms
      operations:
      - name: microsoftazureserverfarmsgetserverfarms
        method: GET
        description: Microsoft Azure Gets Collection Of App Service Plans In A Resource Group For A Given Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}
      operations:
      - name: microsoftazureserverfarmsgetserverfarm
        method: GET
        description: Microsoft Azure Gets Specified App Service Plan In A Resource Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
      - name: microsoftazureserverfarmscreateorupdateserverfarm
        method: PUT
        description: Microsoft Azure Creates Or Updates An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: serverFarmEnvelope
          in: body
          type: string
          description: Details of App Service Plan
          required: true
        - name: allowPendingState
          in: query
          type: boolean
          description: 'OBSOLETE: If true, allow pending state for App Service Plan'
      - name: microsoftazureserverfarmsdeleteserverfarm
        method: DELETE
        description: Microsoft Azure Deletes A App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metricdefinitions
      operations:
      - name: microsoftazureserverfarmsgetserverfarmmetricdefintions
        method: GET
        description: Microsoft Azure List Of Metrics That Can Be Queried For An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics
      operations:
      - name: microsoftazureserverfarmsgetserverfarmmetrics
        method: GET
        description: Microsoft Azure Queries For App Service Plan Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: details
          in: query
          type: boolean
          description: If true, metrics are broken down per App Service Plan instance
        - name: $filter
          in: query
          type: string
          description: 'Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value
            eq ''Metric1'' or name.value eq ''Metric2'') and s'
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/operationresults/{operationId}
      operations:
      - name: microsoftazureserverfarmsgetserverfarmoperation
        method: GET
        description: Microsoft Azure Gets A Server Farm Operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of server farm
          required: true
        - name: operationId
          in: path
          type: string
          description: Id of Server farm operation">
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites
      operations:
      - name: microsoftazureserverfarmsrestartsitesforserverfarm
        method: POST
        description: Microsoft Azure Restarts Web Apps In A Specified App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: softRestart
          in: query
          type: boolean
          description: Soft restart applies the configuration settings and restarts the apps if necessary. Hard restart always
            restarts and reprovisions the apps
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites
      operations:
      - name: microsoftazureserverfarmsgetserverfarmsites
        method: GET
        description: Microsoft Azure Gets List Of Apps Associated With An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: $skipToken
          in: query
          type: string
          description: Skip to of web apps in a list. If specified, the resulting list will contain web apps starting from
            (including) the skipToken. Else, the resulting list contains
        - name: $filter
          in: query
          type: string
          description: 'Supported filter: $filter=state eq running. Returns only web apps that are currently running'
        - name: $top
          in: query
          type: string
          description: List page size. If specified, results are paged.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections
      operations:
      - name: microsoftazureserverfarmsgetvnetsforserverfarm
        method: GET
        description: Microsoft Azure Gets List Of Vnets Associated With App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
      operations:
      - name: microsoftazureserverfarmsgetvnetfromserverfarm
        method: GET
        description: Microsoft Azure Gets A Vnet Associated With An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: vnetName
          in: path
          type: string
          description: Name of virtual network
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
      operations:
      - name: microsoftazureserverfarmsgetserverfarmvnetgateway
        method: GET
        description: Microsoft Azure Gets The Vnet Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of the App Service Plan
          required: true
        - name: vnetName
          in: path
          type: string
          description: Name of the virtual network
          required: true
        - name: gatewayName
          in: path
          type: string
          description: Name of the gateway. Only the 'primary' gateway is supported.
          required: true
      - name: microsoftazureserverfarmsupdateserverfarmvnetgateway
        method: PUT
        description: Microsoft Azure Updates The Vnet Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The resource group
          required: true
        - name: name
          in: path
          type: string
          description: The name of the App Service Plan
          required: true
        - name: vnetName
          in: path
          type: string
          description: The name of the virtual network
          required: true
        - name: gatewayName
          in: path
          type: string
          description: The name of the gateway. Only 'primary' is supported.
          required: true
        - name: connectionEnvelope
          in: body
          type: string
          description: The gateway entity.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes
      operations:
      - name: microsoftazureserverfarmsgetroutesforvnet
        method: GET
        description: Microsoft Azure Gets A List Of All Routes Associated With A Vnet, In An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: vnetName
          in: path
          type: string
          description: Name of virtual network
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}
      operations:
      - name: microsoftazureserverfarmsgetrouteforvnet
        method: GET
        description: Microsoft Azure Gets A Specific Route Associated With A Vnet, In An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: vnetName
          in: path
          type: string
          description: Name of virtual network
          required: true
        - name: routeName
          in: path
          type: string
          description: Name of the virtual network route
          required: true
      - name: microsoftazureserverfarmscreateorupdatevnetroute
        method: PUT
        description: Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: vnetName
          in: path
          type: string
          description: Name of virtual network
          required: true
        - name: routeName
          in: path
          type: string
          description: Name of the virtual network route
          required: true
        - name: route
          in: body
          type: string
          description: The route object
          required: true
      - name: microsoftazureserverfarmsdeletevnetroute
        method: DELETE
        description: Microsoft Azure Deletes An Existing Route For A Vnet In An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: vnetName
          in: path
          type: string
          description: Name of virtual network
          required: true
        - name: routeName
          in: path
          type: string
          description: Name of the virtual network route
          required: true
      - name: microsoftazureserverfarmsupdatevnetroute
        method: PATCH
        description: Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In An App Service Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of App Service Plan
          required: true
        - name: vnetName
          in: path
          type: string
          description: Name of virtual network
          required: true
        - name: routeName
          in: path
          type: string
          description: Name of the virtual network route
          required: true
        - name: route
          in: body
          type: string
          description: The route object
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot
      operations:
      - name: microsoftazureserverfarmsrebootworkerforserverfarm
        method: POST
        description: Microsoft Azure Submit A Reboot Request For A Worker Machine In The Specified Server Farm
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: name
          in: path
          type: string
          description: Name of server farm
          required: true
        - name: workerName
          in: path
          type: string
          description: Name of worker machine, typically starts with RD
          required: true
  exposes:
  - type: rest
    namespace: website-management-client-serverfarms-rest
    port: 8080
    description: REST adapter for Microsoft Azure WebSite Management Client — ServerFarms. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetserverfarms
        description: Microsoft Azure Gets Collection Of App Service Plans In A Resource Group For A Given Subscription
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetserverfarms
        with:
          resourceGroupName: rest.resourceGroupName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetserverfarm
        description: Microsoft Azure Gets Specified App Service Plan In A Resource Group
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetserverfarm
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazureserverfarmscreateorupdateserverfarm
        description: Microsoft Azure Creates Or Updates An App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmscreateorupdateserverfarm
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          serverFarmEnvelope: rest.serverFarmEnvelope
          allowPendingState: rest.allowPendingState
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazureserverfarmsdeleteserverfarm
        description: Microsoft Azure Deletes A App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsdeleteserverfarm
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/metricdefinitions
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetserverfarmmetricdefintions
        description: Microsoft Azure List Of Metrics That Can Be Queried For An App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetserverfarmmetricdefintions
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/metrics
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetserverfarmmetrics
        description: Microsoft Azure Queries For App Service Plan Metrics
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetserverfarmmetrics
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          details: rest.details
          $filter: rest.$filter
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/operationresults/{operationid}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetserverfarmoperation
        description: Microsoft Azure Gets A Server Farm Operation
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetserverfarmoperation
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          operationId: rest.operationId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/restartsites
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazureserverfarmsrestartsitesforserverfarm
        description: Microsoft Azure Restarts Web Apps In A Specified App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsrestartsitesforserverfarm
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          softRestart: rest.softRestart
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/sites
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetserverfarmsites
        description: Microsoft Azure Gets List Of Apps Associated With An App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetserverfarmsites
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          $skipToken: rest.$skipToken
          $filter: rest.$filter
          $top: rest.$top
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetvnetsforserverfarm
        description: Microsoft Azure Gets List Of Vnets Associated With App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetvnetsforserverfarm
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetvnetfromserverfarm
        description: Microsoft Azure Gets A Vnet Associated With An App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetvnetfromserverfarm
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          vnetName: rest.vnetName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/gateways/{gatewayname}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetserverfarmvnetgateway
        description: Microsoft Azure Gets The Vnet Gateway
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetserverfarmvnetgateway
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          vnetName: rest.vnetName
          gatewayName: rest.gatewayName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazureserverfarmsupdateserverfarmvnetgateway
        description: Microsoft Azure Updates The Vnet Gateway
        call: website-management-client-serverfarms.microsoftazureserverfarmsupdateserverfarmvnetgateway
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          vnetName: rest.vnetName
          gatewayName: rest.gatewayName
          connectionEnvelope: rest.connectionEnvelope
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/routes
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetroutesforvnet
        description: Microsoft Azure Gets A List Of All Routes Associated With A Vnet, In An App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetroutesforvnet
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          vnetName: rest.vnetName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/serverfarms/{name}/virtualnetworkconnections/{vnetname}/routes/{routename}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureserverfarmsgetrouteforvnet
        description: Microsoft Azure Gets A Specific Route Associated With A Vnet, In An App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsgetrouteforvnet
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          vnetName: rest.vnetName
          routeName: rest.routeName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazureserverfarmscreateorupdatevnetroute
        description: Microsoft Azure Creates A New Route Or Updates An Existing Route For A Vnet In An App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmscreateorupdatevnetroute
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          vnetName: rest.vnetName
          routeName: rest.routeName
          route: rest.route
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazureserverfarmsdeletevnetroute
        description: Microsoft Azure Deletes An Existing Route For A Vnet In An App Service Plan
        call: website-management-client-serverfarms.microsoftazureserverfarmsdeletevnetroute
        with:
          resourceGroupName: rest.resourceGroupName
          name: rest.name
          vnetName: rest.vnetName
          routeName: rest.routeName
        outputParameters:
 

# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/capabilities/website-management-client-serverfarms.yaml