Skip to content

Commit ab2e087

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5e951f33 of spec repo
1 parent 1809e81 commit ab2e087

File tree

14 files changed

+538
-4
lines changed

14 files changed

+538
-4
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": "2023-11-15 20:43:33.225944",
8-
"spec_repo_commit": "d994bc85"
7+
"regenerated": "2023-11-16 09:34:04.004061",
8+
"spec_repo_commit": "5e951f33"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-15 20:43:33.245139",
13-
"spec_repo_commit": "d994bc85"
12+
"regenerated": "2023-11-16 09:34:04.018026",
13+
"spec_repo_commit": "5e951f33"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11747,6 +11747,53 @@ components:
1174711747
type: string
1174811748
x-enum-varnames:
1174911749
- PROCESS
11750+
ProjectedCost:
11751+
description: Projected Cost data.
11752+
properties:
11753+
attributes:
11754+
$ref: '#/components/schemas/ProjectedCostAttributes'
11755+
id:
11756+
description: Unique ID of the response.
11757+
type: string
11758+
type:
11759+
$ref: '#/components/schemas/CostByOrgType'
11760+
type: object
11761+
ProjectedCostAttributes:
11762+
description: Projected Cost attributes data.
11763+
properties:
11764+
charges:
11765+
description: List of charges data reported for the requested month.
11766+
items:
11767+
$ref: '#/components/schemas/ChargebackBreakdown'
11768+
type: array
11769+
date:
11770+
description: The month requested.
11771+
format: date-time
11772+
type: string
11773+
org_name:
11774+
description: The organization name.
11775+
type: string
11776+
projected_total_cost:
11777+
description: The total projected cost of products for the month.
11778+
format: double
11779+
type: number
11780+
public_id:
11781+
description: The organization public ID.
11782+
type: string
11783+
region:
11784+
description: The region of the Datadog instance that the organization belongs
11785+
to.
11786+
type: string
11787+
type: object
11788+
ProjectedCostResponse:
11789+
description: Projected Cost response.
11790+
properties:
11791+
data:
11792+
description: Response containing Projected Cost.
11793+
items:
11794+
$ref: '#/components/schemas/ProjectedCost'
11795+
type: array
11796+
type: object
1175011797
QueryFormula:
1175111798
description: A formula for calculation based on one or more queries.
1175211799
properties:
@@ -29935,6 +29982,57 @@ paths:
2993529982
summary: Get hourly usage for observability pipelines
2993629983
tags:
2993729984
- Usage Metering
29985+
/api/v2/usage/projected_cost:
29986+
get:
29987+
description: 'Get projected cost across multi-org and single root-org accounts.
29988+
29989+
Projected cost data is only available for the current month and becomes available
29990+
around the 12th of the month.
29991+
29992+
This endpoint requires the usage_read authorization scope.'
29993+
operationId: GetProjectedCost
29994+
parameters:
29995+
- description: String to specify whether cost is broken down at a parent-org
29996+
level or at the sub-org level. Available views are `summary` and `sub-org`.
29997+
Defaults to `summary`.
29998+
in: query
29999+
name: view
30000+
required: false
30001+
schema:
30002+
type: string
30003+
responses:
30004+
'200':
30005+
content:
30006+
application/json;datetime-format=rfc3339:
30007+
schema:
30008+
$ref: '#/components/schemas/ProjectedCostResponse'
30009+
description: OK
30010+
'400':
30011+
content:
30012+
application/json;datetime-format=rfc3339:
30013+
schema:
30014+
$ref: '#/components/schemas/APIErrorResponse'
30015+
description: Bad Request
30016+
'403':
30017+
content:
30018+
application/json;datetime-format=rfc3339:
30019+
schema:
30020+
$ref: '#/components/schemas/APIErrorResponse'
30021+
description: Forbidden - User is not authorized
30022+
'429':
30023+
content:
30024+
application/json;datetime-format=rfc3339:
30025+
schema:
30026+
$ref: '#/components/schemas/APIErrorResponse'
30027+
description: Too many requests
30028+
security:
30029+
- apiKeyAuth: []
30030+
appKeyAuth: []
30031+
- AuthZ:
30032+
- usage_read
30033+
summary: Get projected cost across your account
30034+
tags:
30035+
- Usage Metering
2993830036
/api/v2/user_invitations:
2993930037
post:
2994030038
description: Sends emails to one or more users inviting them to join the organization.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2023-11-16T09:28:12.658Z"

0 commit comments

Comments
 (0)