Skip to content

Commit 1769788

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8ecb0e7 of spec repo
1 parent 0eb1058 commit 1769788

File tree

67 files changed

+571
-235
lines changed

Some content is hidden

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

67 files changed

+571
-235
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": "3a6cb30",
3-
"generated": "2025-08-12 15:41:29.674"
2+
"spec_repo_commit": "8ecb0e7",
3+
"generated": "2025-08-12 22:11:24.605"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 55 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
@@ -49173,13 +49167,44 @@ paths:
4917349167
get:
4917449168
description: List the Custom Costs files.
4917549169
operationId: ListCustomCostsFiles
49170+
parameters:
49171+
- description: Page number for pagination
49172+
in: query
49173+
name: page[number]
49174+
schema:
49175+
format: int64
49176+
type: integer
49177+
- description: Page size for pagination
49178+
in: query
49179+
name: page[size]
49180+
schema:
49181+
default: 100
49182+
format: int64
49183+
type: integer
49184+
- description: Filter by file status
49185+
in: query
49186+
name: filter[status]
49187+
schema:
49188+
type: string
49189+
- description: Sort key with optional descending prefix
49190+
in: query
49191+
name: sort
49192+
schema:
49193+
default: created_at
49194+
type: string
4917649195
responses:
4917749196
'200':
4917849197
content:
4917949198
application/json:
4918049199
schema:
4918149200
$ref: '#/components/schemas/CustomCostsFileListResponse'
4918249201
description: OK
49202+
'400':
49203+
content:
49204+
application/json:
49205+
schema:
49206+
$ref: '#/components/schemas/APIErrorResponse'
49207+
description: Bad Request
4918349208
'403':
4918449209
content:
4918549210
application/json:
@@ -49212,6 +49237,12 @@ paths:
4921249237
schema:
4921349238
$ref: '#/components/schemas/CustomCostsFileUploadResponse'
4921449239
description: Accepted
49240+
'400':
49241+
content:
49242+
application/json:
49243+
schema:
49244+
$ref: '#/components/schemas/APIErrorResponse'
49245+
description: Bad Request
4921549246
'403':
4921649247
content:
4921749248
application/json:
@@ -49243,6 +49274,12 @@ paths:
4924349274
schema:
4924449275
$ref: '#/components/schemas/APIErrorResponse'
4924549276
description: Forbidden
49277+
'404':
49278+
content:
49279+
application/json:
49280+
schema:
49281+
$ref: '#/components/schemas/APIErrorResponse'
49282+
description: Not Found
4924649283
'429':
4924749284
$ref: '#/components/responses/TooManyRequestsResponse'
4924849285
security:
@@ -49271,6 +49308,12 @@ paths:
4927149308
schema:
4927249309
$ref: '#/components/schemas/APIErrorResponse'
4927349310
description: Forbidden
49311+
'404':
49312+
content:
49313+
application/json:
49314+
schema:
49315+
$ref: '#/components/schemas/APIErrorResponse'
49316+
description: Not Found
4927449317
'429':
4927549318
$ref: '#/components/responses/TooManyRequestsResponse'
4927649319
security:

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: 0 additions & 13 deletions
This file was deleted.

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="9ed1a245-8291-44de-9f59-1dc87975ca4a",
1313
)
1414

1515
print(response)

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

Lines changed: 0 additions & 13 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Get Custom Costs File returns "OK" response
2+
List Custom Costs files with pagination parameters returns "OK" response
33
"""
44

55
from datadog_api_client import ApiClient, Configuration
@@ -8,8 +8,10 @@
88
configuration = Configuration()
99
with ApiClient(configuration) as api_client:
1010
api_instance = CloudCostManagementApi(api_client)
11-
response = api_instance.get_custom_costs_file(
12-
file_id="9d055d22-a838-4e9f-bc34-a4f9ab66280c",
11+
response = api_instance.list_custom_costs_files(
12+
page_number=1,
13+
page_size=10,
14+
sort="-created_at",
1315
)
1416

1517
print(response)

0 commit comments

Comments
 (0)