Skip to content

Commit 21f8772

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a492a6f8 of spec repo
1 parent 81cb2f6 commit 21f8772

File tree

6 files changed

+8
-22
lines changed

6 files changed

+8
-22
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-28 14:57:16.722951",
8-
"spec_repo_commit": "f832f43e"
7+
"regenerated": "2025-01-28 19:55:39.138206",
8+
"spec_repo_commit": "a492a6f8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-28 14:57:16.737270",
13-
"spec_repo_commit": "f832f43e"
12+
"regenerated": "2025-01-28 19:55:39.153720",
13+
"spec_repo_commit": "a492a6f8"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34557,9 +34557,6 @@ paths:
3455734557
operator: OR
3455834558
permissions:
3455934559
- usage_read
34560-
x-unstable: '**Note**: This endpoint is in public beta.
34561-
34562-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
3456334560
/api/v2/cost_by_tag/monthly_cost_attribution:
3456434561
get:
3456534562
description: "Get monthly cost attribution by tag across multi-org and single
@@ -34685,9 +34682,6 @@ paths:
3468534682
operator: OR
3468634683
permissions:
3468734684
- usage_read
34688-
x-unstable: '**Note**: This endpoint is in public beta.
34689-
34690-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
3469134685
/api/v2/csm/onboarding/agents:
3469234686
get:
3469334687
description: Get the list of all CSM Agents running on your hosts and containers.

examples/v2/usage-metering/GetActiveBillingDimensions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from datadog_api_client.v2.api.usage_metering_api import UsageMeteringApi
77

88
configuration = Configuration()
9-
configuration.unstable_operations["get_active_billing_dimensions"] = True
109
with ApiClient(configuration) as api_client:
1110
api_instance = UsageMeteringApi(api_client)
1211
response = api_instance.get_active_billing_dimensions()

examples/v2/usage-metering/GetMonthlyCostAttribution.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from datadog_api_client.v2.api.usage_metering_api import UsageMeteringApi
99

1010
configuration = Configuration()
11-
configuration.unstable_operations["get_monthly_cost_attribution"] = True
1211
with ApiClient(configuration) as api_client:
1312
api_instance = UsageMeteringApi(api_client)
1413
response = api_instance.get_monthly_cost_attribution(

src/datadog_api_client/configuration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,6 @@ def __init__(
249249
"v2.publish_app": False,
250250
"v2.unpublish_app": False,
251251
"v2.update_app": False,
252-
"v2.get_active_billing_dimensions": False,
253-
"v2.get_monthly_cost_attribution": False,
254252
"v2.cancel_data_deletion_request": False,
255253
"v2.create_data_deletion_request": False,
256254
"v2.get_data_deletion_requests": False,

tests/v2/features/usage_metering.feature

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ Feature: Usage Metering
1616

1717
@replay-only @team:DataDog/revenue-query
1818
Scenario: Get Monthly Cost Attribution returns "Bad Request" response
19-
Given operation "GetMonthlyCostAttribution" enabled
20-
And new "GetMonthlyCostAttribution" request
19+
Given new "GetMonthlyCostAttribution" request
2120
And request contains "start_month" parameter with value "{{ timeISO('now - 5d') }}"
2221
And request contains "fields" parameter with value "not_a_product"
2322
And request contains "end_month" parameter with value "{{ timeISO('now - 3d') }}"
@@ -26,8 +25,7 @@ Feature: Usage Metering
2625

2726
@replay-only @team:DataDog/revenue-query
2827
Scenario: Get Monthly Cost Attribution returns "OK" response
29-
Given operation "GetMonthlyCostAttribution" enabled
30-
And new "GetMonthlyCostAttribution" request
28+
Given new "GetMonthlyCostAttribution" request
3129
And request contains "start_month" parameter with value "{{ timeISO('now - 5d') }}"
3230
And request contains "fields" parameter with value "infra_host_total_cost"
3331
And request contains "end_month" parameter with value "{{ timeISO('now - 3d') }}"
@@ -36,15 +34,13 @@ Feature: Usage Metering
3634

3735
@generated @skip @team:DataDog/revenue-query
3836
Scenario: Get active billing dimensions for cost attribution returns "Bad Request" response
39-
Given operation "GetActiveBillingDimensions" enabled
40-
And new "GetActiveBillingDimensions" request
37+
Given new "GetActiveBillingDimensions" request
4138
When the request is sent
4239
Then the response status is 400 Bad Request
4340

4441
@team:DataDog/revenue-query
4542
Scenario: Get active billing dimensions for cost attribution returns "OK" response
46-
Given operation "GetActiveBillingDimensions" enabled
47-
And new "GetActiveBillingDimensions" request
43+
Given new "GetActiveBillingDimensions" request
4844
When the request is sent
4945
Then the response status is 200 OK
5046

0 commit comments

Comments
 (0)