Skip to content

Commit 0ed4d4a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 65e22de of spec repo
1 parent 39e0f53 commit 0ed4d4a

File tree

5 files changed

+164
-124
lines changed

5 files changed

+164
-124
lines changed

content/en/api/v2/cloud-cost-management/examples.json

Lines changed: 25 additions & 23 deletions
Large diffs are not rendered by default.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"enabled": true,
5+
"rules": [
6+
{
7+
"enabled": true,
8+
"mapping": null,
9+
"name": "Add Cost Center Tag",
10+
"query": {
11+
"addition": {
12+
"key": "cost_center",
13+
"value": "engineering"
14+
},
15+
"case_insensitivity": false,
16+
"if_tag_exists": "replace",
17+
"query": "account_id:\"123456789\" AND service:\"web-api\""
18+
},
19+
"reference_table": null
20+
}
21+
]
22+
},
23+
"id": "New Ruleset",
24+
"type": "create_ruleset"
25+
}
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"enabled": true,
5+
"last_version": 3611102,
6+
"rules": [
7+
{
8+
"enabled": true,
9+
"mapping": {
10+
"destination_key": "team_owner",
11+
"if_tag_exists": "replace",
12+
"source_keys": [
13+
"account_name",
14+
"account_id"
15+
]
16+
},
17+
"name": "Account Name Mapping",
18+
"query": null,
19+
"reference_table": null
20+
}
21+
]
22+
},
23+
"id": "New Ruleset",
24+
"type": "update_ruleset"
25+
}
26+
}

data/api/v2/CodeExamples.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,11 @@
444444
"group": "cloud_cost_management",
445445
"suffix": "",
446446
"description": "Create tag pipeline ruleset returns \"OK\" response"
447+
},
448+
{
449+
"group": "cloud_cost_management",
450+
"suffix": "_1897535856",
451+
"description": "Create tag pipeline ruleset with if_tag_exists returns \"OK\" response"
447452
}
448453
],
449454
"UpdateCostAWSCURConfig": [
@@ -479,6 +484,11 @@
479484
"group": "cloud_cost_management",
480485
"suffix": "",
481486
"description": "Update tag pipeline ruleset returns \"OK\" response"
487+
},
488+
{
489+
"group": "cloud_cost_management",
490+
"suffix": "_1964644735",
491+
"description": "Update tag pipeline ruleset with if_tag_exists returns \"OK\" response"
482492
}
483493
],
484494
"UploadCustomCostsFile": [

0 commit comments

Comments
 (0)