Skip to content

Commit 19343c5

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 108dbc1 of spec repo
1 parent c13d8f0 commit 19343c5

16 files changed

Lines changed: 698 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6353,6 +6353,62 @@ components:
63536353
type: string
63546354
x-enum-varnames:
63556355
- ARBITRARY_RULE
6356+
ArbitraryRuleStatusResponseArray:
6357+
description: Processing statuses for all custom allocation rules in the specified organization.
6358+
example:
6359+
data:
6360+
- attributes:
6361+
processing_status: processing
6362+
id: "123"
6363+
type: arbitrary_rule_status
6364+
- attributes:
6365+
processing_status: done
6366+
id: "456"
6367+
type: arbitrary_rule_status
6368+
properties:
6369+
data:
6370+
description: Processing status for a custom allocation rule.
6371+
items:
6372+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseData"
6373+
type: array
6374+
required:
6375+
- data
6376+
type: object
6377+
ArbitraryRuleStatusResponseData:
6378+
description: Processing status for a custom allocation rule.
6379+
properties:
6380+
attributes:
6381+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseDataAttributes"
6382+
id:
6383+
description: The unique identifier of the custom allocation rule.
6384+
example: "123"
6385+
type: string
6386+
type:
6387+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseDataType"
6388+
required:
6389+
- id
6390+
- type
6391+
- attributes
6392+
type: object
6393+
ArbitraryRuleStatusResponseDataAttributes:
6394+
description: Processing status for a custom allocation rule.
6395+
properties:
6396+
processing_status:
6397+
description: The processing status of the custom allocation rule.
6398+
example: processing
6399+
type: string
6400+
required:
6401+
- processing_status
6402+
type: object
6403+
ArbitraryRuleStatusResponseDataType:
6404+
default: arbitrary_rule_status
6405+
description: Custom allocation rule status resource type.
6406+
enum:
6407+
- arbitrary_rule_status
6408+
example: arbitrary_rule_status
6409+
type: string
6410+
x-enum-varnames:
6411+
- ARBITRARY_RULE_STATUS
63566412
Argument:
63576413
description: A named argument for a custom static analysis rule.
63586414
properties:
@@ -60251,6 +60307,62 @@ components:
6025160307
type: string
6025260308
x-enum-varnames:
6025360309
- RULESET
60310+
RulesetStatusRespArray:
60311+
description: Processing statuses for all tag pipeline rulesets in the specified organization.
60312+
example:
60313+
data:
60314+
- attributes:
60315+
processing_status: processing
60316+
id: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
60317+
type: ruleset_status
60318+
- attributes:
60319+
processing_status: done
60320+
id: a7b8c9d0-1234-5678-9abc-def012345678
60321+
type: ruleset_status
60322+
properties:
60323+
data:
60324+
description: Processing status for a tag pipeline ruleset.
60325+
items:
60326+
$ref: "#/components/schemas/RulesetStatusRespData"
60327+
type: array
60328+
required:
60329+
- data
60330+
type: object
60331+
RulesetStatusRespData:
60332+
description: Processing status for a tag pipeline ruleset.
60333+
properties:
60334+
attributes:
60335+
$ref: "#/components/schemas/RulesetStatusRespDataAttributes"
60336+
id:
60337+
description: The unique identifier of the ruleset.
60338+
example: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
60339+
type: string
60340+
type:
60341+
$ref: "#/components/schemas/RulesetStatusRespDataType"
60342+
required:
60343+
- id
60344+
- type
60345+
- attributes
60346+
type: object
60347+
RulesetStatusRespDataAttributes:
60348+
description: Processing status for a tag pipeline ruleset.
60349+
properties:
60350+
processing_status:
60351+
description: The processing status of the ruleset.
60352+
example: processing
60353+
type: string
60354+
required:
60355+
- processing_status
60356+
type: object
60357+
RulesetStatusRespDataType:
60358+
default: ruleset_status
60359+
description: Ruleset status resource type.
60360+
enum:
60361+
- ruleset_status
60362+
example: ruleset_status
60363+
type: string
60364+
x-enum-varnames:
60365+
- RULESET_STATUS
6025460366
RumCrossProductSampling:
6025560367
description: The configuration for cross-product retention filters.
6025660368
properties:
@@ -94692,6 +94804,39 @@ paths:
9469294804
summary: Reorder custom allocation rules
9469394805
tags:
9469494806
- Cloud Cost Management
94807+
/api/v2/cost/arbitrary_rule/status:
94808+
get:
94809+
description: List the processing status of all custom allocation rules. Returns only the ID and processing status for each rule.
94810+
operationId: ListCustomAllocationRulesStatus
94811+
responses:
94812+
"200":
94813+
content:
94814+
application/json:
94815+
examples:
94816+
default:
94817+
value:
94818+
data:
94819+
- attributes:
94820+
processing_status: processing
94821+
id: "123"
94822+
type: arbitrary_rule_status
94823+
- attributes:
94824+
processing_status: done
94825+
id: "456"
94826+
type: arbitrary_rule_status
94827+
schema:
94828+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseArray"
94829+
description: OK
94830+
"429":
94831+
$ref: "#/components/responses/TooManyRequestsResponse"
94832+
security:
94833+
- apiKeyAuth: []
94834+
appKeyAuth: []
94835+
- AuthZ:
94836+
- cloud_cost_management_read
94837+
summary: List custom allocation rule statuses
94838+
tags:
94839+
- Cloud Cost Management
9469594840
/api/v2/cost/arbitrary_rule/{rule_id}:
9469694841
delete:
9469794842
description: Delete a custom allocation rule - Delete an existing custom allocation rule by its ID
@@ -140761,6 +140906,39 @@ paths:
140761140906
summary: Reorder tag pipeline rulesets
140762140907
tags:
140763140908
- Cloud Cost Management
140909+
/api/v2/tags/enrichment/status:
140910+
get:
140911+
description: List the processing status of all tag pipeline rulesets. Returns only the ID and processing status for each ruleset.
140912+
operationId: ListTagPipelinesRulesetsStatus
140913+
responses:
140914+
"200":
140915+
content:
140916+
application/json:
140917+
examples:
140918+
default:
140919+
value:
140920+
data:
140921+
- attributes:
140922+
processing_status: processing
140923+
id: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
140924+
type: ruleset_status
140925+
- attributes:
140926+
processing_status: done
140927+
id: a7b8c9d0-1234-5678-9abc-def012345678
140928+
type: ruleset_status
140929+
schema:
140930+
$ref: "#/components/schemas/RulesetStatusRespArray"
140931+
description: OK
140932+
"429":
140933+
$ref: "#/components/responses/TooManyRequestsResponse"
140934+
security:
140935+
- apiKeyAuth: []
140936+
appKeyAuth: []
140937+
- AuthZ:
140938+
- cloud_cost_management_read
140939+
summary: List tag pipeline ruleset statuses
140940+
tags:
140941+
- Cloud Cost Management
140764140942
/api/v2/tags/enrichment/validate-query:
140765140943
post:
140766140944
description: Validate a tag pipeline query - Validate the syntax and structure of a tag pipeline query

docs/datadog_api_client.v2.model.rst

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,34 @@ datadog\_api\_client.v2.model.arbitrary\_rule\_response\_data\_type module
13691369
:members:
13701370
:show-inheritance:
13711371

1372+
datadog\_api\_client.v2.model.arbitrary\_rule\_status\_response\_array module
1373+
-----------------------------------------------------------------------------
1374+
1375+
.. automodule:: datadog_api_client.v2.model.arbitrary_rule_status_response_array
1376+
:members:
1377+
:show-inheritance:
1378+
1379+
datadog\_api\_client.v2.model.arbitrary\_rule\_status\_response\_data module
1380+
----------------------------------------------------------------------------
1381+
1382+
.. automodule:: datadog_api_client.v2.model.arbitrary_rule_status_response_data
1383+
:members:
1384+
:show-inheritance:
1385+
1386+
datadog\_api\_client.v2.model.arbitrary\_rule\_status\_response\_data\_attributes module
1387+
----------------------------------------------------------------------------------------
1388+
1389+
.. automodule:: datadog_api_client.v2.model.arbitrary_rule_status_response_data_attributes
1390+
:members:
1391+
:show-inheritance:
1392+
1393+
datadog\_api\_client.v2.model.arbitrary\_rule\_status\_response\_data\_type module
1394+
----------------------------------------------------------------------------------
1395+
1396+
.. automodule:: datadog_api_client.v2.model.arbitrary_rule_status_response_data_type
1397+
:members:
1398+
:show-inheritance:
1399+
13721400
datadog\_api\_client.v2.model.argument module
13731401
---------------------------------------------
13741402

@@ -26380,6 +26408,34 @@ datadog\_api\_client.v2.model.ruleset\_resp\_data\_type module
2638026408
:members:
2638126409
:show-inheritance:
2638226410

26411+
datadog\_api\_client.v2.model.ruleset\_status\_resp\_array module
26412+
-----------------------------------------------------------------
26413+
26414+
.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_array
26415+
:members:
26416+
:show-inheritance:
26417+
26418+
datadog\_api\_client.v2.model.ruleset\_status\_resp\_data module
26419+
----------------------------------------------------------------
26420+
26421+
.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data
26422+
:members:
26423+
:show-inheritance:
26424+
26425+
datadog\_api\_client.v2.model.ruleset\_status\_resp\_data\_attributes module
26426+
----------------------------------------------------------------------------
26427+
26428+
.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data_attributes
26429+
:members:
26430+
:show-inheritance:
26431+
26432+
datadog\_api\_client.v2.model.ruleset\_status\_resp\_data\_type module
26433+
----------------------------------------------------------------------
26434+
26435+
.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data_type
26436+
:members:
26437+
:show-inheritance:
26438+
2638326439
datadog\_api\_client.v2.model.rum\_aggregate\_bucket\_value module
2638426440
------------------------------------------------------------------
2638526441

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"""
2+
List custom allocation rule statuses returns "OK" response
3+
"""
4+
5+
from datadog_api_client import ApiClient, Configuration
6+
from datadog_api_client.v2.api.cloud_cost_management_api import CloudCostManagementApi
7+
8+
configuration = Configuration()
9+
with ApiClient(configuration) as api_client:
10+
api_instance = CloudCostManagementApi(api_client)
11+
response = api_instance.list_custom_allocation_rules_status()
12+
13+
print(response)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"""
2+
List tag pipeline ruleset statuses returns "OK" response
3+
"""
4+
5+
from datadog_api_client import ApiClient, Configuration
6+
from datadog_api_client.v2.api.cloud_cost_management_api import CloudCostManagementApi
7+
8+
configuration = Configuration()
9+
with ApiClient(configuration) as api_client:
10+
api_instance = CloudCostManagementApi(api_client)
11+
response = api_instance.list_tag_pipelines_rulesets_status()
12+
13+
print(response)

0 commit comments

Comments
 (0)