> For the complete documentation index, see [llms.txt](https://docs.vectra.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vectra.ai/deployment/cdr-for-azure/estimating-usage.md).

# Estimating usage

## Introduction

This knowledge base article describes how to collect a summary of Azure resources grouped by resource type using the current Azure portal experience. Vectra requires a count of Azure resources by resource type across one or more subscriptions in order to estimate pricing. The steps below explain how to generate this information and export it as a CSV file using Azure Resource Graph. The exported CSV will contain one row per Azure resource type with a corresponding count. This file can be provided directly to the Vectra sales or support team.

## Requirements

* Access to the Azure Portal
* Permissions to view resources across the relevant subscriptions

## Steps to Follow

* Log into the [Azure portal](https://portal.azure.com/).
* In the top search bar, search for and the select **All Resources**.
* Ensure the **Subscription** filter includes all relevant subscriptions.
  * Leave **Resource Group**, **Type**, and **Location** set to **All**.

![](/files/224945b9bf84eaad256f855aa835129aa6fda381)

* From the top command bar, select **Open query**. This will open the Azure Resource Graph Explorer.
* Click **New query** to clear any existing query.
* Paste in the following to generate a summary of resource types, ordered by count.

```markup
Resources
| summarize count() by type
| order by count_ desc
```

![](/files/28aa78488f53ae746be22358de6504bf33c6d187)

* Next click **Run query** to run the query.

![](/files/5b260a732ebea3de1050fb6f4190910a9dc345e5)

* Finally, click **Download formatted results as CSV**.
* Provide the .csv file to your Vectra account team so they can produce a pricing estimate for you.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.vectra.ai/deployment/cdr-for-azure/estimating-usage.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.
