---
title: "Create Cloud Cost Management Azure configs"
method: POST
path: "/api/v2/cost/azure_uc_config"
tags: ["Cloud Cost Management"]
---

# Create Cloud Cost Management Azure configs

`POST /api/v2/cost/azure_uc_config`

Create a Cloud Cost Management account for an Azure config.

## Request body

- AzureUCConfigPostRequest — Azure config Post Request.
  - `data` AzureUCConfigPostData, required — Azure config Post data.
    - `attributes` AzureUCConfigPostRequestAttributes — Attributes for Azure config Post Request.
      - `account_id` string, required — The tenant ID of the Azure account.
      - `actual_bill_config` BillConfig, required — Bill config.
        - `export_name` string, required — The name of the configured Azure Export.
        - `export_path` string, required — The path where the Azure Export is saved.
        - `storage_account` string, required — The name of the storage account where the Azure Export is saved.
        - `storage_container` string, required — The name of the storage container where the Azure Export is saved.
      - `amortized_bill_config` BillConfig, required — Bill config.
        - `export_name` string, required — The name of the configured Azure Export.
        - `export_path` string, required — The path where the Azure Export is saved.
        - `storage_account` string, required — The name of the storage account where the Azure Export is saved.
        - `storage_container` string, required — The name of the storage container where the Azure Export is saved.
      - `client_id` string, required — The client ID of the Azure account.
      - `scope` string, required — The scope of your observed subscription.
    - `type` 'azure_uc_config_post_request', required — Type of Azure config Post Request.

## Response `200`

OK

- AzureUCConfigPairsResponse — Response of Azure config pair.
  - `data` AzureUCConfigPair — Azure config pair.
    - `attributes` AzureUCConfigPairAttributes, required — Attributes for Azure config pair.
      - `configs` AzureUCConfig[], required — An Azure config.
        - `account_id` string, required — The tenant ID of the Azure account.
        - `client_id` string, required — The client ID of the Azure account.
        - `created_at` string — The timestamp when the Azure config was created.
        - `dataset_type` string, required — The dataset type of the Azure config.
        - `error_messages` string[], nullable — The error messages for the Azure config.
        - `export_name` string, required — The name of the configured Azure Export.
        - `export_path` string, required — The path where the Azure Export is saved.
        - `id` string — The ID of the Azure config.
        - `months` integer — The number of months the report has been backfilled.
        - `scope` string, required — The scope of your observed subscription.
        - `status` string, required — The status of the Azure config.
        - `status_updated_at` string — The timestamp when the Azure config status was last updated.
        - `storage_account` string, required — The name of the storage account where the Azure Export is saved.
        - `storage_container` string, required — The name of the storage container where the Azure Export is saved.
        - `updated_at` string — The timestamp when the Azure config was last updated.
      - `id` string — The ID of the Azure config pair.
    - `id` string — The ID of Cloud Cost Management account.
    - `type` 'azure_uc_configs', required — Type of Azure config pair.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
