Microsoft Azure Bicep Client API

The BicepClient API from Microsoft Azure, for bicepclient.

GitHub OpenAPI

Operations 1

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

POST /subscriptions/{subscriptionId}/providers/Microsoft.Resources/decompileBicep Convert an ARM template to Bicep · Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Resources… #
Ask an LLM
“Can I turn an existing ARM JSON template into a Bicep file?”
“Is there a way to decompile an ARM template to Bicep?”
Tell an agent
Decompile this ARM template into Bicep: {template}.
Convert ARM JSON {template} to a Bicep template.

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-bicepclient-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-bicepclient-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Bicep Client API
  description: The APIs listed in this specification can be used to manage Bicep related operations through the Azure Resource Manager.
  version: '2023-11-01'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: BicepClient
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/decompileBicep:
    post:
      tags:
      - BicepClient
      operationId: microsoftAzureDecompileBicep
      description: Decompiles an ARM json template into a Bicep template
      x-ms-examples:
        Decompile an ARM json template into a Bicep file:
          $ref: ./examples/DecompileBicep.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK - The decompilation has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecompileOperationSuccessResponse'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Resources…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DecompileOperationRequest'
        description: Decompile operation request supplied to the operation.
        required: true
components:
  schemas:
    FileDefinition:
      type: object
      properties:
        path:
          type: string
        contents:
          type: string
      description: The definition of a file along with its contents
    DecompileOperationSuccessResponse:
      required:
      - files
      - entryPoint
      type: object
      description: The response of the decompileBicep operation
      properties:
        files:
          type: array
          items:
            $ref: '#/components/schemas/FileDefinition'
          x-ms-identifiers:
          - path
          description: An array of key-value pairs containing the entryPoint string as the key for the Bicep file decompiled from the ARM json template
        entryPoint:
          type: string
          description: The file path to the main Bicep file generated from the decompiled ARM json template.
    DecompileOperationRequest:
      required:
      - template
      type: object
      description: The body of the request for the decompileBicep operation
      properties:
        template:
          type: string
          description: The ARM json template to be decompiled into a Bicep file
  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