Microsoft Azure Associations API

The Associations API from Microsoft Azure, for associations.

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

PUT /{scope}/providers/Microsoft.CustomProviders/associations/{associationName} Create or update a custom provider association · Microsoft Azure Put Scope Providers Microsoft Customproviders Associations… #
Ask an LLM
“How do I associate an existing Azure resource with my custom resource provider?”
“Can I change the target of an existing association?”
Tell an agent
Create association {associationName} at scope {scope} with properties {properties}.
Link the resource at {scope} to my custom provider as association {associationName}.
DELETE /{scope}/providers/Microsoft.CustomProviders/associations/{associationName} Delete a custom provider association · Microsoft Azure Delete Scope Providers Microsoft Customproviders Associations… #
Ask an LLM
“How do I unlink a resource from my custom resource provider?”
“Can I delete an association without deleting the resource itself?”
Tell an agent destructive · confirm first
Delete association {associationName} at scope {scope}.
Remove the custom provider association {associationName} from {scope}.
GET /{scope}/providers/Microsoft.CustomProviders/associations/{associationName} Get a custom provider association · Microsoft Azure Get Scope Providers Microsoft Customproviders Associations… #
Ask an LLM
“What target resource does a custom provider association point to?”
“Can I look up one custom resource provider association by name?”
Tell an agent
Show association {associationName} at scope {scope}.
Get the custom provider association {associationName} on {scope}.
GET /{scope}/providers/Microsoft.CustomProviders/associations List custom provider associations at a scope · Microsoft Azure Get Scope Providers Microsoft Customproviders Associations #
Ask an LLM
“Which custom provider associations exist on a given resource scope?”
“What resources are associated with custom providers under this scope?”
Tell an agent
List all associations at scope {scope}.
Show every custom provider association under {scope}.

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-associations-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-associations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2018-09-01-preview
  title: Microsoft Azure customproviders Associations API
  description: Allows extension of ARM control plane with custom resource providers.
  x-ms-code-generation-settings:
    name: CustomProvidersClient
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Associations
paths:
  /{scope}/providers/Microsoft.CustomProviders/associations/{associationName}:
    put:
      tags:
      - Associations
      operationId: microsoftAzureAssociationsCreateorupdate
      x-ms-long-running-operation: true
      description: Create or update an association.
      x-ms-examples:
        Create or update an association:
          $ref: examples/createOrUpdateAssociation.json
      parameters:
      - name: scope
        in: path
        required: true
        description: The scope of the association. The scope can be any valid REST resource instance. For example, use '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}' for a virtual machine resource.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: associationName
        in: path
        required: true
        description: The name of the association.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK. Association already exists and the changes have been accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Association'
        '201':
          description: Created. Association has been created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Association'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Put Scope Providers Microsoft Customproviders Associations…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Association'
        description: The parameters required to create or update an association.
        required: true
    delete:
      tags:
      - Associations
      operationId: microsoftAzureAssociationsDelete
      x-ms-long-running-operation: true
      description: Delete an association.
      x-ms-examples:
        Delete an association:
          $ref: examples/deleteAssociation.json
      parameters:
      - name: scope
        in: path
        required: true
        description: The scope of the association.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: associationName
        in: path
        required: true
        description: The name of the association.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK. Association deleted.
        '202':
          description: Accepted. Association delete has been accepted.
        '204':
          description: No Content. Association was not found.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Delete Scope Providers Microsoft Customproviders Associations…
    get:
      tags:
      - Associations
      operationId: microsoftAzureAssociationsGet
      description: Get an association.
      x-ms-examples:
        Get an association:
          $ref: examples/getAssociation.json
      parameters:
      - name: scope
        in: path
        required: true
        description: The scope of the association.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: associationName
        in: path
        required: true
        description: The name of the association.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK. Returns association.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Association'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Scope Providers Microsoft Customproviders Associations…
  /{scope}/providers/Microsoft.CustomProviders/associations:
    get:
      tags:
      - Associations
      operationId: microsoftAzureAssociationsListall
      description: Gets all association for the given scope.
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Get all associations:
          $ref: examples/getAllAssociations.json
      parameters:
      - name: scope
        in: path
        required: true
        description: The scope of the association.
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK. Returns all associations for the given scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssociationsList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Scope Providers Microsoft Customproviders Associations
components:
  schemas:
    AssociationsList:
      description: List of associations.
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/Association'
          description: The array of associations.
        nextLink:
          type: string
          description: The URL to use for getting the next set of results.
    ErrorResponse:
      description: Error response.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDefinition'
          description: The error details.
    ErrorDefinition:
      description: Error definition.
      properties:
        code:
          description: Service specific error code which serves as the substatus for the HTTP error code.
          type: string
          readOnly: true
        message:
          description: Description of the error.
          type: string
          readOnly: true
        details:
          description: Internal error details.
          type: array
          items:
            $ref: '#/components/schemas/ErrorDefinition'
          x-ms-identifiers: []
          readOnly: true
    Association:
      x-ms-azure-resource: true
      x-ms-client-flatten: true
      description: The resource definition of this association.
      properties:
        id:
          type: string
          readOnly: true
          description: The association id.
        name:
          type: string
          readOnly: true
          description: The association name.
        type:
          type: string
          readOnly: true
          description: The association type.
        properties:
          type: object
          description: The properties of the association.
          x-ms-client-flatten: true
          properties:
            targetResourceId:
              type: string
              description: The REST resource instance of the target resource for this association.
            provisioningState:
              type: string
              description: The provisioning state of the association.
              readOnly: true
              x-ms-enum:
                modelAsString: true
                name: ProvisioningState
              enum:
              - Accepted
              - Deleting
              - Running
              - Succeeded
              - Failed
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to be used with the HTTP request.
      schema:
        type: string
  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
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)