# Azure Retail Prices

> Look up public Azure prices by region, compare rates for a meter and estimate reservation costs for a virtual machine SKU.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/azure-retail-prices

## Actions

### Get Azure meter prices

Read prices and usage tiers for an Azure billing meter. Use the meter ID from the service price list.

**Inputs**

- Meter ID (`meter_id`, text, required): Billing meter ID returned by Azure.
- Currency (`currency`, text): Three-letter currency code, such as USD or EUR. Defaults to USD.
- Offset (`offset`, number): Number of prices to skip. Use the $skip number from the previous NextPageLink. At least 0.

**Outputs**

- `data` (object): The response from Azure Retail Prices.

**Example output**

```json
{
  "data": {
    "BillingCurrency": "example",
    "Count": 1,
    "Items": [
      {
        "armRegionName": "example",
        "armSkuName": "example",
        "currencyCode": "example",
        "effectiveStartDate": "example",
        "isPrimaryMeterRegion": true,
        "meterId": "example",
        "meterName": "example",
        "productName": "example",
        "reservationTerm": "example",
        "retailPrice": 1,
        "serviceName": "example",
        "skuId": "example",
        "skuName": "example",
        "tierMinimumUnits": 1,
        "type": "example",
        "unitOfMeasure": "example",
        "unitPrice": 1
      }
    ],
    "NextPageLink": "example"
  }
}
```

### List Azure service prices

Find public retail rates for a service in one Azure region. Narrow the list with a SKU or choose a currency.

**Inputs**

- Service (`service`, text, required): Azure service name, such as Virtual Machines or Storage.
- Region (`region`, text, required): Azure region code, such as westus2.
- SKU (`sku`, text): Azure Resource Manager SKU, such as Standard_D2s_v5.
- Currency (`currency`, text): Three-letter currency code, such as USD or EUR. Defaults to USD.
- Offset (`offset`, number): Number of prices to skip. Use the $skip number from the previous NextPageLink. At least 0.

**Outputs**

- `data` (object): The response from Azure Retail Prices.

**Example output**

```json
{
  "data": {
    "BillingCurrency": "example",
    "Count": 1,
    "Items": [
      {
        "armRegionName": "example",
        "armSkuName": "example",
        "currencyCode": "example",
        "effectiveStartDate": "example",
        "isPrimaryMeterRegion": true,
        "meterId": "example",
        "meterName": "example",
        "productName": "example",
        "reservationTerm": "example",
        "retailPrice": 1,
        "serviceName": "example",
        "skuId": "example",
        "skuName": "example",
        "tierMinimumUnits": 1,
        "type": "example",
        "unitOfMeasure": "example",
        "unitPrice": 1
      }
    ],
    "NextPageLink": "example"
  }
}
```

### List Azure VM reservation prices

Compare available reservation terms and published prices for a virtual machine SKU in one Azure region.

**Inputs**

- Region (`region`, text, required): Azure region code, such as westus2.
- SKU (`sku`, text, required): Azure Resource Manager SKU, such as Standard_D2s_v5.
- Currency (`currency`, text): Three-letter currency code, such as USD or EUR. Defaults to USD.
- Offset (`offset`, number): Number of prices to skip. Use the $skip number from the previous NextPageLink. At least 0.

**Outputs**

- `data` (object): The response from Azure Retail Prices.

**Example output**

```json
{
  "data": {
    "BillingCurrency": "example",
    "Count": 1,
    "Items": [
      {
        "armRegionName": "example",
        "armSkuName": "example",
        "currencyCode": "example",
        "effectiveStartDate": "example",
        "isPrimaryMeterRegion": true,
        "meterId": "example",
        "meterName": "example",
        "productName": "example",
        "reservationTerm": "example",
        "retailPrice": 1,
        "serviceName": "example",
        "skuId": "example",
        "skuName": "example",
        "tierMinimumUnits": 1,
        "type": "example",
        "unitOfMeasure": "example",
        "unitPrice": 1
      }
    ],
    "NextPageLink": "example"
  }
}
```
