Skip to content

Commit b66232d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f10b6fd of spec repo
1 parent b75003d commit b66232d

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118751,6 +118751,11 @@ paths:
118751118751
name: filter[provider]
118752118752
schema:
118753118753
type: string
118754+
- description: Filter results to tag keys that have data for a specific Cloud Cost Management metric (for example, `aws.cost.net.amortized`). When omitted, all tag keys for the requested period are returned.
118755+
in: query
118756+
name: filter[metric]
118757+
schema:
118758+
type: string
118754118759
responses:
118755118760
"200":
118756118761
content:

src/datadog_api_client/v2/api/cloud_cost_management_api.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,6 +1287,11 @@ def __init__(self, api_client=None):
12871287
"attribute": "filter[provider]",
12881288
"location": "query",
12891289
},
1290+
"filter_metric": {
1291+
"openapi_types": (str,),
1292+
"attribute": "filter[metric]",
1293+
"location": "query",
1294+
},
12901295
},
12911296
headers_map={
12921297
"accept": ["application/json"],
@@ -2884,6 +2889,7 @@ def list_cost_tag_key_sources(
28842889
filter_month: str,
28852890
*,
28862891
filter_provider: Union[str, UnsetType] = unset,
2892+
filter_metric: Union[str, UnsetType] = unset,
28872893
) -> CostTagKeySourcesResponse:
28882894
"""List Cloud Cost Management tag sources.
28892895
@@ -2893,6 +2899,8 @@ def list_cost_tag_key_sources(
28932899
:type filter_month: str
28942900
:param filter_provider: Filter results to a specific provider. Common cloud values are ``aws`` , ``azure`` , ``gcp`` , ``Oracle`` (OCI), and ``custom``. SaaS billing integrations (for example, ``Snowflake`` , ``MongoDB`` , ``Databricks`` ) are also accepted using their display-name string. Values are case-sensitive.
28952901
:type filter_provider: str, optional
2902+
:param filter_metric: Filter results to tag keys that have data for a specific Cloud Cost Management metric (for example, ``aws.cost.net.amortized`` ). When omitted, all tag keys for the requested period are returned.
2903+
:type filter_metric: str, optional
28962904
:rtype: CostTagKeySourcesResponse
28972905
"""
28982906
kwargs: Dict[str, Any] = {}
@@ -2901,6 +2909,9 @@ def list_cost_tag_key_sources(
29012909
if filter_provider is not unset:
29022910
kwargs["filter_provider"] = filter_provider
29032911

2912+
if filter_metric is not unset:
2913+
kwargs["filter_metric"] = filter_metric
2914+
29042915
return self._list_cost_tag_key_sources_endpoint.call_with_http_info(**kwargs)
29052916

29062917
def list_cost_tag_metadata(

0 commit comments

Comments
 (0)