# Need a list of API endpoints for CloudQuery Azure resource discovery

**URL:** <https://community.cloudquery.io/t/need-a-list-of-api-endpoints-for-cloudquery-azure-resource-discovery/285>\
**Category:** CloudQuery Plugins\
**Created:** [March 20, 2024, 8:47am UTC](https://community.cloudquery.io/t/need-a-list-of-api-endpoints-for-cloudquery-azure-resource-discovery/285 "2024-03-20T08:47:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![engaging-seagull](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@engaging-seagull](https://community.cloudquery.io/u/engaging-seagull)\
**Post date:** [March 20, 2024, 8:47am UTC](https://community.cloudquery.io/t/need-a-list-of-api-endpoints-for-cloudquery-azure-resource-discovery/285/1 "2024-03-20T08:47:52Z")

</div>

I am using CloudQuery to discover the Azure resources and components. I would like to know all the API endpoints that are used internally to discover the Azure environment. Can you please list down all the APIs?

---

<div class="post-metadata">

**Author:** ![herman](https://sea1.discourse-cdn.com/flex001/user_avatar/community.cloudquery.io/herman/32/27_2.png) [@herman](https://community.cloudquery.io/u/herman)\
**Post date:** [March 20, 2024, 8:52am UTC](https://community.cloudquery.io/t/need-a-list-of-api-endpoints-for-cloudquery-azure-resource-discovery/285/2 "2024-03-20T08:52:08Z")

</div>

Hi 👋 What do you need the list of APIs for? Most (if not all) of the tables in [the Azure plugin docs](https://hub.cloudquery.io/plugins/source/cloudquery/azure/latest/tables) link to the docs for the underlying API they use, so that might be a good place to start, depending on what you need it for.

---

<div class="post-metadata">

**Author:** ![engaging-seagull](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@engaging-seagull](https://community.cloudquery.io/u/engaging-seagull)\
**Post date:** [March 20, 2024, 10:16am UTC](https://community.cloudquery.io/t/need-a-list-of-api-endpoints-for-cloudquery-azure-resource-discovery/285/3 "2024-03-20T10:16:14Z")

</div>

Thank you. I hope CloudQuery is not using all the API endpoints which are available in the above documentation. The reason we need the list of APIs is that we need to discover Azure from a very restricted environment where we do not have full internet access. However, we can whitelist certain IPs or DNS to connect with Azure. Therefore, I need to provide the list of APIs that are mainly used by CloudQuery to discover all the resources, to whitelist them. I hope you understand my pain point. Please provide me with the list of APIs; it would help me a lot.

---

<div class="post-metadata">

**Author:** ![herman](https://sea1.discourse-cdn.com/flex001/user_avatar/community.cloudquery.io/herman/32/27_2.png) [@herman](https://community.cloudquery.io/u/herman)\
**Post date:** [March 20, 2024, 11:11am UTC](https://community.cloudquery.io/t/need-a-list-of-api-endpoints-for-cloudquery-azure-resource-discovery/285/4 "2024-03-20T11:11:57Z")

</div>

Okay, I see, thanks! We don’t have a full list of all the API endpoints, but it seems like you wouldn’t need it, as you only need the domains?

In that case, I think it should be enough to whitelist:

- `management.azure.com`
- `api.cloudquery.io`

This will prevent the CloudQuery plugins from being downloaded, though, as this requires:

- `storage.googleapis.com`

You can either whitelist this, or you can use the `cloudquery install` command beforehand to get the plugin binaries and then copy them to your restricted environment. You’ll then have to reference them in the config using:

```yaml
   path: <path/to/plugin>
   registry: local

```

If you still need the full list of API endpoints, I think this goes beyond what we can offer in terms of free community support, but we have options for support where we can dedicate some engineering time to gathering this for you [CloudQuery Pricing](https://www.cloudquery.io/pricing).
