# Viewing and Monitoring Azure Billing Data

Usage costs for resources can be viewed and managed in the DuploCloud Portal, by month or week, and by Tenant. You can also explore historical resource costs.

## Prerequisites

* Complete the steps on the Enable GCP billing data page before attempting to view billing data in the portal.

## Viewing Azure Billing Data

1. In the DuploCloud Portal, naviagate to **Administrator** -> **Billing**.

<figure><img src="/files/ELWDtLlOGvT3CMb2Ljn0" alt=""><figcaption><p><strong>Billing</strong> page for Azure</p></figcaption></figure>

You can view usage by:

* Time
  * Select the **Spend by Month** tab and click **More Details** to display monthly and weekly spending options.
* Tenant
  * Select the **Spend by Tenant** tab.

<figure><img src="/files/cnvhFbjPlmXrdugq9neJ" alt=""><figcaption><p><strong>Spend by Month</strong> tab with monthly and weekly options displayed</p></figcaption></figure>

## Setting Up Billing Alerts

To monitor cloud costs based on usage, you can configure Billing Alerts in DuploCloud. For more details, see the [Billing Alerts documentation](/docs/automation-platform/diagnostics-overview/configure-billing-alerts.md).

<figure><img src="/files/BRWs7zNriJGyiihW71bG" alt=""><figcaption><p><strong>Billing</strong> page in the DuploCloud Portal with the <strong>Enable Billing Feature</strong> option highlighted</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview-2/use-cases/billing-and-cost-management/cost-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
