Skip to main content

Plugin for az-scout to list batch SKUs in Azure per region.

Project description

az-scout-plugin-batch-sku

az-scout plugin for Azure Batch-compatible VM SKUs per region, grouped by VM family.

image

Features

  • UI tab with subscription selector that reacts to the main app's tenant & region
  • API route that queries the Azure Batch RP for supported VM sizes
  • MCP tool to list Batch SKUs from the AI chat assistant
  • Family grouping — SKUs are grouped by VM family in collapsible sections
  • Live filter — search by SKU name or family after loading
  • Capabilities display — shows vCPUs, memory, GPU count and end-of-life date

Setup

uv pip install az-scout-plugin-batch-sku
az-scout  # plugin is auto-discovered

For development:

git clone https://github.com/az-scout/az-scout-plugin-batch-sku
cd az-scout-plugin-batch-sku
uv sync --group dev
uv pip install -e .
az-scout  # plugin is auto-discovered

Structure

az-scout-plugin-batch-sku/
├── pyproject.toml
├── README.md
└── src/
    └── az_scout_batch_sku/
        ├── __init__.py          # Plugin class + module-level `plugin` instance
        ├── routes.py            # FastAPI APIRouter — GET /plugins/batch_sku/batch-skus
        ├── tools.py             # MCP tool: list_batch_skus
        └── static/
            ├── css/
            │   └── batch-sku.css
            ├── html/
            │   └── batch-sku-tab.html
            └── js/
                └── batch-sku-tab.js

How it works

  1. The plugin tab loads the HTML fragment into #plugin-tab-batch_sku.
  2. It watches #tenant-select and #region-select for changes.
  3. When both are set, it fetches subscriptions from /api/subscriptions.
  4. The user picks a subscription and clicks Load SKUs.
  5. The plugin calls GET /plugins/batch_sku/batch-skus?subscription_id=…&region=…&tenant_id=….
  6. Results are displayed in table with filtering capabilities.

Quality checks

uv run ruff check src/ tests/
uv run ruff format --check src/ tests/
uv run mypy src/
uv run pytest

Copilot support

The .github/copilot-instructions.md file provides context to GitHub Copilot about the plugin structure, conventions, and az-scout plugin API.

License

MIT

Disclaimer

This tool is not affiliated with Microsoft. All capacity, pricing, and availability information is indicative and not a guarantee of deployment success. Values are dynamic and may change between planning and actual deployment. Always validate in official Microsoft sources and in your target tenant/subscription.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

az_scout_plugin_batch_sku-2026.5.0.tar.gz (132.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

az_scout_plugin_batch_sku-2026.5.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file az_scout_plugin_batch_sku-2026.5.0.tar.gz.

File metadata

File hashes

Hashes for az_scout_plugin_batch_sku-2026.5.0.tar.gz
Algorithm Hash digest
SHA256 49a03e4e85c11f029b8152745dc15250f008cf39c07f50f14628fefe5cd3bbe9
MD5 1d05375785df4f70552a97fa0b268be4
BLAKE2b-256 d54180d2d1e46c8ea7f88f23cb8a8f3808e33232b618e5518d19691e731618b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for az_scout_plugin_batch_sku-2026.5.0.tar.gz:

Publisher: publish.yml on az-scout/az-scout-plugin-batch-sku

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file az_scout_plugin_batch_sku-2026.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for az_scout_plugin_batch_sku-2026.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3b88366b88ffc29a1f1c989adb2ab979cfb1d0a1adcc53349c569c637b6f0a5
MD5 289dda11e2a6abced75f8576461cf5df
BLAKE2b-256 097adccbf198ef1a4bdc9f4146209b18425ef46b1978540cf3da51312edea609

See more details on using hashes here.

Provenance

The following attestation bundles were made for az_scout_plugin_batch_sku-2026.5.0-py3-none-any.whl:

Publisher: publish.yml on az-scout/az-scout-plugin-batch-sku

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page