Azure Monitor · Capability

Azure Monitor Autoscale API — Predictive Metrics

Azure Monitor Autoscale API — Predictive Metrics. 1 operations. Lead operation: Azure Monitor Get predictive autoscale metrics. Self-contained Naftiko capability covering one Microsoft Azure Monitor business surface.

Run with Naftiko Microsoft Azure MonitorPredictive Metrics

What You Can Do

GET
Predictivemetricget — Azure Monitor Get predictive autoscale metrics
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-insights/autoscalesettings/{autoscalesettingname}/predictivemetrics

MCP Tools

azure-monitor-get-predictive-autoscale

Azure Monitor Get predictive autoscale metrics

read-only idempotent

Capability Spec

azure-monitor-autoscale-predictive-metrics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Monitor Autoscale API — Predictive Metrics
  description: 'Azure Monitor Autoscale API — Predictive Metrics. 1 operations. Lead operation: Azure Monitor Get predictive
    autoscale metrics. Self-contained Naftiko capability covering one Microsoft Azure Monitor business surface.'
  tags:
  - Microsoft Azure Monitor
  - Predictive Metrics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_MONITOR_API_KEY: MICROSOFT_AZURE_MONITOR_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-monitor-autoscale-predictive-metrics
    baseUri: https://management.azure.com
    description: Azure Monitor Autoscale API — Predictive Metrics business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourcegroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}/predictiveMetrics
      operations:
      - name: predictivemetricget
        method: GET
        description: Azure Monitor Get predictive autoscale metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: timespan
          in: query
          type: string
          description: The timespan of the query in ISO 8601 format.
          required: true
        - name: interval
          in: query
          type: string
          description: The interval of the query in ISO 8601 duration format.
          required: true
        - name: metricNamespace
          in: query
          type: string
          description: Metric namespace to query.
          required: true
        - name: metricName
          in: query
          type: string
          description: The names of the metrics to retrieve.
          required: true
        - name: aggregation
          in: query
          type: string
          description: The list of aggregation types to retrieve.
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_MONITOR_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-monitor-autoscale-predictive-metrics-rest
    port: 8080
    description: REST adapter for Azure Monitor Autoscale API — Predictive Metrics. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-insights/autoscalesettings/{autoscalesettingname}/predictivemetrics
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourcegroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: predictivemetricget
        description: Azure Monitor Get predictive autoscale metrics
        call: azure-monitor-autoscale-predictive-metrics.predictivemetricget
        with:
          timespan: rest.timespan
          interval: rest.interval
          metricNamespace: rest.metricNamespace
          metricName: rest.metricName
          aggregation: rest.aggregation
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-monitor-autoscale-predictive-metrics-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Monitor Autoscale API — Predictive Metrics. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: azure-monitor-get-predictive-autoscale
      description: Azure Monitor Get predictive autoscale metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-monitor-autoscale-predictive-metrics.predictivemetricget
      with:
        timespan: tools.timespan
        interval: tools.interval
        metricNamespace: tools.metricNamespace
        metricName: tools.metricName
        aggregation: tools.aggregation
      outputParameters:
      - type: object
        mapping: $.