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 4
4
"spec_versions": {
5
5
"v1": {
6
6
"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 "
9
9
},
10
10
"v2": {
11
11
"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 "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -47793,9 +47793,6 @@ paths:
47793
47793
operator: OR
47794
47794
permissions:
47795
47795
- 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/).'
47799
47796
/api/v2/usage/cost_by_org:
47800
47797
get:
47801
47798
deprecated: true
Original file line number Diff line number Diff line change 51
51
- name : Compress site
52
52
run : tar czf site.tar.gz site
53
53
54
- - uses : actions/upload-artifact@v3
54
+ - uses : actions/upload-artifact@v4
55
55
with :
56
56
name : documentation
57
57
path : site.tar.gz
64
64
- build
65
65
66
66
steps :
67
- - uses : actions/download-artifact@v3
67
+ - uses : actions/download-artifact@v4
68
68
with :
69
69
name : documentation
70
70
path : site
Original file line number Diff line number Diff line change 6
6
from datadog_api_client .v2 .api .usage_metering_api import UsageMeteringApi
7
7
8
8
configuration = Configuration ()
9
- configuration .unstable_operations ["get_billing_dimension_mapping" ] = True
10
9
with ApiClient (configuration ) as api_client :
11
10
api_instance = UsageMeteringApi (api_client )
12
11
response = api_instance .get_billing_dimension_mapping ()
Original file line number Diff line number Diff line change @@ -250,7 +250,6 @@ def __init__(
250
250
"v2.list_apps" : False ,
251
251
"v2.update_app" : False ,
252
252
"v2.get_active_billing_dimensions" : False ,
253
- "v2.get_billing_dimension_mapping" : False ,
254
253
"v2.get_monthly_cost_attribution" : False ,
255
254
"v2.cancel_data_deletion_request" : False ,
256
255
"v2.create_data_deletion_request" : False ,
Original file line number Diff line number Diff line change @@ -50,15 +50,13 @@ Feature: Usage Metering
50
50
51
51
@team:DataDog/revenue-query
52
52
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
55
54
When the request is sent
56
55
Then the response status is 400 Bad Request
57
56
58
57
@skip @team:DataDog/revenue-query
59
58
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
62
60
When the request is sent
63
61
Then the response status is 200 OK
64
62
You can’t perform that action at this time.
0 commit comments