Skip to content
Merged
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
654 changes: 653 additions & 1 deletion .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

140 changes: 140 additions & 0 deletions docs/datadog_api_client.v2.model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6535,6 +6535,69 @@ datadog\_api\_client.v2.model.cost\_by\_org\_type module
:members:
:show-inheritance:

datadog\_api\_client.v2.model.cost\_currency module
---------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_currency\_response module
-------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_currency\_type module
---------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_metric module
-------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_metric\_type module
-------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_metrics\_response module
------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_orchestrator module
-------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_orchestrator\_type module
-------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_orchestrators\_response module
------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag module
----------------------------------------------

Expand Down Expand Up @@ -6605,13 +6668,83 @@ datadog\_api\_client.v2.model.cost\_tag\_key\_details module
:members:
:show-inheritance:

datadog\_api\_client.v2.model.cost\_tag\_key\_metadata module
-------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_metadata\_attributes module
-------------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_metadata\_cardinality\_by\_account module
---------------------------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_metadata\_response module
-----------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_metadata\_top\_values\_by\_account module
---------------------------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_metadata\_type module
-------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_response module
-------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_source module
-----------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_source\_attributes module
-----------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_source\_type module
-----------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_sources\_response module
----------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_key\_type module
---------------------------------------------------------

Expand All @@ -6626,6 +6759,13 @@ datadog\_api\_client.v2.model.cost\_tag\_keys\_response module
:members:
:show-inheritance:

datadog\_api\_client.v2.model.cost\_tag\_metadata\_daily\_filter module
-----------------------------------------------------------------------

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

datadog\_api\_client.v2.model.cost\_tag\_type module
----------------------------------------------------

Expand Down
16 changes: 16 additions & 0 deletions examples/v2/cloud-cost-management/GetCostTagMetadataCurrency.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
Get the Cloud Cost Management billing currency returns "OK" response
"""

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

configuration = Configuration()
configuration.unstable_operations["get_cost_tag_metadata_currency"] = True
with ApiClient(configuration) as api_client:
api_instance = CloudCostManagementApi(api_client)
response = api_instance.get_cost_tag_metadata_currency(
filter_month="filter[month]",
)

print(response)
16 changes: 16 additions & 0 deletions examples/v2/cloud-cost-management/ListCostTagKeySources.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
List Cloud Cost Management tag sources returns "OK" response
"""

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

configuration = Configuration()
configuration.unstable_operations["list_cost_tag_key_sources"] = True
with ApiClient(configuration) as api_client:
api_instance = CloudCostManagementApi(api_client)
response = api_instance.list_cost_tag_key_sources(
filter_month="filter[month]",
)

print(response)
16 changes: 16 additions & 0 deletions examples/v2/cloud-cost-management/ListCostTagMetadata.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
List Cloud Cost Management tag key metadata returns "OK" response
"""

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

configuration = Configuration()
configuration.unstable_operations["list_cost_tag_metadata"] = True
with ApiClient(configuration) as api_client:
api_instance = CloudCostManagementApi(api_client)
response = api_instance.list_cost_tag_metadata(
filter_month="filter[month]",
)

print(response)
16 changes: 16 additions & 0 deletions examples/v2/cloud-cost-management/ListCostTagMetadataMetrics.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
List available Cloud Cost Management metrics returns "OK" response
"""

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

configuration = Configuration()
configuration.unstable_operations["list_cost_tag_metadata_metrics"] = True
with ApiClient(configuration) as api_client:
api_instance = CloudCostManagementApi(api_client)
response = api_instance.list_cost_tag_metadata_metrics(
filter_month="filter[month]",
)

print(response)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
List Cloud Cost Management orchestrators returns "OK" response
"""

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

configuration = Configuration()
configuration.unstable_operations["list_cost_tag_metadata_orchestrators"] = True
with ApiClient(configuration) as api_client:
api_instance = CloudCostManagementApi(api_client)
response = api_instance.list_cost_tag_metadata_orchestrators(
filter_month="filter[month]",
)

print(response)
5 changes: 5 additions & 0 deletions src/datadog_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,12 @@ def __init__(
"v2.get_commitments_utilization_scalar": False,
"v2.get_commitments_utilization_timeseries": False,
"v2.get_cost_anomaly": False,
"v2.get_cost_tag_metadata_currency": False,
"v2.list_cost_anomalies": False,
"v2.list_cost_tag_key_sources": False,
"v2.list_cost_tag_metadata": False,
"v2.list_cost_tag_metadata_metrics": False,
"v2.list_cost_tag_metadata_orchestrators": False,
"v2.create_dashboard_secure_embed": False,
"v2.delete_dashboard_secure_embed": False,
"v2.get_dashboard_secure_embed": False,
Expand Down
Loading
Loading