Docs
Plugins
Sources
Azure
Configuration

CloudQuery Azure Source Plugin Configuration Reference

Example

This example connects a single Azure subscription to a single destination. The (top level) source spec section is described in the Source Spec Reference.

kind: source
spec:
  # Source spec section
  name: "azure"
  path: "cloudquery/azure"
  version: "v7.5.0"
  destinations: ["postgresql"]
  tables: ["azure_compute_virtual_machines"]
  spec:
    # Azure Spec section
    subscriptions: ["00000000-0000-0000-0000-000000000000"]

Azure Spec

This is the (nested) spec used by the Azure source plugin.

  • subscriptions ([]string) (default: empty. Will use all visible subscriptions)

    Specify which subscriptions to sync data from.

  • cloud_name (string) (default: empty)

    The name of the cloud environment to use. Possible values are AzureCloud, AzureChinaCloud, AzureUSGovernment. See the Azure CLI documentation for more information (opens in a new tab).

  • discovery_concurrency (int) (default: 400)

    During initialization the Azure source plugin discovers all resource groups and enabled resource providers per subscription, to be used later on during the sync process. The plugin runs the discovery process in parallel. This setting controls the maximum number of concurrent requests to the Azure API during discovery. Only accounts with many subscriptions should require modifying this setting, to either lower it to avoid network errors, or to increase it to speed up the discovery process.