azure_query_prices
Retrieve Azure pricing data with flexible filters including service, region, SKU, product, price type, and currency. Uses cached data with automatic fetch.
Instructions
Query cached Azure pricing data with flexible filters.
Searches the in-memory price cache for matching items. If data is not cached, it will be fetched automatically.
Example: # Get VM pricing azure_query_prices( service="Virtual Machines", region="westeurope", sku_contains="D4" )
# Get Databricks DBU pricing
azure_query_prices(
service="Azure Databricks",
sku_contains="All-purpose"
)
# Get reserved instance pricing
azure_query_prices(
service="Virtual Machines",
sku_contains="D4",
price_type="Reservation"
)Args: service: Azure service name (required for initial query) region: ARM region name (default: "westeurope") sku_contains: Filter by SKU name containing this string product_contains: Filter by product name containing this string price_type: Price type filter: "Consumption", "Reservation", "DevTestConsumption", or None for all currency: Currency code (default: "USD") max_results: Maximum items to return (default: 50)
Returns: Dictionary with matching price items and summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Azure service name (required for initial query) | |
| region | No | ARM region name (default: "westeurope") | |
| sku_contains | No | Filter by SKU name containing this string | |
| product_contains | No | Filter by product name containing this string | |
| price_type | No | Price type filter: "Consumption", "Reservation", "DevTestConsumption", or None for all | |
| currency | No | Currency code (default: "USD") | |
| max_results | No | Maximum items to return (default: 50) | |
| page | No |