Azure Migrate Web Servers Controller API

The WebServersController API from Azure Migrate — 3 operation(s) for webserverscontroller.

GitHub OpenAPI

Operations 3

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/webServers Web servers controller list by web app site #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/webServers Gets a list of WebServers in the migrate project #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/webServers/{webServerId} Gets a webserver in the migrate project #

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-migrate:microsoft-azure-migrate-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-migrate-webserverscontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Migrate Discovery Service Web Servers Controller API
  version: '2023-06-06'
  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: WebServersController_ListByWebAppSite
      tags:
      - WebServersController
      description: Method to get all web servers.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/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: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Web servers controller list by web app site
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/webServers
  : get:
      tags:
      - WebServersController
      summary: Gets a list of WebServers in the migrate project
      operationId: WebServersController_ListWebServers
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/migrateProjectName'
      - $ref: '#/components/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: '#/components/schemas/ErrorResponse'
      deprecated: false
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/webServers/{webServerId}
  : get:
      tags:
      - WebServersController
      summary: Gets a webserver in the migrate project
      operationId: WebServersController_GetWebServer
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/migrateProjectName'
      - $ref: '#/components/parameters/webServerId'
      - $ref: '#/components/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: '#/components/schemas/ErrorResponse'
      deprecated: false
components:
  schemas:
    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.
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    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
    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
    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: '#/components/schemas/ProxyResource'
    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.
    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.
    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
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    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
    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
    WebServerCollection:
      type: object
      description: Collection of web servers.
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/WebServer'
        nextLink:
          type: string
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription.
      required: true
      schema:
        type: string
        minLength: 1
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    continuationToken:
      name: continuationToken
      description: The continuation token.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
    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}$
    webServerId:
      name: webServerId
      description: The ARM name of the virtual desktop user.
      in: path
      x-ms-parameter-location: method
      required: true
      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
  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.