Microsoft Azure Environment Definitions API

The Environment Definitions API from Microsoft Azure, for environment definitions.

GitHub OpenAPI

Operations 3

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 /projects/{projectName}/environmentDefinitions List environment definitions for a project · Microsoft Azure Get Projects Projectname Environmentdefinitions #
Ask an LLM
“Which environment templates can I deploy in my Azure Deployment Environments project?”
“What environment definitions are available across all catalogs in a project?”
Tell an agent
List every environment definition available to dev center project {projectName}.
Show all deployable environment templates across the project's catalogs.
GET /projects/{projectName}/catalogs/{catalogName}/environmentDefinitions List environment definitions in a catalog · Microsoft Azure Get Projects Projectname Catalogs Catalogname… #
Ask an LLM
“What environment definitions does one specific catalog provide?”
“Can I list templates from just a single catalog?”
Tell an agent
List environment definitions in catalog {catalogName} of project {projectName}.
Show the templates published by catalog {catalogName}.
GET /projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName} Get an environment definition · Microsoft Azure Get Projects Projectname Catalogs Catalogname… #
Ask an LLM
“What parameters does an environment definition expect?”
“How do I inspect one environment template from a catalog?”
Tell an agent
Get environment definition {definitionName} from catalog {catalogName} in project {projectName}.
Show the parameters of template {definitionName} in {catalogName}.

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-environment-definitions-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-environment-definitions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2023-09-01-preview
  title: Microsoft Azure DevCenter Environment Definitions API
  description: Deployment Environments API.
security:
- AADToken:
  - user_impersonation
tags:
- name: Environment Definitions
paths:
  /projects/{projectName}/environmentDefinitions:
    get:
      tags:
      - Environment Definitions
      description: Lists all environment definitions available for a project.
      parameters:
      - $ref: devcenter.json#/parameters/ApiVersionParameter
      - $ref: devcenter.json#/parameters/ProjectNameParameter
      - $ref: devcenter.json#/parameters/TopParameter
      operationId: microsoftAzureEnvironmentsListenvironmentdefinitionsbyproject
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentDefinitionListResult'
        default:
          description: Error response describing why the operation failed.
          headers:
            x-ms-error-code:
              description: The error code for specific error that occurred.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: devcenter.json#/definitions/CloudError
      x-ms-examples:
        Environments_ListEnvironmentDefinitions:
          $ref: ./examples/EnvironmentDefinitions_ListByProject.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Projects Projectname Environmentdefinitions
  /projects/{projectName}/catalogs/{catalogName}/environmentDefinitions:
    get:
      tags:
      - Environment Definitions
      description: Lists all environment definitions available within a catalog.
      parameters:
      - $ref: devcenter.json#/parameters/ApiVersionParameter
      - $ref: devcenter.json#/parameters/ProjectNameParameter
      - $ref: devcenter.json#/parameters/TopParameter
      - $ref: '#/components/parameters/CatalogNameParameter'
      operationId: microsoftAzureEnvironmentsListenvironmentdefinitionsbycatalog
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentDefinitionListResult'
        default:
          description: Error response describing why the operation failed.
          headers:
            x-ms-error-code:
              description: The error code for specific error that occurred.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: devcenter.json#/definitions/CloudError
      x-ms-examples:
        Environments_ListEnvironmentDefinitionsByCatalog:
          $ref: ./examples/EnvironmentDefinitions_ListByCatalog.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Projects Projectname Catalogs Catalogname…
  /projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}:
    get:
      tags:
      - Environment Definitions
      description: Get an environment definition from a catalog.
      parameters:
      - $ref: devcenter.json#/parameters/ApiVersionParameter
      - $ref: devcenter.json#/parameters/ProjectNameParameter
      - $ref: '#/components/parameters/CatalogNameParameter'
      - $ref: '#/components/parameters/EnvironmentDefinitionNameParameter'
      operationId: microsoftAzureEnvironmentsGetenvironmentdefinition
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentDefinition'
        default:
          description: Error response describing why the operation failed.
          headers:
            x-ms-error-code:
              description: The error code for specific error that occurred.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: devcenter.json#/definitions/CloudError
      x-ms-examples:
        Environments_GetEnvironmentDefinition:
          $ref: ./examples/EnvironmentDefinitions_Get.json
      summary: Microsoft Azure Get Projects Projectname Catalogs Catalogname…
components:
  schemas:
    EnvironmentDefinition:
      description: An environment definition.
      type: object
      properties:
        uri:
          description: The unique URI of the environment definition
          type: string
        id:
          description: The ID of the environment definition.
          type: string
        name:
          description: Name of the environment definition.
          type: string
        catalogName:
          description: Name of the catalog.
          type: string
        description:
          description: A short description of the environment definition.
          type: string
        parameters:
          type: array
          items:
            $ref: '#/components/schemas/EnvironmentDefinitionParameter'
          description: Input parameters passed to an environment.
        parametersSchema:
          type: string
          description: JSON schema defining the parameters object passed to an environment.
        templatePath:
          description: Path to the Environment Definition entrypoint file.
          type: string
      required:
      - name
      - uri
      - catalogName
      - id
    ParameterType:
      type: string
      enum:
      - array
      - boolean
      - integer
      - number
      - object
      - string
      description: The type of data a parameter accepts.
      x-ms-enum:
        name: ParameterType
        modelAsString: true
        values:
        - value: array
          description: The parameter accepts an array of values.
        - value: boolean
          description: The parameter accepts a boolean value.
        - value: integer
          description: The parameter accepts an integer value.
        - value: number
          description: The parameter accepts a number value.
        - value: object
          description: The parameter accepts an object value.
        - value: string
          description: The parameter accepts a string value.
    EnvironmentDefinitionParameter:
      type: object
      description: Properties of an Environment Definition parameter
      properties:
        id:
          type: string
          description: Unique ID of the parameter
        name:
          type: string
          description: Display name of the parameter
        description:
          type: string
          description: Description of the parameter
        default:
          type: string
          description: Default value of the parameter
        type:
          description: A string of one of the basic JSON types (number, integer, array, object, boolean, string)
          $ref: '#/components/schemas/ParameterType'
        readOnly:
          type: boolean
          description: Whether or not this parameter is read-only.  If true, default should have a value.
        required:
          type: boolean
          description: Whether or not this parameter is required
        allowed:
          type: array
          items:
            type: string
          minItems: 1
          uniqueItems: true
          description: An array of allowed values
      required:
      - id
      - type
      - required
    EnvironmentDefinitionListResult:
      description: Results of the environment definition list operation.
      type: object
      properties:
        value:
          description: Current page of results.
          type: array
          items:
            $ref: '#/components/schemas/EnvironmentDefinition'
        nextLink:
          description: URL to get the next set of results if there are any.
          type: string
      required:
      - value
  parameters:
    CatalogNameParameter:
      name: catalogName
      in: path
      required: true
      description: The name of the catalog
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 63
        minLength: 3
        pattern: ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$
    EnvironmentDefinitionNameParameter:
      name: definitionName
      in: path
      required: true
      description: The name of the environment definition
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 63
        minLength: 3
        pattern: ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$
  securitySchemes:
    AADToken:
      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-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: devcenter.json#/parameters/EndpointParameter