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
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75610,7 +75610,7 @@ paths:
appKeyAuth: []
- AuthZ:
- cloud_cost_management_read
summary: Get ruleset
summary: Get a tag pipeline ruleset
tags:
- Cloud Cost Management
patch:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-10-14T20:06:56.512Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/v2/cloud-cost-management/GetTagPipelinesRuleset.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Get ruleset returns "OK" response
# Get a tag pipeline ruleset returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new
p api_instance.get_tag_pipelines_ruleset("ruleset_id")
p api_instance.get_tag_pipelines_ruleset("a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de")

This file was deleted.

25 changes: 9 additions & 16 deletions features/v2/cloud_cost_management.feature
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,15 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 200 OK

@replay-only @team:DataDog/cloud-cost-management
Scenario: Get a tag pipeline ruleset returns "OK" response
Given new "GetTagPipelinesRuleset" request
And request contains "ruleset_id" parameter with value "a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de"
When the request is sent
Then the response status is 200 OK
And the response "data.type" is equal to "ruleset"
And the response "data.attributes.name" is equal to "EVP Cost Tags"

@replay-only @team:DataDog/cloud-cost-management
Scenario: Get cost AWS CUR config returns "OK" response
Given new "GetCostAWSCURConfig" request
Expand All @@ -288,22 +297,6 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: Get ruleset returns "OK" response
Given new "GetTagPipelinesRuleset" request
And request contains "ruleset_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@replay-only @team:DataDog/cloud-cost-management
Scenario: Get tag pipeline ruleset returns "OK" response
Given new "GetTagPipelinesRuleset" request
And request contains "ruleset_id" parameter with value "ee10c3ff-312f-464c-b4f6-46adaa6d00a1"
When the request is sent
Then the response status is 200 OK
And the response "data.type" is equal to "ruleset"
And the response "data.attributes.name" is equal to "New Ruleset"

@replay-only @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management AWS CUR configs returns "OK" response
Given new "ListCostAWSCURConfigs" request
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/api/cloud_cost_management_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1215,15 +1215,15 @@ def get_custom_costs_file_with_http_info(file_id, opts = {})
return data, status_code, headers
end

# Get ruleset.
# Get a tag pipeline ruleset.
#
# @see #get_tag_pipelines_ruleset_with_http_info
def get_tag_pipelines_ruleset(ruleset_id, opts = {})
data, _status_code, _headers = get_tag_pipelines_ruleset_with_http_info(ruleset_id, opts)
data
end

# Get ruleset.
# Get a tag pipeline ruleset.
#
# Get a specific tag pipeline ruleset - Retrieve a specific tag pipeline ruleset by its ID
#
Expand Down
Loading