Microsoft Azure Master Sites Controller API

The MasterSitesController API from Microsoft Azure, for mastersitescontroller.

GitHub OpenAPI

Operations 7

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}/providers/Microsoft.OffAzure/masterSites List master sites in a subscription · Microsoft Azure Get All The Sites In The Subscription #
Ask an LLM
“Which Azure Migrate master sites exist across my subscription?”
“Can I see every OffAzure master site without choosing a resource group?”
Tell an agent
List all master sites in my subscription.
Show every OffAzure master site subscription-wide.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites List master sites in a resource group · Microsoft Azure Get All Sites #
Ask an LLM
“What master sites are in my current resource group?”
“Can I scope the master site list to one resource group?”
Tell an agent
List the master sites in this resource group.
Show OffAzure master sites for the resource group only.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName} Get a master site · Microsoft Azure Method To Get A Master Site #
Ask an LLM
“What are the properties of a specific master site?”
“Can I look up one OffAzure master site by name?”
Tell an agent
Get master site {site}.
Show details for OffAzure master site {site}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName} Create or replace a master site · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I create a new master site for on-premises discovery?”
“What's required to set up an OffAzure master site from scratch?”
Tell an agent
Create master site {site}.
Create or replace master site {site} with properties {properties}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName} Update an existing master site · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change the tags on a master site that already exists?”
“What fields of an existing OffAzure master site can I patch?”
Tell an agent
Update existing master site {site} with tags {tags}.
Patch properties {properties} on master site {site}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName} Delete a master site · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I delete a master site I no longer use?”
“Is there a way to remove an OffAzure master site entirely?”
Tell an agent destructive · confirm first
Delete master site {site}.
Remove OffAzure master site {site}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/errorSummary Get an appliance's error summary from a master site · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I see a summary of errors an appliance reported to its master site?”
“What errors has a specific discovery appliance hit?”
Tell an agent
Get the error summary for appliance {appliance} from master site {site}.
Summarize errors for appliance {appliance} on site {site}.

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-mastersitescontroller-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-mastersitescontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Migrate Discovery Service Master…
  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: MasterSitesController
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/masterSites:
    get:
      operationId: microsoftAzureMastersitescontrollerListbysubscription
      tags:
      - MasterSitesController
      summary: Microsoft Azure Get All The Sites In The Subscription
      description: List MasterSite resources by subscription ID
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MasterSiteListResult'
        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:
        MasterSitesController_ListBySubscription_MaximumSet_Gen:
          $ref: ./examples/MasterSitesController_ListBySubscription_MaximumSet_Gen.json
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites:
    get:
      operationId: microsoftAzureMastersitescontrollerListbyresourcegroup
      tags:
      - MasterSitesController
      summary: Microsoft Azure Get All Sites
      description: Get all the sites in the resource group.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MasterSiteListResult'
        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:
        MasterSitesController_ListByResourceGroup_MaximumSet_Gen:
          $ref: ./examples/MasterSitesController_ListByResourceGroup_MaximumSet_Gen.json
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}:
    get:
      operationId: microsoftAzureMastersitescontrollerGet
      tags:
      - MasterSitesController
      summary: Microsoft Azure Method To Get A Master Site
      description: Get a MasterSite
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: siteName
        in: path
        description: 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/MasterSite'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        MasterSitesController_Get_MaximumSet_Gen:
          $ref: ./examples/MasterSitesController_Get_MaximumSet_Gen.json
    put:
      operationId: microsoftAzureMastersitescontrollerCreate
      tags:
      - MasterSitesController
      description: Method to create or update a site.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: siteName
        in: path
        description: Site name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: ARM update operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MasterSite'
        '201':
          description: ARM create operation completed successfully.
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MasterSite'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      x-ms-examples:
        MasterSitesController_Create_MaximumSet_Gen:
          $ref: ./examples/MasterSitesController_Create_MaximumSet_Gen.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MasterSite'
        description: Resource create parameters.
        required: true
    patch:
      operationId: microsoftAzureMastersitescontrollerUpdate
      tags:
      - MasterSitesController
      description: Method to update an existing site.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: siteName
        in: path
        description: 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/MasterSite'
        '202':
          description: Resource update request accepted.
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      x-ms-examples:
        MasterSitesController_Update_MaximumSet_Gen:
          $ref: ./examples/MasterSitesController_Update_MaximumSet_Gen.json
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MasterSiteUpdate'
        description: The resource properties to be updated.
        required: true
    delete:
      operationId: microsoftAzureMastersitescontrollerDelete
      tags:
      - MasterSitesController
      description: Method to delete a site.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: siteName
        in: path
        description: Site name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource deleted successfully.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        MasterSitesController_Delete_MaximumSet_Gen:
          $ref: ./examples/MasterSitesController_Delete_MaximumSet_Gen.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/errorSummary
  : post:
      operationId: microsoftAzureMastersitescontrollerErrorsummary
      tags:
      - MasterSitesController
      description: Method to get error summary from master site for an appliance.
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: siteName
        in: path
        description: 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/SiteErrorSummary'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        MasterSitesController_ErrorSummary_MaximumSet_Gen:
          $ref: ./examples/MasterSitesController_ErrorSummary_MaximumSet_Gen.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorSummaryRequest'
        description: The content of the action request
        required: true
components:
  schemas:
    MasterSiteProperties:
      type: object
      description: Class for site properties.
      properties:
        publicNetworkAccess:
          $ref: '#/components/schemas/MasterSitePropertiesPublicNetworkAccess'
          description: Gets or sets the state of public network access.
        allowMultipleSites:
          type: boolean
          description: 'Gets or sets a value indicating whether multiple sites per site type are

            allowed.'
        sites:
          type: array
          description: "Gets or sets the sites that are a part of Master Site.\n            The key\nshould contain the Site ARM name."
          items:
            type: string
        customerStorageAccountArmId:
          type: string
          description: Gets or sets a value for customer storage account ARM id.
        privateEndpointConnections:
          type: array
          description: Gets the private endpoint connections.
          items:
            $ref: '#/components/schemas/PrivateEndpointConnection'
          readOnly: true
        nestedSites:
          type: array
          description: Gets the nested sites under Master Site.
          items:
            type: string
          readOnly: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: provisioning state enum
          readOnly: true
    DiscoveryScopes:
      type: string
      description: Discovery scopes
      enum:
      - AppsAndRoles
      - DependencyMap
      - StaticData
      - SQLServerConnectionInfo
      x-ms-enum:
        name: DiscoveryScopes
        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.
    MasterSiteListResult:
      type: object
      description: The response of a MasterSite list operation.
      properties:
        value:
          type: array
          description: The MasterSite items on this page
          items:
            $ref: '#/components/schemas/MasterSite'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    PrivateEndpointConnection:
      type: object
      description: REST model used to encapsulate Private Link properties for tracked resources.
      properties:
        properties:
          $ref: '#/components/schemas/PrivateEndpointConnectionPropertiesV2'
          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
    MasterSitePropertiesPublicNetworkAccess:
      type: string
      description: PublicNetworkAccess
      enum:
      - NotSpecified
      - Enabled
      - Disabled
      x-ms-enum:
        name: MasterSitePropertiesPublicNetworkAccess
        modelAsString: true
        values:
        - name: NotSpecified
          value: NotSpecified
          description: NotSpecified value.
        - name: Enabled
          value: Enabled
          description: Enabled value.
        - name: Disabled
          value: Disabled
          description: Disabled value.
    PrivateLinkServiceConnectionStateStatus:
      type: string
      description: PrivateLinkServiceConnectionState
      enum:
      - Approved
      - Pending
      - Rejected
      - Disconnected
      x-ms-enum:
        name: PrivateLinkServiceConnectionStateStatus
        modelAsString: true
        values:
        - name: Approved
          value: Approved
          description: Approved value.
        - name: Pending
          value: Pending
          description: Pending value.
        - name: Rejected
          value: Rejected
          description: Rejected value.
        - name: Disconnected
          value: Disconnected
          description: Disconnected value.
    ErrorSummaryRequest:
      type: object
      description: ErrorSummaryRequest body
      properties:
        applianceName:
          type: string
          description: Gets or sets the Appliance Name.
    MasterSite:
      type: object
      description: A MasterSite
      properties:
        properties:
          $ref: '#/components/schemas/MasterSiteProperties'
          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/TrackedResource
    MasterSiteUpdateProperties:
      type: object
      description: The updatable properties of the MasterSite.
      properties:
        publicNetworkAccess:
          $ref: '#/components/schemas/MasterSitePropertiesPublicNetworkAccess'
          description: Gets or sets the state of public network access.
        allowMultipleSites:
          type: boolean
          description: 'Gets or sets a value indicating whether multiple sites per site type are

            allowed.'
        sites:
          type: array
          description: "Gets or sets the sites that are a part of Master Site.\n            The key\nshould contain the Site ARM name."
          items:
            type: string
        customerStorageAccountArmId:
          type: string
          description: Gets or sets a value for customer storage account ARM id.
    DiscoveryScopeErrorSummary:
      type: object
      description: The site error summary model.
      properties:
        affectedResourceType:
          type: string
          description: Gets or sets the affected resource type.
        affectedObjectsCount:
          type: integer
          format: int64
          description: Count of affected objects.
        discoveryScope:
          $ref: '#/components/schemas/DiscoveryScopes'
          description: Gets or sets the count of affected objects.
      required:
      - affectedResourceType
      - affectedObjectsCount
      - discoveryScope
    SiteErrorSummary:
      type: object
      description: Site error summary.
      properties:
        applianceName:
          type: string
          description: Appliance Name.
        discoveryScopeErrorSummaries:
          $ref: '#/components/schemas/DiscoveryScopeErrorSummary'
          description: Gets the error message.
        nextLink:
          type: string
          description: The link to fetch more models.
      required:
      - applianceName
      - discoveryScopeErrorSummaries
    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.
    PrivateEndpointConnectionPropertiesV2:
      type: object
      description: PrivateEndpointConnectionProperties V2
      properties:
        groupIds:
          type: array
          description: array of group ids
          items:
            type: string
          readOnly: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: provisioning state enum
          readOnly: true
        privateEndpoint:
          $ref: '#/components/schemas/ResourceId'
          description: private endpoints
          readOnly: true
        privateLinkServiceConnectionState:
          $ref: '#/components/schemas/PrivateLinkServiceConnectionState'
          description: private endpoints connection state
    ResourceId:
      type: object
      description: PrivateEndpointModelsResourceId
      properties:
        id:
          type: string
          description: id name
          readOnly: true
    MasterSiteUpdate:
      type: object
      description: The type used for update operations of the MasterSite.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
        properties:
          $ref: '#/components/schemas/MasterSiteUpdateProperties'
          x-ms-client-flatten: true
    PrivateLinkServiceConnectionState:
      type: object
      description: Service Connection State
      properties:
        status:
          $ref: '#/components/schemas/PrivateLinkServiceConnectionStateStatus'
          description: state status
        description:
          type: string
          description: description string
        actionsRequired:
          type: string
          description: actions required
  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.