Skip to content

Commit 23a2c51

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9f764af of spec repo
1 parent cad8a33 commit 23a2c51

26 files changed

Lines changed: 689 additions & 30 deletions

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -791,11 +791,6 @@ components:
791791
items:
792792
$ref: "#/components/schemas/ResourceProviderConfig"
793793
type: array
794-
secretless_auth_enabled:
795-
description: |-
796-
(Preview) When enabled, Datadog authenticates with this app registration using federated workload identity credentials instead of a client secret.
797-
example: true
798-
type: boolean
799794
tenant_name:
800795
description: Your Azure Active Directory ID.
801796
example: "testc44-1234-5678-9101-cc00736ftest"

.generator/schemas/v2/openapi.yaml

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6369,6 +6369,62 @@ components:
63696369
type: string
63706370
x-enum-varnames:
63716371
- ARBITRARY_RULE
6372+
ArbitraryRuleStatusResponseArray:
6373+
description: The definition of `ArbitraryRuleStatusResponseArray` object.
6374+
example:
6375+
data:
6376+
- attributes:
6377+
processing_status: processing
6378+
id: "123"
6379+
type: arbitrary_rule_status
6380+
- attributes:
6381+
processing_status: done
6382+
id: "456"
6383+
type: arbitrary_rule_status
6384+
properties:
6385+
data:
6386+
description: The `ArbitraryRuleStatusResponseArray` `data`.
6387+
items:
6388+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseData"
6389+
type: array
6390+
required:
6391+
- data
6392+
type: object
6393+
ArbitraryRuleStatusResponseData:
6394+
description: The definition of `ArbitraryRuleStatusResponseData` object.
6395+
properties:
6396+
attributes:
6397+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseDataAttributes"
6398+
id:
6399+
description: The unique identifier of the custom allocation rule.
6400+
example: "123"
6401+
type: string
6402+
type:
6403+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseDataType"
6404+
required:
6405+
- id
6406+
- type
6407+
- attributes
6408+
type: object
6409+
ArbitraryRuleStatusResponseDataAttributes:
6410+
description: The definition of `ArbitraryRuleStatusResponseDataAttributes` object.
6411+
properties:
6412+
processing_status:
6413+
description: The processing status of the custom allocation rule.
6414+
example: processing
6415+
type: string
6416+
required:
6417+
- processing_status
6418+
type: object
6419+
ArbitraryRuleStatusResponseDataType:
6420+
default: arbitrary_rule_status
6421+
description: Arbitrary rule status resource type.
6422+
enum:
6423+
- arbitrary_rule_status
6424+
example: arbitrary_rule_status
6425+
type: string
6426+
x-enum-varnames:
6427+
- ARBITRARY_RULE_STATUS
63726428
Argument:
63736429
description: A named argument for a custom static analysis rule.
63746430
properties:
@@ -60338,6 +60394,62 @@ components:
6033860394
type: string
6033960395
x-enum-varnames:
6034060396
- RULESET
60397+
RulesetStatusRespArray:
60398+
description: The definition of `RulesetStatusRespArray` object.
60399+
example:
60400+
data:
60401+
- attributes:
60402+
processing_status: processing
60403+
id: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
60404+
type: ruleset_status
60405+
- attributes:
60406+
processing_status: done
60407+
id: a7b8c9d0-1234-5678-9abc-def012345678
60408+
type: ruleset_status
60409+
properties:
60410+
data:
60411+
description: The `RulesetStatusRespArray` `data`.
60412+
items:
60413+
$ref: "#/components/schemas/RulesetStatusRespData"
60414+
type: array
60415+
required:
60416+
- data
60417+
type: object
60418+
RulesetStatusRespData:
60419+
description: The definition of `RulesetStatusRespData` object.
60420+
properties:
60421+
attributes:
60422+
$ref: "#/components/schemas/RulesetStatusRespDataAttributes"
60423+
id:
60424+
description: The unique identifier of the ruleset.
60425+
example: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
60426+
type: string
60427+
type:
60428+
$ref: "#/components/schemas/RulesetStatusRespDataType"
60429+
required:
60430+
- id
60431+
- type
60432+
- attributes
60433+
type: object
60434+
RulesetStatusRespDataAttributes:
60435+
description: The definition of `RulesetStatusRespDataAttributes` object.
60436+
properties:
60437+
processing_status:
60438+
description: The processing status of the ruleset.
60439+
example: processing
60440+
type: string
60441+
required:
60442+
- processing_status
60443+
type: object
60444+
RulesetStatusRespDataType:
60445+
default: ruleset_status
60446+
description: Ruleset status resource type.
60447+
enum:
60448+
- ruleset_status
60449+
example: ruleset_status
60450+
type: string
60451+
x-enum-varnames:
60452+
- RULESET_STATUS
6034160453
RumCrossProductSampling:
6034260454
description: The configuration for cross-product retention filters.
6034360455
properties:
@@ -92445,6 +92557,27 @@ paths:
9244592557
summary: Reorder custom allocation rules
9244692558
tags:
9244792559
- Cloud Cost Management
92560+
/api/v2/cost/arbitrary_rule/status:
92561+
get:
92562+
description: List the processing status of all custom allocation rules. Returns only the ID and processing status for each rule.
92563+
operationId: ListCustomAllocationRulesStatus
92564+
responses:
92565+
"200":
92566+
content:
92567+
application/json:
92568+
schema:
92569+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseArray"
92570+
description: OK
92571+
"429":
92572+
$ref: "#/components/responses/TooManyRequestsResponse"
92573+
security:
92574+
- apiKeyAuth: []
92575+
appKeyAuth: []
92576+
- AuthZ:
92577+
- cloud_cost_management_read
92578+
summary: List custom allocation rules status
92579+
tags:
92580+
- Cloud Cost Management
9244892581
/api/v2/cost/arbitrary_rule/{rule_id}:
9244992582
delete:
9245092583
description: Delete a custom allocation rule - Delete an existing custom allocation rule by its ID
@@ -131002,6 +131135,27 @@ paths:
131002131135
summary: Reorder tag pipeline rulesets
131003131136
tags:
131004131137
- Cloud Cost Management
131138+
/api/v2/tags/enrichment/status:
131139+
get:
131140+
description: List the processing status of all tag pipeline rulesets. Returns only the ID and processing status for each ruleset.
131141+
operationId: ListTagPipelinesRulesetsStatus
131142+
responses:
131143+
"200":
131144+
content:
131145+
application/json:
131146+
schema:
131147+
$ref: "#/components/schemas/RulesetStatusRespArray"
131148+
description: OK
131149+
"429":
131150+
$ref: "#/components/responses/TooManyRequestsResponse"
131151+
security:
131152+
- apiKeyAuth: []
131153+
appKeyAuth: []
131154+
- AuthZ:
131155+
- cloud_cost_management_read
131156+
summary: List tag pipeline rulesets status
131157+
tags:
131158+
- Cloud Cost Management
131005131159
/api/v2/tags/enrichment/validate-query:
131006131160
post:
131007131161
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

@@ -26464,6 +26492,34 @@ datadog\_api\_client.v2.model.ruleset\_resp\_data\_type module
2646426492
:members:
2646526493
:show-inheritance:
2646626494

26495+
datadog\_api\_client.v2.model.ruleset\_status\_resp\_array module
26496+
-----------------------------------------------------------------
26497+
26498+
.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_array
26499+
:members:
26500+
:show-inheritance:
26501+
26502+
datadog\_api\_client.v2.model.ruleset\_status\_resp\_data module
26503+
----------------------------------------------------------------
26504+
26505+
.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data
26506+
:members:
26507+
:show-inheritance:
26508+
26509+
datadog\_api\_client.v2.model.ruleset\_status\_resp\_data\_attributes module
26510+
----------------------------------------------------------------------------
26511+
26512+
.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data_attributes
26513+
:members:
26514+
:show-inheritance:
26515+
26516+
datadog\_api\_client.v2.model.ruleset\_status\_resp\_data\_type module
26517+
----------------------------------------------------------------------
26518+
26519+
.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data_type
26520+
:members:
26521+
:show-inheritance:
26522+
2646726523
datadog\_api\_client.v2.model.rum\_aggregate\_bucket\_value module
2646826524
------------------------------------------------------------------
2646926525

examples/v1/azure-integration/UpdateAzureHostFilters.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
namespace="Microsoft.Compute",
3131
),
3232
],
33-
secretless_auth_enabled=True,
3433
tenant_name="testc44-1234-5678-9101-cc00736ftest",
3534
usage_metrics_enabled=True,
3635
)

examples/v1/azure-integration/UpdateAzureIntegration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
new_client_id="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2222
new_tenant_name="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2323
resource_collection_enabled=True,
24-
secretless_auth_enabled=True,
2524
tenant_name="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2625
)
2726

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"""
2+
List custom allocation rules status 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 rulesets status 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)

src/datadog_api_client/v1/model/azure_account.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def openapi_types(_):
3838
"new_tenant_name": (str,),
3939
"resource_collection_enabled": (bool,),
4040
"resource_provider_configs": ([ResourceProviderConfig],),
41-
"secretless_auth_enabled": (bool,),
4241
"tenant_name": (str,),
4342
"usage_metrics_enabled": (bool,),
4443
}
@@ -59,7 +58,6 @@ def openapi_types(_):
5958
"new_tenant_name": "new_tenant_name",
6059
"resource_collection_enabled": "resource_collection_enabled",
6160
"resource_provider_configs": "resource_provider_configs",
62-
"secretless_auth_enabled": "secretless_auth_enabled",
6361
"tenant_name": "tenant_name",
6462
"usage_metrics_enabled": "usage_metrics_enabled",
6563
}
@@ -81,7 +79,6 @@ def __init__(
8179
new_tenant_name: Union[str, UnsetType] = unset,
8280
resource_collection_enabled: Union[bool, UnsetType] = unset,
8381
resource_provider_configs: Union[List[ResourceProviderConfig], UnsetType] = unset,
84-
secretless_auth_enabled: Union[bool, UnsetType] = unset,
8582
tenant_name: Union[str, UnsetType] = unset,
8683
usage_metrics_enabled: Union[bool, UnsetType] = unset,
8784
**kwargs,
@@ -138,9 +135,6 @@ def __init__(
138135
:param resource_provider_configs: Configuration settings applied to resources from the specified Azure resource providers.
139136
:type resource_provider_configs: [ResourceProviderConfig], optional
140137
141-
:param secretless_auth_enabled: (Preview) When enabled, Datadog authenticates with this app registration using federated workload identity credentials instead of a client secret.
142-
:type secretless_auth_enabled: bool, optional
143-
144138
:param tenant_name: Your Azure Active Directory ID.
145139
:type tenant_name: str, optional
146140
@@ -177,8 +171,6 @@ def __init__(
177171
kwargs["resource_collection_enabled"] = resource_collection_enabled
178172
if resource_provider_configs is not unset:
179173
kwargs["resource_provider_configs"] = resource_provider_configs
180-
if secretless_auth_enabled is not unset:
181-
kwargs["secretless_auth_enabled"] = secretless_auth_enabled
182174
if tenant_name is not unset:
183175
kwargs["tenant_name"] = tenant_name
184176
if usage_metrics_enabled is not unset:

0 commit comments

Comments
 (0)