Skip to content

Commit 5618768

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 125f484 of spec repo
1 parent 134b402 commit 5618768

File tree

24 files changed

+1160
-869
lines changed

24 files changed

+1160
-869
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 270 additions & 36 deletions
Large diffs are not rendered by default.

cassettes/v2/Cloud-Cost-Management_4135329986/Create-arbitrary-cost-rule-returns-OK-response_455549064/frozen.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-10-08T16:19:05.664Z"
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"log": {
3-
"_recordingName": "Cloud Cost Management/Update arbitrary cost rule returns \"OK\" response",
3+
"_recordingName": "Cloud Cost Management/Create custom allocation rule returns \"OK\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
77
"version": "6.0.5"
88
},
99
"entries": [
1010
{
11-
"_id": "a8cb74f5a06190da82019079a314b320",
11+
"_id": "9d41f4966e72bfbbfc5e2e7c5f3e870b",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 613,
15+
"bodySize": 589,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -28,21 +28,21 @@
2828
],
2929
"headersSize": 580,
3030
"httpVersion": "HTTP/1.1",
31-
"method": "PATCH",
31+
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"costs_to_allocate\":[{\"condition\":\"is\",\"tag\":\"account_id\",\"value\":\"123456789\",\"values\":[]},{\"condition\":\"in\",\"tag\":\"environment\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"enabled\":true,\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"allocated_by_tag_keys\":[\"team\",\"environment\"],\"based_on_costs\":[{\"condition\":\"is\",\"tag\":\"service\",\"value\":\"web-api\",\"values\":[]},{\"condition\":\"not in\",\"tag\":\"team\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"granularity\":\"daily\",\"method\":\"proportional\"},\"type\":\"shared\"},\"type\":\"upsert_arbitrary_rule\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"costs_to_allocate\":[{\"condition\":\"is\",\"tag\":\"account_id\",\"value\":\"123456789\"},{\"condition\":\"in\",\"tag\":\"environment\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"enabled\":true,\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"allocated_by_tag_keys\":[\"team\",\"environment\"],\"based_on_costs\":[{\"condition\":\"is\",\"tag\":\"service\",\"value\":\"web-api\"},{\"condition\":\"not in\",\"tag\":\"team\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"granularity\":\"daily\",\"method\":\"proportional\"},\"type\":\"shared\"},\"type\":\"upsert_arbitrary_rule\"}}"
3636
},
3737
"queryString": [],
38-
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/123456"
38+
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule"
3939
},
4040
"response": {
41-
"bodySize": 778,
41+
"bodySize": 784,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 778,
45-
"text": "{\"data\":{\"id\":\"123456\",\"type\":\"arbitrary_rule\",\"attributes\":{\"costs_to_allocate\":[{\"tag\":\"account_id\",\"condition\":\"is\",\"value\":\"123456789\",\"values\":null},{\"tag\":\"environment\",\"condition\":\"in\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"created\":\"2025-09-11T20:59:19.952563Z\",\"enabled\":true,\"last_modified_user_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"method\":\"proportional\",\"granularity\":\"daily\",\"based_on_costs\":[{\"tag\":\"service\",\"condition\":\"is\",\"value\":\"web-api\",\"values\":null},{\"tag\":\"team\",\"condition\":\"not in\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"allocated_by_tag_keys\":[\"team\",\"environment\"]},\"type\":\"shared\",\"updated\":\"2025-09-11T21:00:21.353162Z\",\"version\":1}}}"
44+
"size": 784,
45+
"text": "{\"data\":{\"id\":\"682\",\"type\":\"arbitrary_rule\",\"attributes\":{\"costs_to_allocate\":[{\"tag\":\"account_id\",\"condition\":\"is\",\"value\":\"123456789\",\"values\":null},{\"tag\":\"environment\",\"condition\":\"in\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"created\":\"2025-10-08T16:19:05.902839742Z\",\"enabled\":true,\"last_modified_user_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"method\":\"proportional\",\"granularity\":\"daily\",\"based_on_costs\":[{\"tag\":\"service\",\"condition\":\"is\",\"value\":\"web-api\",\"values\":null},{\"tag\":\"team\",\"condition\":\"not in\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"allocated_by_tag_keys\":[\"team\",\"environment\"]},\"type\":\"shared\",\"updated\":\"2025-10-08T16:19:05.902839742Z\",\"version\":1}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,8 +57,8 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2025-09-11T21:00:21.181Z",
61-
"time": 197
60+
"startedDateTime": "2025-10-08T16:19:05.667Z",
61+
"time": 210
6262
}
6363
],
6464
"pages": [],

cassettes/v2/Cloud-Cost-Management_4135329986/Delete-arbitrary-cost-rule-returns-No-Content-response_1882772635/frozen.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-10-08T16:22:29.527Z"
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"log": {
3-
"_recordingName": "Cloud Cost Management/Delete arbitrary cost rule returns \"No Content\" response",
3+
"_recordingName": "Cloud Cost Management/Delete custom allocation rule returns \"No Content\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
77
"version": "6.0.5"
88
},
99
"entries": [
1010
{
11-
"_id": "fe56610784550285b6372c39e2b6b8f5",
11+
"_id": "7ccef2f859d1a1d0f4f67cffa350d30d",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -21,11 +21,11 @@
2121
"value": "*/*"
2222
}
2323
],
24-
"headersSize": 515,
24+
"headersSize": 520,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "DELETE",
2727
"queryString": [],
28-
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/123456"
28+
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/682"
2929
},
3030
"response": {
3131
"bodySize": 0,
@@ -41,8 +41,8 @@
4141
"status": 204,
4242
"statusText": "No Content"
4343
},
44-
"startedDateTime": "2025-09-11T21:01:36.424Z",
45-
"time": 189
44+
"startedDateTime": "2025-10-08T16:22:29.530Z",
45+
"time": 226
4646
}
4747
],
4848
"pages": [],

cassettes/v2/Cloud-Cost-Management_4135329986/Get-arbitrary-cost-rule-returns-OK-response_159591606/frozen.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

cassettes/v2/Cloud-Cost-Management_4135329986/Get-arbitrary-cost-rule-returns-OK-response_159591606/recording.har

Lines changed: 0 additions & 57 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-10-08T16:19:36.586Z"

0 commit comments

Comments
 (0)