Cloud Cost Management

Update Cloud Cost Management Azure config

Update the status of an Azure config (active/archived).

patch/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
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: cloud_cost_management_write

Path parameters

cloud_account_idinteger required

Cloud Account id.

Request body

Example request

{
  "data": {
    "attributes": {
      "is_enabled": true
    },
    "type": "azure_uc_config_patch_request"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "configs": [
        {
          "account_id": "1234abcd-1234-abcd-1234-1234abcd1234",
          "client_id": "1234abcd-1234-abcd-1234-1234abcd1234",
          "dataset_type": "actual",
          "export_name": "dd-actual-export",
          "export_path": "dd-export-path",
          "scope": "/subscriptions/1234abcd-1234-abcd-1234-1234abcd1234",
          "status": "active",
          "storage_account": "dd-storage-account",
          "storage_container": "dd-storage-container"
        }
      ]
    },
    "type": "azure_uc_configs"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.