feat(cost): add OCI configs and cost anomalies list commands#544
Merged
platinummonkey merged 2 commits intoMay 30, 2026
Merged
Conversation
- pup cost oci-configs list: wraps ListCostOCIConfigs (SDK #1540) - pup cost anomalies list: wraps ListCostAnomalies (SDK #1588) Registers v2.list_cost_anomalies as an unstable op and adds the two API-key-only endpoints to the OAuth exclusion table. Co-Authored-By: Claude <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
Co-Authored-By: Claude <noreply@anthropic.com>
5e02966
into
chore/upgrade-dd-sdk-to-master
6 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two new Cloud Cost Management commands surfacing endpoints picked up in the SDK upgrade (base branch
chore/upgrade-dd-sdk-to-master, PR #539).Changes
src/commands/cost.rs—oci_configs_list(ListCostOCIConfigs, SDK #1540) andanomalies_list(ListCostAnomalies, SDK #1588)src/client.rs— registerv2.list_cost_anomaliesas an unstable op (162 → 163); add the two API-key-only endpoints toOAUTH_EXCLUDED_ENDPOINTS(52 → 54)src/main.rs—pup cost oci-configs listandpup cost anomalies listsubcommands + dispatchdocs/COMMANDS.md— documented the new commandsNew commands
Testing
test_oci_configs_list/test_oci_configs_list_error(happy + 403)test_anomalies_list(happy;CostAnomaliesResponse.datais an optional object)cargo testgreen,cargo clippyclean (no warnings in pup code).🤖 Generated with Claude Code
Generated by Claude Code