Skip to main content
PUT
/
api
/
v1
/
config
/
azure-metrics-integrations
/
{slug}
{
  "azure_metrics_integration": {
    "name": "<string>",
    "count_metrics_enabled": true,
    "created_at": "2023-11-07T05:31:56Z",
    "principal": {
      "client_id": "<string>",
      "tenant_id": "<string>"
    },
    "propagate_tags": true,
    "scrape_config": {
      "locations": [
        "<string>"
      ],
      "resource_types": [
        {
          "metric_names": [
            "<string>"
          ],
          "name": "<string>"
        }
      ],
      "subscription_ids": [
        "<string>"
      ]
    },
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "usage_metrics_enabled": true
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Path Parameters

slug
string
required

Body

application/json
azure_metrics_integration
object

The AzureMetricsIntegration to update.

create_if_missing
boolean

If true, the AzureMetricsIntegration will be created if it does not already exist, identified by slug. If false, an error will be returned if the AzureMetricsIntegration does not already exist.

dry_run
boolean

If true, validates the specified configuration without creating or updating the AzureMetricsIntegration. If the specified configuration is valid, the endpoint returns a partial response without the AzureMetricsIntegration. If the specified configuration is invalid, the endpoint returns an error.

Response

A successful response containing the updated AzureMetricsIntegration.

azure_metrics_integration
object