We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e38b0d commit d70b186Copy full SHA for d70b186
25 files changed
.generator/schemas/v2/openapi.yaml
examples/v2_fleet-automation_ListFleetAgentTracers.rs
@@ -0,0 +1,22 @@
1
+// List tracers for a specific agent returns "OK" response
2
+use datadog_api_client::datadog;
3
+use datadog_api_client::datadogV2::api_fleet_automation::FleetAutomationAPI;
4
+use datadog_api_client::datadogV2::api_fleet_automation::ListFleetAgentTracersOptionalParams;
5
+
6
+#[tokio::main]
7
+async fn main() {
8
+ let mut configuration = datadog::Configuration::new();
9
+ configuration.set_unstable_operation_enabled("v2.ListFleetAgentTracers", true);
10
+ let api = FleetAutomationAPI::with_config(configuration);
11
+ let resp = api
12
+ .list_fleet_agent_tracers(
13
+ "agent_key".to_string(),
14
+ ListFleetAgentTracersOptionalParams::default(),
15
+ )
16
+ .await;
17
+ if let Ok(value) = resp {
18
+ println!("{:#?}", value);
19
+ } else {
20
+ println!("{:#?}", resp.unwrap_err());
21
+ }
22
+}
examples/v2_fleet-automation_ListFleetClusters.rs
@@ -0,0 +1,19 @@
+// List all fleet clusters returns "OK" response
+use datadog_api_client::datadogV2::api_fleet_automation::ListFleetClustersOptionalParams;
+ configuration.set_unstable_operation_enabled("v2.ListFleetClusters", true);
+ .list_fleet_clusters(ListFleetClustersOptionalParams::default())
examples/v2_fleet-automation_ListFleetInstrumentedPods.rs
@@ -0,0 +1,18 @@
+// List instrumented pods for a cluster returns "OK" response
+ configuration.set_unstable_operation_enabled("v2.ListFleetInstrumentedPods", true);
+ .list_fleet_instrumented_pods("cluster_name".to_string())
examples/v2_fleet-automation_ListFleetTracers.rs
+// List all fleet tracers returns "OK" response
+use datadog_api_client::datadogV2::api_fleet_automation::ListFleetTracersOptionalParams;
+ configuration.set_unstable_operation_enabled("v2.ListFleetTracers", true);
+ .list_fleet_tracers(ListFleetTracersOptionalParams::default())
src/datadog/configuration.rs
@@ -131,9 +131,13 @@ impl Default for Configuration {
131
("v2.get_fleet_deployment".to_owned(), false),
132
("v2.get_fleet_schedule".to_owned(), false),
133
("v2.list_fleet_agents".to_owned(), false),
134
+ ("v2.list_fleet_agent_tracers".to_owned(), false),
135
("v2.list_fleet_agent_versions".to_owned(), false),
136
+ ("v2.list_fleet_clusters".to_owned(), false),
137
("v2.list_fleet_deployments".to_owned(), false),
138
+ ("v2.list_fleet_instrumented_pods".to_owned(), false),
139
("v2.list_fleet_schedules".to_owned(), false),
140
+ ("v2.list_fleet_tracers".to_owned(), false),
141
("v2.trigger_fleet_schedule".to_owned(), false),
142
("v2.update_fleet_schedule".to_owned(), false),
143
("v2.create_open_api".to_owned(), false),
0 commit comments