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: 5 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118751,6 +118751,11 @@ paths:
name: filter[provider]
schema:
type: string
- 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.
in: query
name: filter[metric]
schema:
type: string
responses:
"200":
content:
Expand Down
1 change: 1 addition & 0 deletions features/scenarios_model_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2756,6 +2756,7 @@
"v2.ListCostTagKeySources" => {
"filter_month" => "String",
"filter_provider" => "String",
"filter_metric" => "String",
},
"v2.ListCostTags" => {
"filter_metric" => "String",
Expand Down
2 changes: 2 additions & 0 deletions lib/datadog_api_client/v2/api/cloud_cost_management_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3021,6 +3021,7 @@ def list_cost_tag_key_sources(filter_month, opts = {})
# @param filter_month [String] The month to scope the query to, in `YYYY-MM` format.
# @param opts [Hash] the optional parameters
# @option opts [String] :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.
# @option opts [String] :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.
# @return [Array<(CostTagKeySourcesResponse, Integer, Hash)>] CostTagKeySourcesResponse data, response status code and response headers
def list_cost_tag_key_sources_with_http_info(filter_month, opts = {})
unstable_enabled = @api_client.config.unstable_operations["v2.list_cost_tag_key_sources".to_sym]
Expand All @@ -3044,6 +3045,7 @@ def list_cost_tag_key_sources_with_http_info(filter_month, opts = {})
query_params = opts[:query_params] || {}
query_params[:'filter[month]'] = filter_month
query_params[:'filter[provider]'] = opts[:'filter_provider'] if !opts[:'filter_provider'].nil?
query_params[:'filter[metric]'] = opts[:'filter_metric'] if !opts[:'filter_metric'].nil?

# header parameters
header_params = opts[:header_params] || {}
Expand Down
Loading