---
title: "Get cost Azure UC config"
method: GET
path: "/api/v2/cost/azure_uc_config/{cloud_account_id}"
tags: ["Cloud Cost Management"]
---

# Get cost Azure UC config

`GET /api/v2/cost/azure_uc_config/{cloud_account_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/cost/azure_uc_config/{cloud_account_id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `cloud_cost_management_read`

Get a specific Azure config.

## Path parameters

- `cloud_account_id` integer, required

## Response `200`

OK

- UCConfigPair: The definition of `UCConfigPair` object.
  - `data` UCConfigPairData: The definition of `UCConfigPairData` object.
    - `attributes` UCConfigPairDataAttributes: The definition of `UCConfigPairDataAttributes` object.
      - `configs` UCConfigPairDataAttributesConfigsItems[]: The `attributes` `configs`.
        - `account_id` string: The `items` `account_id`.
        - `client_id` string: The `items` `client_id`.
        - `created_at` string: The `items` `created_at`.
        - `dataset_type` string: The `items` `dataset_type`.
        - `error_messages` string[], nullable: The `items` `error_messages`.
        - `export_name` string: The `items` `export_name`.
        - `export_path` string: The `items` `export_path`.
        - `id` string: The `items` `id`.
        - `months` integer: The `items` `months`.
        - `scope` string: The `items` `scope`.
        - `status` string: The `items` `status`.
        - `status_updated_at` string: The `items` `status_updated_at`.
        - `storage_account` string: The `items` `storage_account`.
        - `storage_container` string: The `items` `storage_container`.
        - `updated_at` string: The `items` `updated_at`.
    - `id` string: The `UCConfigPairData` `id`.
    - `type` 'azure_uc_configs', required: Azure UC configs resource type.

## Other responses

- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
