Microsoft Azure · Capability

Microsoft Azure WebSite Management Client — Usage

Microsoft Azure WebSite Management Client — Usage. 1 operations. Lead operation: Microsoft Azure Returns Usage Records For Specified Subscription And Resource Groups. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureUsage

What You Can Do

GET
Microsoftazureusagegetusage — Microsoft Azure Returns Usage Records For Specified Subscription And Resource Groups
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web-admin/environments/{environmentname}/usage

MCP Tools

microsoft-azure-returns-usage-records

Microsoft Azure Returns Usage Records For Specified Subscription And Resource Groups

read-only idempotent

Capability Spec

website-management-client-usage.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure WebSite Management Client — Usage
  description: 'Microsoft Azure WebSite Management Client — Usage. 1 operations. Lead operation: Microsoft Azure Returns Usage
    Records For Specified Subscription And Resource Groups. Self-contained Naftiko capability covering one Microsoft Azure
    business surface.'
  tags:
  - Microsoft Azure
  - Usage
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: website-management-client-usage
    baseUri: https://management.azure.com
    description: Microsoft Azure WebSite Management Client — Usage business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web.Admin/environments/{environmentName}/usage
      operations:
      - name: microsoftazureusagegetusage
        method: GET
        description: Microsoft Azure Returns Usage Records For Specified Subscription And Resource Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: Name of resource group
          required: true
        - name: environmentName
          in: path
          type: string
          description: Environment name
          required: true
        - name: lastId
          in: query
          type: string
          description: Last marker that was returned from the batch
          required: true
        - name: batchSize
          in: query
          type: integer
          description: size of the batch to be returned.
          required: true
  exposes:
  - type: rest
    namespace: website-management-client-usage-rest
    port: 8080
    description: REST adapter for Microsoft Azure WebSite Management Client — Usage. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web-admin/environments/{environmentname}/usage
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazureusagegetusage
        description: Microsoft Azure Returns Usage Records For Specified Subscription And Resource Groups
        call: website-management-client-usage.microsoftazureusagegetusage
        with:
          resourceGroupName: rest.resourceGroupName
          environmentName: rest.environmentName
          lastId: rest.lastId
          batchSize: rest.batchSize
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: website-management-client-usage-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure WebSite Management Client — Usage. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-returns-usage-records
      description: Microsoft Azure Returns Usage Records For Specified Subscription And Resource Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: website-management-client-usage.microsoftazureusagegetusage
      with:
        resourceGroupName: tools.resourceGroupName
        environmentName: tools.environmentName
        lastId: tools.lastId
        batchSize: tools.batchSize
      outputParameters:
      - type: object
        mapping: $.