Microsoft Azure Device Capacity Info API

The DeviceCapacityInfo API from Microsoft Azure, for devicecapacityinfo.

GitHub OpenAPI

Operations 1

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.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityInfo/default Get capacity info for a Data Box Edge device · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How much compute and storage capacity is left on my Azure Stack Edge device?”
“Can I check a Data Box Edge device's capacity before adding workloads?”
Tell an agent
Get capacity info for Data Box Edge device {device} in resource group {rg}, subscription {sub}.
Show remaining capacity on edge device {device}.

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-devicecapacityinfo-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-devicecapacityinfo-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2022-12-01-preview
  title: Microsoft Azure DataBoxEdgeManagementClient Device Capacity…
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: DeviceCapacityInfo
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityInfo/default
  : get:
      tags:
      - DeviceCapacityInfo
      description: Gets the properties of the specified device capacity info.
      operationId: microsoftAzureDevicecapacityinfoGetdevicecapacityinfo
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      - name: deviceName
        in: path
        description: The device name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The device capacity info result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeviceCapacityInfo'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        DeviceCapacityGet:
          $ref: ./examples/DeviceCapacityGet.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    NumaNodeData:
      description: NUMA node data.
      type: object
      properties:
        numaNodeIndex:
          format: int32
          description: The NUMA node index.
          type: integer
        totalMemoryInMb:
          format: int64
          description: The total memory on the NUMA node.
          type: integer
        logicalCoreCountPerCore:
          format: int32
          description: The logical cores per core count.
          type: integer
        effectiveAvailableMemoryInMb:
          format: int64
          description: The effective available memory on the NUMA node in MB.
          type: integer
        freeVCpuIndexesForHpn:
          description: The free VCPU indices for the Hpn VMs.
          uniqueItems: false
          type: array
          items:
            format: int32
            type: integer
        vCpuIndexesForHpn:
          description: The VCPU indices for Hpn VMs
          uniqueItems: false
          type: array
          items:
            format: int32
            type: integer
        vCpuIndexesForRoot:
          description: The VCPU indices for the root.
          uniqueItems: false
          type: array
          items:
            format: int32
            type: integer
    ClusterGpuCapacity:
      description: Cluster GPU Data.
      type: object
      properties:
        gpuType:
          description: The cluster GPU Type.
          type: string
        gpuUsedUnitsCount:
          format: int32
          description: The used GPU units count in the cluster.
          type: integer
        gpuFreeUnitsCount:
          format: int32
          description: The free GPU units count in the cluster.
          type: integer
        gpuReservedForFailoverUnitsCount:
          format: int32
          description: The GPU units count reserved for failover in the cluster.
          type: integer
        gpuTotalUnitsCount:
          format: int32
          description: The total GPU units count in the cluster.
          type: integer
    HostCapacity:
      description: Host Capacity Data.
      type: object
      properties:
        hostName:
          description: The name of the host.
          type: string
        effectiveAvailableMemoryMbOnHost:
          format: int64
          description: The available memory on the host accounting for VM placement size and any host VM reservations.
          type: integer
        availableGpuCount:
          format: int32
          description: The available amount of GPUs on the host to use after accounting for GPUS used by reservations on the host.
          type: integer
        vmUsedMemory:
          description: The VM used memory per VmId.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/VmMemory'
        gpuType:
          description: The GPU type of the VM.
          type: string
        numaNodesData:
          description: The numa nodes information for Hpn VMs.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/NumaNodeData'
          x-ms-identifiers: []
    ClusterCapacityViewData:
      description: Cluster Compute Data.
      type: object
      properties:
        fqdn:
          description: The FQDN of the cluster.
          type: string
        gpuCapacity:
          $ref: '#/components/schemas/ClusterGpuCapacity'
          description: The cluster's GPU capacity.
        memoryCapacity:
          $ref: '#/components/schemas/ClusterMemoryCapacity'
          description: The cluster's memory capacity.
        lastRefreshedTime:
          format: date-time
          description: The last time at which the ClusterCapacityViewData was set.
          type: string
        totalProvisionedNonHpnCores:
          format: int64
          description: 'The total # of vCPUs provisioned by non-HPN VM per appliance.'
          type: integer
    CloudErrorBody:
      description: An error response from the service.
      type: object
      properties:
        code:
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
          type: string
        message:
          description: A message describing the error, intended to be suitable for display in a user interface.
          type: string
        details:
          description: A list of additional details about the error.
          type: array
          items:
            $ref: '#/components/schemas/CloudErrorBody'
          x-ms-identifiers: []
      x-ms-external: true
    CloudError:
      description: An error response from the service.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: The error details.
      x-ms-external: true
    DeviceCapacityInfo:
      description: Object for Capturing DeviceCapacityInfo
      type: object
      allOf:
      - $ref: '#/components/schemas/ARMBaseModel'
      properties:
        properties:
          $ref: '#/components/schemas/DeviceCapacityInfoProperties'
          description: The device capacity properties.
          x-ms-client-flatten: true
        systemData:
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
          description: Metadata pertaining to device capacity info.
          readOnly: true
    ClusterStorageViewData:
      description: Cluster Storage Data.
      type: object
      properties:
        clusterTotalStorageMb:
          format: double
          description: Total storage on the cluster in MB.
          type: number
        clusterFreeStorageMb:
          format: double
          description: The available or free storage on the cluster in MB.
          type: number
    ARMBaseModel:
      description: Represents the base class for all object models.
      type: object
      properties:
        id:
          description: The path ID that uniquely identifies the object.
          type: string
          readOnly: true
        name:
          description: The object name.
          type: string
          readOnly: true
        type:
          description: The hierarchical type of the object.
          type: string
          readOnly: true
      x-ms-azure-resource: true
    DeviceCapacityInfoProperties:
      description: The properties of Device Capacity Info
      type: object
      properties:
        timeStamp:
          format: date-time
          description: Timestamp of request in UTC
          type: string
        clusterStorageCapacityInfo:
          $ref: '#/components/schemas/ClusterStorageViewData'
          description: Cluster capacity data for storage resources (CSV).
        clusterComputeCapacityInfo:
          $ref: '#/components/schemas/ClusterCapacityViewData'
          description: Cluster capacity data for compute resources (Memory and GPU).
        nodeCapacityInfos:
          description: The dictionary of individual node names and node capacities in the cluster.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HostCapacity'
    VmMemory:
      description: VmMemory Data.
      type: object
      properties:
        startupMemoryMB:
          format: int64
          description: The total amount of RAM in the virtual machine, as seen by the guest  operating system. For a virtual machine with dynamic memory enabled, this represents the initial memory available at startup.
          type: integer
        currentMemoryUsageMB:
          format: int64
          description: The current memory used by the virtual machine.
          type: integer
    ClusterMemoryCapacity:
      description: NodeCapacityInfo defines the required information to determine the placement of a VM.
      type: object
      properties:
        clusterFreeMemoryMb:
          format: double
          description: The free memory in the cluster in MB.
          type: number
        clusterUsedMemoryMb:
          format: double
          description: The used memory in the cluster in MB.
          type: number
        clusterFailoverMemoryMb:
          format: double
          description: The failover memory in the cluster in MB.
          type: number
        clusterFragmentationMemoryMb:
          format: double
          description: The fragmentation memory in the cluster in MB.
          type: number
        clusterHypervReserveMemoryMb:
          format: double
          description: The memory reserved for Hyper-V in the cluster in MB.
          type: number
        clusterInfraVmMemoryMb:
          format: double
          description: The memory of the Infra VM in the cluster in MB.
          type: number
        clusterTotalMemoryMb:
          format: double
          description: The total memory in the cluster in MB.
          type: number
        clusterNonFailoverVmMb:
          format: double
          description: The non-failover memory in the cluster in MB.
          type: number
        clusterMemoryUsedByVmsMb:
          format: double
          description: The memory used by VMs in the cluster in MB.
          type: number
  parameters:
    resourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The resource group name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    apiVersionParameter:
      name: api-version
      in: query
      description: The API version.
      required: true
      schema:
        type: string
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The subscription ID.
      required: true
      schema:
        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