Microsoft Azure Web Servers Controller API

The WebServersController API from Microsoft Azure, for webserverscontroller.

GitHub OpenAPI

Operations 3

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.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/webServers List discovered web servers in a web app site · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which on-premises web servers were discovered for a web app site in Azure Migrate?”
“Can I filter or page the discovered web server list for a site?”
Tell an agent
List web servers discovered under web app site {webAppSiteName} of master site {siteName}.
Show the top {top} web servers in web app site {webAppSiteName} matching {filter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/webServers List web servers in a Migrate project · Microsoft Azure Gets A List Of Webservers In The Migrate Project #
Ask an LLM
“Which web servers are recorded in my Azure Migrate project?”
“Can I set a page size when listing a Migrate project's web servers?”
Tell an agent
List web servers in Migrate project {migrateProjectName}.
Show {pageSize} web servers per page from Migrate project {migrateProjectName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/webServers/{webServerId} Get a web server in a Migrate project · Microsoft Azure Gets A Webserver In The Migrate Project #
Ask an LLM
“What does my Migrate project know about a specific web server?”
“Can I look up one web server in a Migrate project by ID?”
Tell an agent
Get web server {webServerId} in Migrate project {migrateProjectName}.
Show Migrate project {migrateProjectName}'s record for web server {webServerId}.

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-webserverscontroller-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-webserverscontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Migrate Discovery Service Web Servers…
  version: 2023-10-01-preview
  description: Azure OffAzure Resource Provider management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: WebServersController
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/webServers
  : get:
      operationId: microsoftAzureWebserverscontrollerListbywebappsite
      tags:
      - WebServersController
      description: Method to get all web servers.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - name: filter
        in: query
        description: filter query
        required: false
        schema:
          type: string
      - name: top
        in: query
        description: page size  query
        required: false
        schema:
          type: string
      - name: continuationToken
        in: query
        description: Optional parameter for continuation token.
        required: false
        schema:
          type: string
      - name: totalRecordCount
        in: query
        description: Total count of machines in the given site.
        required: false
        schema:
          type: integer
          format: int32
      - name: siteName
        in: path
        description: Site name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: webAppSiteName
        in: path
        description: Web app site name.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebServerListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        WebServersController_ListByWebAppSite_MaximumSet_Gen:
          $ref: ./examples/WebServersController_ListByWebAppSite_MaximumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/webServers
  : get:
      tags:
      - WebServersController
      summary: Microsoft Azure Gets A List Of Webservers In The Migrate Project
      operationId: microsoftAzureWebserverscontrollerListwebservers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/migrateProjectName'
      - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/continuationToken'
      - $ref: '#/components/parameters/pageSize'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebServerCollection'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      deprecated: false
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        WebServersController_ListWebServers_MaximumSet_Gen:
          $ref: ./examples/WebServersController_ListWebServers_MaximumSet_Gen.json
        WebServersController_ListWebServers_MinimumSet_Gen:
          $ref: ./examples/WebServersController_ListWebServers_MinimumSet_Gen.json
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/webServers/{webServerId}
  : get:
      tags:
      - WebServersController
      summary: Microsoft Azure Gets A Webserver In The Migrate Project
      operationId: microsoftAzureWebserverscontrollerGetwebserver
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/migrateProjectName'
      - $ref: '#/components/parameters/webServerId'
      - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebServer'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      deprecated: false
      x-ms-examples:
        WebServersController_GetWebServer_MaximumSet_Gen:
          $ref: ./examples/WebServersController_GetWebServer_MaximumSet_Gen.json
        WebServersController_GetWebServer_MinimumSet_Gen:
          $ref: ./examples/WebServersController_GetWebServer_MinimumSet_Gen.json
      description: Needs a more full description created.
components:
  schemas:
    WebServerListResult:
      type: object
      description: The response of a WebServer list operation.
      properties:
        value:
          type: array
          description: The WebServer items on this page
          items:
            $ref: '#/components/schemas/WebServer'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    HealthErrorDetailsDiscoveryScope:
      type: string
      description: Gets discovery scope for which             error is encountered.
      enum:
      - AppsAndRoles
      - DependencyMap
      - StaticData
      - SQLServerConnectionInfo
      - DiscoveryTargets
      x-ms-enum:
        name: HealthErrorDetailsDiscoveryScope
        modelAsString: true
        values:
        - name: AppsAndRoles
          value: AppsAndRoles
          description: AppsAndRoles value.
        - name: DependencyMap
          value: DependencyMap
          description: DependencyMap value.
        - name: StaticData
          value: StaticData
          description: StaticData value.
        - name: SQLServerConnectionInfo
          value: SQLServerConnectionInfo
          description: SQLServerConnectionInfo value.
        - name: DiscoveryTargets
          value: DiscoveryTargets
          description: DiscoveryTargets value.
    HealthErrorDetailsSource:
      type: string
      description: HealthError Details Source
      enum:
      - RefreshFabricLayout
      - RefreshFabricLayoutGuest
      - RefreshFabricLayoutDependencyMap
      x-ms-enum:
        name: HealthErrorDetailsSource
        modelAsString: true
        values:
        - name: RefreshFabricLayout
          value: RefreshFabricLayout
          description: RefreshFabricLayout value.
        - name: RefreshFabricLayoutGuest
          value: RefreshFabricLayoutGuest
          description: RefreshFabricLayoutGuest value.
        - name: RefreshFabricLayoutDependencyMap
          value: RefreshFabricLayoutDependencyMap
          description: RefreshFabricLayoutDependencyMap value.
    ProvisioningState:
      type: string
      description: The status of the current operation.
      enum:
      - Created
      - Updated
      - Running
      - Completed
      - Failed
      - Succeeded
      - Canceled
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Created
          value: Created
          description: Created value.
        - name: Updated
          value: Updated
          description: Updated value.
        - name: Running
          value: Running
          description: Running value.
        - name: Completed
          value: Completed
          description: Completed value.
        - name: Failed
          value: Failed
          description: Failed value.
        - name: Succeeded
          value: Succeeded
          description: Succeeded value.
        - name: Canceled
          value: Canceled
          description: Canceled value.
    WebServer:
      type: object
      description: Web application REST Resource.
      properties:
        properties:
          $ref: '#/components/schemas/WebServerProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
      allOf:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource
    HealthErrorDetails:
      type: object
      description: Error contract returned when some exception occurs in Rest API.
      properties:
        message:
          type: string
          description: Gets the error message.
          readOnly: true
        messageParameters:
          type: object
          description: Gets the message parameters.
          additionalProperties:
            type: string
          readOnly: true
        applianceName:
          type: string
          description: Gets the appliance name.
          readOnly: true
        id:
          type: integer
          format: int64
          description: Gets the error ID.
          readOnly: true
        code:
          type: string
          description: Gets the error name.
          readOnly: true
        possibleCauses:
          type: string
          description: Gets the possible causes of error.
          readOnly: true
        recommendedAction:
          type: string
          description: Gets the recommended action to resolve error.
          readOnly: true
        severity:
          type: string
          description: Gets the error severity.
          readOnly: true
        summaryMessage:
          type: string
          description: Gets the error summary message.
          readOnly: true
        source:
          $ref: '#/components/schemas/HealthErrorDetailsSource'
          description: Gets the error source.
          readOnly: true
        updatedTimeStamp:
          type: string
          format: date-time
          description: Gets the time stamp when the error was updated.
          readOnly: true
        runAsAccountId:
          type: string
          description: Gets run as account id used while performing discovery             of entity.
          readOnly: true
        discoveryScope:
          $ref: '#/components/schemas/HealthErrorDetailsDiscoveryScope'
          description: Gets discovery scope for which             error is encountered.
          readOnly: true
    WebServerProperties:
      type: object
      description: Class for web server properties.
      properties:
        configurationLocation:
          type: string
          description: Gets the configuration location.
          readOnly: true
        version:
          type: string
          description: Gets the configuration location.
          readOnly: true
        machineIds:
          type: array
          description: Gets the list of machines.
          items:
            type: string
          readOnly: true
        webApplications:
          type: array
          description: Gets the list of web applications.
          items:
            type: string
          readOnly: true
        displayName:
          type: string
          description: Gets the display name.
          readOnly: true
        serverFqdn:
          type: string
          description: Gets the server FQDN.
          readOnly: true
        runAsAccountId:
          type: string
          description: Gets the run as account id.
          readOnly: true
        isDeleted:
          type: boolean
          description: Gets a value indicating whether application is deleted.
          readOnly: true
        createdTimestamp:
          type: string
          description: Gets the timestamp marking creation of the entity.
          readOnly: true
        updatedTimestamp:
          type: string
          description: Gets the timestamp marking last update operation.
          readOnly: true
        serverType:
          type: string
          description: Gets the server type.
          readOnly: true
        errors:
          type: array
          description: Gets the Error details.
          items:
            $ref: '#/components/schemas/HealthErrorDetails'
          readOnly: true
        applianceNames:
          type: array
          description: Gets the appliance names.
          items:
            type: string
          readOnly: true
        hasErrors:
          type: boolean
          description: Gets a value indicating whether the WebApp has errors or not.
          readOnly: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: provisioning state enum
          readOnly: true
    WebServerDiscoveryDetails:
      type: object
      description: Details of discovery data of web server.
      properties:
        id:
          description: Gets the relative URL to get to this WebServerDiscoveryDetails resource.
          type: string
        osName:
          type: string
        osVersion:
          type: string
        cpuCores:
          format: int32
          type: integer
        memoryInMb:
          type: string
        webServerType:
          type: string
        webServerVersion:
          type: string
        portList:
          type: array
          items:
            format: int32
            type: integer
        lastUpdatedTime:
          format: date-time
          type: string
        enqueueTime:
          type: string
        solutionName:
          type: string
        webServerId:
          type: string
        webServerName:
          type: string
        extendedInfo:
          type: object
          additionalProperties:
            type: string
    WebServerCollection:
      type: object
      description: Collection of web servers.
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/WebServer'
        nextLink:
          type: string
    WebServerSummary:
      type: object
      description: Summary of information representing web server.
      properties:
        discoveredCount:
          format: int32
          type: integer
        assessedCount:
          format: int32
          type: integer
        readyForMigration:
          format: int32
          type: integer
        migratingCount:
          format: int32
          type: integer
        migratedCount:
          format: int32
          type: integer
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
  parameters:
    migrateProjectName:
      name: migrateProjectName
      description: Name of the Azure Migrate project.
      in: path
      x-ms-parameter-location: method
      required: true
      schema:
        type: string
        pattern: ^[a-zA-Z0-9-]{3,24}$
    continuationToken:
      name: continuationToken
      description: The continuation token.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
    pageSize:
      name: pageSize
      description: The number of items to be returned in a single page. This value is honored only if it is less than the 100.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
    webServerId:
      name: webServerId
      description: The ARM name of the virtual desktop user.
      in: path
      x-ms-parameter-location: method
      required: true
      schema:
        type: string