Microsoft Azure Custom Resource Provider API

The CustomResourceProvider API from Microsoft Azure, for customresourceprovider.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 6

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 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName} Create or update a custom resource provider · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I register a custom resource provider in Azure?”
“Which location does a new custom resource provider need?”
Tell an agent
Create custom resource provider {resourceProviderName} in {location} under {resourceGroupName} of subscription {subscriptionId}.
Create or replace custom provider {resourceProviderName} in {location}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName} Delete a custom resource provider · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I delete a custom resource provider I built?”
“What happens to a custom provider's endpoints when it is deleted?”
Tell an agent destructive · confirm first
Delete custom resource provider {resourceProviderName} in {resourceGroupName} of subscription {subscriptionId}.
Remove custom provider {resourceProviderName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName} Get a custom resource provider manifest · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What actions and resource types does my custom resource provider define?”
“Can I read the manifest of one custom provider?”
Tell an agent
Get custom resource provider {resourceProviderName} in resource group {resourceGroupName} of subscription {subscriptionId}.
Show the manifest of custom provider {resourceProviderName}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName} Update tags on a custom resource provider · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change anything other than tags when patching a custom resource provider?”
“How can I retag an existing custom provider?”
Tell an agent
Update the tags on custom resource provider {resourceProviderName} in {resourceGroupName}, subscription {subscriptionId}, to {tags}.
Retag custom provider {resourceProviderName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders List custom resource providers in a group · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which custom resource providers exist in this resource group?”
“Can I list custom providers for a single resource group?”
Tell an agent
List custom resource providers in resource group {resourceGroupName} of subscription {subscriptionId}.
Show the custom providers under {resourceGroupName} of subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.CustomProviders/resourceProviders List custom resource providers in a subscription · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“What custom resource providers are registered across my subscription?”
“Is there a subscription-wide view of custom providers?”
Tell an agent
List all custom resource providers in subscription {subscriptionId}.
Show every custom provider across the subscription.

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-customresourceprovider-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-customresourceprovider-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2018-09-01-preview
  title: Microsoft Azure customproviders Custom Resource Provider 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: CustomResourceProvider
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}
  : put:
      tags:
      - CustomResourceProvider
      operationId: microsoftAzureCustomresourceproviderCreateorupdate
      x-ms-examples:
        Create or update the custom resource provider:
          $ref: examples/createOrUpdateCustomRP.json
      x-ms-long-running-operation: true
      description: Creates or updates the custom resource provider.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ResourceProviderNameParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK response definition. Resource already exists and the changes have been accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomRPManifest'
        '201':
          description: Created response definition. Resource has been created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomRPManifest'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomRPManifest'
        description: The parameters required to create or update a custom resource provider definition.
        required: true
    delete:
      tags:
      - CustomResourceProvider
      operationId: microsoftAzureCustomresourceproviderDelete
      x-ms-examples:
        Delete a custom resource provider:
          $ref: examples/deleteCustomRP.json
      x-ms-long-running-operation: true
      description: Deletes the custom resource provider.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ResourceProviderNameParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK resource deleted
        '202':
          description: OK resource delete has been accepted.
        '204':
          description: OK resource was not found.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    get:
      tags:
      - CustomResourceProvider
      operationId: microsoftAzureCustomresourceproviderGet
      x-ms-examples:
        Get a custom resource provider:
          $ref: examples/getCustomRP.json
      description: Gets the custom resource provider manifest.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ResourceProviderNameParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK response definition with the existing resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomRPManifest'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    patch:
      tags:
      - CustomResourceProvider
      operationId: microsoftAzureCustomresourceproviderUpdate
      x-ms-examples:
        Update a custom resource provider:
          $ref: examples/updateCustomRP.json
      description: Updates an existing custom resource provider. The only value that can be updated via PATCH currently is the tags.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ResourceProviderNameParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK response. The resource has been updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomRPManifest'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResourceProvidersUpdate'
        description: The updatable fields of a custom resource provider.
        required: true
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders:
    get:
      tags:
      - CustomResourceProvider
      operationId: microsoftAzureCustomresourceproviderListbyresourcegroup
      x-ms-examples:
        List all custom resource providers on the resourceGroup:
          $ref: examples/listCustomRPsByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
      description: Gets all the custom resource providers within a resource group.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK - Returns an array of custom resource providers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListByCustomRPManifest'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  /subscriptions/{subscriptionId}/providers/Microsoft.CustomProviders/resourceProviders:
    get:
      tags:
      - CustomResourceProvider
      operationId: microsoftAzureCustomresourceproviderListbysubscription
      x-ms-examples:
        List all custom resource providers on the subscription:
          $ref: examples/listCustomRPsBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      description: Gets all the custom resource providers within a subscription.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK - Returns an array of custom resource providers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListByCustomRPManifest'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft…
components:
  schemas:
    ListByCustomRPManifest:
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/CustomRPManifest'
          description: The array of custom resource provider manifests.
        nextLink:
          type: string
          description: The URL to use for getting the next set of results.
      description: List of custom resource providers.
    CustomRPActionRouteDefinition:
      description: The route definition for an action implemented by the custom resource provider.
      properties:
        routingType:
          type: string
          description: The routing types that are supported for action requests.
          x-ms-enum:
            modelAsString: true
            name: ActionRouting
          enum:
          - Proxy
      allOf:
      - $ref: '#/components/schemas/CustomRPRouteDefinition'
    ErrorResponse:
      description: Error response.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDefinition'
          description: The error details.
    ResourceProvidersUpdate:
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: Resource tags
      description: custom resource provider update information.
    CustomRPManifest:
      properties:
        properties:
          type: object
          x-ms-client-flatten: true
          description: The manifest for the custom resource provider
          properties:
            actions:
              type: array
              description: A list of actions that the custom resource provider implements.
              items:
                $ref: '#/components/schemas/CustomRPActionRouteDefinition'
              x-ms-identifiers:
              - name
              - endpoint
            resourceTypes:
              type: array
              description: A list of resource types that the custom resource provider implements.
              items:
                $ref: '#/components/schemas/CustomRPResourceTypeRouteDefinition'
              x-ms-identifiers:
              - name
              - endpoint
            validations:
              type: array
              description: A list of validations to run on the custom resource provider's requests.
              items:
                $ref: '#/components/schemas/CustomRPValidations'
              x-ms-identifiers: []
            provisioningState:
              type: string
              description: The provisioning state of the resource provider.
              readOnly: true
              x-ms-enum:
                modelAsString: true
                name: ProvisioningState
              enum:
              - Accepted
              - Deleting
              - Running
              - Succeeded
              - Failed
      allOf:
      - $ref: '#/components/schemas/Resource'
      description: A manifest file that defines the custom resource provider resources.
    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
    CustomRPRouteDefinition:
      description: A route definition that defines an action or resource that can be interacted with through the custom resource provider.
      required:
      - name
      - endpoint
      properties:
        name:
          type: string
          description: The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
        endpoint:
          type: string
          description: The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
          pattern: ^https://.+
    CustomRPResourceTypeRouteDefinition:
      description: The route definition for a resource implemented by the custom resource provider.
      properties:
        routingType:
          type: string
          description: The routing types that are supported for resource requests.
          x-ms-enum:
            modelAsString: true
            name: ResourceTypeRouting
          enum:
          - Proxy
          - Proxy,Cache
      allOf:
      - $ref: '#/components/schemas/CustomRPRouteDefinition'
    CustomRPValidations:
      description: A validation to apply on custom resource provider requests.
      required:
      - specification
      properties:
        validationType:
          type: string
          description: The type of validation to run against a matching request.
          x-ms-enum:
            modelAsString: true
            name: ValidationType
          enum:
          - Swagger
        specification:
          type: string
          description: A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
          pattern: ^https://raw.githubusercontent.com/.+
    Resource:
      properties:
        id:
          readOnly: true
          type: string
          description: Resource Id
        name:
          readOnly: true
          type: string
          description: Resource name
        type:
          readOnly: true
          type: string
          description: Resource type
        location:
          type: string
          description: Resource location
          x-ms-mutability:
          - read
          - create
        tags:
          type: object
          additionalProperties:
            type: string
          description: Resource tags
      required:
      - location
      description: The resource definition.
      x-ms-azure-resource: true
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
      schema:
        type: string
    ResourceProviderNameParameter:
      name: resourceProviderName
      in: path
      required: true
      description: The name of the resource provider.
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 64
        minLength: 3
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to be used with the HTTP request.
      schema:
        type: string
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      required: true
      description: The name of the resource group.
      x-ms-parameter-location: method
      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)