Microsoft Azure Locations API

The Locations API from Microsoft Azure, for locations.

GitHub OpenAPI

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

POST /subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability Check a FarmBeats resource name is available · Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“Is the name I want for my Azure FarmBeats (AgFoodPlatform) resource already taken?”
“Can I validate an agriculture data platform resource name before creating it?”
Tell an agent
Check if my proposed AgFoodPlatform FarmBeats resource name is available.
Validate the name for a new agriculture FarmBeats instance.
POST /subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability Check Azure VMware Solution trial availability · Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Avs… #
Ask an LLM
“Is an Azure VMware Solution trial available for my subscription in a region?”
“Can I find out whether my subscription qualifies for an AVS trial?”
Tell an agent
Check AVS trial availability in region {location}.
Show my VMware Solution trial status for {location}.
POST /subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability Check Azure VMware Solution quota in a region · Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Avs… #
Ask an LLM
“How much Azure VMware Solution host quota do I have in a region?”
“Is quota enabled for AVS private clouds in a location?”
Tell an agent
Check AVS quota availability in region {location}.
Show my VMware Solution host quota for {location}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/capability Get Data Lake Analytics limits for a location · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“How many Data Lake Analytics accounts can my subscription create in a region?”
“What subscription-level limits apply to Data Lake Analytics in a location?”
Tell an agent
Get Data Lake Analytics capability for subscription {sub} in {location}.
Show the Analytics account quota and limits in region {location} for subscription {sub}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/capability Get Data Lake Store limits for a location · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“How many Data Lake Store accounts am I allowed in a given region?”
“What storage-account properties and limits apply to Data Lake Store in a location?”
Tell an agent
Get Data Lake Store capability for subscription {sub} in {location}.
Show the Store account limits in region {location} for subscription {sub}.
POST /subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability Check an Energy Data Services name is available · Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“Is my chosen Open Energy Platform (Energy Data Services) resource name free?”
“Can I confirm an OEP instance name is valid before provisioning?”
Tell an agent
Check if my proposed Open Energy Platform resource name is available.
Validate the name for a new Energy Data Services instance.

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-locations-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-locations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure AgriFood RP Service Locations API
  description: APIs documentation for Azure AgriFood Resource Provider Service.
  version: 2020-05-12-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Locations
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability:
    post:
      tags:
      - Locations
      description: Checks the name availability of the resource with requested resource name.
      operationId: microsoftAzureLocationsChecknameavailability
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/CheckNameAvailabilityResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Locations_CheckNameAvailability_AlreadyExists:
          $ref: ./examples/Locations_CheckNameAvailability_AlreadyExists.json
        Locations_CheckNameAvailability_Available:
          $ref: ./examples/Locations_CheckNameAvailability_Available.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft…
      requestBody:
        content:
          application/json:
            schema:
              $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/CheckNameAvailabilityRequest
        description: NameAvailabilityRequest object.
        required: true
  /subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability:
    post:
      tags:
      - Locations
      description: Return trial status for subscription by region
      operationId: microsoftAzureLocationsChecktrialavailability
      parameters:
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
      - name: location
        in: path
        required: true
        description: Azure region
        schema:
          type: string
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Request has succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Trial'
        default:
          description: Error response describing why the operation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Locations_CheckTrialAvailability:
          $ref: ./examples/Locations_CheckTrialAvailability.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Avs…
  /subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability:
    post:
      tags:
      - Locations
      description: Return quota for subscription by region
      operationId: microsoftAzureLocationsCheckquotaavailability
      parameters:
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
      - name: location
        in: path
        required: true
        description: Azure region
        schema:
          type: string
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Request has succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Quota'
        default:
          description: Error response describing why the operation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Locations_CheckQuotaAvailability:
          $ref: ./examples/Locations_CheckQuotaAvailability.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Avs…
  /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/capability:
    get:
      tags:
      - Locations
      operationId: microsoftAzureLocationsGetcapability
      description: Gets subscription-level properties and limits for Data Lake Analytics specified by resource location.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: location
        in: path
        required: true
        description: The resource location without whitespace.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Successfully retrieved the subscription-level properties and limits for Data Lake Analytics specified by resource location.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapabilityInformation'
        '404':
          description: Subscription not found.
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Gets subscription-level properties and limits for Data Lake Analytics specified by resource location:
          $ref: ./examples/Locations_GetCapability.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft…
  /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/capability:
    get:
      tags:
      - Locations
      operationId: microsoftAzureLocationsGetcapability
      description: Gets subscription-level properties and limits for Data Lake Store specified by resource location.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: location
        in: path
        required: true
        description: The resource location without whitespace.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Successfully retrieved the subscription-level properties and limits for Data Lake Store specified by resource location.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapabilityInformation'
        '404':
          description: Subscription not found.
      x-ms-examples:
        Gets subscription-level properties and limits for Data Lake Store specified by resource location:
          $ref: ./examples/Locations_GetCapability.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft…
  /subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability:
    post:
      tags:
      - Locations
      description: Checks the name availability of the resource with requested resource name.
      operationId: microsoftAzureLocationsChecknameavailability
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/CheckNameAvailabilityResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Locations_CheckNameAvailability:
          $ref: ./examples/Locations_CheckNameAvailability.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft…
      requestBody:
        content:
          application/json:
            schema:
              description: NameAvailabilityRequest object.
              $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/CheckNameAvailabilityRequest
        description: NameAvailabilityRequest object.
        required: true
components:
  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.
  schemas:
    Quota:
      description: Subscription quotas
      properties:
        hostsRemaining:
          description: Remaining hosts quota by sku type
          type: object
          readOnly: true
          additionalProperties:
            type: integer
            format: int32
            readOnly: true
        quotaEnabled:
          description: Host quota is active for current subscription
          type: string
          enum:
          - Enabled
          - Disabled
          readOnly: true
          x-ms-enum:
            name: QuotaEnabled
            modelAsString: true
    Trial:
      description: Subscription trial availability
      properties:
        status:
          description: Trial status
          type: string
          enum:
          - TrialAvailable
          - TrialUsed
          - TrialDisabled
          readOnly: true
          x-ms-enum:
            name: TrialStatus
            modelAsString: true
        availableHosts:
          description: Number of trial hosts available
          type: integer
          format: int32
          readOnly: true
    CloudError:
      x-ms-external: true
      properties:
        error:
          description: An error returned by the API
          $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse
      description: API error response
    CapabilityInformation:
      properties:
        subscriptionId:
          readOnly: true
          type: string
          format: uuid
          description: The subscription credentials that uniquely identifies the subscription.
        state:
          readOnly: true
          type: string
          enum:
          - Registered
          - Suspended
          - Deleted
          - Unregistered
          - Warned
          x-ms-enum:
            name: SubscriptionState
            modelAsString: true
          description: The subscription state.
        maxAccountCount:
          readOnly: true
          type: integer
          format: int32
          description: The maximum supported number of accounts under this subscription.
        accountCount:
          readOnly: true
          type: integer
          format: int32
          description: The current number of accounts under this subscription.
        migrationState:
          readOnly: true
          type: boolean
          description: The Boolean value of true or false to indicate the maintenance state.
      description: Subscription-level properties and limits for Data Lake Analytics.
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: Client Api Version.
      schema:
        type: string
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: Get subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
      schema:
        type: string