Skip to content

Commit d72ecc2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update the summary name for get a tag pipeline ruleset. (#969)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 89b7200 commit d72ecc2

File tree

6 files changed

+46
-36
lines changed

6 files changed

+46
-36
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75610,7 +75610,7 @@ paths:
7561075610
appKeyAuth: []
7561175611
- AuthZ:
7561275612
- cloud_cost_management_read
75613-
summary: Get ruleset
75613+
summary: Get a tag pipeline ruleset
7561475614
tags:
7561575615
- Cloud Cost Management
7561675616
patch:

examples/v2_cloud-cost-management_GetTagPipelinesRuleset.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Get ruleset returns "OK" response
1+
// Get a tag pipeline ruleset returns "OK" response
22
use datadog_api_client::datadog;
33
use datadog_api_client::datadogV2::api_cloud_cost_management::CloudCostManagementAPI;
44

@@ -7,7 +7,7 @@ async fn main() {
77
let configuration = datadog::Configuration::new();
88
let api = CloudCostManagementAPI::with_config(configuration);
99
let resp = api
10-
.get_tag_pipelines_ruleset("ruleset_id".to_string())
10+
.get_tag_pipelines_ruleset("a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de".to_string())
1111
.await;
1212
if let Ok(value) = resp {
1313
println!("{:#?}", value);

examples/v2_cloud-cost-management_GetTagPipelinesRuleset_2339377367.rs

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-10-14T20:06:56.512Z
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"http_interactions": [
3+
{
4+
"request": {
5+
"body": "",
6+
"headers": {
7+
"Accept": [
8+
"application/json"
9+
]
10+
},
11+
"method": "get",
12+
"uri": "https://api.datadoghq.com/api/v2/tags/enrichment/a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de"
13+
},
14+
"response": {
15+
"body": {
16+
"string": "{\"data\":{\"id\":\"a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de\",\"type\":\"ruleset\",\"attributes\":{\"created\":{\"seconds\":1753803214,\"nanos\":75009000},\"enabled\":false,\"last_modified_user_uuid\":\"4acae75b-78ac-11ef-9c0d-e6936f49688e\",\"modified\":{\"seconds\":1753803214,\"nanos\":75009000},\"name\":\"EVP Cost Tags\",\"position\":1,\"processing_status\":\"done\",\"rules\":[{\"name\":\"EVP Cost Tags\",\"enabled\":true,\"query\":null,\"mapping\":null,\"reference_table\":{\"table_name\":\"evp_cost_tags\",\"source_keys\":[\"pod_name\"],\"field_pairs\":[{\"input_column\":\"cost_service\",\"output_key\":\"cost_service\"},{\"input_column\":\"cogs\",\"output_key\":\"cogs\"},{\"input_column\":\"cost_team\",\"output_key\":\"cost_team\"},{\"input_column\":\"cost_product\",\"output_key\":\"cost_product\"},{\"input_column\":\"subscription\",\"output_key\":\"subscription\"},{\"input_column\":\"cost_group\",\"output_key\":\"cost_group\"},{\"input_column\":\"cost_subservice\",\"output_key\":\"cost_subservice\"},{\"input_column\":\"cost_customer\",\"output_key\":\"cost_customer\"},{\"input_column\":\"cost_isolation_id\",\"output_key\":\"cost_isolation_id\"}],\"case_insensitivity\":false,\"if_not_exists\":false},\"metadata\":null},{\"name\":\"Load balancer runtimecosts-team\",\"enabled\":true,\"query\":{\"query\":\"dd-frontend-service:evp_* OR dd-frontend-service:logs_*\",\"addition\":{\"key\":\"runtimecosts-team\",\"value\":\"event-platform\"},\"if_not_exists\":true,\"case_insensitivity\":false},\"mapping\":null,\"reference_table\":null,\"metadata\":null}],\"version\":3588223}}}",
17+
"encoding": null
18+
},
19+
"headers": {
20+
"Content-Type": [
21+
"application/vnd.api+json"
22+
]
23+
},
24+
"status": {
25+
"code": 200,
26+
"message": "OK"
27+
}
28+
},
29+
"recorded_at": "Tue, 14 Oct 2025 20:06:56 GMT"
30+
}
31+
],
32+
"recorded_with": "VCR 6.0.0"
33+
}

tests/scenarios/features/v2/cloud_cost_management.feature

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,15 @@ Feature: Cloud Cost Management
262262
When the request is sent
263263
Then the response status is 200 OK
264264

265+
@replay-only @team:DataDog/cloud-cost-management
266+
Scenario: Get a tag pipeline ruleset returns "OK" response
267+
Given new "GetTagPipelinesRuleset" request
268+
And request contains "ruleset_id" parameter with value "a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de"
269+
When the request is sent
270+
Then the response status is 200 OK
271+
And the response "data.type" is equal to "ruleset"
272+
And the response "data.attributes.name" is equal to "EVP Cost Tags"
273+
265274
@replay-only @team:DataDog/cloud-cost-management
266275
Scenario: Get cost AWS CUR config returns "OK" response
267276
Given new "GetCostAWSCURConfig" request
@@ -288,22 +297,6 @@ Feature: Cloud Cost Management
288297
When the request is sent
289298
Then the response status is 200 OK
290299

291-
@generated @skip @team:DataDog/cloud-cost-management
292-
Scenario: Get ruleset returns "OK" response
293-
Given new "GetTagPipelinesRuleset" request
294-
And request contains "ruleset_id" parameter from "REPLACE.ME"
295-
When the request is sent
296-
Then the response status is 200 OK
297-
298-
@replay-only @team:DataDog/cloud-cost-management
299-
Scenario: Get tag pipeline ruleset returns "OK" response
300-
Given new "GetTagPipelinesRuleset" request
301-
And request contains "ruleset_id" parameter with value "ee10c3ff-312f-464c-b4f6-46adaa6d00a1"
302-
When the request is sent
303-
Then the response status is 200 OK
304-
And the response "data.type" is equal to "ruleset"
305-
And the response "data.attributes.name" is equal to "New Ruleset"
306-
307300
@replay-only @team:DataDog/cloud-cost-management
308301
Scenario: List Cloud Cost Management AWS CUR configs returns "OK" response
309302
Given new "ListCostAWSCURConfigs" request

0 commit comments

Comments
 (0)