Skip to content

Commit 87583c0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 91042b3 of spec repo
1 parent 4895fb3 commit 87583c0

File tree

77 files changed

+742
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+742
-176
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "d02c8a3",
3-
"generated": "2025-08-08 12:07:20.979"
2+
"spec_repo_commit": "91042b3",
3+
"generated": "2025-08-11 20:30:21.197"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 69 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ components:
221221
name: cloud_account_id
222222
required: true
223223
schema:
224-
type: string
224+
format: int64
225+
type: integer
225226
CloudWorkloadSecurityAgentRuleID:
226227
description: The ID of the Agent rule
227228
example: 3b5-v82-ns6
@@ -4500,8 +4501,7 @@ components:
45004501
$ref: '#/components/schemas/AwsCURConfigAttributes'
45014502
id:
45024503
description: The ID of the AWS CUR config.
4503-
format: int64
4504-
type: integer
4504+
type: string
45054505
type:
45064506
$ref: '#/components/schemas/AwsCURConfigType'
45074507
required:
@@ -4642,9 +4642,6 @@ components:
46424642
description: The region the bucket is located in.
46434643
example: us-east-1
46444644
type: string
4645-
is_enabled:
4646-
description: Whether or not the Cloud Cost Management account is enabled.
4647-
type: boolean
46484645
months:
46494646
description: The month of the report.
46504647
format: int32
@@ -5136,8 +5133,7 @@ components:
51365133
type: string
51375134
id:
51385135
description: The ID of the Azure config.
5139-
format: int64
5140-
type: integer
5136+
type: string
51415137
months:
51425138
deprecated: true
51435139
description: The number of months the report has been backfilled.
@@ -5187,8 +5183,7 @@ components:
51875183
$ref: '#/components/schemas/AzureUCConfigPairAttributes'
51885184
id:
51895185
description: The ID of Cloud Cost Management account.
5190-
format: int64
5191-
type: integer
5186+
type: string
51925187
type:
51935188
$ref: '#/components/schemas/AzureUCConfigPairType'
51945189
required:
@@ -5205,8 +5200,7 @@ components:
52055200
type: array
52065201
id:
52075202
description: The ID of the Azure config pair.
5208-
format: int64
5209-
type: integer
5203+
type: string
52105204
required:
52115205
- configs
52125206
type: object
@@ -32860,6 +32854,17 @@ components:
3286032854
required:
3286132855
- data
3286232856
type: object
32857+
RequestSchema:
32858+
description: The definition of `RequestSchema` object.
32859+
properties:
32860+
file:
32861+
description: The cost file to upload (JSON or CSV format)
32862+
example: ''
32863+
format: binary
32864+
type: string
32865+
required:
32866+
- file
32867+
type: object
3286332868
ResourceFilterAttributes:
3286432869
description: Attributes of a resource filter.
3286532870
example:
@@ -49173,13 +49178,44 @@ paths:
4917349178
get:
4917449179
description: List the Custom Costs files.
4917549180
operationId: ListCustomCostsFiles
49181+
parameters:
49182+
- description: Page number for pagination
49183+
in: query
49184+
name: page[number]
49185+
schema:
49186+
format: int64
49187+
type: integer
49188+
- description: Page size for pagination
49189+
in: query
49190+
name: page[size]
49191+
schema:
49192+
default: 100
49193+
format: int64
49194+
type: integer
49195+
- description: Filter by file status
49196+
in: query
49197+
name: filter[status]
49198+
schema:
49199+
type: string
49200+
- description: Sort key with optional descending prefix
49201+
in: query
49202+
name: sort
49203+
schema:
49204+
default: created_at
49205+
type: string
4917649206
responses:
4917749207
'200':
4917849208
content:
4917949209
application/json:
4918049210
schema:
4918149211
$ref: '#/components/schemas/CustomCostsFileListResponse'
4918249212
description: OK
49213+
'400':
49214+
content:
49215+
application/json:
49216+
schema:
49217+
$ref: '#/components/schemas/APIErrorResponse'
49218+
description: Bad Request
4918349219
'403':
4918449220
content:
4918549221
application/json:
@@ -49204,6 +49240,9 @@ paths:
4920449240
application/json:
4920549241
schema:
4920649242
$ref: '#/components/schemas/CustomCostsFileUploadRequest'
49243+
multipart/form-data:
49244+
schema:
49245+
$ref: '#/components/schemas/RequestSchema'
4920749246
required: true
4920849247
responses:
4920949248
'202':
@@ -49212,6 +49251,12 @@ paths:
4921249251
schema:
4921349252
$ref: '#/components/schemas/CustomCostsFileUploadResponse'
4921449253
description: Accepted
49254+
'400':
49255+
content:
49256+
application/json:
49257+
schema:
49258+
$ref: '#/components/schemas/APIErrorResponse'
49259+
description: Bad Request
4921549260
'403':
4921649261
content:
4921749262
application/json:
@@ -49243,6 +49288,12 @@ paths:
4924349288
schema:
4924449289
$ref: '#/components/schemas/APIErrorResponse'
4924549290
description: Forbidden
49291+
'404':
49292+
content:
49293+
application/json:
49294+
schema:
49295+
$ref: '#/components/schemas/APIErrorResponse'
49296+
description: Not Found
4924649297
'429':
4924749298
$ref: '#/components/responses/TooManyRequestsResponse'
4924849299
security:
@@ -49271,6 +49322,12 @@ paths:
4927149322
schema:
4927249323
$ref: '#/components/schemas/APIErrorResponse'
4927349324
description: Forbidden
49325+
'404':
49326+
content:
49327+
application/json:
49328+
schema:
49329+
$ref: '#/components/schemas/APIErrorResponse'
49330+
description: Not Found
4927449331
'429':
4927549332
$ref: '#/components/responses/TooManyRequestsResponse'
4927649333
security:

docs/datadog_api_client.v2.model.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14284,6 +14284,13 @@ datadog\_api\_client.v2.model.reorder\_retention\_filters\_request module
1428414284
:members:
1428514285
:show-inheritance:
1428614286

14287+
datadog\_api\_client.v2.model.request\_schema module
14288+
----------------------------------------------------
14289+
14290+
.. automodule:: datadog_api_client.v2.model.request_schema
14291+
:members:
14292+
:show-inheritance:
14293+
1428714294
datadog\_api\_client.v2.model.resource\_filter\_attributes module
1428814295
-----------------------------------------------------------------
1428914296

examples/v2/cloud-cost-management/DeleteCostAWSCURConfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
with ApiClient(configuration) as api_client:
1010
api_instance = CloudCostManagementApi(api_client)
1111
api_instance.delete_cost_awscur_config(
12-
cloud_account_id="100",
12+
cloud_account_id=100,
1313
)

examples/v2/cloud-cost-management/DeleteCostAzureUCConfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
with ApiClient(configuration) as api_client:
1010
api_instance = CloudCostManagementApi(api_client)
1111
api_instance.delete_cost_azure_uc_config(
12-
cloud_account_id="100",
12+
cloud_account_id=100,
1313
)

examples/v2/cloud-cost-management/DeleteCostGCPUsageCostConfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
with ApiClient(configuration) as api_client:
1010
api_instance = CloudCostManagementApi(api_client)
1111
api_instance.delete_cost_gcp_usage_cost_config(
12-
cloud_account_id="100",
12+
cloud_account_id=100,
1313
)

examples/v2/cloud-cost-management/DeleteCustomCostsFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
with ApiClient(configuration) as api_client:
1010
api_instance = CloudCostManagementApi(api_client)
1111
api_instance.delete_custom_costs_file(
12-
file_id="file_id",
12+
file_id="9ed1a245-8291-44de-9f59-1dc87975ca4a",
1313
)

examples/v2/cloud-cost-management/DeleteCustomCostsFile_372970393.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
with ApiClient(configuration) as api_client:
1010
api_instance = CloudCostManagementApi(api_client)
1111
api_instance.delete_custom_costs_file(
12-
file_id="9d055d22-a838-4e9f-bc34-a4f9ab66280c",
12+
file_id="9ed1a245-8291-44de-9f59-1dc87975ca4a",
1313
)

examples/v2/cloud-cost-management/GetCustomCostsFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
with ApiClient(configuration) as api_client:
1010
api_instance = CloudCostManagementApi(api_client)
1111
response = api_instance.get_custom_costs_file(
12-
file_id="file_id",
12+
file_id="cb2e42bd-e03e-4207-bd87-cc446de0780a",
1313
)
1414

1515
print(response)

examples/v2/cloud-cost-management/GetCustomCostsFile_1307381576.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
with ApiClient(configuration) as api_client:
1010
api_instance = CloudCostManagementApi(api_client)
1111
response = api_instance.get_custom_costs_file(
12-
file_id="9d055d22-a838-4e9f-bc34-a4f9ab66280c",
12+
file_id="9ed1a245-8291-44de-9f59-1dc87975ca4a",
1313
)
1414

1515
print(response)

0 commit comments

Comments
 (0)