Microsoft Azure Sql Collector Operations API

The SqlCollectorOperations API from Microsoft Azure, for sqlcollectoroperations.

GitHub OpenAPI

Operations 4

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.Migrate/assessmentProjects/{projectName}/sqlcollectors List SQL collectors in an assessment project · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which SQL collectors are registered in my Azure Migrate assessment project?”
“How do I see the SQL discovery collectors for a migration project?”
Tell an agent
List SQL collectors in assessment project {projectName}.
Show every SQL collector registered to migrate project {projectName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/sqlcollectors/{collectorName} Get a SQL collector · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I look up one SQL collector in an assessment project?”
“What details does a SQL collector report?”
Tell an agent
Get SQL collector {collectorName} in assessment project {projectName}.
Show the details of SQL collector {collectorName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/sqlcollectors/{collectorName} Create a SQL collector · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I register a new SQL collector for an Azure Migrate assessment?”
“Can I add a SQL collector to an existing assessment project?”
Tell an agent
Create SQL collector {collectorName} in assessment project {projectName}.
Register SQL collector {collectorName} with properties {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/sqlcollectors/{collectorName} Delete a SQL collector · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I remove a SQL collector from my assessment project?”
“How do I unregister a SQL collector I no longer use?”
Tell an agent destructive · confirm first
Delete SQL collector {collectorName} from assessment project {projectName}.
Unregister the SQL collector {collectorName}.

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-sqlcollectoroperations-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-sqlcollectoroperations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Migrate Assessment Service Sql…
  version: 2023-04-01-preview
  description: Azure Migrate 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: SqlCollectorOperations
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/sqlcollectors
  : get:
      operationId: microsoftAzureSqlcollectoroperationsListbyassessmentproject
      tags:
      - SqlCollectorOperations
      description: List SqlCollector resources by AssessmentProject
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: projectName
        in: path
        description: Assessment Project Name
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SqlCollectorListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        SqlCollectorOperations_ListByAssessmentProject_MaximumSet_Gen:
          $ref: ./examples/SqlCollectorOperations_ListByAssessmentProject_MaximumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/sqlcollectors/{collectorName}
  : get:
      operationId: microsoftAzureSqlcollectoroperationsGet
      tags:
      - SqlCollectorOperations
      description: Get a SqlCollector
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: projectName
        in: path
        description: Assessment Project Name
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      - name: collectorName
        in: path
        description: Sql collector ARM name.
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SqlCollector'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        SqlCollectorOperations_Get_MaximumSet_Gen:
          $ref: ./examples/SqlCollectorOperations_Get_MaximumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      operationId: microsoftAzureSqlcollectoroperationsCreate
      tags:
      - SqlCollectorOperations
      description: Create a SqlCollector
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: projectName
        in: path
        description: Assessment Project Name
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      - name: collectorName
        in: path
        description: Sql collector ARM name.
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      responses:
        '200':
          description: Resource 'SqlCollector' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SqlCollector'
        '201':
          description: Resource 'SqlCollector' create operation succeeded
          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/SqlCollector'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      x-ms-examples:
        SqlCollectorOperations_Create_MaximumSet_Gen:
          $ref: ./examples/SqlCollectorOperations_Create_MaximumSet_Gen.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SqlCollector'
        description: Resource create parameters.
        required: true
    delete:
      operationId: microsoftAzureSqlcollectoroperationsDelete
      tags:
      - SqlCollectorOperations
      description: Delete a SqlCollector
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: projectName
        in: path
        description: Assessment Project Name
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      - name: collectorName
        in: path
        description: Sql collector ARM name.
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      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/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        SqlCollectorOperations_Delete_MaximumSet_Gen:
          $ref: ./examples/SqlCollectorOperations_Delete_MaximumSet_Gen.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    CollectorPropertiesBaseWithAgent:
      type: object
      description: Collector properties class.
      properties:
        agentProperties:
          $ref: '#/components/schemas/CollectorAgentPropertiesBase'
          description: Gets or sets the collector agent properties.
        discoverySiteId:
          type: string
          description: Gets the discovery site id.
        createdTimestamp:
          type: string
          format: date-time
          description: Gets the Timestamp when collector was created.
          readOnly: true
        updatedTimestamp:
          type: string
          format: date-time
          description: Timestamp when collector was last updated.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/AzureResourceProperties'
    SqlCollectorListResult:
      type: object
      description: The response of a SqlCollector list operation.
      properties:
        value:
          type: array
          description: The SqlCollector items on this page
          items:
            $ref: '#/components/schemas/SqlCollector'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    CollectorAgentSpnPropertiesBase:
      type: object
      description: Collector agent SPN details class.
      properties:
        authority:
          type: string
          description: Gets the AAD authority endpoint.
        applicationId:
          type: string
          description: Gets the AAD application id.
        audience:
          type: string
          description: Gets the AAD audience url.
        objectId:
          type: string
          description: Gets the object id of the AAD application.
        tenantId:
          type: string
          description: Gets the tenant id of the AAD application.
    ProvisioningState:
      type: string
      description: The status of the current operation.
      enum:
      - Succeeded
      - Failed
      - Canceled
      - Provisioning
      - Updating
      - Deleting
      - Accepted
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Resource has been created.
        - name: Failed
          value: Failed
          description: Resource creation failed.
        - name: Canceled
          value: Canceled
          description: Resource creation was canceled.
        - name: Provisioning
          value: Provisioning
          description: Resource is being Provisioned.
        - name: Updating
          value: Updating
          description: Resource is being Updated.
        - name: Deleting
          value: Deleting
          description: Resource is being Deleted.
        - name: Accepted
          value: Accepted
          description: Resource is being Accepted.
    CollectorAgentPropertiesBase:
      type: object
      description: Collector agent property class.
      properties:
        id:
          type: string
          description: Gets the collector agent id.
        version:
          type: string
          description: Gets the collector agent version.
        lastHeartbeatUtc:
          type: string
          format: date-time
          description: Gets the collector last heartbeat time.
        spnDetails:
          $ref: '#/components/schemas/CollectorAgentSpnPropertiesBase'
          description: Gets or sets the SPN details.
    SqlCollector:
      type: object
      description: The SQL collector REST object.
      properties:
        properties:
          $ref: '#/components/schemas/CollectorPropertiesBaseWithAgent'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
      allOf:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
    AzureResourceProperties:
      type: object
      description: Common properties for all azure tracked and proxy resources.
      properties:
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The status of the last operation.
  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.