Microsoft Azure Tenant API

Tenant controller.

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

POST /subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability Check a Site Recovery resource name's availability · Microsoft Azure Performs The Resource Name Availability Check #
Ask an LLM
“Is the name I want for a Microsoft.DataReplication resource still available?”
“Can I validate an Azure Site Recovery resource name before creating it?”
Tell an agent
Check whether data replication resource name {name} of type {type} is available in {location}.
Verify the Site Recovery resource name {name} is free to use.
GET /providers/Microsoft.DataReplication/operations List Microsoft.DataReplication REST operations · Microsoft Azure Get A List Of Rest Api Operations Supported By Microsoft… #
Ask an LLM
“Which REST operations does the Microsoft.DataReplication provider support?”
“What management actions can I perform with the Azure Site Recovery data replication service?”
Tell an agent
List the REST operations supported by Microsoft.DataReplication.
Show the data replication provider's operation catalog.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/deployments/{deploymentId}/preflight Validate a Site Recovery deployment before running it · Microsoft Azure Performs Resource Deployment Validation #
Ask an LLM
“How do I run a preflight check on a data replication deployment before committing it?”
“Can I validate the resources in a Site Recovery deployment ahead of time?”
Tell an agent
Run a deployment preflight for {deploymentId}.
Validate resources {resources} for data replication deployment {deploymentId}.

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-tenant-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-tenant-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Site Recovery Management Service…
  description: A first party Azure service enabling the data replication.
  version: 2021-02-16-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Tenant
  description: Tenant controller.
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability:
    post:
      tags:
      - Tenant
      summary: Microsoft Azure Performs The Resource Name Availability Check
      description: Checks the resource name availability.
      operationId: microsoftAzureChecknameavailability
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckNameAvailabilityResponseModel'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        CheckNameAvailability:
          $ref: ./examples/CheckNameAvailability.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckNameAvailabilityModel'
        description: Resource details.
  /providers/Microsoft.DataReplication/operations:
    get:
      tags:
      - Tenant
      summary: Microsoft Azure Get A List Of Rest Api Operations Supported By Microsoft…
      description: Gets the operations.
      operationId: microsoftAzureOperationsList
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Operations_List:
          $ref: ./examples/Operations_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/deployments/{deploymentId}/preflight
  : post:
      tags:
      - Tenant
      summary: Microsoft Azure Performs Resource Deployment Validation
      operationId: microsoftAzureDeploymentpreflight
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - in: path
        name: deploymentId
        description: Deployment Id.
        required: true
        schema:
          type: string
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeploymentPreflightModel'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        DeploymentPreflight:
          $ref: ./examples/DeploymentPreflight.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeploymentPreflightModel'
        description: Deployment preflight model.
components:
  schemas:
    CheckNameAvailabilityModel:
      description: Check name availability model.
      type: object
      properties:
        name:
          description: Gets or sets the resource name.
          type: string
        type:
          description: Gets or sets the resource type.
          type: string
    DeploymentPreflightResource:
      description: Deployment preflight resource.
      type: object
      properties:
        name:
          description: Gets or sets the resource name.
          type: string
        type:
          description: Gets or sets the resource type.
          type: string
        location:
          description: Gets or sets the location of the resource.
          type: string
          x-ms-mutability:
          - create
          - read
        apiVersion:
          description: Gets or sets the Api version.
          type: string
    CheckNameAvailabilityResponseModel:
      description: Check name availability response model.
      type: object
      properties:
        nameAvailable:
          description: Gets or sets a value indicating whether resource name is available or not.
          type: boolean
        reason:
          description: Gets or sets the reason for resource name unavailability.
          type: string
        message:
          description: Gets or sets the message for resource name unavailability.
          type: string
    DeploymentPreflightModel:
      description: Deployment preflight model.
      type: object
      properties:
        resources:
          description: Gets or sets the list of resources.
          type: array
          items:
            $ref: '#/components/schemas/DeploymentPreflightResource'
          x-ms-identifiers: []
  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