Azure Migrate Master Sites Controller API
The MasterSitesController API from Azure Migrate — 4 operation(s) for mastersitescontroller.
The MasterSitesController API from Azure Migrate — 4 operation(s) for mastersitescontroller.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/microsoft-azure-migrate:microsoft-azure-migrate-mastersitescontroller-api"
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.
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: 3.2.0
info:
title: Azure Migrate Discovery Service Master Sites 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: MasterSitesController
paths:
/subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/masterSites:
get:
operationId: MasterSitesController_ListBySubscription
tags:
- MasterSitesController
summary: Get all the sites in the subscription
description: List MasterSite resources by subscription ID
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites:
get:
operationId: MasterSitesController_ListByResourceGroup
tags:
- MasterSitesController
summary: Get all sites
description: Get all the sites in the resource group.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}:
get:
operationId: MasterSitesController_Get
tags:
- MasterSitesController
summary: Method to get a master site
description: Get a MasterSite
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
put:
operationId: MasterSitesController_Create
tags:
- MasterSitesController
description: Method to create or update a site.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MasterSite'
description: Resource create parameters.
required: true
summary: Master sites controller create
x-summary-source: derived
patch:
operationId: MasterSitesController_Update
tags:
- MasterSitesController
description: Method to update an existing site.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MasterSiteUpdate'
description: The resource properties to be updated.
required: true
summary: Master sites controller update
x-summary-source: derived
delete:
operationId: MasterSitesController_Delete
tags:
- MasterSitesController
description: Method to delete a site.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
summary: Master sites controller delete
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/errorSummary
: post:
operationId: MasterSitesController_ErrorSummary
tags:
- MasterSitesController
description: Method to get error summary from master site for an appliance.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSummaryRequest'
description: The content of the action request
required: true
summary: Master sites controller error summary
x-summary-source: derived
components:
schemas:
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
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
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
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.
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: '#/components/schemas/ProxyResource'
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
ErrorSummaryRequest:
type: object
description: ErrorSummaryRequest body
properties:
applianceName:
type: string
description: Gets or sets the Appliance Name.
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.
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: '#/components/schemas/TrackedResource'
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.
TrackedResource:
type: object
title: Tracked Resource
description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
properties:
tags:
type: object
description: Resource tags.
additionalProperties:
type: string
x-ms-mutability:
- read
- create
- update
location:
type: string
description: The geo-location where the resource lives
x-ms-mutability:
- read
- create
required:
- location
allOf:
- $ref: '#/components/schemas/Resource'
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
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
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.
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
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.
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'
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.
parameters:
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
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription.
required: true
schema:
type: string
minLength: 1
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
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.