Promitor Resource Discovery allows you to declare the Azure landscape to explore and define resource discovery groups in YAML.

Resource discovery groups represent a group of Azure resources of a given type that can be scraped by Promitor Scraper and supports an extensive list of supported services.

As part of the resource discovery group declaration, you can choose to filter resources by adding inclusion criteria that resources must comply with based on:

Here is an example of a full declaration:

version: v1
azureLandscape:
  tenantId: e0372f7f-a362-47fb-9631-74a5c4ba8bbf
  subscriptions:
  - SUBSCRIPTON-ID-ABC
  - SUBSCRIPTON-ID-DEF
  - SUBSCRIPTON-ID-GHI
  cloud: China
resourceDiscoveryGroups:
- name: container-registry-landscape
  type: ContainerRegistry
- name: filtered-logic-apps-landscape
  type: LogicApp
  criteria:
    include:
      subscriptions:
      - SUBSCRIPTON-ID-ABC
      - SUBSCRIPTON-ID-GHI
      resourceGroups:
      - promitor-resource-group-1
      - promitor-resource-group-2
      tags:
        app: promitor-1|promitor-2
        region: europe
      regions:
      - northeurope
      - westeurope

Specification

As Promitor evolves we need to change the structure of our resource discovery declaration.

version: {version} - Version of declaration that is used. Allowed values are v1. (Required)

Azure Landscape

Resource Discovery Groups

Every resource discovery group that is being declared needs to define the following fields:

Criteria

As of now, we only allow to define criteria that resources have to meet before they are included in the resource discovery group:

Supported Azure Services

Dynamic resource discovery is supported for the following scrapers:

← back