Azure Storage Accounts LocationUsage API

The LocationUsage API from Azure Storage Accounts — 1 operation(s) for locationusage.

Operations 1

GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages Azure Storage Accounts Usages_ List by Location #

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/azure-storage-accounts-locationusage-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-storage-accounts-locationusage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Azure Storage Management API.
  title: StorageManagementClient BlobContainers Location Usage API
  version: '2.0'
  x-apisguru-categories:
  - cloud
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png
  x-origin:
  - format: swagger
    url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
  x-preferred: false
  x-providerName: azure.com
  x-serviceName: storage-blob
  x-tags:
  - Azure
  - Microsoft
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: LocationUsage
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages:
    get:
      description: Gets the current usage count and the limit for the resources of the location under the subscription.
      operationId: Usages_ListByLocation
      parameters:
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      - description: The location of the Azure Storage resource.
        in: path
        name: location
        required: true
        example: example-value
        schema:
          type: string
      responses:
        '200':
          description: OK -- current usage count and limit retrieved and returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageListResult'
      tags:
      - LocationUsage
      x-ms-examples:
        UsageList:
          parameters:
            api-version: '2019-06-01'
            location: eastus2(stage)
            subscriptionId: '{subscription-id}'
          responses:
            '200':
              body:
                value:
                - currentValue: 55
                  limit: 250
                  name:
                    localizedValue: Storage Accounts
                    value: StorageAccounts
                  unit: Count
      x-ms-pageable:
        nextLinkName: null
      summary: Azure Storage Accounts Usages_ List by Location
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Usage:
      description: Describes Storage Resource Usage.
      properties:
        currentValue:
          description: Gets the current count of the allocated resources in the subscription.
          format: int32
          readOnly: true
          type: integer
        limit:
          description: Gets the maximum count of the resources that can be allocated in the subscription.
          format: int32
          readOnly: true
          type: integer
        name:
          $ref: '#/components/schemas/UsageName'
          description: Gets the name of the type of usage.
          readOnly: true
        unit:
          description: Gets the unit of measurement.
          enum:
          - Count
          - Bytes
          - Seconds
          - Percent
          - CountsPerSecond
          - BytesPerSecond
          readOnly: true
          type: string
          x-ms-enum:
            modelAsString: false
            name: UsageUnit
    UsageListResult:
      description: The response from the List Usages operation.
      properties:
        value:
          description: Gets or sets the list of Storage Resource Usages.
          items:
            $ref: '#/components/schemas/Usage'
          type: array
    UsageName:
      description: The usage names that can be used; currently limited to StorageAccount.
      properties:
        localizedValue:
          description: Gets a localized string describing the resource name.
          readOnly: true
          type: string
        value:
          description: Gets a string describing the resource name.
          readOnly: true
          type: string
  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