Microsoft Azure Container Apps Revisions API

The ContainerAppsRevisions API from Microsoft Azure, for containerappsrevisions.

GitHub OpenAPI

Operations 5

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.Web/containerApps/{containerAppName}/revisions List revisions of a container app · Microsoft Azure Get The Revisions For A Given Container App #
Ask an LLM
“Which revisions exist for my container app?”
“Can I see every deployed version of a container app and which are active?”
Tell an agent
List revisions of container app {app} in resource group {resource_group}, subscription {subscription}.
Show all revisions for container app {app}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name} Get a revision of a container app · Microsoft Azure Get A Revision Of A Container App #
Ask an LLM
“What are the details of one specific container app revision?”
“Is a given revision of my container app active and healthy?”
Tell an agent
Get revision {revision} of container app {app} in resource group {resource_group}, subscription {subscription}.
Show the health and traffic of revision {revision} on app {app}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate Activate a container app revision · Microsoft Azure Activates A Revision For A Container App #
Ask an LLM
“How do I bring an inactive container app revision back online?”
“Can I reactivate an older revision of my container app?”
Tell an agent
Activate revision {revision} of container app {app} in resource group {resource_group}, subscription {subscription}.
Turn on revision {revision} for app {app}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate Deactivate a container app revision · Microsoft Azure Deactivates A Revision For A Container App #
Ask an LLM
“How do I take a container app revision offline without deleting it?”
“Can I deactivate an old revision so it stops using resources?”
Tell an agent
Deactivate revision {revision} of container app {app} in resource group {resource_group}, subscription {subscription}.
Switch off revision {revision} on app {app}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart Restart a container app revision · Microsoft Azure Restarts A Revision For A Container App #
Ask an LLM
“How do I restart the replicas of one container app revision?”
“Can I bounce a single revision that is misbehaving?”
Tell an agent
Restart revision {revision} of container app {app} in resource group {resource_group}, subscription {subscription}.
Bounce revision {revision} on app {app}.

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-containerappsrevisions-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-containerappsrevisions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2023-01-01'
  title: Microsoft Azure API Client Container Apps Revisions API
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ContainerAppsRevisions
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions
  : get:
      tags:
      - ContainerAppsRevisions
      summary: Microsoft Azure Get The Revisions For A Given Container App
      operationId: microsoftAzureContainerappsrevisionsListrevisions
      parameters:
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App for which Revisions are needed.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevisionCollection'
        default:
          description: App Service error response.
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        List Container App's revisions:
          $ref: ./examples/ListRevisions.json
      x-ms-pageable:
        nextLinkName: nextLink
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}
  : get:
      tags:
      - ContainerAppsRevisions
      summary: Microsoft Azure Get A Revision Of A Container App
      operationId: microsoftAzureContainerappsrevisionsGetrevision
      parameters:
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Name of the Container App Revision.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Revision'
        default:
          description: App Service error response.
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get Container App's revision:
          $ref: ./examples/GetRevision.json
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate
  : post:
      tags:
      - ContainerAppsRevisions
      summary: Microsoft Azure Activates A Revision For A Container App
      operationId: microsoftAzureContainerappsrevisionsActivaterevision
      parameters:
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Name of the Container App Revision to activate
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: Container App revision was activated
        default:
          description: App Service error response.
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Activate Container App's revision:
          $ref: ./examples/ActivateRevision.json
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate
  : post:
      tags:
      - ContainerAppsRevisions
      summary: Microsoft Azure Deactivates A Revision For A Container App
      operationId: microsoftAzureContainerappsrevisionsDeactivaterevision
      parameters:
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Name of the Container App Revision to deactivate
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: Container App revision was deactivated
        default:
          description: App Service error response.
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Deactivate Container App's revision:
          $ref: ./examples/DeactivateRevision.json
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart
  : post:
      tags:
      - ContainerAppsRevisions
      summary: Microsoft Azure Restarts A Revision For A Container App
      operationId: microsoftAzureContainerappsrevisionsRestartrevision
      parameters:
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - name: containerAppName
        in: path
        description: Name of the Container App.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Name of the Container App Revision to restart
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: Container App revision was restarted
        default:
          description: App Service error response.
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Restart Container App's revision:
          $ref: ./examples/RestartRevision.json
      description: Needs a more full description created.
components:
  parameters:
    resourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: Name of the resource group to which the resource belongs.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
        pattern: ^[-\w\._\(\)]+[^\.]$
    apiVersionParameter:
      name: api-version
      in: query
      description: API Version
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
  schemas:
    Revision:
      description: Container App Revision.
      type: object
      allOf:
      - $ref: ./CommonDefinitions.json#/definitions/Resource
      properties:
        properties:
          description: Revision resource specific properties
          type: object
          properties:
            createdTime:
              format: date-time
              description: 'Timestamp describing when the revision was created

                by controller'
              type: string
              readOnly: true
            fqdn:
              description: Fully qualified domain name of the revision
              type: string
              readOnly: true
            template:
              $ref: ./CommonDefinitions.json#/definitions/Template
              description: 'Container App Revision Template with all possible settings and the

                defaults if user did not provide them. The defaults are populated

                as they were at the creation time'
              readOnly: true
            active:
              description: Boolean describing if the Revision is Active
              type: boolean
              readOnly: true
            replicas:
              format: int32
              description: Number of pods currently running for this revision
              type: integer
              readOnly: true
            trafficWeight:
              format: int32
              description: Traffic weight assigned to this revision
              type: integer
              readOnly: true
            provisioningError:
              description: Optional Field - Platform Error Message
              type: string
              readOnly: true
            healthState:
              description: Current health State of the revision
              enum:
              - Healthy
              - Unhealthy
              - None
              type: string
              readOnly: true
              x-ms-enum:
                name: RevisionHealthState
                modelAsString: true
            provisioningState:
              description: Current provisioning State of the revision
              enum:
              - Provisioning
              - Provisioned
              - Failed
              - Deprovisioning
              - Deprovisioned
              type: string
              readOnly: true
              x-ms-enum:
                name: RevisionProvisioningState
                modelAsString: true
          x-ms-client-flatten: true
    RevisionCollection:
      description: Container App Revisions collection ARM resource.
      required:
      - value
      type: object
      properties:
        value:
          description: Collection of resources.
          type: array
          items:
            $ref: '#/components/schemas/Revision'
        nextLink:
          description: Link to next page of resources.
          type: string
          readOnly: true
  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