Skip to content

Commit 1885d97

Browse files
api-clients-generation-pipeline[bot]nkzouci.datadog-api-spec
authored
Remove preview status for GetBillingDimensionMapping endpoint (#2371)
* update docs action version * Regenerate client from commit f985f8bc of spec repo --------- Co-authored-by: Kevin Zou <[email protected]> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 1e54c78 commit 1885d97

File tree

6 files changed

+8
-15
lines changed

6 files changed

+8
-15
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-22 15:54:08.561505",
8-
"spec_repo_commit": "7a8ea4b1"
7+
"regenerated": "2025-01-23 20:01:37.241080",
8+
"spec_repo_commit": "f985f8bc"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-22 15:54:08.576092",
13-
"spec_repo_commit": "7a8ea4b1"
12+
"regenerated": "2025-01-23 20:01:37.256108",
13+
"spec_repo_commit": "f985f8bc"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47793,9 +47793,6 @@ paths:
4779347793
operator: OR
4779447794
permissions:
4779547795
- usage_read
47796-
x-unstable: '**Note**: This endpoint is in Preview.
47797-
47798-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
4779947796
/api/v2/usage/cost_by_org:
4780047797
get:
4780147798
deprecated: true

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Compress site
5252
run: tar czf site.tar.gz site
5353

54-
- uses: actions/upload-artifact@v3
54+
- uses: actions/upload-artifact@v4
5555
with:
5656
name: documentation
5757
path: site.tar.gz
@@ -64,7 +64,7 @@ jobs:
6464
- build
6565

6666
steps:
67-
- uses: actions/download-artifact@v3
67+
- uses: actions/download-artifact@v4
6868
with:
6969
name: documentation
7070
path: site

examples/v2/usage-metering/GetBillingDimensionMapping.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_billing_dimension_mapping"] = True
109
with ApiClient(configuration) as api_client:
1110
api_instance = UsageMeteringApi(api_client)
1211
response = api_instance.get_billing_dimension_mapping()

src/datadog_api_client/configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ def __init__(
250250
"v2.list_apps": False,
251251
"v2.update_app": False,
252252
"v2.get_active_billing_dimensions": False,
253-
"v2.get_billing_dimension_mapping": False,
254253
"v2.get_monthly_cost_attribution": False,
255254
"v2.cancel_data_deletion_request": False,
256255
"v2.create_data_deletion_request": False,

tests/v2/features/usage_metering.feature

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,13 @@ Feature: Usage Metering
5050

5151
@team:DataDog/revenue-query
5252
Scenario: Get billing dimension mapping for usage endpoints returns "Bad Request" response
53-
Given operation "GetBillingDimensionMapping" enabled
54-
And new "GetBillingDimensionMapping" request
53+
Given new "GetBillingDimensionMapping" request
5554
When the request is sent
5655
Then the response status is 400 Bad Request
5756

5857
@skip @team:DataDog/revenue-query
5958
Scenario: Get billing dimension mapping for usage endpoints returns "OK" response
60-
Given operation "GetBillingDimensionMapping" enabled
61-
And new "GetBillingDimensionMapping" request
59+
Given new "GetBillingDimensionMapping" request
6260
When the request is sent
6361
Then the response status is 200 OK
6462

0 commit comments

Comments
 (0)