File tree Expand file tree Collapse file tree 6 files changed +8
-15
lines changed
examples/v2/usage-metering Expand file tree Collapse file tree 6 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 66from datadog_api_client .v2 .api .usage_metering_api import UsageMeteringApi
77
88configuration = Configuration ()
9- configuration .unstable_operations ["get_billing_dimension_mapping" ] = True
109with ApiClient (configuration ) as api_client :
1110 api_instance = UsageMeteringApi (api_client )
1211 response = api_instance .get_billing_dimension_mapping ()
Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments