Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -791,11 +791,6 @@ components:
items:
$ref: "#/components/schemas/ResourceProviderConfig"
type: array
secretless_auth_enabled:
description: |-
(Preview) When enabled, Datadog authenticates with this app registration using federated workload identity credentials instead of a client secret.
example: true
type: boolean
tenant_name:
description: Your Azure Active Directory ID.
example: "testc44-1234-5678-9101-cc00736ftest"
Expand Down
154 changes: 154 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6369,6 +6369,62 @@ components:
type: string
x-enum-varnames:
- ARBITRARY_RULE
ArbitraryRuleStatusResponseArray:
description: The definition of `ArbitraryRuleStatusResponseArray` object.
example:
data:
- attributes:
processing_status: processing
id: "123"
type: arbitrary_rule_status
- attributes:
processing_status: done
id: "456"
type: arbitrary_rule_status
properties:
data:
description: The `ArbitraryRuleStatusResponseArray` `data`.
items:
$ref: "#/components/schemas/ArbitraryRuleStatusResponseData"
type: array
required:
- data
type: object
ArbitraryRuleStatusResponseData:
description: The definition of `ArbitraryRuleStatusResponseData` object.
properties:
attributes:
$ref: "#/components/schemas/ArbitraryRuleStatusResponseDataAttributes"
id:
description: The unique identifier of the custom allocation rule.
example: "123"
type: string
type:
$ref: "#/components/schemas/ArbitraryRuleStatusResponseDataType"
required:
- id
- type
- attributes
type: object
ArbitraryRuleStatusResponseDataAttributes:
description: The definition of `ArbitraryRuleStatusResponseDataAttributes` object.
properties:
processing_status:
description: The processing status of the custom allocation rule.
example: processing
type: string
required:
- processing_status
type: object
ArbitraryRuleStatusResponseDataType:
default: arbitrary_rule_status
description: Arbitrary rule status resource type.
enum:
- arbitrary_rule_status
example: arbitrary_rule_status
type: string
x-enum-varnames:
- ARBITRARY_RULE_STATUS
Argument:
description: A named argument for a custom static analysis rule.
properties:
Expand Down Expand Up @@ -60338,6 +60394,62 @@ components:
type: string
x-enum-varnames:
- RULESET
RulesetStatusRespArray:
description: The definition of `RulesetStatusRespArray` object.
example:
data:
- attributes:
processing_status: processing
id: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
type: ruleset_status
- attributes:
processing_status: done
id: a7b8c9d0-1234-5678-9abc-def012345678
type: ruleset_status
properties:
data:
description: The `RulesetStatusRespArray` `data`.
items:
$ref: "#/components/schemas/RulesetStatusRespData"
type: array
required:
- data
type: object
RulesetStatusRespData:
description: The definition of `RulesetStatusRespData` object.
properties:
attributes:
$ref: "#/components/schemas/RulesetStatusRespDataAttributes"
id:
description: The unique identifier of the ruleset.
example: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
type: string
type:
$ref: "#/components/schemas/RulesetStatusRespDataType"
required:
- id
- type
- attributes
type: object
RulesetStatusRespDataAttributes:
description: The definition of `RulesetStatusRespDataAttributes` object.
properties:
processing_status:
description: The processing status of the ruleset.
example: processing
type: string
required:
- processing_status
type: object
RulesetStatusRespDataType:
default: ruleset_status
description: Ruleset status resource type.
enum:
- ruleset_status
example: ruleset_status
type: string
x-enum-varnames:
- RULESET_STATUS
RumCrossProductSampling:
description: The configuration for cross-product retention filters.
properties:
Expand Down Expand Up @@ -92445,6 +92557,27 @@ paths:
summary: Reorder custom allocation rules
tags:
- Cloud Cost Management
/api/v2/cost/arbitrary_rule/status:
get:
description: List the processing status of all custom allocation rules. Returns only the ID and processing status for each rule.
operationId: ListCustomAllocationRulesStatus
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/ArbitraryRuleStatusResponseArray"
description: OK
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cloud_cost_management_read
summary: List custom allocation rules status
tags:
- Cloud Cost Management
/api/v2/cost/arbitrary_rule/{rule_id}:
delete:
description: Delete a custom allocation rule - Delete an existing custom allocation rule by its ID
Expand Down Expand Up @@ -131002,6 +131135,27 @@ paths:
summary: Reorder tag pipeline rulesets
tags:
- Cloud Cost Management
/api/v2/tags/enrichment/status:
get:
description: List the processing status of all tag pipeline rulesets. Returns only the ID and processing status for each ruleset.
operationId: ListTagPipelinesRulesetsStatus
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/RulesetStatusRespArray"
description: OK
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cloud_cost_management_read
summary: List tag pipeline rulesets status
tags:
- Cloud Cost Management
/api/v2/tags/enrichment/validate-query:
post:
description: Validate a tag pipeline query - Validate the syntax and structure of a tag pipeline query
Expand Down
56 changes: 56 additions & 0 deletions docs/datadog_api_client.v2.model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1369,6 +1369,34 @@ datadog\_api\_client.v2.model.arbitrary\_rule\_response\_data\_type module
:members:
:show-inheritance:

datadog\_api\_client.v2.model.arbitrary\_rule\_status\_response\_array module
-----------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.arbitrary_rule_status_response_array
:members:
:show-inheritance:

datadog\_api\_client.v2.model.arbitrary\_rule\_status\_response\_data module
----------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.arbitrary_rule_status_response_data
:members:
:show-inheritance:

datadog\_api\_client.v2.model.arbitrary\_rule\_status\_response\_data\_attributes module
----------------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.arbitrary_rule_status_response_data_attributes
:members:
:show-inheritance:

datadog\_api\_client.v2.model.arbitrary\_rule\_status\_response\_data\_type module
----------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.arbitrary_rule_status_response_data_type
:members:
:show-inheritance:

datadog\_api\_client.v2.model.argument module
---------------------------------------------

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

datadog\_api\_client.v2.model.ruleset\_status\_resp\_array module
-----------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_array
:members:
:show-inheritance:

datadog\_api\_client.v2.model.ruleset\_status\_resp\_data module
----------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data
:members:
:show-inheritance:

datadog\_api\_client.v2.model.ruleset\_status\_resp\_data\_attributes module
----------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data_attributes
:members:
:show-inheritance:

datadog\_api\_client.v2.model.ruleset\_status\_resp\_data\_type module
----------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.ruleset_status_resp_data_type
:members:
:show-inheritance:

datadog\_api\_client.v2.model.rum\_aggregate\_bucket\_value module
------------------------------------------------------------------

Expand Down
1 change: 0 additions & 1 deletion examples/v1/azure-integration/UpdateAzureHostFilters.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
namespace="Microsoft.Compute",
),
],
secretless_auth_enabled=True,
tenant_name="testc44-1234-5678-9101-cc00736ftest",
usage_metrics_enabled=True,
)
Expand Down
1 change: 0 additions & 1 deletion examples/v1/azure-integration/UpdateAzureIntegration.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
new_client_id="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
new_tenant_name="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
resource_collection_enabled=True,
secretless_auth_enabled=True,
tenant_name="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""
List custom allocation rules status returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.cloud_cost_management_api import CloudCostManagementApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
api_instance = CloudCostManagementApi(api_client)
response = api_instance.list_custom_allocation_rules_status()

print(response)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""
List tag pipeline rulesets status returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.cloud_cost_management_api import CloudCostManagementApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
api_instance = CloudCostManagementApi(api_client)
response = api_instance.list_tag_pipelines_rulesets_status()

print(response)
8 changes: 0 additions & 8 deletions src/datadog_api_client/v1/model/azure_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def openapi_types(_):
"new_tenant_name": (str,),
"resource_collection_enabled": (bool,),
"resource_provider_configs": ([ResourceProviderConfig],),
"secretless_auth_enabled": (bool,),
"tenant_name": (str,),
"usage_metrics_enabled": (bool,),
}
Expand All @@ -59,7 +58,6 @@ def openapi_types(_):
"new_tenant_name": "new_tenant_name",
"resource_collection_enabled": "resource_collection_enabled",
"resource_provider_configs": "resource_provider_configs",
"secretless_auth_enabled": "secretless_auth_enabled",
"tenant_name": "tenant_name",
"usage_metrics_enabled": "usage_metrics_enabled",
}
Expand All @@ -81,7 +79,6 @@ def __init__(
new_tenant_name: Union[str, UnsetType] = unset,
resource_collection_enabled: Union[bool, UnsetType] = unset,
resource_provider_configs: Union[List[ResourceProviderConfig], UnsetType] = unset,
secretless_auth_enabled: Union[bool, UnsetType] = unset,
tenant_name: Union[str, UnsetType] = unset,
usage_metrics_enabled: Union[bool, UnsetType] = unset,
**kwargs,
Expand Down Expand Up @@ -138,9 +135,6 @@ def __init__(
:param resource_provider_configs: Configuration settings applied to resources from the specified Azure resource providers.
:type resource_provider_configs: [ResourceProviderConfig], optional

:param secretless_auth_enabled: (Preview) When enabled, Datadog authenticates with this app registration using federated workload identity credentials instead of a client secret.
:type secretless_auth_enabled: bool, optional

:param tenant_name: Your Azure Active Directory ID.
:type tenant_name: str, optional

Expand Down Expand Up @@ -177,8 +171,6 @@ def __init__(
kwargs["resource_collection_enabled"] = resource_collection_enabled
if resource_provider_configs is not unset:
kwargs["resource_provider_configs"] = resource_provider_configs
if secretless_auth_enabled is not unset:
kwargs["secretless_auth_enabled"] = secretless_auth_enabled
if tenant_name is not unset:
kwargs["tenant_name"] = tenant_name
if usage_metrics_enabled is not unset:
Expand Down
Loading
Loading