{
  "name": "azure_billing",
  "title": "Azure Billing Metrics",
  "version": "1.10.0",
  "release": "ga",
  "description": "Collect billing metrics with Elastic Agent.",
  "type": "integration",
  "download": "/epr/azure_billing/azure_billing-1.10.0.zip",
  "path": "/package/azure_billing/1.10.0",
  "icons": [
    {
      "src": "/img/billing.png",
      "path": "/package/azure_billing/1.10.0/img/billing.png",
      "title": "logo docker",
      "size": "32x32",
      "type": "image/svg+xml"
    }
  ],
  "conditions": {
    "kibana": {
      "version": "^8.13.0 || ^9.0.0"
    },
    "elastic": {
      "subscription": "basic"
    }
  },
  "owner": {
    "type": "elastic",
    "github": "elastic/obs-infraobs-integrations"
  },
  "categories": [
    "cloud",
    "observability",
    "azure"
  ],
  "signature_path": "/epr/azure_billing/azure_billing-1.10.0.zip.sig",
  "format_version": "3.3.2",
  "readme": "/package/azure_billing/1.10.0/docs/README.md",
  "license": "basic",
  "screenshots": [
    {
      "src": "/img/azure-billing-overview.png",
      "path": "/package/azure_billing/1.10.0/img/azure-billing-overview.png",
      "title": "App State Overview",
      "size": "5120x2562",
      "type": "image/png"
    }
  ],
  "assets": [
    "/package/azure_billing/1.10.0/LICENSE.txt",
    "/package/azure_billing/1.10.0/changelog.yml",
    "/package/azure_billing/1.10.0/manifest.yml",
    "/package/azure_billing/1.10.0/validation.yml",
    "/package/azure_billing/1.10.0/docs/README.md",
    "/package/azure_billing/1.10.0/img/azure-billing-overview.png",
    "/package/azure_billing/1.10.0/img/billing.png",
    "/package/azure_billing/1.10.0/data_stream/billing/manifest.yml",
    "/package/azure_billing/1.10.0/data_stream/billing/sample_event.json",
    "/package/azure_billing/1.10.0/kibana/dashboard/azure_billing-d3efeb30-c1c7-11ea-b7e7-0f48178cdb3c.json",
    "/package/azure_billing/1.10.0/data_stream/billing/fields/agent.yml",
    "/package/azure_billing/1.10.0/data_stream/billing/fields/base-fields.yml",
    "/package/azure_billing/1.10.0/data_stream/billing/fields/fields.yml",
    "/package/azure_billing/1.10.0/data_stream/billing/fields/package-fields.yml",
    "/package/azure_billing/1.10.0/data_stream/billing/agent/stream/stream.yml.hbs"
  ],
  "policy_templates": [
    {
      "name": "billing",
      "title": "Azure Billing Metrics",
      "description": "Collect billing information with Elastic Agent.",
      "data_streams": [
        "billing"
      ],
      "inputs": [
        {
          "type": "azure/metrics",
          "title": "Collect Azure Billing metrics",
          "description": "Collecting Azure Billing metrics",
          "input_group": "metrics"
        }
      ],
      "multiple": true,
      "icons": [
        {
          "src": "/img//billing.png",
          "path": "/package/azure_billing/1.10.0/img/billing.png",
          "title": "logo azure",
          "size": "32x32",
          "type": "image/svg+xml"
        }
      ],
      "screenshots": [
        {
          "src": "/img/azure-billing-overview.png",
          "path": "/package/azure_billing/1.10.0/img/azure-billing-overview.png",
          "title": "App Billing Overview",
          "size": "5002x2666",
          "type": "image/png"
        }
      ],
      "deployment_modes": {
        "default": {
          "enabled": true
        },
        "agentless": {
          "enabled": true
        }
      }
    }
  ],
  "data_streams": [
    {
      "type": "metrics",
      "dataset": "azure.billing",
      "title": "Azure Billing Metrics",
      "release": "ga",
      "streams": [
        {
          "input": "azure/metrics",
          "vars": [
            {
              "name": "billing_scope_department",
              "type": "text",
              "title": "Billing Scope Department ID",
              "description": "The department ID to use as the billing scope. It replaces the subscription ID scope if set.",
              "multi": false,
              "required": false,
              "show_user": true
            },
            {
              "name": "billing_scope_account_id",
              "type": "text",
              "title": "Billing Scope Account ID",
              "description": "The billing account ID to use as the billing scope. It replaces the deparment ID scope if set.",
              "multi": false,
              "required": false,
              "show_user": true
            },
            {
              "name": "period",
              "type": "text",
              "title": "Period",
              "description": "The time interval to use when retrieving metric values. Default is 24h.",
              "multi": false,
              "required": true,
              "show_user": false,
              "default": "24h"
            },
            {
              "name": "processors",
              "type": "yaml",
              "title": "Processors",
              "description": "Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the events are shipped. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.\n",
              "multi": false,
              "required": false,
              "show_user": false
            }
          ],
          "template_path": "stream.yml.hbs",
          "title": "Azure Billing Metrics",
          "description": "Azure Billing Metrics",
          "enabled": true,
          "ingestion_method": "API"
        }
      ],
      "package": "azure_billing",
      "path": "billing"
    }
  ],
  "vars": [
    {
      "name": "client_id",
      "type": "text",
      "title": "Client ID",
      "description": "The unique identifier of the App Registration (sometimes referred to as Application ID).",
      "multi": false,
      "required": true,
      "show_user": true
    },
    {
      "name": "client_secret",
      "type": "password",
      "title": "Client Secret",
      "description": "The secret key of the App Registration.",
      "multi": false,
      "required": true,
      "show_user": true
    },
    {
      "name": "tenant_id",
      "type": "text",
      "title": "Tenant ID",
      "description": "The unique identifier of the Azure Active Directory.",
      "multi": false,
      "required": true,
      "show_user": true
    },
    {
      "name": "subscription_id",
      "type": "text",
      "title": "Subscription ID",
      "description": "The unique identifier for the Azure subscription. You can provide just one subscription ID. The Agent uses this ID to access Azure APIs. The Agent also uses this ID as the default scope for billing information.",
      "multi": false,
      "required": true,
      "show_user": true
    },
    {
      "name": "resource_manager_endpoint",
      "type": "text",
      "title": "Resource Manager Endpoint",
      "description": "By default, the integration uses the Azure public environment. To override, users can provide a specific resource manager endpoint to use a different Azure environment.",
      "multi": false,
      "required": false,
      "show_user": false
    },
    {
      "name": "active_directory_endpoint",
      "type": "text",
      "title": "Active Directory Endpoint",
      "description": "By default, the integration uses the associated Active Directory Endpoint. To override, users can provide a specific active directory endpoint to use a different Azure environment.",
      "multi": false,
      "required": false,
      "show_user": false
    },
    {
      "name": "resource_manager_audience",
      "type": "text",
      "title": "Resource Manager Audience",
      "description": "By default, the integration uses the associated Resource Manager Audience. To override, users can provide a specific resource manager audience to use a different Azure environment.",
      "multi": false,
      "required": false,
      "show_user": false
    }
  ]
}
